cbs

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 Snapshot

type Snapshot struct {
	pulumi.CustomResourceState

	// Creation time of snapshot.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Types of CBS which this snapshot created from.
	DiskType pulumi.StringOutput `pulumi:"diskType"`
	// Snapshot creation progress percentage. If the snapshot has created successfully, the constant value is 100.
	Percent pulumi.IntOutput `pulumi:"percent"`
	// Name of the snapshot.
	SnapshotName pulumi.StringOutput `pulumi:"snapshotName"`
	// Status of the snapshot.
	SnapshotStatus pulumi.StringOutput `pulumi:"snapshotStatus"`
	// ID of the the CBS which this snapshot created from.
	StorageId pulumi.StringOutput `pulumi:"storageId"`
	// Volume of storage which this snapshot created from.
	StorageSize pulumi.IntOutput `pulumi:"storageSize"`
}

func GetSnapshot

func GetSnapshot(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SnapshotState, opts ...pulumi.ResourceOption) (*Snapshot, error)

GetSnapshot gets an existing Snapshot 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 NewSnapshot

func NewSnapshot(ctx *pulumi.Context,
	name string, args *SnapshotArgs, opts ...pulumi.ResourceOption) (*Snapshot, error)

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

func (*Snapshot) ElementType

func (*Snapshot) ElementType() reflect.Type

func (*Snapshot) ToSnapshotOutput

func (i *Snapshot) ToSnapshotOutput() SnapshotOutput

func (*Snapshot) ToSnapshotOutputWithContext

func (i *Snapshot) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput

type SnapshotArgs

type SnapshotArgs struct {
	// Name of the snapshot.
	SnapshotName pulumi.StringInput
	// ID of the the CBS which this snapshot created from.
	StorageId pulumi.StringInput
}

The set of arguments for constructing a Snapshot resource.

func (SnapshotArgs) ElementType

func (SnapshotArgs) ElementType() reflect.Type

type SnapshotArray

type SnapshotArray []SnapshotInput

func (SnapshotArray) ElementType

func (SnapshotArray) ElementType() reflect.Type

func (SnapshotArray) ToSnapshotArrayOutput

func (i SnapshotArray) ToSnapshotArrayOutput() SnapshotArrayOutput

func (SnapshotArray) ToSnapshotArrayOutputWithContext

func (i SnapshotArray) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput

type SnapshotArrayInput

type SnapshotArrayInput interface {
	pulumi.Input

	ToSnapshotArrayOutput() SnapshotArrayOutput
	ToSnapshotArrayOutputWithContext(context.Context) SnapshotArrayOutput
}

SnapshotArrayInput is an input type that accepts SnapshotArray and SnapshotArrayOutput values. You can construct a concrete instance of `SnapshotArrayInput` via:

SnapshotArray{ SnapshotArgs{...} }

type SnapshotArrayOutput

type SnapshotArrayOutput struct{ *pulumi.OutputState }

func (SnapshotArrayOutput) ElementType

func (SnapshotArrayOutput) ElementType() reflect.Type

func (SnapshotArrayOutput) Index

func (SnapshotArrayOutput) ToSnapshotArrayOutput

func (o SnapshotArrayOutput) ToSnapshotArrayOutput() SnapshotArrayOutput

func (SnapshotArrayOutput) ToSnapshotArrayOutputWithContext

func (o SnapshotArrayOutput) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput

type SnapshotInput

type SnapshotInput interface {
	pulumi.Input

	ToSnapshotOutput() SnapshotOutput
	ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
}

type SnapshotMap

type SnapshotMap map[string]SnapshotInput

func (SnapshotMap) ElementType

func (SnapshotMap) ElementType() reflect.Type

func (SnapshotMap) ToSnapshotMapOutput

func (i SnapshotMap) ToSnapshotMapOutput() SnapshotMapOutput

func (SnapshotMap) ToSnapshotMapOutputWithContext

func (i SnapshotMap) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput

type SnapshotMapInput

type SnapshotMapInput interface {
	pulumi.Input

	ToSnapshotMapOutput() SnapshotMapOutput
	ToSnapshotMapOutputWithContext(context.Context) SnapshotMapOutput
}

SnapshotMapInput is an input type that accepts SnapshotMap and SnapshotMapOutput values. You can construct a concrete instance of `SnapshotMapInput` via:

SnapshotMap{ "key": SnapshotArgs{...} }

type SnapshotMapOutput

type SnapshotMapOutput struct{ *pulumi.OutputState }

func (SnapshotMapOutput) ElementType

func (SnapshotMapOutput) ElementType() reflect.Type

func (SnapshotMapOutput) MapIndex

func (SnapshotMapOutput) ToSnapshotMapOutput

func (o SnapshotMapOutput) ToSnapshotMapOutput() SnapshotMapOutput

func (SnapshotMapOutput) ToSnapshotMapOutputWithContext

func (o SnapshotMapOutput) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput

type SnapshotOutput

type SnapshotOutput struct{ *pulumi.OutputState }

func (SnapshotOutput) CreateTime

func (o SnapshotOutput) CreateTime() pulumi.StringOutput

Creation time of snapshot.

func (SnapshotOutput) DiskType

func (o SnapshotOutput) DiskType() pulumi.StringOutput

Types of CBS which this snapshot created from.

func (SnapshotOutput) ElementType

func (SnapshotOutput) ElementType() reflect.Type

func (SnapshotOutput) Percent

func (o SnapshotOutput) Percent() pulumi.IntOutput

Snapshot creation progress percentage. If the snapshot has created successfully, the constant value is 100.

func (SnapshotOutput) SnapshotName

func (o SnapshotOutput) SnapshotName() pulumi.StringOutput

Name of the snapshot.

func (SnapshotOutput) SnapshotStatus

func (o SnapshotOutput) SnapshotStatus() pulumi.StringOutput

Status of the snapshot.

func (SnapshotOutput) StorageId

func (o SnapshotOutput) StorageId() pulumi.StringOutput

ID of the the CBS which this snapshot created from.

func (SnapshotOutput) StorageSize

func (o SnapshotOutput) StorageSize() pulumi.IntOutput

Volume of storage which this snapshot created from.

func (SnapshotOutput) ToSnapshotOutput

func (o SnapshotOutput) ToSnapshotOutput() SnapshotOutput

func (SnapshotOutput) ToSnapshotOutputWithContext

func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput

type SnapshotPoliciesArgs

type SnapshotPoliciesArgs struct {
	ResultOutputFile   *string `pulumi:"resultOutputFile"`
	SnapshotPolicyId   *string `pulumi:"snapshotPolicyId"`
	SnapshotPolicyName *string `pulumi:"snapshotPolicyName"`
}

A collection of arguments for invoking SnapshotPolicies.

type SnapshotPoliciesOutputArgs

type SnapshotPoliciesOutputArgs struct {
	ResultOutputFile   pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	SnapshotPolicyId   pulumi.StringPtrInput `pulumi:"snapshotPolicyId"`
	SnapshotPolicyName pulumi.StringPtrInput `pulumi:"snapshotPolicyName"`
}

A collection of arguments for invoking SnapshotPolicies.

func (SnapshotPoliciesOutputArgs) ElementType

func (SnapshotPoliciesOutputArgs) ElementType() reflect.Type

type SnapshotPoliciesResult

type SnapshotPoliciesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id                  string                               `pulumi:"id"`
	ResultOutputFile    *string                              `pulumi:"resultOutputFile"`
	SnapshotPolicyId    *string                              `pulumi:"snapshotPolicyId"`
	SnapshotPolicyLists []SnapshotPoliciesSnapshotPolicyList `pulumi:"snapshotPolicyLists"`
	SnapshotPolicyName  *string                              `pulumi:"snapshotPolicyName"`
}

A collection of values returned by SnapshotPolicies.

type SnapshotPoliciesResultOutput

type SnapshotPoliciesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by SnapshotPolicies.

func (SnapshotPoliciesResultOutput) ElementType

func (SnapshotPoliciesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (SnapshotPoliciesResultOutput) ResultOutputFile

func (SnapshotPoliciesResultOutput) SnapshotPolicyId

func (SnapshotPoliciesResultOutput) SnapshotPolicyLists

func (SnapshotPoliciesResultOutput) SnapshotPolicyName

func (o SnapshotPoliciesResultOutput) SnapshotPolicyName() pulumi.StringPtrOutput

func (SnapshotPoliciesResultOutput) ToSnapshotPoliciesResultOutput

func (o SnapshotPoliciesResultOutput) ToSnapshotPoliciesResultOutput() SnapshotPoliciesResultOutput

func (SnapshotPoliciesResultOutput) ToSnapshotPoliciesResultOutputWithContext

func (o SnapshotPoliciesResultOutput) ToSnapshotPoliciesResultOutputWithContext(ctx context.Context) SnapshotPoliciesResultOutput

type SnapshotPoliciesSnapshotPolicyList

type SnapshotPoliciesSnapshotPolicyList struct {
	AttachedStorageIds []string `pulumi:"attachedStorageIds"`
	CreateTime         string   `pulumi:"createTime"`
	RepeatHours        []int    `pulumi:"repeatHours"`
	RepeatWeekdays     []int    `pulumi:"repeatWeekdays"`
	RetentionDays      int      `pulumi:"retentionDays"`
	SnapshotPolicyId   string   `pulumi:"snapshotPolicyId"`
	SnapshotPolicyName string   `pulumi:"snapshotPolicyName"`
	Status             string   `pulumi:"status"`
}

type SnapshotPoliciesSnapshotPolicyListArgs

type SnapshotPoliciesSnapshotPolicyListArgs struct {
	AttachedStorageIds pulumi.StringArrayInput `pulumi:"attachedStorageIds"`
	CreateTime         pulumi.StringInput      `pulumi:"createTime"`
	RepeatHours        pulumi.IntArrayInput    `pulumi:"repeatHours"`
	RepeatWeekdays     pulumi.IntArrayInput    `pulumi:"repeatWeekdays"`
	RetentionDays      pulumi.IntInput         `pulumi:"retentionDays"`
	SnapshotPolicyId   pulumi.StringInput      `pulumi:"snapshotPolicyId"`
	SnapshotPolicyName pulumi.StringInput      `pulumi:"snapshotPolicyName"`
	Status             pulumi.StringInput      `pulumi:"status"`
}

func (SnapshotPoliciesSnapshotPolicyListArgs) ElementType

func (SnapshotPoliciesSnapshotPolicyListArgs) ToSnapshotPoliciesSnapshotPolicyListOutput

func (i SnapshotPoliciesSnapshotPolicyListArgs) ToSnapshotPoliciesSnapshotPolicyListOutput() SnapshotPoliciesSnapshotPolicyListOutput

func (SnapshotPoliciesSnapshotPolicyListArgs) ToSnapshotPoliciesSnapshotPolicyListOutputWithContext

func (i SnapshotPoliciesSnapshotPolicyListArgs) ToSnapshotPoliciesSnapshotPolicyListOutputWithContext(ctx context.Context) SnapshotPoliciesSnapshotPolicyListOutput

type SnapshotPoliciesSnapshotPolicyListArray

type SnapshotPoliciesSnapshotPolicyListArray []SnapshotPoliciesSnapshotPolicyListInput

func (SnapshotPoliciesSnapshotPolicyListArray) ElementType

func (SnapshotPoliciesSnapshotPolicyListArray) ToSnapshotPoliciesSnapshotPolicyListArrayOutput

func (i SnapshotPoliciesSnapshotPolicyListArray) ToSnapshotPoliciesSnapshotPolicyListArrayOutput() SnapshotPoliciesSnapshotPolicyListArrayOutput

func (SnapshotPoliciesSnapshotPolicyListArray) ToSnapshotPoliciesSnapshotPolicyListArrayOutputWithContext

func (i SnapshotPoliciesSnapshotPolicyListArray) ToSnapshotPoliciesSnapshotPolicyListArrayOutputWithContext(ctx context.Context) SnapshotPoliciesSnapshotPolicyListArrayOutput

type SnapshotPoliciesSnapshotPolicyListArrayInput

type SnapshotPoliciesSnapshotPolicyListArrayInput interface {
	pulumi.Input

	ToSnapshotPoliciesSnapshotPolicyListArrayOutput() SnapshotPoliciesSnapshotPolicyListArrayOutput
	ToSnapshotPoliciesSnapshotPolicyListArrayOutputWithContext(context.Context) SnapshotPoliciesSnapshotPolicyListArrayOutput
}

SnapshotPoliciesSnapshotPolicyListArrayInput is an input type that accepts SnapshotPoliciesSnapshotPolicyListArray and SnapshotPoliciesSnapshotPolicyListArrayOutput values. You can construct a concrete instance of `SnapshotPoliciesSnapshotPolicyListArrayInput` via:

SnapshotPoliciesSnapshotPolicyListArray{ SnapshotPoliciesSnapshotPolicyListArgs{...} }

type SnapshotPoliciesSnapshotPolicyListArrayOutput

type SnapshotPoliciesSnapshotPolicyListArrayOutput struct{ *pulumi.OutputState }

func (SnapshotPoliciesSnapshotPolicyListArrayOutput) ElementType

func (SnapshotPoliciesSnapshotPolicyListArrayOutput) Index

func (SnapshotPoliciesSnapshotPolicyListArrayOutput) ToSnapshotPoliciesSnapshotPolicyListArrayOutput

func (o SnapshotPoliciesSnapshotPolicyListArrayOutput) ToSnapshotPoliciesSnapshotPolicyListArrayOutput() SnapshotPoliciesSnapshotPolicyListArrayOutput

func (SnapshotPoliciesSnapshotPolicyListArrayOutput) ToSnapshotPoliciesSnapshotPolicyListArrayOutputWithContext

func (o SnapshotPoliciesSnapshotPolicyListArrayOutput) ToSnapshotPoliciesSnapshotPolicyListArrayOutputWithContext(ctx context.Context) SnapshotPoliciesSnapshotPolicyListArrayOutput

type SnapshotPoliciesSnapshotPolicyListInput

type SnapshotPoliciesSnapshotPolicyListInput interface {
	pulumi.Input

	ToSnapshotPoliciesSnapshotPolicyListOutput() SnapshotPoliciesSnapshotPolicyListOutput
	ToSnapshotPoliciesSnapshotPolicyListOutputWithContext(context.Context) SnapshotPoliciesSnapshotPolicyListOutput
}

SnapshotPoliciesSnapshotPolicyListInput is an input type that accepts SnapshotPoliciesSnapshotPolicyListArgs and SnapshotPoliciesSnapshotPolicyListOutput values. You can construct a concrete instance of `SnapshotPoliciesSnapshotPolicyListInput` via:

SnapshotPoliciesSnapshotPolicyListArgs{...}

type SnapshotPoliciesSnapshotPolicyListOutput

type SnapshotPoliciesSnapshotPolicyListOutput struct{ *pulumi.OutputState }

func (SnapshotPoliciesSnapshotPolicyListOutput) AttachedStorageIds

func (SnapshotPoliciesSnapshotPolicyListOutput) CreateTime

func (SnapshotPoliciesSnapshotPolicyListOutput) ElementType

func (SnapshotPoliciesSnapshotPolicyListOutput) RepeatHours

func (SnapshotPoliciesSnapshotPolicyListOutput) RepeatWeekdays

func (SnapshotPoliciesSnapshotPolicyListOutput) RetentionDays

func (SnapshotPoliciesSnapshotPolicyListOutput) SnapshotPolicyId

func (SnapshotPoliciesSnapshotPolicyListOutput) SnapshotPolicyName

func (SnapshotPoliciesSnapshotPolicyListOutput) Status

func (SnapshotPoliciesSnapshotPolicyListOutput) ToSnapshotPoliciesSnapshotPolicyListOutput

func (o SnapshotPoliciesSnapshotPolicyListOutput) ToSnapshotPoliciesSnapshotPolicyListOutput() SnapshotPoliciesSnapshotPolicyListOutput

func (SnapshotPoliciesSnapshotPolicyListOutput) ToSnapshotPoliciesSnapshotPolicyListOutputWithContext

func (o SnapshotPoliciesSnapshotPolicyListOutput) ToSnapshotPoliciesSnapshotPolicyListOutputWithContext(ctx context.Context) SnapshotPoliciesSnapshotPolicyListOutput

type SnapshotPolicy

type SnapshotPolicy struct {
	pulumi.CustomResourceState

	// Trigger times of periodic snapshot. Valid value ranges: (0~23). The 0 means 00:00, and so on.
	RepeatHours pulumi.IntArrayOutput `pulumi:"repeatHours"`
	// Periodic snapshot is enabled. Valid values: [0, 1, 2, 3, 4, 5, 6]. 0 means Sunday, 1-6 means Monday to Saturday.
	RepeatWeekdays pulumi.IntArrayOutput `pulumi:"repeatWeekdays"`
	// Retention days of the snapshot, and the default value is 7.
	RetentionDays pulumi.IntPtrOutput `pulumi:"retentionDays"`
	// Name of snapshot policy. The maximum length can not exceed 60 bytes.
	SnapshotPolicyName pulumi.StringOutput `pulumi:"snapshotPolicyName"`
}

func GetSnapshotPolicy

func GetSnapshotPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SnapshotPolicyState, opts ...pulumi.ResourceOption) (*SnapshotPolicy, error)

GetSnapshotPolicy gets an existing SnapshotPolicy 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 NewSnapshotPolicy

func NewSnapshotPolicy(ctx *pulumi.Context,
	name string, args *SnapshotPolicyArgs, opts ...pulumi.ResourceOption) (*SnapshotPolicy, error)

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

func (*SnapshotPolicy) ElementType

func (*SnapshotPolicy) ElementType() reflect.Type

func (*SnapshotPolicy) ToSnapshotPolicyOutput

func (i *SnapshotPolicy) ToSnapshotPolicyOutput() SnapshotPolicyOutput

func (*SnapshotPolicy) ToSnapshotPolicyOutputWithContext

func (i *SnapshotPolicy) ToSnapshotPolicyOutputWithContext(ctx context.Context) SnapshotPolicyOutput

type SnapshotPolicyArgs

type SnapshotPolicyArgs struct {
	// Trigger times of periodic snapshot. Valid value ranges: (0~23). The 0 means 00:00, and so on.
	RepeatHours pulumi.IntArrayInput
	// Periodic snapshot is enabled. Valid values: [0, 1, 2, 3, 4, 5, 6]. 0 means Sunday, 1-6 means Monday to Saturday.
	RepeatWeekdays pulumi.IntArrayInput
	// Retention days of the snapshot, and the default value is 7.
	RetentionDays pulumi.IntPtrInput
	// Name of snapshot policy. The maximum length can not exceed 60 bytes.
	SnapshotPolicyName pulumi.StringInput
}

The set of arguments for constructing a SnapshotPolicy resource.

func (SnapshotPolicyArgs) ElementType

func (SnapshotPolicyArgs) ElementType() reflect.Type

type SnapshotPolicyArray

type SnapshotPolicyArray []SnapshotPolicyInput

func (SnapshotPolicyArray) ElementType

func (SnapshotPolicyArray) ElementType() reflect.Type

func (SnapshotPolicyArray) ToSnapshotPolicyArrayOutput

func (i SnapshotPolicyArray) ToSnapshotPolicyArrayOutput() SnapshotPolicyArrayOutput

func (SnapshotPolicyArray) ToSnapshotPolicyArrayOutputWithContext

func (i SnapshotPolicyArray) ToSnapshotPolicyArrayOutputWithContext(ctx context.Context) SnapshotPolicyArrayOutput

type SnapshotPolicyArrayInput

type SnapshotPolicyArrayInput interface {
	pulumi.Input

	ToSnapshotPolicyArrayOutput() SnapshotPolicyArrayOutput
	ToSnapshotPolicyArrayOutputWithContext(context.Context) SnapshotPolicyArrayOutput
}

SnapshotPolicyArrayInput is an input type that accepts SnapshotPolicyArray and SnapshotPolicyArrayOutput values. You can construct a concrete instance of `SnapshotPolicyArrayInput` via:

SnapshotPolicyArray{ SnapshotPolicyArgs{...} }

type SnapshotPolicyArrayOutput

type SnapshotPolicyArrayOutput struct{ *pulumi.OutputState }

func (SnapshotPolicyArrayOutput) ElementType

func (SnapshotPolicyArrayOutput) ElementType() reflect.Type

func (SnapshotPolicyArrayOutput) Index

func (SnapshotPolicyArrayOutput) ToSnapshotPolicyArrayOutput

func (o SnapshotPolicyArrayOutput) ToSnapshotPolicyArrayOutput() SnapshotPolicyArrayOutput

func (SnapshotPolicyArrayOutput) ToSnapshotPolicyArrayOutputWithContext

func (o SnapshotPolicyArrayOutput) ToSnapshotPolicyArrayOutputWithContext(ctx context.Context) SnapshotPolicyArrayOutput

type SnapshotPolicyAttachment

type SnapshotPolicyAttachment struct {
	pulumi.CustomResourceState

	// ID of CBS snapshot policy.
	SnapshotPolicyId pulumi.StringOutput `pulumi:"snapshotPolicyId"`
	// ID of CBS.
	StorageId pulumi.StringOutput `pulumi:"storageId"`
}

func GetSnapshotPolicyAttachment

func GetSnapshotPolicyAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SnapshotPolicyAttachmentState, opts ...pulumi.ResourceOption) (*SnapshotPolicyAttachment, error)

GetSnapshotPolicyAttachment gets an existing SnapshotPolicyAttachment 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 NewSnapshotPolicyAttachment

func NewSnapshotPolicyAttachment(ctx *pulumi.Context,
	name string, args *SnapshotPolicyAttachmentArgs, opts ...pulumi.ResourceOption) (*SnapshotPolicyAttachment, error)

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

func (*SnapshotPolicyAttachment) ElementType

func (*SnapshotPolicyAttachment) ElementType() reflect.Type

func (*SnapshotPolicyAttachment) ToSnapshotPolicyAttachmentOutput

func (i *SnapshotPolicyAttachment) ToSnapshotPolicyAttachmentOutput() SnapshotPolicyAttachmentOutput

func (*SnapshotPolicyAttachment) ToSnapshotPolicyAttachmentOutputWithContext

func (i *SnapshotPolicyAttachment) ToSnapshotPolicyAttachmentOutputWithContext(ctx context.Context) SnapshotPolicyAttachmentOutput

type SnapshotPolicyAttachmentArgs

type SnapshotPolicyAttachmentArgs struct {
	// ID of CBS snapshot policy.
	SnapshotPolicyId pulumi.StringInput
	// ID of CBS.
	StorageId pulumi.StringInput
}

The set of arguments for constructing a SnapshotPolicyAttachment resource.

func (SnapshotPolicyAttachmentArgs) ElementType

type SnapshotPolicyAttachmentArray

type SnapshotPolicyAttachmentArray []SnapshotPolicyAttachmentInput

func (SnapshotPolicyAttachmentArray) ElementType

func (SnapshotPolicyAttachmentArray) ToSnapshotPolicyAttachmentArrayOutput

func (i SnapshotPolicyAttachmentArray) ToSnapshotPolicyAttachmentArrayOutput() SnapshotPolicyAttachmentArrayOutput

func (SnapshotPolicyAttachmentArray) ToSnapshotPolicyAttachmentArrayOutputWithContext

func (i SnapshotPolicyAttachmentArray) ToSnapshotPolicyAttachmentArrayOutputWithContext(ctx context.Context) SnapshotPolicyAttachmentArrayOutput

type SnapshotPolicyAttachmentArrayInput

type SnapshotPolicyAttachmentArrayInput interface {
	pulumi.Input

	ToSnapshotPolicyAttachmentArrayOutput() SnapshotPolicyAttachmentArrayOutput
	ToSnapshotPolicyAttachmentArrayOutputWithContext(context.Context) SnapshotPolicyAttachmentArrayOutput
}

SnapshotPolicyAttachmentArrayInput is an input type that accepts SnapshotPolicyAttachmentArray and SnapshotPolicyAttachmentArrayOutput values. You can construct a concrete instance of `SnapshotPolicyAttachmentArrayInput` via:

SnapshotPolicyAttachmentArray{ SnapshotPolicyAttachmentArgs{...} }

type SnapshotPolicyAttachmentArrayOutput

type SnapshotPolicyAttachmentArrayOutput struct{ *pulumi.OutputState }

func (SnapshotPolicyAttachmentArrayOutput) ElementType

func (SnapshotPolicyAttachmentArrayOutput) Index

func (SnapshotPolicyAttachmentArrayOutput) ToSnapshotPolicyAttachmentArrayOutput

func (o SnapshotPolicyAttachmentArrayOutput) ToSnapshotPolicyAttachmentArrayOutput() SnapshotPolicyAttachmentArrayOutput

func (SnapshotPolicyAttachmentArrayOutput) ToSnapshotPolicyAttachmentArrayOutputWithContext

func (o SnapshotPolicyAttachmentArrayOutput) ToSnapshotPolicyAttachmentArrayOutputWithContext(ctx context.Context) SnapshotPolicyAttachmentArrayOutput

type SnapshotPolicyAttachmentInput

type SnapshotPolicyAttachmentInput interface {
	pulumi.Input

	ToSnapshotPolicyAttachmentOutput() SnapshotPolicyAttachmentOutput
	ToSnapshotPolicyAttachmentOutputWithContext(ctx context.Context) SnapshotPolicyAttachmentOutput
}

type SnapshotPolicyAttachmentMap

type SnapshotPolicyAttachmentMap map[string]SnapshotPolicyAttachmentInput

func (SnapshotPolicyAttachmentMap) ElementType

func (SnapshotPolicyAttachmentMap) ToSnapshotPolicyAttachmentMapOutput

func (i SnapshotPolicyAttachmentMap) ToSnapshotPolicyAttachmentMapOutput() SnapshotPolicyAttachmentMapOutput

func (SnapshotPolicyAttachmentMap) ToSnapshotPolicyAttachmentMapOutputWithContext

func (i SnapshotPolicyAttachmentMap) ToSnapshotPolicyAttachmentMapOutputWithContext(ctx context.Context) SnapshotPolicyAttachmentMapOutput

type SnapshotPolicyAttachmentMapInput

type SnapshotPolicyAttachmentMapInput interface {
	pulumi.Input

	ToSnapshotPolicyAttachmentMapOutput() SnapshotPolicyAttachmentMapOutput
	ToSnapshotPolicyAttachmentMapOutputWithContext(context.Context) SnapshotPolicyAttachmentMapOutput
}

SnapshotPolicyAttachmentMapInput is an input type that accepts SnapshotPolicyAttachmentMap and SnapshotPolicyAttachmentMapOutput values. You can construct a concrete instance of `SnapshotPolicyAttachmentMapInput` via:

SnapshotPolicyAttachmentMap{ "key": SnapshotPolicyAttachmentArgs{...} }

type SnapshotPolicyAttachmentMapOutput

type SnapshotPolicyAttachmentMapOutput struct{ *pulumi.OutputState }

func (SnapshotPolicyAttachmentMapOutput) ElementType

func (SnapshotPolicyAttachmentMapOutput) MapIndex

func (SnapshotPolicyAttachmentMapOutput) ToSnapshotPolicyAttachmentMapOutput

func (o SnapshotPolicyAttachmentMapOutput) ToSnapshotPolicyAttachmentMapOutput() SnapshotPolicyAttachmentMapOutput

func (SnapshotPolicyAttachmentMapOutput) ToSnapshotPolicyAttachmentMapOutputWithContext

func (o SnapshotPolicyAttachmentMapOutput) ToSnapshotPolicyAttachmentMapOutputWithContext(ctx context.Context) SnapshotPolicyAttachmentMapOutput

type SnapshotPolicyAttachmentOutput

type SnapshotPolicyAttachmentOutput struct{ *pulumi.OutputState }

func (SnapshotPolicyAttachmentOutput) ElementType

func (SnapshotPolicyAttachmentOutput) SnapshotPolicyId

func (o SnapshotPolicyAttachmentOutput) SnapshotPolicyId() pulumi.StringOutput

ID of CBS snapshot policy.

func (SnapshotPolicyAttachmentOutput) StorageId

ID of CBS.

func (SnapshotPolicyAttachmentOutput) ToSnapshotPolicyAttachmentOutput

func (o SnapshotPolicyAttachmentOutput) ToSnapshotPolicyAttachmentOutput() SnapshotPolicyAttachmentOutput

func (SnapshotPolicyAttachmentOutput) ToSnapshotPolicyAttachmentOutputWithContext

func (o SnapshotPolicyAttachmentOutput) ToSnapshotPolicyAttachmentOutputWithContext(ctx context.Context) SnapshotPolicyAttachmentOutput

type SnapshotPolicyAttachmentState

type SnapshotPolicyAttachmentState struct {
	// ID of CBS snapshot policy.
	SnapshotPolicyId pulumi.StringPtrInput
	// ID of CBS.
	StorageId pulumi.StringPtrInput
}

func (SnapshotPolicyAttachmentState) ElementType

type SnapshotPolicyInput

type SnapshotPolicyInput interface {
	pulumi.Input

	ToSnapshotPolicyOutput() SnapshotPolicyOutput
	ToSnapshotPolicyOutputWithContext(ctx context.Context) SnapshotPolicyOutput
}

type SnapshotPolicyMap

type SnapshotPolicyMap map[string]SnapshotPolicyInput

func (SnapshotPolicyMap) ElementType

func (SnapshotPolicyMap) ElementType() reflect.Type

func (SnapshotPolicyMap) ToSnapshotPolicyMapOutput

func (i SnapshotPolicyMap) ToSnapshotPolicyMapOutput() SnapshotPolicyMapOutput

func (SnapshotPolicyMap) ToSnapshotPolicyMapOutputWithContext

func (i SnapshotPolicyMap) ToSnapshotPolicyMapOutputWithContext(ctx context.Context) SnapshotPolicyMapOutput

type SnapshotPolicyMapInput

type SnapshotPolicyMapInput interface {
	pulumi.Input

	ToSnapshotPolicyMapOutput() SnapshotPolicyMapOutput
	ToSnapshotPolicyMapOutputWithContext(context.Context) SnapshotPolicyMapOutput
}

SnapshotPolicyMapInput is an input type that accepts SnapshotPolicyMap and SnapshotPolicyMapOutput values. You can construct a concrete instance of `SnapshotPolicyMapInput` via:

SnapshotPolicyMap{ "key": SnapshotPolicyArgs{...} }

type SnapshotPolicyMapOutput

type SnapshotPolicyMapOutput struct{ *pulumi.OutputState }

func (SnapshotPolicyMapOutput) ElementType

func (SnapshotPolicyMapOutput) ElementType() reflect.Type

func (SnapshotPolicyMapOutput) MapIndex

func (SnapshotPolicyMapOutput) ToSnapshotPolicyMapOutput

func (o SnapshotPolicyMapOutput) ToSnapshotPolicyMapOutput() SnapshotPolicyMapOutput

func (SnapshotPolicyMapOutput) ToSnapshotPolicyMapOutputWithContext

func (o SnapshotPolicyMapOutput) ToSnapshotPolicyMapOutputWithContext(ctx context.Context) SnapshotPolicyMapOutput

type SnapshotPolicyOutput

type SnapshotPolicyOutput struct{ *pulumi.OutputState }

func (SnapshotPolicyOutput) ElementType

func (SnapshotPolicyOutput) ElementType() reflect.Type

func (SnapshotPolicyOutput) RepeatHours

func (o SnapshotPolicyOutput) RepeatHours() pulumi.IntArrayOutput

Trigger times of periodic snapshot. Valid value ranges: (0~23). The 0 means 00:00, and so on.

func (SnapshotPolicyOutput) RepeatWeekdays

func (o SnapshotPolicyOutput) RepeatWeekdays() pulumi.IntArrayOutput

Periodic snapshot is enabled. Valid values: [0, 1, 2, 3, 4, 5, 6]. 0 means Sunday, 1-6 means Monday to Saturday.

func (SnapshotPolicyOutput) RetentionDays

func (o SnapshotPolicyOutput) RetentionDays() pulumi.IntPtrOutput

Retention days of the snapshot, and the default value is 7.

func (SnapshotPolicyOutput) SnapshotPolicyName

func (o SnapshotPolicyOutput) SnapshotPolicyName() pulumi.StringOutput

Name of snapshot policy. The maximum length can not exceed 60 bytes.

func (SnapshotPolicyOutput) ToSnapshotPolicyOutput

func (o SnapshotPolicyOutput) ToSnapshotPolicyOutput() SnapshotPolicyOutput

func (SnapshotPolicyOutput) ToSnapshotPolicyOutputWithContext

func (o SnapshotPolicyOutput) ToSnapshotPolicyOutputWithContext(ctx context.Context) SnapshotPolicyOutput

type SnapshotPolicyState

type SnapshotPolicyState struct {
	// Trigger times of periodic snapshot. Valid value ranges: (0~23). The 0 means 00:00, and so on.
	RepeatHours pulumi.IntArrayInput
	// Periodic snapshot is enabled. Valid values: [0, 1, 2, 3, 4, 5, 6]. 0 means Sunday, 1-6 means Monday to Saturday.
	RepeatWeekdays pulumi.IntArrayInput
	// Retention days of the snapshot, and the default value is 7.
	RetentionDays pulumi.IntPtrInput
	// Name of snapshot policy. The maximum length can not exceed 60 bytes.
	SnapshotPolicyName pulumi.StringPtrInput
}

func (SnapshotPolicyState) ElementType

func (SnapshotPolicyState) ElementType() reflect.Type

type SnapshotState

type SnapshotState struct {
	// Creation time of snapshot.
	CreateTime pulumi.StringPtrInput
	// Types of CBS which this snapshot created from.
	DiskType pulumi.StringPtrInput
	// Snapshot creation progress percentage. If the snapshot has created successfully, the constant value is 100.
	Percent pulumi.IntPtrInput
	// Name of the snapshot.
	SnapshotName pulumi.StringPtrInput
	// Status of the snapshot.
	SnapshotStatus pulumi.StringPtrInput
	// ID of the the CBS which this snapshot created from.
	StorageId pulumi.StringPtrInput
	// Volume of storage which this snapshot created from.
	StorageSize pulumi.IntPtrInput
}

func (SnapshotState) ElementType

func (SnapshotState) ElementType() reflect.Type

type SnapshotsArgs

type SnapshotsArgs struct {
	AvailabilityZone *string `pulumi:"availabilityZone"`
	ProjectId        *int    `pulumi:"projectId"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	SnapshotId       *string `pulumi:"snapshotId"`
	SnapshotName     *string `pulumi:"snapshotName"`
	StorageId        *string `pulumi:"storageId"`
	StorageUsage     *string `pulumi:"storageUsage"`
}

A collection of arguments for invoking Snapshots.

type SnapshotsOutputArgs

type SnapshotsOutputArgs struct {
	AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"`
	ProjectId        pulumi.IntPtrInput    `pulumi:"projectId"`
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	SnapshotId       pulumi.StringPtrInput `pulumi:"snapshotId"`
	SnapshotName     pulumi.StringPtrInput `pulumi:"snapshotName"`
	StorageId        pulumi.StringPtrInput `pulumi:"storageId"`
	StorageUsage     pulumi.StringPtrInput `pulumi:"storageUsage"`
}

A collection of arguments for invoking Snapshots.

func (SnapshotsOutputArgs) ElementType

func (SnapshotsOutputArgs) ElementType() reflect.Type

type SnapshotsResult

type SnapshotsResult struct {
	AvailabilityZone *string `pulumi:"availabilityZone"`
	// The provider-assigned unique ID for this managed resource.
	Id               string                  `pulumi:"id"`
	ProjectId        *int                    `pulumi:"projectId"`
	ResultOutputFile *string                 `pulumi:"resultOutputFile"`
	SnapshotId       *string                 `pulumi:"snapshotId"`
	SnapshotLists    []SnapshotsSnapshotList `pulumi:"snapshotLists"`
	SnapshotName     *string                 `pulumi:"snapshotName"`
	StorageId        *string                 `pulumi:"storageId"`
	StorageUsage     *string                 `pulumi:"storageUsage"`
}

A collection of values returned by Snapshots.

func Snapshots

func Snapshots(ctx *pulumi.Context, args *SnapshotsArgs, opts ...pulumi.InvokeOption) (*SnapshotsResult, error)

type SnapshotsResultOutput

type SnapshotsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Snapshots.

func (SnapshotsResultOutput) AvailabilityZone

func (o SnapshotsResultOutput) AvailabilityZone() pulumi.StringPtrOutput

func (SnapshotsResultOutput) ElementType

func (SnapshotsResultOutput) ElementType() reflect.Type

func (SnapshotsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (SnapshotsResultOutput) ProjectId

func (SnapshotsResultOutput) ResultOutputFile

func (o SnapshotsResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (SnapshotsResultOutput) SnapshotId

func (SnapshotsResultOutput) SnapshotLists

func (SnapshotsResultOutput) SnapshotName

func (o SnapshotsResultOutput) SnapshotName() pulumi.StringPtrOutput

func (SnapshotsResultOutput) StorageId

func (SnapshotsResultOutput) StorageUsage

func (o SnapshotsResultOutput) StorageUsage() pulumi.StringPtrOutput

func (SnapshotsResultOutput) ToSnapshotsResultOutput

func (o SnapshotsResultOutput) ToSnapshotsResultOutput() SnapshotsResultOutput

func (SnapshotsResultOutput) ToSnapshotsResultOutputWithContext

func (o SnapshotsResultOutput) ToSnapshotsResultOutputWithContext(ctx context.Context) SnapshotsResultOutput

type SnapshotsSnapshotList

type SnapshotsSnapshotList struct {
	AvailabilityZone string `pulumi:"availabilityZone"`
	CreateTime       string `pulumi:"createTime"`
	Encrypt          bool   `pulumi:"encrypt"`
	Percent          int    `pulumi:"percent"`
	ProjectId        int    `pulumi:"projectId"`
	SnapshotId       string `pulumi:"snapshotId"`
	SnapshotName     string `pulumi:"snapshotName"`
	StorageId        string `pulumi:"storageId"`
	StorageSize      int    `pulumi:"storageSize"`
	StorageUsage     string `pulumi:"storageUsage"`
}

type SnapshotsSnapshotListArgs

type SnapshotsSnapshotListArgs struct {
	AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"`
	CreateTime       pulumi.StringInput `pulumi:"createTime"`
	Encrypt          pulumi.BoolInput   `pulumi:"encrypt"`
	Percent          pulumi.IntInput    `pulumi:"percent"`
	ProjectId        pulumi.IntInput    `pulumi:"projectId"`
	SnapshotId       pulumi.StringInput `pulumi:"snapshotId"`
	SnapshotName     pulumi.StringInput `pulumi:"snapshotName"`
	StorageId        pulumi.StringInput `pulumi:"storageId"`
	StorageSize      pulumi.IntInput    `pulumi:"storageSize"`
	StorageUsage     pulumi.StringInput `pulumi:"storageUsage"`
}

func (SnapshotsSnapshotListArgs) ElementType

func (SnapshotsSnapshotListArgs) ElementType() reflect.Type

func (SnapshotsSnapshotListArgs) ToSnapshotsSnapshotListOutput

func (i SnapshotsSnapshotListArgs) ToSnapshotsSnapshotListOutput() SnapshotsSnapshotListOutput

func (SnapshotsSnapshotListArgs) ToSnapshotsSnapshotListOutputWithContext

func (i SnapshotsSnapshotListArgs) ToSnapshotsSnapshotListOutputWithContext(ctx context.Context) SnapshotsSnapshotListOutput

type SnapshotsSnapshotListArray

type SnapshotsSnapshotListArray []SnapshotsSnapshotListInput

func (SnapshotsSnapshotListArray) ElementType

func (SnapshotsSnapshotListArray) ElementType() reflect.Type

func (SnapshotsSnapshotListArray) ToSnapshotsSnapshotListArrayOutput

func (i SnapshotsSnapshotListArray) ToSnapshotsSnapshotListArrayOutput() SnapshotsSnapshotListArrayOutput

func (SnapshotsSnapshotListArray) ToSnapshotsSnapshotListArrayOutputWithContext

func (i SnapshotsSnapshotListArray) ToSnapshotsSnapshotListArrayOutputWithContext(ctx context.Context) SnapshotsSnapshotListArrayOutput

type SnapshotsSnapshotListArrayInput

type SnapshotsSnapshotListArrayInput interface {
	pulumi.Input

	ToSnapshotsSnapshotListArrayOutput() SnapshotsSnapshotListArrayOutput
	ToSnapshotsSnapshotListArrayOutputWithContext(context.Context) SnapshotsSnapshotListArrayOutput
}

SnapshotsSnapshotListArrayInput is an input type that accepts SnapshotsSnapshotListArray and SnapshotsSnapshotListArrayOutput values. You can construct a concrete instance of `SnapshotsSnapshotListArrayInput` via:

SnapshotsSnapshotListArray{ SnapshotsSnapshotListArgs{...} }

type SnapshotsSnapshotListArrayOutput

type SnapshotsSnapshotListArrayOutput struct{ *pulumi.OutputState }

func (SnapshotsSnapshotListArrayOutput) ElementType

func (SnapshotsSnapshotListArrayOutput) Index

func (SnapshotsSnapshotListArrayOutput) ToSnapshotsSnapshotListArrayOutput

func (o SnapshotsSnapshotListArrayOutput) ToSnapshotsSnapshotListArrayOutput() SnapshotsSnapshotListArrayOutput

func (SnapshotsSnapshotListArrayOutput) ToSnapshotsSnapshotListArrayOutputWithContext

func (o SnapshotsSnapshotListArrayOutput) ToSnapshotsSnapshotListArrayOutputWithContext(ctx context.Context) SnapshotsSnapshotListArrayOutput

type SnapshotsSnapshotListInput

type SnapshotsSnapshotListInput interface {
	pulumi.Input

	ToSnapshotsSnapshotListOutput() SnapshotsSnapshotListOutput
	ToSnapshotsSnapshotListOutputWithContext(context.Context) SnapshotsSnapshotListOutput
}

SnapshotsSnapshotListInput is an input type that accepts SnapshotsSnapshotListArgs and SnapshotsSnapshotListOutput values. You can construct a concrete instance of `SnapshotsSnapshotListInput` via:

SnapshotsSnapshotListArgs{...}

type SnapshotsSnapshotListOutput

type SnapshotsSnapshotListOutput struct{ *pulumi.OutputState }

func (SnapshotsSnapshotListOutput) AvailabilityZone

func (o SnapshotsSnapshotListOutput) AvailabilityZone() pulumi.StringOutput

func (SnapshotsSnapshotListOutput) CreateTime

func (SnapshotsSnapshotListOutput) ElementType

func (SnapshotsSnapshotListOutput) Encrypt

func (SnapshotsSnapshotListOutput) Percent

func (SnapshotsSnapshotListOutput) ProjectId

func (SnapshotsSnapshotListOutput) SnapshotId

func (SnapshotsSnapshotListOutput) SnapshotName

func (SnapshotsSnapshotListOutput) StorageId

func (SnapshotsSnapshotListOutput) StorageSize

func (SnapshotsSnapshotListOutput) StorageUsage

func (SnapshotsSnapshotListOutput) ToSnapshotsSnapshotListOutput

func (o SnapshotsSnapshotListOutput) ToSnapshotsSnapshotListOutput() SnapshotsSnapshotListOutput

func (SnapshotsSnapshotListOutput) ToSnapshotsSnapshotListOutputWithContext

func (o SnapshotsSnapshotListOutput) ToSnapshotsSnapshotListOutputWithContext(ctx context.Context) SnapshotsSnapshotListOutput

type Storage

type Storage struct {
	pulumi.CustomResourceState

	// Indicates whether the CBS is mounted the CVM.
	Attached pulumi.BoolOutput `pulumi:"attached"`
	// The available zone that the CBS instance locates at.
	AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"`
	// The charge type of CBS instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`.
	ChargeType pulumi.StringPtrOutput `pulumi:"chargeType"`
	// Indicates whether CBS is encrypted.
	Encrypt pulumi.BoolPtrOutput `pulumi:"encrypt"`
	// Indicate whether to delete CBS instance directly or not. Default is false. If set true, the instance will be deleted
	// instead of staying recycle bin.
	ForceDelete pulumi.BoolPtrOutput `pulumi:"forceDelete"`
	// The purchased usage period of CBS. Valid values: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36].
	//
	// Deprecated: It has been deprecated from version 1.33.0. Set `prepaid_period` instead.
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// The tenancy (time unit is month) of the prepaid instance, NOTE: it only works when charge_type is set to `PREPAID`.
	// Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36.
	PrepaidPeriod pulumi.IntOutput `pulumi:"prepaidPeriod"`
	// Auto Renewal flag. Value range: `NOTIFY_AND_AUTO_RENEW`: Notify expiry and renew automatically,
	// `NOTIFY_AND_MANUAL_RENEW`: Notify expiry but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: Neither
	// notify expiry nor renew automatically. Default value range: `NOTIFY_AND_MANUAL_RENEW`: Notify expiry but do not renew
	// automatically. NOTE: it only works when charge_type is set to `PREPAID`.
	PrepaidRenewFlag pulumi.StringOutput `pulumi:"prepaidRenewFlag"`
	// ID of the project to which the instance belongs.
	ProjectId pulumi.IntPtrOutput `pulumi:"projectId"`
	// ID of the snapshot. If specified, created the CBS by this snapshot.
	SnapshotId pulumi.StringOutput `pulumi:"snapshotId"`
	// Name of CBS. The maximum length can not exceed 60 bytes.
	StorageName pulumi.StringOutput `pulumi:"storageName"`
	// Volume of CBS, and unit is GB. If storage type is `CLOUD_SSD`, the size range is [100, 16000], and the others are
	// [10-16000].
	StorageSize pulumi.IntOutput `pulumi:"storageSize"`
	// Status of CBS. Valid values: UNATTACHED, ATTACHING, ATTACHED, DETACHING, EXPANDING, ROLLBACKING, TORECYCLE and DUMPING.
	StorageStatus pulumi.StringOutput `pulumi:"storageStatus"`
	// Type of CBS medium. Valid values: CLOUD_PREMIUM, CLOUD_SSD, CLOUD_TSSD and CLOUD_HSSD.
	StorageType pulumi.StringOutput `pulumi:"storageType"`
	// The available tags within this CBS.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// Add extra performance to the data disk. Only works when disk type is `CLOUD_TSSD` or `CLOUD_HSSD`.
	ThroughputPerformance pulumi.IntPtrOutput `pulumi:"throughputPerformance"`
}

func GetStorage

func GetStorage(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StorageState, opts ...pulumi.ResourceOption) (*Storage, error)

GetStorage gets an existing Storage 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 NewStorage

func NewStorage(ctx *pulumi.Context,
	name string, args *StorageArgs, opts ...pulumi.ResourceOption) (*Storage, error)

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

func (*Storage) ElementType

func (*Storage) ElementType() reflect.Type

func (*Storage) ToStorageOutput

func (i *Storage) ToStorageOutput() StorageOutput

func (*Storage) ToStorageOutputWithContext

func (i *Storage) ToStorageOutputWithContext(ctx context.Context) StorageOutput

type StorageArgs

type StorageArgs struct {
	// The available zone that the CBS instance locates at.
	AvailabilityZone pulumi.StringInput
	// The charge type of CBS instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`.
	ChargeType pulumi.StringPtrInput
	// Indicates whether CBS is encrypted.
	Encrypt pulumi.BoolPtrInput
	// Indicate whether to delete CBS instance directly or not. Default is false. If set true, the instance will be deleted
	// instead of staying recycle bin.
	ForceDelete pulumi.BoolPtrInput
	// The purchased usage period of CBS. Valid values: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36].
	//
	// Deprecated: It has been deprecated from version 1.33.0. Set `prepaid_period` instead.
	Period pulumi.IntPtrInput
	// The tenancy (time unit is month) of the prepaid instance, NOTE: it only works when charge_type is set to `PREPAID`.
	// Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36.
	PrepaidPeriod pulumi.IntPtrInput
	// Auto Renewal flag. Value range: `NOTIFY_AND_AUTO_RENEW`: Notify expiry and renew automatically,
	// `NOTIFY_AND_MANUAL_RENEW`: Notify expiry but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: Neither
	// notify expiry nor renew automatically. Default value range: `NOTIFY_AND_MANUAL_RENEW`: Notify expiry but do not renew
	// automatically. NOTE: it only works when charge_type is set to `PREPAID`.
	PrepaidRenewFlag pulumi.StringPtrInput
	// ID of the project to which the instance belongs.
	ProjectId pulumi.IntPtrInput
	// ID of the snapshot. If specified, created the CBS by this snapshot.
	SnapshotId pulumi.StringPtrInput
	// Name of CBS. The maximum length can not exceed 60 bytes.
	StorageName pulumi.StringInput
	// Volume of CBS, and unit is GB. If storage type is `CLOUD_SSD`, the size range is [100, 16000], and the others are
	// [10-16000].
	StorageSize pulumi.IntInput
	// Type of CBS medium. Valid values: CLOUD_PREMIUM, CLOUD_SSD, CLOUD_TSSD and CLOUD_HSSD.
	StorageType pulumi.StringInput
	// The available tags within this CBS.
	Tags pulumi.MapInput
	// Add extra performance to the data disk. Only works when disk type is `CLOUD_TSSD` or `CLOUD_HSSD`.
	ThroughputPerformance pulumi.IntPtrInput
}

The set of arguments for constructing a Storage resource.

func (StorageArgs) ElementType

func (StorageArgs) ElementType() reflect.Type

type StorageArray

type StorageArray []StorageInput

func (StorageArray) ElementType

func (StorageArray) ElementType() reflect.Type

func (StorageArray) ToStorageArrayOutput

func (i StorageArray) ToStorageArrayOutput() StorageArrayOutput

func (StorageArray) ToStorageArrayOutputWithContext

func (i StorageArray) ToStorageArrayOutputWithContext(ctx context.Context) StorageArrayOutput

type StorageArrayInput

type StorageArrayInput interface {
	pulumi.Input

	ToStorageArrayOutput() StorageArrayOutput
	ToStorageArrayOutputWithContext(context.Context) StorageArrayOutput
}

StorageArrayInput is an input type that accepts StorageArray and StorageArrayOutput values. You can construct a concrete instance of `StorageArrayInput` via:

StorageArray{ StorageArgs{...} }

type StorageArrayOutput

type StorageArrayOutput struct{ *pulumi.OutputState }

func (StorageArrayOutput) ElementType

func (StorageArrayOutput) ElementType() reflect.Type

func (StorageArrayOutput) Index

func (StorageArrayOutput) ToStorageArrayOutput

func (o StorageArrayOutput) ToStorageArrayOutput() StorageArrayOutput

func (StorageArrayOutput) ToStorageArrayOutputWithContext

func (o StorageArrayOutput) ToStorageArrayOutputWithContext(ctx context.Context) StorageArrayOutput

type StorageAttachment

type StorageAttachment struct {
	pulumi.CustomResourceState

	// ID of the CVM instance.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// ID of the mounted CBS.
	StorageId pulumi.StringOutput `pulumi:"storageId"`
}

func GetStorageAttachment

func GetStorageAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StorageAttachmentState, opts ...pulumi.ResourceOption) (*StorageAttachment, error)

GetStorageAttachment gets an existing StorageAttachment 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 NewStorageAttachment

func NewStorageAttachment(ctx *pulumi.Context,
	name string, args *StorageAttachmentArgs, opts ...pulumi.ResourceOption) (*StorageAttachment, error)

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

func (*StorageAttachment) ElementType

func (*StorageAttachment) ElementType() reflect.Type

func (*StorageAttachment) ToStorageAttachmentOutput

func (i *StorageAttachment) ToStorageAttachmentOutput() StorageAttachmentOutput

func (*StorageAttachment) ToStorageAttachmentOutputWithContext

func (i *StorageAttachment) ToStorageAttachmentOutputWithContext(ctx context.Context) StorageAttachmentOutput

type StorageAttachmentArgs

type StorageAttachmentArgs struct {
	// ID of the CVM instance.
	InstanceId pulumi.StringInput
	// ID of the mounted CBS.
	StorageId pulumi.StringInput
}

The set of arguments for constructing a StorageAttachment resource.

func (StorageAttachmentArgs) ElementType

func (StorageAttachmentArgs) ElementType() reflect.Type

type StorageAttachmentArray

type StorageAttachmentArray []StorageAttachmentInput

func (StorageAttachmentArray) ElementType

func (StorageAttachmentArray) ElementType() reflect.Type

func (StorageAttachmentArray) ToStorageAttachmentArrayOutput

func (i StorageAttachmentArray) ToStorageAttachmentArrayOutput() StorageAttachmentArrayOutput

func (StorageAttachmentArray) ToStorageAttachmentArrayOutputWithContext

func (i StorageAttachmentArray) ToStorageAttachmentArrayOutputWithContext(ctx context.Context) StorageAttachmentArrayOutput

type StorageAttachmentArrayInput

type StorageAttachmentArrayInput interface {
	pulumi.Input

	ToStorageAttachmentArrayOutput() StorageAttachmentArrayOutput
	ToStorageAttachmentArrayOutputWithContext(context.Context) StorageAttachmentArrayOutput
}

StorageAttachmentArrayInput is an input type that accepts StorageAttachmentArray and StorageAttachmentArrayOutput values. You can construct a concrete instance of `StorageAttachmentArrayInput` via:

StorageAttachmentArray{ StorageAttachmentArgs{...} }

type StorageAttachmentArrayOutput

type StorageAttachmentArrayOutput struct{ *pulumi.OutputState }

func (StorageAttachmentArrayOutput) ElementType

func (StorageAttachmentArrayOutput) Index

func (StorageAttachmentArrayOutput) ToStorageAttachmentArrayOutput

func (o StorageAttachmentArrayOutput) ToStorageAttachmentArrayOutput() StorageAttachmentArrayOutput

func (StorageAttachmentArrayOutput) ToStorageAttachmentArrayOutputWithContext

func (o StorageAttachmentArrayOutput) ToStorageAttachmentArrayOutputWithContext(ctx context.Context) StorageAttachmentArrayOutput

type StorageAttachmentInput

type StorageAttachmentInput interface {
	pulumi.Input

	ToStorageAttachmentOutput() StorageAttachmentOutput
	ToStorageAttachmentOutputWithContext(ctx context.Context) StorageAttachmentOutput
}

type StorageAttachmentMap

type StorageAttachmentMap map[string]StorageAttachmentInput

func (StorageAttachmentMap) ElementType

func (StorageAttachmentMap) ElementType() reflect.Type

func (StorageAttachmentMap) ToStorageAttachmentMapOutput

func (i StorageAttachmentMap) ToStorageAttachmentMapOutput() StorageAttachmentMapOutput

func (StorageAttachmentMap) ToStorageAttachmentMapOutputWithContext

func (i StorageAttachmentMap) ToStorageAttachmentMapOutputWithContext(ctx context.Context) StorageAttachmentMapOutput

type StorageAttachmentMapInput

type StorageAttachmentMapInput interface {
	pulumi.Input

	ToStorageAttachmentMapOutput() StorageAttachmentMapOutput
	ToStorageAttachmentMapOutputWithContext(context.Context) StorageAttachmentMapOutput
}

StorageAttachmentMapInput is an input type that accepts StorageAttachmentMap and StorageAttachmentMapOutput values. You can construct a concrete instance of `StorageAttachmentMapInput` via:

StorageAttachmentMap{ "key": StorageAttachmentArgs{...} }

type StorageAttachmentMapOutput

type StorageAttachmentMapOutput struct{ *pulumi.OutputState }

func (StorageAttachmentMapOutput) ElementType

func (StorageAttachmentMapOutput) ElementType() reflect.Type

func (StorageAttachmentMapOutput) MapIndex

func (StorageAttachmentMapOutput) ToStorageAttachmentMapOutput

func (o StorageAttachmentMapOutput) ToStorageAttachmentMapOutput() StorageAttachmentMapOutput

func (StorageAttachmentMapOutput) ToStorageAttachmentMapOutputWithContext

func (o StorageAttachmentMapOutput) ToStorageAttachmentMapOutputWithContext(ctx context.Context) StorageAttachmentMapOutput

type StorageAttachmentOutput

type StorageAttachmentOutput struct{ *pulumi.OutputState }

func (StorageAttachmentOutput) ElementType

func (StorageAttachmentOutput) ElementType() reflect.Type

func (StorageAttachmentOutput) InstanceId

ID of the CVM instance.

func (StorageAttachmentOutput) StorageId

ID of the mounted CBS.

func (StorageAttachmentOutput) ToStorageAttachmentOutput

func (o StorageAttachmentOutput) ToStorageAttachmentOutput() StorageAttachmentOutput

func (StorageAttachmentOutput) ToStorageAttachmentOutputWithContext

func (o StorageAttachmentOutput) ToStorageAttachmentOutputWithContext(ctx context.Context) StorageAttachmentOutput

type StorageAttachmentState

type StorageAttachmentState struct {
	// ID of the CVM instance.
	InstanceId pulumi.StringPtrInput
	// ID of the mounted CBS.
	StorageId pulumi.StringPtrInput
}

func (StorageAttachmentState) ElementType

func (StorageAttachmentState) ElementType() reflect.Type

type StorageInput

type StorageInput interface {
	pulumi.Input

	ToStorageOutput() StorageOutput
	ToStorageOutputWithContext(ctx context.Context) StorageOutput
}

type StorageMap

type StorageMap map[string]StorageInput

func (StorageMap) ElementType

func (StorageMap) ElementType() reflect.Type

func (StorageMap) ToStorageMapOutput

func (i StorageMap) ToStorageMapOutput() StorageMapOutput

func (StorageMap) ToStorageMapOutputWithContext

func (i StorageMap) ToStorageMapOutputWithContext(ctx context.Context) StorageMapOutput

type StorageMapInput

type StorageMapInput interface {
	pulumi.Input

	ToStorageMapOutput() StorageMapOutput
	ToStorageMapOutputWithContext(context.Context) StorageMapOutput
}

StorageMapInput is an input type that accepts StorageMap and StorageMapOutput values. You can construct a concrete instance of `StorageMapInput` via:

StorageMap{ "key": StorageArgs{...} }

type StorageMapOutput

type StorageMapOutput struct{ *pulumi.OutputState }

func (StorageMapOutput) ElementType

func (StorageMapOutput) ElementType() reflect.Type

func (StorageMapOutput) MapIndex

func (StorageMapOutput) ToStorageMapOutput

func (o StorageMapOutput) ToStorageMapOutput() StorageMapOutput

func (StorageMapOutput) ToStorageMapOutputWithContext

func (o StorageMapOutput) ToStorageMapOutputWithContext(ctx context.Context) StorageMapOutput

type StorageOutput

type StorageOutput struct{ *pulumi.OutputState }

func (StorageOutput) Attached

func (o StorageOutput) Attached() pulumi.BoolOutput

Indicates whether the CBS is mounted the CVM.

func (StorageOutput) AvailabilityZone

func (o StorageOutput) AvailabilityZone() pulumi.StringOutput

The available zone that the CBS instance locates at.

func (StorageOutput) ChargeType

func (o StorageOutput) ChargeType() pulumi.StringPtrOutput

The charge type of CBS instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`.

func (StorageOutput) ElementType

func (StorageOutput) ElementType() reflect.Type

func (StorageOutput) Encrypt

func (o StorageOutput) Encrypt() pulumi.BoolPtrOutput

Indicates whether CBS is encrypted.

func (StorageOutput) ForceDelete

func (o StorageOutput) ForceDelete() pulumi.BoolPtrOutput

Indicate whether to delete CBS instance directly or not. Default is false. If set true, the instance will be deleted instead of staying recycle bin.

func (StorageOutput) Period deprecated

func (o StorageOutput) Period() pulumi.IntPtrOutput

The purchased usage period of CBS. Valid values: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36].

Deprecated: It has been deprecated from version 1.33.0. Set `prepaid_period` instead.

func (StorageOutput) PrepaidPeriod

func (o StorageOutput) PrepaidPeriod() pulumi.IntOutput

The tenancy (time unit is month) of the prepaid instance, NOTE: it only works when charge_type is set to `PREPAID`. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36.

func (StorageOutput) PrepaidRenewFlag

func (o StorageOutput) PrepaidRenewFlag() pulumi.StringOutput

Auto Renewal flag. Value range: `NOTIFY_AND_AUTO_RENEW`: Notify expiry and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: Notify expiry but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: Neither notify expiry nor renew automatically. Default value range: `NOTIFY_AND_MANUAL_RENEW`: Notify expiry but do not renew automatically. NOTE: it only works when charge_type is set to `PREPAID`.

func (StorageOutput) ProjectId

func (o StorageOutput) ProjectId() pulumi.IntPtrOutput

ID of the project to which the instance belongs.

func (StorageOutput) SnapshotId

func (o StorageOutput) SnapshotId() pulumi.StringOutput

ID of the snapshot. If specified, created the CBS by this snapshot.

func (StorageOutput) StorageName

func (o StorageOutput) StorageName() pulumi.StringOutput

Name of CBS. The maximum length can not exceed 60 bytes.

func (StorageOutput) StorageSize

func (o StorageOutput) StorageSize() pulumi.IntOutput

Volume of CBS, and unit is GB. If storage type is `CLOUD_SSD`, the size range is [100, 16000], and the others are [10-16000].

func (StorageOutput) StorageStatus

func (o StorageOutput) StorageStatus() pulumi.StringOutput

Status of CBS. Valid values: UNATTACHED, ATTACHING, ATTACHED, DETACHING, EXPANDING, ROLLBACKING, TORECYCLE and DUMPING.

func (StorageOutput) StorageType

func (o StorageOutput) StorageType() pulumi.StringOutput

Type of CBS medium. Valid values: CLOUD_PREMIUM, CLOUD_SSD, CLOUD_TSSD and CLOUD_HSSD.

func (StorageOutput) Tags

func (o StorageOutput) Tags() pulumi.MapOutput

The available tags within this CBS.

func (StorageOutput) ThroughputPerformance

func (o StorageOutput) ThroughputPerformance() pulumi.IntPtrOutput

Add extra performance to the data disk. Only works when disk type is `CLOUD_TSSD` or `CLOUD_HSSD`.

func (StorageOutput) ToStorageOutput

func (o StorageOutput) ToStorageOutput() StorageOutput

func (StorageOutput) ToStorageOutputWithContext

func (o StorageOutput) ToStorageOutputWithContext(ctx context.Context) StorageOutput

type StorageState

type StorageState struct {
	// Indicates whether the CBS is mounted the CVM.
	Attached pulumi.BoolPtrInput
	// The available zone that the CBS instance locates at.
	AvailabilityZone pulumi.StringPtrInput
	// The charge type of CBS instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`.
	ChargeType pulumi.StringPtrInput
	// Indicates whether CBS is encrypted.
	Encrypt pulumi.BoolPtrInput
	// Indicate whether to delete CBS instance directly or not. Default is false. If set true, the instance will be deleted
	// instead of staying recycle bin.
	ForceDelete pulumi.BoolPtrInput
	// The purchased usage period of CBS. Valid values: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36].
	//
	// Deprecated: It has been deprecated from version 1.33.0. Set `prepaid_period` instead.
	Period pulumi.IntPtrInput
	// The tenancy (time unit is month) of the prepaid instance, NOTE: it only works when charge_type is set to `PREPAID`.
	// Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36.
	PrepaidPeriod pulumi.IntPtrInput
	// Auto Renewal flag. Value range: `NOTIFY_AND_AUTO_RENEW`: Notify expiry and renew automatically,
	// `NOTIFY_AND_MANUAL_RENEW`: Notify expiry but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: Neither
	// notify expiry nor renew automatically. Default value range: `NOTIFY_AND_MANUAL_RENEW`: Notify expiry but do not renew
	// automatically. NOTE: it only works when charge_type is set to `PREPAID`.
	PrepaidRenewFlag pulumi.StringPtrInput
	// ID of the project to which the instance belongs.
	ProjectId pulumi.IntPtrInput
	// ID of the snapshot. If specified, created the CBS by this snapshot.
	SnapshotId pulumi.StringPtrInput
	// Name of CBS. The maximum length can not exceed 60 bytes.
	StorageName pulumi.StringPtrInput
	// Volume of CBS, and unit is GB. If storage type is `CLOUD_SSD`, the size range is [100, 16000], and the others are
	// [10-16000].
	StorageSize pulumi.IntPtrInput
	// Status of CBS. Valid values: UNATTACHED, ATTACHING, ATTACHED, DETACHING, EXPANDING, ROLLBACKING, TORECYCLE and DUMPING.
	StorageStatus pulumi.StringPtrInput
	// Type of CBS medium. Valid values: CLOUD_PREMIUM, CLOUD_SSD, CLOUD_TSSD and CLOUD_HSSD.
	StorageType pulumi.StringPtrInput
	// The available tags within this CBS.
	Tags pulumi.MapInput
	// Add extra performance to the data disk. Only works when disk type is `CLOUD_TSSD` or `CLOUD_HSSD`.
	ThroughputPerformance pulumi.IntPtrInput
}

func (StorageState) ElementType

func (StorageState) ElementType() reflect.Type

type StoragesArgs

type StoragesArgs struct {
	AvailabilityZone *string  `pulumi:"availabilityZone"`
	ChargeTypes      []string `pulumi:"chargeTypes"`
	InstanceIps      []string `pulumi:"instanceIps"`
	InstanceNames    []string `pulumi:"instanceNames"`
	Portable         *bool    `pulumi:"portable"`
	ProjectId        *int     `pulumi:"projectId"`
	ResultOutputFile *string  `pulumi:"resultOutputFile"`
	StorageId        *string  `pulumi:"storageId"`
	StorageName      *string  `pulumi:"storageName"`
	StorageStates    []string `pulumi:"storageStates"`
	StorageType      *string  `pulumi:"storageType"`
	StorageUsage     *string  `pulumi:"storageUsage"`
	TagKeys          []string `pulumi:"tagKeys"`
	TagValues        []string `pulumi:"tagValues"`
}

A collection of arguments for invoking Storages.

type StoragesOutputArgs

type StoragesOutputArgs struct {
	AvailabilityZone pulumi.StringPtrInput   `pulumi:"availabilityZone"`
	ChargeTypes      pulumi.StringArrayInput `pulumi:"chargeTypes"`
	InstanceIps      pulumi.StringArrayInput `pulumi:"instanceIps"`
	InstanceNames    pulumi.StringArrayInput `pulumi:"instanceNames"`
	Portable         pulumi.BoolPtrInput     `pulumi:"portable"`
	ProjectId        pulumi.IntPtrInput      `pulumi:"projectId"`
	ResultOutputFile pulumi.StringPtrInput   `pulumi:"resultOutputFile"`
	StorageId        pulumi.StringPtrInput   `pulumi:"storageId"`
	StorageName      pulumi.StringPtrInput   `pulumi:"storageName"`
	StorageStates    pulumi.StringArrayInput `pulumi:"storageStates"`
	StorageType      pulumi.StringPtrInput   `pulumi:"storageType"`
	StorageUsage     pulumi.StringPtrInput   `pulumi:"storageUsage"`
	TagKeys          pulumi.StringArrayInput `pulumi:"tagKeys"`
	TagValues        pulumi.StringArrayInput `pulumi:"tagValues"`
}

A collection of arguments for invoking Storages.

func (StoragesOutputArgs) ElementType

func (StoragesOutputArgs) ElementType() reflect.Type

type StoragesResult

type StoragesResult struct {
	AvailabilityZone *string  `pulumi:"availabilityZone"`
	ChargeTypes      []string `pulumi:"chargeTypes"`
	// The provider-assigned unique ID for this managed resource.
	Id               string                `pulumi:"id"`
	InstanceIps      []string              `pulumi:"instanceIps"`
	InstanceNames    []string              `pulumi:"instanceNames"`
	Portable         *bool                 `pulumi:"portable"`
	ProjectId        *int                  `pulumi:"projectId"`
	ResultOutputFile *string               `pulumi:"resultOutputFile"`
	StorageId        *string               `pulumi:"storageId"`
	StorageLists     []StoragesStorageList `pulumi:"storageLists"`
	StorageName      *string               `pulumi:"storageName"`
	StorageStates    []string              `pulumi:"storageStates"`
	StorageType      *string               `pulumi:"storageType"`
	StorageUsage     *string               `pulumi:"storageUsage"`
	TagKeys          []string              `pulumi:"tagKeys"`
	TagValues        []string              `pulumi:"tagValues"`
}

A collection of values returned by Storages.

func Storages

func Storages(ctx *pulumi.Context, args *StoragesArgs, opts ...pulumi.InvokeOption) (*StoragesResult, error)

type StoragesResultOutput

type StoragesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Storages.

func (StoragesResultOutput) AvailabilityZone

func (o StoragesResultOutput) AvailabilityZone() pulumi.StringPtrOutput

func (StoragesResultOutput) ChargeTypes

func (StoragesResultOutput) ElementType

func (StoragesResultOutput) ElementType() reflect.Type

func (StoragesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (StoragesResultOutput) InstanceIps

func (StoragesResultOutput) InstanceNames

func (o StoragesResultOutput) InstanceNames() pulumi.StringArrayOutput

func (StoragesResultOutput) Portable

func (StoragesResultOutput) ProjectId

func (StoragesResultOutput) ResultOutputFile

func (o StoragesResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (StoragesResultOutput) StorageId

func (StoragesResultOutput) StorageLists

func (StoragesResultOutput) StorageName

func (StoragesResultOutput) StorageStates

func (o StoragesResultOutput) StorageStates() pulumi.StringArrayOutput

func (StoragesResultOutput) StorageType

func (StoragesResultOutput) StorageUsage

func (o StoragesResultOutput) StorageUsage() pulumi.StringPtrOutput

func (StoragesResultOutput) TagKeys

func (StoragesResultOutput) TagValues

func (StoragesResultOutput) ToStoragesResultOutput

func (o StoragesResultOutput) ToStoragesResultOutput() StoragesResultOutput

func (StoragesResultOutput) ToStoragesResultOutputWithContext

func (o StoragesResultOutput) ToStoragesResultOutputWithContext(ctx context.Context) StoragesResultOutput

type StoragesStorageList

type StoragesStorageList struct {
	Attached              bool                   `pulumi:"attached"`
	AvailabilityZone      string                 `pulumi:"availabilityZone"`
	ChargeType            string                 `pulumi:"chargeType"`
	CreateTime            string                 `pulumi:"createTime"`
	Encrypt               bool                   `pulumi:"encrypt"`
	InstanceId            string                 `pulumi:"instanceId"`
	PrepaidRenewFlag      string                 `pulumi:"prepaidRenewFlag"`
	ProjectId             int                    `pulumi:"projectId"`
	Status                string                 `pulumi:"status"`
	StorageId             string                 `pulumi:"storageId"`
	StorageName           string                 `pulumi:"storageName"`
	StorageSize           int                    `pulumi:"storageSize"`
	StorageType           string                 `pulumi:"storageType"`
	StorageUsage          string                 `pulumi:"storageUsage"`
	Tags                  map[string]interface{} `pulumi:"tags"`
	ThroughputPerformance int                    `pulumi:"throughputPerformance"`
}

type StoragesStorageListArgs

type StoragesStorageListArgs struct {
	Attached              pulumi.BoolInput   `pulumi:"attached"`
	AvailabilityZone      pulumi.StringInput `pulumi:"availabilityZone"`
	ChargeType            pulumi.StringInput `pulumi:"chargeType"`
	CreateTime            pulumi.StringInput `pulumi:"createTime"`
	Encrypt               pulumi.BoolInput   `pulumi:"encrypt"`
	InstanceId            pulumi.StringInput `pulumi:"instanceId"`
	PrepaidRenewFlag      pulumi.StringInput `pulumi:"prepaidRenewFlag"`
	ProjectId             pulumi.IntInput    `pulumi:"projectId"`
	Status                pulumi.StringInput `pulumi:"status"`
	StorageId             pulumi.StringInput `pulumi:"storageId"`
	StorageName           pulumi.StringInput `pulumi:"storageName"`
	StorageSize           pulumi.IntInput    `pulumi:"storageSize"`
	StorageType           pulumi.StringInput `pulumi:"storageType"`
	StorageUsage          pulumi.StringInput `pulumi:"storageUsage"`
	Tags                  pulumi.MapInput    `pulumi:"tags"`
	ThroughputPerformance pulumi.IntInput    `pulumi:"throughputPerformance"`
}

func (StoragesStorageListArgs) ElementType

func (StoragesStorageListArgs) ElementType() reflect.Type

func (StoragesStorageListArgs) ToStoragesStorageListOutput

func (i StoragesStorageListArgs) ToStoragesStorageListOutput() StoragesStorageListOutput

func (StoragesStorageListArgs) ToStoragesStorageListOutputWithContext

func (i StoragesStorageListArgs) ToStoragesStorageListOutputWithContext(ctx context.Context) StoragesStorageListOutput

type StoragesStorageListArray

type StoragesStorageListArray []StoragesStorageListInput

func (StoragesStorageListArray) ElementType

func (StoragesStorageListArray) ElementType() reflect.Type

func (StoragesStorageListArray) ToStoragesStorageListArrayOutput

func (i StoragesStorageListArray) ToStoragesStorageListArrayOutput() StoragesStorageListArrayOutput

func (StoragesStorageListArray) ToStoragesStorageListArrayOutputWithContext

func (i StoragesStorageListArray) ToStoragesStorageListArrayOutputWithContext(ctx context.Context) StoragesStorageListArrayOutput

type StoragesStorageListArrayInput

type StoragesStorageListArrayInput interface {
	pulumi.Input

	ToStoragesStorageListArrayOutput() StoragesStorageListArrayOutput
	ToStoragesStorageListArrayOutputWithContext(context.Context) StoragesStorageListArrayOutput
}

StoragesStorageListArrayInput is an input type that accepts StoragesStorageListArray and StoragesStorageListArrayOutput values. You can construct a concrete instance of `StoragesStorageListArrayInput` via:

StoragesStorageListArray{ StoragesStorageListArgs{...} }

type StoragesStorageListArrayOutput

type StoragesStorageListArrayOutput struct{ *pulumi.OutputState }

func (StoragesStorageListArrayOutput) ElementType

func (StoragesStorageListArrayOutput) Index

func (StoragesStorageListArrayOutput) ToStoragesStorageListArrayOutput

func (o StoragesStorageListArrayOutput) ToStoragesStorageListArrayOutput() StoragesStorageListArrayOutput

func (StoragesStorageListArrayOutput) ToStoragesStorageListArrayOutputWithContext

func (o StoragesStorageListArrayOutput) ToStoragesStorageListArrayOutputWithContext(ctx context.Context) StoragesStorageListArrayOutput

type StoragesStorageListInput

type StoragesStorageListInput interface {
	pulumi.Input

	ToStoragesStorageListOutput() StoragesStorageListOutput
	ToStoragesStorageListOutputWithContext(context.Context) StoragesStorageListOutput
}

StoragesStorageListInput is an input type that accepts StoragesStorageListArgs and StoragesStorageListOutput values. You can construct a concrete instance of `StoragesStorageListInput` via:

StoragesStorageListArgs{...}

type StoragesStorageListOutput

type StoragesStorageListOutput struct{ *pulumi.OutputState }

func (StoragesStorageListOutput) Attached

func (StoragesStorageListOutput) AvailabilityZone

func (o StoragesStorageListOutput) AvailabilityZone() pulumi.StringOutput

func (StoragesStorageListOutput) ChargeType

func (StoragesStorageListOutput) CreateTime

func (StoragesStorageListOutput) ElementType

func (StoragesStorageListOutput) ElementType() reflect.Type

func (StoragesStorageListOutput) Encrypt

func (StoragesStorageListOutput) InstanceId

func (StoragesStorageListOutput) PrepaidRenewFlag

func (o StoragesStorageListOutput) PrepaidRenewFlag() pulumi.StringOutput

func (StoragesStorageListOutput) ProjectId

func (StoragesStorageListOutput) Status

func (StoragesStorageListOutput) StorageId

func (StoragesStorageListOutput) StorageName

func (StoragesStorageListOutput) StorageSize

func (o StoragesStorageListOutput) StorageSize() pulumi.IntOutput

func (StoragesStorageListOutput) StorageType

func (StoragesStorageListOutput) StorageUsage

func (StoragesStorageListOutput) Tags

func (StoragesStorageListOutput) ThroughputPerformance

func (o StoragesStorageListOutput) ThroughputPerformance() pulumi.IntOutput

func (StoragesStorageListOutput) ToStoragesStorageListOutput

func (o StoragesStorageListOutput) ToStoragesStorageListOutput() StoragesStorageListOutput

func (StoragesStorageListOutput) ToStoragesStorageListOutputWithContext

func (o StoragesStorageListOutput) ToStoragesStorageListOutputWithContext(ctx context.Context) StoragesStorageListOutput

Jump to

Keyboard shortcuts

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