placement

package
v0.0.0-...-9ab2e28 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

type Group struct {
	pulumi.CustomResourceState

	// Creation time of the placement group.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Number of hosts in the placement group.
	CurrentNum pulumi.IntOutput `pulumi:"currentNum"`
	// Maximum number of hosts in the placement group.
	CvmQuotaTotal pulumi.IntOutput `pulumi:"cvmQuotaTotal"`
	// Name of the placement group, 1-60 characters in length.
	Name pulumi.StringOutput `pulumi:"name"`
	// Type of the placement group. Valid values: `HOST`, `SW` and `RACK`.
	Type pulumi.StringOutput `pulumi:"type"`
}

func GetGroup

func GetGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GroupState, opts ...pulumi.ResourceOption) (*Group, error)

GetGroup gets an existing Group resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGroup

func NewGroup(ctx *pulumi.Context,
	name string, args *GroupArgs, opts ...pulumi.ResourceOption) (*Group, error)

NewGroup registers a new resource with the given unique name, arguments, and options.

func (*Group) ElementType

func (*Group) ElementType() reflect.Type

func (*Group) ToGroupOutput

func (i *Group) ToGroupOutput() GroupOutput

func (*Group) ToGroupOutputWithContext

func (i *Group) ToGroupOutputWithContext(ctx context.Context) GroupOutput

type GroupArgs

type GroupArgs struct {
	// Name of the placement group, 1-60 characters in length.
	Name pulumi.StringPtrInput
	// Type of the placement group. Valid values: `HOST`, `SW` and `RACK`.
	Type pulumi.StringInput
}

The set of arguments for constructing a Group resource.

func (GroupArgs) ElementType

func (GroupArgs) ElementType() reflect.Type

type GroupArray

type GroupArray []GroupInput

func (GroupArray) ElementType

func (GroupArray) ElementType() reflect.Type

func (GroupArray) ToGroupArrayOutput

func (i GroupArray) ToGroupArrayOutput() GroupArrayOutput

func (GroupArray) ToGroupArrayOutputWithContext

func (i GroupArray) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput

type GroupArrayInput

type GroupArrayInput interface {
	pulumi.Input

	ToGroupArrayOutput() GroupArrayOutput
	ToGroupArrayOutputWithContext(context.Context) GroupArrayOutput
}

GroupArrayInput is an input type that accepts GroupArray and GroupArrayOutput values. You can construct a concrete instance of `GroupArrayInput` via:

GroupArray{ GroupArgs{...} }

type GroupArrayOutput

type GroupArrayOutput struct{ *pulumi.OutputState }

func (GroupArrayOutput) ElementType

func (GroupArrayOutput) ElementType() reflect.Type

func (GroupArrayOutput) Index

func (GroupArrayOutput) ToGroupArrayOutput

func (o GroupArrayOutput) ToGroupArrayOutput() GroupArrayOutput

func (GroupArrayOutput) ToGroupArrayOutputWithContext

func (o GroupArrayOutput) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput

type GroupInput

type GroupInput interface {
	pulumi.Input

	ToGroupOutput() GroupOutput
	ToGroupOutputWithContext(ctx context.Context) GroupOutput
}

type GroupMap

type GroupMap map[string]GroupInput

func (GroupMap) ElementType

func (GroupMap) ElementType() reflect.Type

func (GroupMap) ToGroupMapOutput

func (i GroupMap) ToGroupMapOutput() GroupMapOutput

func (GroupMap) ToGroupMapOutputWithContext

func (i GroupMap) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutput

type GroupMapInput

type GroupMapInput interface {
	pulumi.Input

	ToGroupMapOutput() GroupMapOutput
	ToGroupMapOutputWithContext(context.Context) GroupMapOutput
}

GroupMapInput is an input type that accepts GroupMap and GroupMapOutput values. You can construct a concrete instance of `GroupMapInput` via:

GroupMap{ "key": GroupArgs{...} }

type GroupMapOutput

type GroupMapOutput struct{ *pulumi.OutputState }

func (GroupMapOutput) ElementType

func (GroupMapOutput) ElementType() reflect.Type

func (GroupMapOutput) MapIndex

func (GroupMapOutput) ToGroupMapOutput

func (o GroupMapOutput) ToGroupMapOutput() GroupMapOutput

func (GroupMapOutput) ToGroupMapOutputWithContext

func (o GroupMapOutput) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutput

type GroupOutput

type GroupOutput struct{ *pulumi.OutputState }

func (GroupOutput) CreateTime

func (o GroupOutput) CreateTime() pulumi.StringOutput

Creation time of the placement group.

func (GroupOutput) CurrentNum

func (o GroupOutput) CurrentNum() pulumi.IntOutput

Number of hosts in the placement group.

func (GroupOutput) CvmQuotaTotal

func (o GroupOutput) CvmQuotaTotal() pulumi.IntOutput

Maximum number of hosts in the placement group.

func (GroupOutput) ElementType

func (GroupOutput) ElementType() reflect.Type

func (GroupOutput) Name

func (o GroupOutput) Name() pulumi.StringOutput

Name of the placement group, 1-60 characters in length.

func (GroupOutput) ToGroupOutput

func (o GroupOutput) ToGroupOutput() GroupOutput

func (GroupOutput) ToGroupOutputWithContext

func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput

func (GroupOutput) Type

func (o GroupOutput) Type() pulumi.StringOutput

Type of the placement group. Valid values: `HOST`, `SW` and `RACK`.

type GroupState

type GroupState struct {
	// Creation time of the placement group.
	CreateTime pulumi.StringPtrInput
	// Number of hosts in the placement group.
	CurrentNum pulumi.IntPtrInput
	// Maximum number of hosts in the placement group.
	CvmQuotaTotal pulumi.IntPtrInput
	// Name of the placement group, 1-60 characters in length.
	Name pulumi.StringPtrInput
	// Type of the placement group. Valid values: `HOST`, `SW` and `RACK`.
	Type pulumi.StringPtrInput
}

func (GroupState) ElementType

func (GroupState) ElementType() reflect.Type

type GroupsArgs

type GroupsArgs struct {
	Name             *string `pulumi:"name"`
	PlacementGroupId *string `pulumi:"placementGroupId"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking Groups.

type GroupsOutputArgs

type GroupsOutputArgs struct {
	Name             pulumi.StringPtrInput `pulumi:"name"`
	PlacementGroupId pulumi.StringPtrInput `pulumi:"placementGroupId"`
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking Groups.

func (GroupsOutputArgs) ElementType

func (GroupsOutputArgs) ElementType() reflect.Type

type GroupsPlacementGroupList

type GroupsPlacementGroupList struct {
	CreateTime       string   `pulumi:"createTime"`
	CurrentNum       int      `pulumi:"currentNum"`
	CvmQuotaTotal    int      `pulumi:"cvmQuotaTotal"`
	InstanceIds      []string `pulumi:"instanceIds"`
	Name             string   `pulumi:"name"`
	PlacementGroupId string   `pulumi:"placementGroupId"`
	Type             string   `pulumi:"type"`
}

type GroupsPlacementGroupListArgs

type GroupsPlacementGroupListArgs struct {
	CreateTime       pulumi.StringInput      `pulumi:"createTime"`
	CurrentNum       pulumi.IntInput         `pulumi:"currentNum"`
	CvmQuotaTotal    pulumi.IntInput         `pulumi:"cvmQuotaTotal"`
	InstanceIds      pulumi.StringArrayInput `pulumi:"instanceIds"`
	Name             pulumi.StringInput      `pulumi:"name"`
	PlacementGroupId pulumi.StringInput      `pulumi:"placementGroupId"`
	Type             pulumi.StringInput      `pulumi:"type"`
}

func (GroupsPlacementGroupListArgs) ElementType

func (GroupsPlacementGroupListArgs) ToGroupsPlacementGroupListOutput

func (i GroupsPlacementGroupListArgs) ToGroupsPlacementGroupListOutput() GroupsPlacementGroupListOutput

func (GroupsPlacementGroupListArgs) ToGroupsPlacementGroupListOutputWithContext

func (i GroupsPlacementGroupListArgs) ToGroupsPlacementGroupListOutputWithContext(ctx context.Context) GroupsPlacementGroupListOutput

type GroupsPlacementGroupListArray

type GroupsPlacementGroupListArray []GroupsPlacementGroupListInput

func (GroupsPlacementGroupListArray) ElementType

func (GroupsPlacementGroupListArray) ToGroupsPlacementGroupListArrayOutput

func (i GroupsPlacementGroupListArray) ToGroupsPlacementGroupListArrayOutput() GroupsPlacementGroupListArrayOutput

func (GroupsPlacementGroupListArray) ToGroupsPlacementGroupListArrayOutputWithContext

func (i GroupsPlacementGroupListArray) ToGroupsPlacementGroupListArrayOutputWithContext(ctx context.Context) GroupsPlacementGroupListArrayOutput

type GroupsPlacementGroupListArrayInput

type GroupsPlacementGroupListArrayInput interface {
	pulumi.Input

	ToGroupsPlacementGroupListArrayOutput() GroupsPlacementGroupListArrayOutput
	ToGroupsPlacementGroupListArrayOutputWithContext(context.Context) GroupsPlacementGroupListArrayOutput
}

GroupsPlacementGroupListArrayInput is an input type that accepts GroupsPlacementGroupListArray and GroupsPlacementGroupListArrayOutput values. You can construct a concrete instance of `GroupsPlacementGroupListArrayInput` via:

GroupsPlacementGroupListArray{ GroupsPlacementGroupListArgs{...} }

type GroupsPlacementGroupListArrayOutput

type GroupsPlacementGroupListArrayOutput struct{ *pulumi.OutputState }

func (GroupsPlacementGroupListArrayOutput) ElementType

func (GroupsPlacementGroupListArrayOutput) Index

func (GroupsPlacementGroupListArrayOutput) ToGroupsPlacementGroupListArrayOutput

func (o GroupsPlacementGroupListArrayOutput) ToGroupsPlacementGroupListArrayOutput() GroupsPlacementGroupListArrayOutput

func (GroupsPlacementGroupListArrayOutput) ToGroupsPlacementGroupListArrayOutputWithContext

func (o GroupsPlacementGroupListArrayOutput) ToGroupsPlacementGroupListArrayOutputWithContext(ctx context.Context) GroupsPlacementGroupListArrayOutput

type GroupsPlacementGroupListInput

type GroupsPlacementGroupListInput interface {
	pulumi.Input

	ToGroupsPlacementGroupListOutput() GroupsPlacementGroupListOutput
	ToGroupsPlacementGroupListOutputWithContext(context.Context) GroupsPlacementGroupListOutput
}

GroupsPlacementGroupListInput is an input type that accepts GroupsPlacementGroupListArgs and GroupsPlacementGroupListOutput values. You can construct a concrete instance of `GroupsPlacementGroupListInput` via:

GroupsPlacementGroupListArgs{...}

type GroupsPlacementGroupListOutput

type GroupsPlacementGroupListOutput struct{ *pulumi.OutputState }

func (GroupsPlacementGroupListOutput) CreateTime

func (GroupsPlacementGroupListOutput) CurrentNum

func (GroupsPlacementGroupListOutput) CvmQuotaTotal

func (GroupsPlacementGroupListOutput) ElementType

func (GroupsPlacementGroupListOutput) InstanceIds

func (GroupsPlacementGroupListOutput) Name

func (GroupsPlacementGroupListOutput) PlacementGroupId

func (o GroupsPlacementGroupListOutput) PlacementGroupId() pulumi.StringOutput

func (GroupsPlacementGroupListOutput) ToGroupsPlacementGroupListOutput

func (o GroupsPlacementGroupListOutput) ToGroupsPlacementGroupListOutput() GroupsPlacementGroupListOutput

func (GroupsPlacementGroupListOutput) ToGroupsPlacementGroupListOutputWithContext

func (o GroupsPlacementGroupListOutput) ToGroupsPlacementGroupListOutputWithContext(ctx context.Context) GroupsPlacementGroupListOutput

func (GroupsPlacementGroupListOutput) Type

type GroupsResult

type GroupsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id                  string                     `pulumi:"id"`
	Name                *string                    `pulumi:"name"`
	PlacementGroupId    *string                    `pulumi:"placementGroupId"`
	PlacementGroupLists []GroupsPlacementGroupList `pulumi:"placementGroupLists"`
	ResultOutputFile    *string                    `pulumi:"resultOutputFile"`
}

A collection of values returned by Groups.

func Groups

func Groups(ctx *pulumi.Context, args *GroupsArgs, opts ...pulumi.InvokeOption) (*GroupsResult, error)

type GroupsResultOutput

type GroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Groups.

func GroupsOutput

func GroupsOutput(ctx *pulumi.Context, args GroupsOutputArgs, opts ...pulumi.InvokeOption) GroupsResultOutput

func (GroupsResultOutput) ElementType

func (GroupsResultOutput) ElementType() reflect.Type

func (GroupsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GroupsResultOutput) Name

func (GroupsResultOutput) PlacementGroupId

func (o GroupsResultOutput) PlacementGroupId() pulumi.StringPtrOutput

func (GroupsResultOutput) PlacementGroupLists

func (GroupsResultOutput) ResultOutputFile

func (o GroupsResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GroupsResultOutput) ToGroupsResultOutput

func (o GroupsResultOutput) ToGroupsResultOutput() GroupsResultOutput

func (GroupsResultOutput) ToGroupsResultOutputWithContext

func (o GroupsResultOutput) ToGroupsResultOutputWithContext(ctx context.Context) GroupsResultOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL