cbs

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2023 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 DiskBackup

type DiskBackup struct {
	pulumi.CustomResourceState

	// Backup point name.
	DiskBackupName pulumi.StringPtrOutput `pulumi:"diskBackupName"`
	// ID of the original cloud disk of the backup point, which can be queried through the DescribeDisks API.
	DiskId pulumi.StringOutput `pulumi:"diskId"`
}

func GetDiskBackup

func GetDiskBackup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DiskBackupState, opts ...pulumi.ResourceOption) (*DiskBackup, error)

GetDiskBackup gets an existing DiskBackup 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 NewDiskBackup

func NewDiskBackup(ctx *pulumi.Context,
	name string, args *DiskBackupArgs, opts ...pulumi.ResourceOption) (*DiskBackup, error)

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

func (*DiskBackup) ElementType

func (*DiskBackup) ElementType() reflect.Type

func (*DiskBackup) ToDiskBackupOutput

func (i *DiskBackup) ToDiskBackupOutput() DiskBackupOutput

func (*DiskBackup) ToDiskBackupOutputWithContext

func (i *DiskBackup) ToDiskBackupOutputWithContext(ctx context.Context) DiskBackupOutput

type DiskBackupArgs

type DiskBackupArgs struct {
	// Backup point name.
	DiskBackupName pulumi.StringPtrInput
	// ID of the original cloud disk of the backup point, which can be queried through the DescribeDisks API.
	DiskId pulumi.StringInput
}

The set of arguments for constructing a DiskBackup resource.

func (DiskBackupArgs) ElementType

func (DiskBackupArgs) ElementType() reflect.Type

type DiskBackupArray

type DiskBackupArray []DiskBackupInput

func (DiskBackupArray) ElementType

func (DiskBackupArray) ElementType() reflect.Type

func (DiskBackupArray) ToDiskBackupArrayOutput

func (i DiskBackupArray) ToDiskBackupArrayOutput() DiskBackupArrayOutput

func (DiskBackupArray) ToDiskBackupArrayOutputWithContext

func (i DiskBackupArray) ToDiskBackupArrayOutputWithContext(ctx context.Context) DiskBackupArrayOutput

type DiskBackupArrayInput

type DiskBackupArrayInput interface {
	pulumi.Input

	ToDiskBackupArrayOutput() DiskBackupArrayOutput
	ToDiskBackupArrayOutputWithContext(context.Context) DiskBackupArrayOutput
}

DiskBackupArrayInput is an input type that accepts DiskBackupArray and DiskBackupArrayOutput values. You can construct a concrete instance of `DiskBackupArrayInput` via:

DiskBackupArray{ DiskBackupArgs{...} }

type DiskBackupArrayOutput

type DiskBackupArrayOutput struct{ *pulumi.OutputState }

func (DiskBackupArrayOutput) ElementType

func (DiskBackupArrayOutput) ElementType() reflect.Type

func (DiskBackupArrayOutput) Index

func (DiskBackupArrayOutput) ToDiskBackupArrayOutput

func (o DiskBackupArrayOutput) ToDiskBackupArrayOutput() DiskBackupArrayOutput

func (DiskBackupArrayOutput) ToDiskBackupArrayOutputWithContext

func (o DiskBackupArrayOutput) ToDiskBackupArrayOutputWithContext(ctx context.Context) DiskBackupArrayOutput

type DiskBackupInput

type DiskBackupInput interface {
	pulumi.Input

	ToDiskBackupOutput() DiskBackupOutput
	ToDiskBackupOutputWithContext(ctx context.Context) DiskBackupOutput
}

type DiskBackupMap

type DiskBackupMap map[string]DiskBackupInput

func (DiskBackupMap) ElementType

func (DiskBackupMap) ElementType() reflect.Type

func (DiskBackupMap) ToDiskBackupMapOutput

func (i DiskBackupMap) ToDiskBackupMapOutput() DiskBackupMapOutput

func (DiskBackupMap) ToDiskBackupMapOutputWithContext

func (i DiskBackupMap) ToDiskBackupMapOutputWithContext(ctx context.Context) DiskBackupMapOutput

type DiskBackupMapInput

type DiskBackupMapInput interface {
	pulumi.Input

	ToDiskBackupMapOutput() DiskBackupMapOutput
	ToDiskBackupMapOutputWithContext(context.Context) DiskBackupMapOutput
}

DiskBackupMapInput is an input type that accepts DiskBackupMap and DiskBackupMapOutput values. You can construct a concrete instance of `DiskBackupMapInput` via:

DiskBackupMap{ "key": DiskBackupArgs{...} }

type DiskBackupMapOutput

type DiskBackupMapOutput struct{ *pulumi.OutputState }

func (DiskBackupMapOutput) ElementType

func (DiskBackupMapOutput) ElementType() reflect.Type

func (DiskBackupMapOutput) MapIndex

func (DiskBackupMapOutput) ToDiskBackupMapOutput

func (o DiskBackupMapOutput) ToDiskBackupMapOutput() DiskBackupMapOutput

func (DiskBackupMapOutput) ToDiskBackupMapOutputWithContext

func (o DiskBackupMapOutput) ToDiskBackupMapOutputWithContext(ctx context.Context) DiskBackupMapOutput

type DiskBackupOutput

type DiskBackupOutput struct{ *pulumi.OutputState }

func (DiskBackupOutput) DiskBackupName

func (o DiskBackupOutput) DiskBackupName() pulumi.StringPtrOutput

Backup point name.

func (DiskBackupOutput) DiskId

ID of the original cloud disk of the backup point, which can be queried through the DescribeDisks API.

func (DiskBackupOutput) ElementType

func (DiskBackupOutput) ElementType() reflect.Type

func (DiskBackupOutput) ToDiskBackupOutput

func (o DiskBackupOutput) ToDiskBackupOutput() DiskBackupOutput

func (DiskBackupOutput) ToDiskBackupOutputWithContext

func (o DiskBackupOutput) ToDiskBackupOutputWithContext(ctx context.Context) DiskBackupOutput

type DiskBackupRollbackOperation

type DiskBackupRollbackOperation struct {
	pulumi.CustomResourceState

	// Cloud disk backup point ID.
	DiskBackupId pulumi.StringOutput `pulumi:"diskBackupId"`
	// Cloud disk backup point original cloud disk ID.
	DiskId pulumi.StringOutput `pulumi:"diskId"`
	// Whether the rollback is completed. `true` meaing rollback completed, `false` meaning still rollbacking.
	IsRollbackCompleted pulumi.BoolOutput `pulumi:"isRollbackCompleted"`
}

func GetDiskBackupRollbackOperation

func GetDiskBackupRollbackOperation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DiskBackupRollbackOperationState, opts ...pulumi.ResourceOption) (*DiskBackupRollbackOperation, error)

GetDiskBackupRollbackOperation gets an existing DiskBackupRollbackOperation 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 NewDiskBackupRollbackOperation

func NewDiskBackupRollbackOperation(ctx *pulumi.Context,
	name string, args *DiskBackupRollbackOperationArgs, opts ...pulumi.ResourceOption) (*DiskBackupRollbackOperation, error)

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

func (*DiskBackupRollbackOperation) ElementType

func (*DiskBackupRollbackOperation) ElementType() reflect.Type

func (*DiskBackupRollbackOperation) ToDiskBackupRollbackOperationOutput

func (i *DiskBackupRollbackOperation) ToDiskBackupRollbackOperationOutput() DiskBackupRollbackOperationOutput

func (*DiskBackupRollbackOperation) ToDiskBackupRollbackOperationOutputWithContext

func (i *DiskBackupRollbackOperation) ToDiskBackupRollbackOperationOutputWithContext(ctx context.Context) DiskBackupRollbackOperationOutput

type DiskBackupRollbackOperationArgs

type DiskBackupRollbackOperationArgs struct {
	// Cloud disk backup point ID.
	DiskBackupId pulumi.StringInput
	// Cloud disk backup point original cloud disk ID.
	DiskId pulumi.StringInput
}

The set of arguments for constructing a DiskBackupRollbackOperation resource.

func (DiskBackupRollbackOperationArgs) ElementType

type DiskBackupRollbackOperationArray

type DiskBackupRollbackOperationArray []DiskBackupRollbackOperationInput

func (DiskBackupRollbackOperationArray) ElementType

func (DiskBackupRollbackOperationArray) ToDiskBackupRollbackOperationArrayOutput

func (i DiskBackupRollbackOperationArray) ToDiskBackupRollbackOperationArrayOutput() DiskBackupRollbackOperationArrayOutput

func (DiskBackupRollbackOperationArray) ToDiskBackupRollbackOperationArrayOutputWithContext

func (i DiskBackupRollbackOperationArray) ToDiskBackupRollbackOperationArrayOutputWithContext(ctx context.Context) DiskBackupRollbackOperationArrayOutput

type DiskBackupRollbackOperationArrayInput

type DiskBackupRollbackOperationArrayInput interface {
	pulumi.Input

	ToDiskBackupRollbackOperationArrayOutput() DiskBackupRollbackOperationArrayOutput
	ToDiskBackupRollbackOperationArrayOutputWithContext(context.Context) DiskBackupRollbackOperationArrayOutput
}

DiskBackupRollbackOperationArrayInput is an input type that accepts DiskBackupRollbackOperationArray and DiskBackupRollbackOperationArrayOutput values. You can construct a concrete instance of `DiskBackupRollbackOperationArrayInput` via:

DiskBackupRollbackOperationArray{ DiskBackupRollbackOperationArgs{...} }

type DiskBackupRollbackOperationArrayOutput

type DiskBackupRollbackOperationArrayOutput struct{ *pulumi.OutputState }

func (DiskBackupRollbackOperationArrayOutput) ElementType

func (DiskBackupRollbackOperationArrayOutput) Index

func (DiskBackupRollbackOperationArrayOutput) ToDiskBackupRollbackOperationArrayOutput

func (o DiskBackupRollbackOperationArrayOutput) ToDiskBackupRollbackOperationArrayOutput() DiskBackupRollbackOperationArrayOutput

func (DiskBackupRollbackOperationArrayOutput) ToDiskBackupRollbackOperationArrayOutputWithContext

func (o DiskBackupRollbackOperationArrayOutput) ToDiskBackupRollbackOperationArrayOutputWithContext(ctx context.Context) DiskBackupRollbackOperationArrayOutput

type DiskBackupRollbackOperationInput

type DiskBackupRollbackOperationInput interface {
	pulumi.Input

	ToDiskBackupRollbackOperationOutput() DiskBackupRollbackOperationOutput
	ToDiskBackupRollbackOperationOutputWithContext(ctx context.Context) DiskBackupRollbackOperationOutput
}

type DiskBackupRollbackOperationMap

type DiskBackupRollbackOperationMap map[string]DiskBackupRollbackOperationInput

func (DiskBackupRollbackOperationMap) ElementType

func (DiskBackupRollbackOperationMap) ToDiskBackupRollbackOperationMapOutput

func (i DiskBackupRollbackOperationMap) ToDiskBackupRollbackOperationMapOutput() DiskBackupRollbackOperationMapOutput

func (DiskBackupRollbackOperationMap) ToDiskBackupRollbackOperationMapOutputWithContext

func (i DiskBackupRollbackOperationMap) ToDiskBackupRollbackOperationMapOutputWithContext(ctx context.Context) DiskBackupRollbackOperationMapOutput

type DiskBackupRollbackOperationMapInput

type DiskBackupRollbackOperationMapInput interface {
	pulumi.Input

	ToDiskBackupRollbackOperationMapOutput() DiskBackupRollbackOperationMapOutput
	ToDiskBackupRollbackOperationMapOutputWithContext(context.Context) DiskBackupRollbackOperationMapOutput
}

DiskBackupRollbackOperationMapInput is an input type that accepts DiskBackupRollbackOperationMap and DiskBackupRollbackOperationMapOutput values. You can construct a concrete instance of `DiskBackupRollbackOperationMapInput` via:

DiskBackupRollbackOperationMap{ "key": DiskBackupRollbackOperationArgs{...} }

type DiskBackupRollbackOperationMapOutput

type DiskBackupRollbackOperationMapOutput struct{ *pulumi.OutputState }

func (DiskBackupRollbackOperationMapOutput) ElementType

func (DiskBackupRollbackOperationMapOutput) MapIndex

func (DiskBackupRollbackOperationMapOutput) ToDiskBackupRollbackOperationMapOutput

func (o DiskBackupRollbackOperationMapOutput) ToDiskBackupRollbackOperationMapOutput() DiskBackupRollbackOperationMapOutput

func (DiskBackupRollbackOperationMapOutput) ToDiskBackupRollbackOperationMapOutputWithContext

func (o DiskBackupRollbackOperationMapOutput) ToDiskBackupRollbackOperationMapOutputWithContext(ctx context.Context) DiskBackupRollbackOperationMapOutput

type DiskBackupRollbackOperationOutput

type DiskBackupRollbackOperationOutput struct{ *pulumi.OutputState }

func (DiskBackupRollbackOperationOutput) DiskBackupId

Cloud disk backup point ID.

func (DiskBackupRollbackOperationOutput) DiskId

Cloud disk backup point original cloud disk ID.

func (DiskBackupRollbackOperationOutput) ElementType

func (DiskBackupRollbackOperationOutput) IsRollbackCompleted

func (o DiskBackupRollbackOperationOutput) IsRollbackCompleted() pulumi.BoolOutput

Whether the rollback is completed. `true` meaing rollback completed, `false` meaning still rollbacking.

func (DiskBackupRollbackOperationOutput) ToDiskBackupRollbackOperationOutput

func (o DiskBackupRollbackOperationOutput) ToDiskBackupRollbackOperationOutput() DiskBackupRollbackOperationOutput

func (DiskBackupRollbackOperationOutput) ToDiskBackupRollbackOperationOutputWithContext

func (o DiskBackupRollbackOperationOutput) ToDiskBackupRollbackOperationOutputWithContext(ctx context.Context) DiskBackupRollbackOperationOutput

type DiskBackupRollbackOperationState

type DiskBackupRollbackOperationState struct {
	// Cloud disk backup point ID.
	DiskBackupId pulumi.StringPtrInput
	// Cloud disk backup point original cloud disk ID.
	DiskId pulumi.StringPtrInput
	// Whether the rollback is completed. `true` meaing rollback completed, `false` meaning still rollbacking.
	IsRollbackCompleted pulumi.BoolPtrInput
}

func (DiskBackupRollbackOperationState) ElementType

type DiskBackupState

type DiskBackupState struct {
	// Backup point name.
	DiskBackupName pulumi.StringPtrInput
	// ID of the original cloud disk of the backup point, which can be queried through the DescribeDisks API.
	DiskId pulumi.StringPtrInput
}

func (DiskBackupState) ElementType

func (DiskBackupState) ElementType() reflect.Type

type GetSnapshotPoliciesArgs

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

A collection of arguments for invoking getSnapshotPolicies.

type GetSnapshotPoliciesOutputArgs

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

A collection of arguments for invoking getSnapshotPolicies.

func (GetSnapshotPoliciesOutputArgs) ElementType

type GetSnapshotPoliciesResult

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

A collection of values returned by getSnapshotPolicies.

type GetSnapshotPoliciesResultOutput

type GetSnapshotPoliciesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSnapshotPolicies.

func (GetSnapshotPoliciesResultOutput) ElementType

func (GetSnapshotPoliciesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetSnapshotPoliciesResultOutput) ResultOutputFile

func (GetSnapshotPoliciesResultOutput) SnapshotPolicyId

func (GetSnapshotPoliciesResultOutput) SnapshotPolicyLists

func (GetSnapshotPoliciesResultOutput) SnapshotPolicyName

func (GetSnapshotPoliciesResultOutput) ToGetSnapshotPoliciesResultOutput

func (o GetSnapshotPoliciesResultOutput) ToGetSnapshotPoliciesResultOutput() GetSnapshotPoliciesResultOutput

func (GetSnapshotPoliciesResultOutput) ToGetSnapshotPoliciesResultOutputWithContext

func (o GetSnapshotPoliciesResultOutput) ToGetSnapshotPoliciesResultOutputWithContext(ctx context.Context) GetSnapshotPoliciesResultOutput

type GetSnapshotPoliciesSnapshotPolicyList

type GetSnapshotPoliciesSnapshotPolicyList 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 GetSnapshotPoliciesSnapshotPolicyListArgs

type GetSnapshotPoliciesSnapshotPolicyListArgs 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 (GetSnapshotPoliciesSnapshotPolicyListArgs) ElementType

func (GetSnapshotPoliciesSnapshotPolicyListArgs) ToGetSnapshotPoliciesSnapshotPolicyListOutput

func (i GetSnapshotPoliciesSnapshotPolicyListArgs) ToGetSnapshotPoliciesSnapshotPolicyListOutput() GetSnapshotPoliciesSnapshotPolicyListOutput

func (GetSnapshotPoliciesSnapshotPolicyListArgs) ToGetSnapshotPoliciesSnapshotPolicyListOutputWithContext

func (i GetSnapshotPoliciesSnapshotPolicyListArgs) ToGetSnapshotPoliciesSnapshotPolicyListOutputWithContext(ctx context.Context) GetSnapshotPoliciesSnapshotPolicyListOutput

type GetSnapshotPoliciesSnapshotPolicyListArray

type GetSnapshotPoliciesSnapshotPolicyListArray []GetSnapshotPoliciesSnapshotPolicyListInput

func (GetSnapshotPoliciesSnapshotPolicyListArray) ElementType

func (GetSnapshotPoliciesSnapshotPolicyListArray) ToGetSnapshotPoliciesSnapshotPolicyListArrayOutput

func (i GetSnapshotPoliciesSnapshotPolicyListArray) ToGetSnapshotPoliciesSnapshotPolicyListArrayOutput() GetSnapshotPoliciesSnapshotPolicyListArrayOutput

func (GetSnapshotPoliciesSnapshotPolicyListArray) ToGetSnapshotPoliciesSnapshotPolicyListArrayOutputWithContext

func (i GetSnapshotPoliciesSnapshotPolicyListArray) ToGetSnapshotPoliciesSnapshotPolicyListArrayOutputWithContext(ctx context.Context) GetSnapshotPoliciesSnapshotPolicyListArrayOutput

type GetSnapshotPoliciesSnapshotPolicyListArrayInput

type GetSnapshotPoliciesSnapshotPolicyListArrayInput interface {
	pulumi.Input

	ToGetSnapshotPoliciesSnapshotPolicyListArrayOutput() GetSnapshotPoliciesSnapshotPolicyListArrayOutput
	ToGetSnapshotPoliciesSnapshotPolicyListArrayOutputWithContext(context.Context) GetSnapshotPoliciesSnapshotPolicyListArrayOutput
}

GetSnapshotPoliciesSnapshotPolicyListArrayInput is an input type that accepts GetSnapshotPoliciesSnapshotPolicyListArray and GetSnapshotPoliciesSnapshotPolicyListArrayOutput values. You can construct a concrete instance of `GetSnapshotPoliciesSnapshotPolicyListArrayInput` via:

GetSnapshotPoliciesSnapshotPolicyListArray{ GetSnapshotPoliciesSnapshotPolicyListArgs{...} }

type GetSnapshotPoliciesSnapshotPolicyListArrayOutput

type GetSnapshotPoliciesSnapshotPolicyListArrayOutput struct{ *pulumi.OutputState }

func (GetSnapshotPoliciesSnapshotPolicyListArrayOutput) ElementType

func (GetSnapshotPoliciesSnapshotPolicyListArrayOutput) Index

func (GetSnapshotPoliciesSnapshotPolicyListArrayOutput) ToGetSnapshotPoliciesSnapshotPolicyListArrayOutput

func (o GetSnapshotPoliciesSnapshotPolicyListArrayOutput) ToGetSnapshotPoliciesSnapshotPolicyListArrayOutput() GetSnapshotPoliciesSnapshotPolicyListArrayOutput

func (GetSnapshotPoliciesSnapshotPolicyListArrayOutput) ToGetSnapshotPoliciesSnapshotPolicyListArrayOutputWithContext

func (o GetSnapshotPoliciesSnapshotPolicyListArrayOutput) ToGetSnapshotPoliciesSnapshotPolicyListArrayOutputWithContext(ctx context.Context) GetSnapshotPoliciesSnapshotPolicyListArrayOutput

type GetSnapshotPoliciesSnapshotPolicyListInput

type GetSnapshotPoliciesSnapshotPolicyListInput interface {
	pulumi.Input

	ToGetSnapshotPoliciesSnapshotPolicyListOutput() GetSnapshotPoliciesSnapshotPolicyListOutput
	ToGetSnapshotPoliciesSnapshotPolicyListOutputWithContext(context.Context) GetSnapshotPoliciesSnapshotPolicyListOutput
}

GetSnapshotPoliciesSnapshotPolicyListInput is an input type that accepts GetSnapshotPoliciesSnapshotPolicyListArgs and GetSnapshotPoliciesSnapshotPolicyListOutput values. You can construct a concrete instance of `GetSnapshotPoliciesSnapshotPolicyListInput` via:

GetSnapshotPoliciesSnapshotPolicyListArgs{...}

type GetSnapshotPoliciesSnapshotPolicyListOutput

type GetSnapshotPoliciesSnapshotPolicyListOutput struct{ *pulumi.OutputState }

func (GetSnapshotPoliciesSnapshotPolicyListOutput) AttachedStorageIds

func (GetSnapshotPoliciesSnapshotPolicyListOutput) CreateTime

func (GetSnapshotPoliciesSnapshotPolicyListOutput) ElementType

func (GetSnapshotPoliciesSnapshotPolicyListOutput) RepeatHours

func (GetSnapshotPoliciesSnapshotPolicyListOutput) RepeatWeekdays

func (GetSnapshotPoliciesSnapshotPolicyListOutput) RetentionDays

func (GetSnapshotPoliciesSnapshotPolicyListOutput) SnapshotPolicyId

func (GetSnapshotPoliciesSnapshotPolicyListOutput) SnapshotPolicyName

func (GetSnapshotPoliciesSnapshotPolicyListOutput) Status

func (GetSnapshotPoliciesSnapshotPolicyListOutput) ToGetSnapshotPoliciesSnapshotPolicyListOutput

func (o GetSnapshotPoliciesSnapshotPolicyListOutput) ToGetSnapshotPoliciesSnapshotPolicyListOutput() GetSnapshotPoliciesSnapshotPolicyListOutput

func (GetSnapshotPoliciesSnapshotPolicyListOutput) ToGetSnapshotPoliciesSnapshotPolicyListOutputWithContext

func (o GetSnapshotPoliciesSnapshotPolicyListOutput) ToGetSnapshotPoliciesSnapshotPolicyListOutputWithContext(ctx context.Context) GetSnapshotPoliciesSnapshotPolicyListOutput

type GetSnapshotsArgs

type GetSnapshotsArgs 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 getSnapshots.

type GetSnapshotsOutputArgs

type GetSnapshotsOutputArgs 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 getSnapshots.

func (GetSnapshotsOutputArgs) ElementType

func (GetSnapshotsOutputArgs) ElementType() reflect.Type

type GetSnapshotsResult

type GetSnapshotsResult 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    []GetSnapshotsSnapshotList `pulumi:"snapshotLists"`
	SnapshotName     *string                    `pulumi:"snapshotName"`
	StorageId        *string                    `pulumi:"storageId"`
	StorageUsage     *string                    `pulumi:"storageUsage"`
}

A collection of values returned by getSnapshots.

func GetSnapshots

func GetSnapshots(ctx *pulumi.Context, args *GetSnapshotsArgs, opts ...pulumi.InvokeOption) (*GetSnapshotsResult, error)

type GetSnapshotsResultOutput

type GetSnapshotsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSnapshots.

func (GetSnapshotsResultOutput) AvailabilityZone

func (o GetSnapshotsResultOutput) AvailabilityZone() pulumi.StringPtrOutput

func (GetSnapshotsResultOutput) ElementType

func (GetSnapshotsResultOutput) ElementType() reflect.Type

func (GetSnapshotsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetSnapshotsResultOutput) ProjectId

func (GetSnapshotsResultOutput) ResultOutputFile

func (o GetSnapshotsResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetSnapshotsResultOutput) SnapshotId

func (GetSnapshotsResultOutput) SnapshotLists

func (GetSnapshotsResultOutput) SnapshotName

func (GetSnapshotsResultOutput) StorageId

func (GetSnapshotsResultOutput) StorageUsage

func (GetSnapshotsResultOutput) ToGetSnapshotsResultOutput

func (o GetSnapshotsResultOutput) ToGetSnapshotsResultOutput() GetSnapshotsResultOutput

func (GetSnapshotsResultOutput) ToGetSnapshotsResultOutputWithContext

func (o GetSnapshotsResultOutput) ToGetSnapshotsResultOutputWithContext(ctx context.Context) GetSnapshotsResultOutput

type GetSnapshotsSnapshotList

type GetSnapshotsSnapshotList 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 GetSnapshotsSnapshotListArgs

type GetSnapshotsSnapshotListArgs 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 (GetSnapshotsSnapshotListArgs) ElementType

func (GetSnapshotsSnapshotListArgs) ToGetSnapshotsSnapshotListOutput

func (i GetSnapshotsSnapshotListArgs) ToGetSnapshotsSnapshotListOutput() GetSnapshotsSnapshotListOutput

func (GetSnapshotsSnapshotListArgs) ToGetSnapshotsSnapshotListOutputWithContext

func (i GetSnapshotsSnapshotListArgs) ToGetSnapshotsSnapshotListOutputWithContext(ctx context.Context) GetSnapshotsSnapshotListOutput

type GetSnapshotsSnapshotListArray

type GetSnapshotsSnapshotListArray []GetSnapshotsSnapshotListInput

func (GetSnapshotsSnapshotListArray) ElementType

func (GetSnapshotsSnapshotListArray) ToGetSnapshotsSnapshotListArrayOutput

func (i GetSnapshotsSnapshotListArray) ToGetSnapshotsSnapshotListArrayOutput() GetSnapshotsSnapshotListArrayOutput

func (GetSnapshotsSnapshotListArray) ToGetSnapshotsSnapshotListArrayOutputWithContext

func (i GetSnapshotsSnapshotListArray) ToGetSnapshotsSnapshotListArrayOutputWithContext(ctx context.Context) GetSnapshotsSnapshotListArrayOutput

type GetSnapshotsSnapshotListArrayInput

type GetSnapshotsSnapshotListArrayInput interface {
	pulumi.Input

	ToGetSnapshotsSnapshotListArrayOutput() GetSnapshotsSnapshotListArrayOutput
	ToGetSnapshotsSnapshotListArrayOutputWithContext(context.Context) GetSnapshotsSnapshotListArrayOutput
}

GetSnapshotsSnapshotListArrayInput is an input type that accepts GetSnapshotsSnapshotListArray and GetSnapshotsSnapshotListArrayOutput values. You can construct a concrete instance of `GetSnapshotsSnapshotListArrayInput` via:

GetSnapshotsSnapshotListArray{ GetSnapshotsSnapshotListArgs{...} }

type GetSnapshotsSnapshotListArrayOutput

type GetSnapshotsSnapshotListArrayOutput struct{ *pulumi.OutputState }

func (GetSnapshotsSnapshotListArrayOutput) ElementType

func (GetSnapshotsSnapshotListArrayOutput) Index

func (GetSnapshotsSnapshotListArrayOutput) ToGetSnapshotsSnapshotListArrayOutput

func (o GetSnapshotsSnapshotListArrayOutput) ToGetSnapshotsSnapshotListArrayOutput() GetSnapshotsSnapshotListArrayOutput

func (GetSnapshotsSnapshotListArrayOutput) ToGetSnapshotsSnapshotListArrayOutputWithContext

func (o GetSnapshotsSnapshotListArrayOutput) ToGetSnapshotsSnapshotListArrayOutputWithContext(ctx context.Context) GetSnapshotsSnapshotListArrayOutput

type GetSnapshotsSnapshotListInput

type GetSnapshotsSnapshotListInput interface {
	pulumi.Input

	ToGetSnapshotsSnapshotListOutput() GetSnapshotsSnapshotListOutput
	ToGetSnapshotsSnapshotListOutputWithContext(context.Context) GetSnapshotsSnapshotListOutput
}

GetSnapshotsSnapshotListInput is an input type that accepts GetSnapshotsSnapshotListArgs and GetSnapshotsSnapshotListOutput values. You can construct a concrete instance of `GetSnapshotsSnapshotListInput` via:

GetSnapshotsSnapshotListArgs{...}

type GetSnapshotsSnapshotListOutput

type GetSnapshotsSnapshotListOutput struct{ *pulumi.OutputState }

func (GetSnapshotsSnapshotListOutput) AvailabilityZone

func (o GetSnapshotsSnapshotListOutput) AvailabilityZone() pulumi.StringOutput

func (GetSnapshotsSnapshotListOutput) CreateTime

func (GetSnapshotsSnapshotListOutput) ElementType

func (GetSnapshotsSnapshotListOutput) Encrypt

func (GetSnapshotsSnapshotListOutput) Percent

func (GetSnapshotsSnapshotListOutput) ProjectId

func (GetSnapshotsSnapshotListOutput) SnapshotId

func (GetSnapshotsSnapshotListOutput) SnapshotName

func (GetSnapshotsSnapshotListOutput) StorageId

func (GetSnapshotsSnapshotListOutput) StorageSize

func (GetSnapshotsSnapshotListOutput) StorageUsage

func (GetSnapshotsSnapshotListOutput) ToGetSnapshotsSnapshotListOutput

func (o GetSnapshotsSnapshotListOutput) ToGetSnapshotsSnapshotListOutput() GetSnapshotsSnapshotListOutput

func (GetSnapshotsSnapshotListOutput) ToGetSnapshotsSnapshotListOutputWithContext

func (o GetSnapshotsSnapshotListOutput) ToGetSnapshotsSnapshotListOutputWithContext(ctx context.Context) GetSnapshotsSnapshotListOutput

type GetStoragesArgs

type GetStoragesArgs 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 getStorages.

type GetStoragesOutputArgs

type GetStoragesOutputArgs 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 getStorages.

func (GetStoragesOutputArgs) ElementType

func (GetStoragesOutputArgs) ElementType() reflect.Type

type GetStoragesResult

type GetStoragesResult 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     []GetStoragesStorageList `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 getStorages.

func GetStorages

func GetStorages(ctx *pulumi.Context, args *GetStoragesArgs, opts ...pulumi.InvokeOption) (*GetStoragesResult, error)

type GetStoragesResultOutput

type GetStoragesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getStorages.

func (GetStoragesResultOutput) AvailabilityZone

func (o GetStoragesResultOutput) AvailabilityZone() pulumi.StringPtrOutput

func (GetStoragesResultOutput) ChargeTypes

func (GetStoragesResultOutput) ElementType

func (GetStoragesResultOutput) ElementType() reflect.Type

func (GetStoragesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetStoragesResultOutput) InstanceIps

func (GetStoragesResultOutput) InstanceNames

func (GetStoragesResultOutput) Portable

func (GetStoragesResultOutput) ProjectId

func (GetStoragesResultOutput) ResultOutputFile

func (o GetStoragesResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetStoragesResultOutput) StorageId

func (GetStoragesResultOutput) StorageLists

func (GetStoragesResultOutput) StorageName

func (GetStoragesResultOutput) StorageStates

func (GetStoragesResultOutput) StorageType

func (GetStoragesResultOutput) StorageUsage

func (GetStoragesResultOutput) TagKeys

func (GetStoragesResultOutput) TagValues

func (GetStoragesResultOutput) ToGetStoragesResultOutput

func (o GetStoragesResultOutput) ToGetStoragesResultOutput() GetStoragesResultOutput

func (GetStoragesResultOutput) ToGetStoragesResultOutputWithContext

func (o GetStoragesResultOutput) ToGetStoragesResultOutputWithContext(ctx context.Context) GetStoragesResultOutput

type GetStoragesSetArgs

type GetStoragesSetArgs 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 getStoragesSet.

type GetStoragesSetOutputArgs

type GetStoragesSetOutputArgs 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 getStoragesSet.

func (GetStoragesSetOutputArgs) ElementType

func (GetStoragesSetOutputArgs) ElementType() reflect.Type

type GetStoragesSetResult

type GetStoragesSetResult 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     []GetStoragesSetStorageList `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 getStoragesSet.

func GetStoragesSet

func GetStoragesSet(ctx *pulumi.Context, args *GetStoragesSetArgs, opts ...pulumi.InvokeOption) (*GetStoragesSetResult, error)

type GetStoragesSetResultOutput

type GetStoragesSetResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getStoragesSet.

func (GetStoragesSetResultOutput) AvailabilityZone

func (o GetStoragesSetResultOutput) AvailabilityZone() pulumi.StringPtrOutput

func (GetStoragesSetResultOutput) ChargeTypes

func (GetStoragesSetResultOutput) ElementType

func (GetStoragesSetResultOutput) ElementType() reflect.Type

func (GetStoragesSetResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetStoragesSetResultOutput) InstanceIps

func (GetStoragesSetResultOutput) InstanceNames

func (GetStoragesSetResultOutput) Portable

func (GetStoragesSetResultOutput) ProjectId

func (GetStoragesSetResultOutput) ResultOutputFile

func (o GetStoragesSetResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetStoragesSetResultOutput) StorageId

func (GetStoragesSetResultOutput) StorageLists

func (GetStoragesSetResultOutput) StorageName

func (GetStoragesSetResultOutput) StorageStates

func (GetStoragesSetResultOutput) StorageType

func (GetStoragesSetResultOutput) StorageUsage

func (GetStoragesSetResultOutput) TagKeys

func (GetStoragesSetResultOutput) TagValues

func (GetStoragesSetResultOutput) ToGetStoragesSetResultOutput

func (o GetStoragesSetResultOutput) ToGetStoragesSetResultOutput() GetStoragesSetResultOutput

func (GetStoragesSetResultOutput) ToGetStoragesSetResultOutputWithContext

func (o GetStoragesSetResultOutput) ToGetStoragesSetResultOutputWithContext(ctx context.Context) GetStoragesSetResultOutput

type GetStoragesSetStorageList

type GetStoragesSetStorageList 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 GetStoragesSetStorageListArgs

type GetStoragesSetStorageListArgs 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 (GetStoragesSetStorageListArgs) ElementType

func (GetStoragesSetStorageListArgs) ToGetStoragesSetStorageListOutput

func (i GetStoragesSetStorageListArgs) ToGetStoragesSetStorageListOutput() GetStoragesSetStorageListOutput

func (GetStoragesSetStorageListArgs) ToGetStoragesSetStorageListOutputWithContext

func (i GetStoragesSetStorageListArgs) ToGetStoragesSetStorageListOutputWithContext(ctx context.Context) GetStoragesSetStorageListOutput

type GetStoragesSetStorageListArray

type GetStoragesSetStorageListArray []GetStoragesSetStorageListInput

func (GetStoragesSetStorageListArray) ElementType

func (GetStoragesSetStorageListArray) ToGetStoragesSetStorageListArrayOutput

func (i GetStoragesSetStorageListArray) ToGetStoragesSetStorageListArrayOutput() GetStoragesSetStorageListArrayOutput

func (GetStoragesSetStorageListArray) ToGetStoragesSetStorageListArrayOutputWithContext

func (i GetStoragesSetStorageListArray) ToGetStoragesSetStorageListArrayOutputWithContext(ctx context.Context) GetStoragesSetStorageListArrayOutput

type GetStoragesSetStorageListArrayInput

type GetStoragesSetStorageListArrayInput interface {
	pulumi.Input

	ToGetStoragesSetStorageListArrayOutput() GetStoragesSetStorageListArrayOutput
	ToGetStoragesSetStorageListArrayOutputWithContext(context.Context) GetStoragesSetStorageListArrayOutput
}

GetStoragesSetStorageListArrayInput is an input type that accepts GetStoragesSetStorageListArray and GetStoragesSetStorageListArrayOutput values. You can construct a concrete instance of `GetStoragesSetStorageListArrayInput` via:

GetStoragesSetStorageListArray{ GetStoragesSetStorageListArgs{...} }

type GetStoragesSetStorageListArrayOutput

type GetStoragesSetStorageListArrayOutput struct{ *pulumi.OutputState }

func (GetStoragesSetStorageListArrayOutput) ElementType

func (GetStoragesSetStorageListArrayOutput) Index

func (GetStoragesSetStorageListArrayOutput) ToGetStoragesSetStorageListArrayOutput

func (o GetStoragesSetStorageListArrayOutput) ToGetStoragesSetStorageListArrayOutput() GetStoragesSetStorageListArrayOutput

func (GetStoragesSetStorageListArrayOutput) ToGetStoragesSetStorageListArrayOutputWithContext

func (o GetStoragesSetStorageListArrayOutput) ToGetStoragesSetStorageListArrayOutputWithContext(ctx context.Context) GetStoragesSetStorageListArrayOutput

type GetStoragesSetStorageListInput

type GetStoragesSetStorageListInput interface {
	pulumi.Input

	ToGetStoragesSetStorageListOutput() GetStoragesSetStorageListOutput
	ToGetStoragesSetStorageListOutputWithContext(context.Context) GetStoragesSetStorageListOutput
}

GetStoragesSetStorageListInput is an input type that accepts GetStoragesSetStorageListArgs and GetStoragesSetStorageListOutput values. You can construct a concrete instance of `GetStoragesSetStorageListInput` via:

GetStoragesSetStorageListArgs{...}

type GetStoragesSetStorageListOutput

type GetStoragesSetStorageListOutput struct{ *pulumi.OutputState }

func (GetStoragesSetStorageListOutput) Attached

func (GetStoragesSetStorageListOutput) AvailabilityZone

func (GetStoragesSetStorageListOutput) ChargeType

func (GetStoragesSetStorageListOutput) CreateTime

func (GetStoragesSetStorageListOutput) ElementType

func (GetStoragesSetStorageListOutput) Encrypt

func (GetStoragesSetStorageListOutput) InstanceId

func (GetStoragesSetStorageListOutput) PrepaidRenewFlag

func (GetStoragesSetStorageListOutput) ProjectId

func (GetStoragesSetStorageListOutput) Status

func (GetStoragesSetStorageListOutput) StorageId

func (GetStoragesSetStorageListOutput) StorageName

func (GetStoragesSetStorageListOutput) StorageSize

func (GetStoragesSetStorageListOutput) StorageType

func (GetStoragesSetStorageListOutput) StorageUsage

func (GetStoragesSetStorageListOutput) Tags

func (GetStoragesSetStorageListOutput) ThroughputPerformance

func (o GetStoragesSetStorageListOutput) ThroughputPerformance() pulumi.IntOutput

func (GetStoragesSetStorageListOutput) ToGetStoragesSetStorageListOutput

func (o GetStoragesSetStorageListOutput) ToGetStoragesSetStorageListOutput() GetStoragesSetStorageListOutput

func (GetStoragesSetStorageListOutput) ToGetStoragesSetStorageListOutputWithContext

func (o GetStoragesSetStorageListOutput) ToGetStoragesSetStorageListOutputWithContext(ctx context.Context) GetStoragesSetStorageListOutput

type GetStoragesStorageList

type GetStoragesStorageList 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 GetStoragesStorageListArgs

type GetStoragesStorageListArgs 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 (GetStoragesStorageListArgs) ElementType

func (GetStoragesStorageListArgs) ElementType() reflect.Type

func (GetStoragesStorageListArgs) ToGetStoragesStorageListOutput

func (i GetStoragesStorageListArgs) ToGetStoragesStorageListOutput() GetStoragesStorageListOutput

func (GetStoragesStorageListArgs) ToGetStoragesStorageListOutputWithContext

func (i GetStoragesStorageListArgs) ToGetStoragesStorageListOutputWithContext(ctx context.Context) GetStoragesStorageListOutput

type GetStoragesStorageListArray

type GetStoragesStorageListArray []GetStoragesStorageListInput

func (GetStoragesStorageListArray) ElementType

func (GetStoragesStorageListArray) ToGetStoragesStorageListArrayOutput

func (i GetStoragesStorageListArray) ToGetStoragesStorageListArrayOutput() GetStoragesStorageListArrayOutput

func (GetStoragesStorageListArray) ToGetStoragesStorageListArrayOutputWithContext

func (i GetStoragesStorageListArray) ToGetStoragesStorageListArrayOutputWithContext(ctx context.Context) GetStoragesStorageListArrayOutput

type GetStoragesStorageListArrayInput

type GetStoragesStorageListArrayInput interface {
	pulumi.Input

	ToGetStoragesStorageListArrayOutput() GetStoragesStorageListArrayOutput
	ToGetStoragesStorageListArrayOutputWithContext(context.Context) GetStoragesStorageListArrayOutput
}

GetStoragesStorageListArrayInput is an input type that accepts GetStoragesStorageListArray and GetStoragesStorageListArrayOutput values. You can construct a concrete instance of `GetStoragesStorageListArrayInput` via:

GetStoragesStorageListArray{ GetStoragesStorageListArgs{...} }

type GetStoragesStorageListArrayOutput

type GetStoragesStorageListArrayOutput struct{ *pulumi.OutputState }

func (GetStoragesStorageListArrayOutput) ElementType

func (GetStoragesStorageListArrayOutput) Index

func (GetStoragesStorageListArrayOutput) ToGetStoragesStorageListArrayOutput

func (o GetStoragesStorageListArrayOutput) ToGetStoragesStorageListArrayOutput() GetStoragesStorageListArrayOutput

func (GetStoragesStorageListArrayOutput) ToGetStoragesStorageListArrayOutputWithContext

func (o GetStoragesStorageListArrayOutput) ToGetStoragesStorageListArrayOutputWithContext(ctx context.Context) GetStoragesStorageListArrayOutput

type GetStoragesStorageListInput

type GetStoragesStorageListInput interface {
	pulumi.Input

	ToGetStoragesStorageListOutput() GetStoragesStorageListOutput
	ToGetStoragesStorageListOutputWithContext(context.Context) GetStoragesStorageListOutput
}

GetStoragesStorageListInput is an input type that accepts GetStoragesStorageListArgs and GetStoragesStorageListOutput values. You can construct a concrete instance of `GetStoragesStorageListInput` via:

GetStoragesStorageListArgs{...}

type GetStoragesStorageListOutput

type GetStoragesStorageListOutput struct{ *pulumi.OutputState }

func (GetStoragesStorageListOutput) Attached

func (GetStoragesStorageListOutput) AvailabilityZone

func (o GetStoragesStorageListOutput) AvailabilityZone() pulumi.StringOutput

func (GetStoragesStorageListOutput) ChargeType

func (GetStoragesStorageListOutput) CreateTime

func (GetStoragesStorageListOutput) ElementType

func (GetStoragesStorageListOutput) Encrypt

func (GetStoragesStorageListOutput) InstanceId

func (GetStoragesStorageListOutput) PrepaidRenewFlag

func (o GetStoragesStorageListOutput) PrepaidRenewFlag() pulumi.StringOutput

func (GetStoragesStorageListOutput) ProjectId

func (GetStoragesStorageListOutput) Status

func (GetStoragesStorageListOutput) StorageId

func (GetStoragesStorageListOutput) StorageName

func (GetStoragesStorageListOutput) StorageSize

func (GetStoragesStorageListOutput) StorageType

func (GetStoragesStorageListOutput) StorageUsage

func (GetStoragesStorageListOutput) Tags

func (GetStoragesStorageListOutput) ThroughputPerformance

func (o GetStoragesStorageListOutput) ThroughputPerformance() pulumi.IntOutput

func (GetStoragesStorageListOutput) ToGetStoragesStorageListOutput

func (o GetStoragesStorageListOutput) ToGetStoragesStorageListOutput() GetStoragesStorageListOutput

func (GetStoragesStorageListOutput) ToGetStoragesStorageListOutputWithContext

func (o GetStoragesStorageListOutput) ToGetStoragesStorageListOutputWithContext(ctx context.Context) GetStoragesStorageListOutput

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"`
	// The available tags within this CBS Snapshot.
	//
	// Deprecated: cbs snapshot do not support tag now.
	Tags pulumi.MapOutput `pulumi:"tags"`
}

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 available tags within this CBS Snapshot.
	//
	// Deprecated: cbs snapshot do not support tag now.
	Tags pulumi.MapInput
}

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) Tags deprecated

func (o SnapshotOutput) Tags() pulumi.MapOutput

The available tags within this CBS Snapshot.

Deprecated: cbs snapshot do not support tag now.

func (SnapshotOutput) ToSnapshotOutput

func (o SnapshotOutput) ToSnapshotOutput() SnapshotOutput

func (SnapshotOutput) ToSnapshotOutputWithContext

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

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 SnapshotSharePermission

type SnapshotSharePermission struct {
	pulumi.CustomResourceState

	// List of account IDs with which a snapshot is shared. For the format of array-type parameters, see[API
	// Introduction](https://cloud.tencent.com/document/api/213/568). You can find the account ID in[Account
	// Information](https://console.cloud.tencent.com/developer).
	AccountIds pulumi.StringArrayOutput `pulumi:"accountIds"`
	// The ID of the snapshot to be queried. You can obtain this by using
	// [DescribeSnapshots](https://cloud.tencent.com/document/api/362/15647).
	SnapshotId pulumi.StringOutput `pulumi:"snapshotId"`
}

func GetSnapshotSharePermission

func GetSnapshotSharePermission(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SnapshotSharePermissionState, opts ...pulumi.ResourceOption) (*SnapshotSharePermission, error)

GetSnapshotSharePermission gets an existing SnapshotSharePermission 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 NewSnapshotSharePermission

func NewSnapshotSharePermission(ctx *pulumi.Context,
	name string, args *SnapshotSharePermissionArgs, opts ...pulumi.ResourceOption) (*SnapshotSharePermission, error)

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

func (*SnapshotSharePermission) ElementType

func (*SnapshotSharePermission) ElementType() reflect.Type

func (*SnapshotSharePermission) ToSnapshotSharePermissionOutput

func (i *SnapshotSharePermission) ToSnapshotSharePermissionOutput() SnapshotSharePermissionOutput

func (*SnapshotSharePermission) ToSnapshotSharePermissionOutputWithContext

func (i *SnapshotSharePermission) ToSnapshotSharePermissionOutputWithContext(ctx context.Context) SnapshotSharePermissionOutput

type SnapshotSharePermissionArgs

type SnapshotSharePermissionArgs struct {
	// List of account IDs with which a snapshot is shared. For the format of array-type parameters, see[API
	// Introduction](https://cloud.tencent.com/document/api/213/568). You can find the account ID in[Account
	// Information](https://console.cloud.tencent.com/developer).
	AccountIds pulumi.StringArrayInput
	// The ID of the snapshot to be queried. You can obtain this by using
	// [DescribeSnapshots](https://cloud.tencent.com/document/api/362/15647).
	SnapshotId pulumi.StringInput
}

The set of arguments for constructing a SnapshotSharePermission resource.

func (SnapshotSharePermissionArgs) ElementType

type SnapshotSharePermissionArray

type SnapshotSharePermissionArray []SnapshotSharePermissionInput

func (SnapshotSharePermissionArray) ElementType

func (SnapshotSharePermissionArray) ToSnapshotSharePermissionArrayOutput

func (i SnapshotSharePermissionArray) ToSnapshotSharePermissionArrayOutput() SnapshotSharePermissionArrayOutput

func (SnapshotSharePermissionArray) ToSnapshotSharePermissionArrayOutputWithContext

func (i SnapshotSharePermissionArray) ToSnapshotSharePermissionArrayOutputWithContext(ctx context.Context) SnapshotSharePermissionArrayOutput

type SnapshotSharePermissionArrayInput

type SnapshotSharePermissionArrayInput interface {
	pulumi.Input

	ToSnapshotSharePermissionArrayOutput() SnapshotSharePermissionArrayOutput
	ToSnapshotSharePermissionArrayOutputWithContext(context.Context) SnapshotSharePermissionArrayOutput
}

SnapshotSharePermissionArrayInput is an input type that accepts SnapshotSharePermissionArray and SnapshotSharePermissionArrayOutput values. You can construct a concrete instance of `SnapshotSharePermissionArrayInput` via:

SnapshotSharePermissionArray{ SnapshotSharePermissionArgs{...} }

type SnapshotSharePermissionArrayOutput

type SnapshotSharePermissionArrayOutput struct{ *pulumi.OutputState }

func (SnapshotSharePermissionArrayOutput) ElementType

func (SnapshotSharePermissionArrayOutput) Index

func (SnapshotSharePermissionArrayOutput) ToSnapshotSharePermissionArrayOutput

func (o SnapshotSharePermissionArrayOutput) ToSnapshotSharePermissionArrayOutput() SnapshotSharePermissionArrayOutput

func (SnapshotSharePermissionArrayOutput) ToSnapshotSharePermissionArrayOutputWithContext

func (o SnapshotSharePermissionArrayOutput) ToSnapshotSharePermissionArrayOutputWithContext(ctx context.Context) SnapshotSharePermissionArrayOutput

type SnapshotSharePermissionInput

type SnapshotSharePermissionInput interface {
	pulumi.Input

	ToSnapshotSharePermissionOutput() SnapshotSharePermissionOutput
	ToSnapshotSharePermissionOutputWithContext(ctx context.Context) SnapshotSharePermissionOutput
}

type SnapshotSharePermissionMap

type SnapshotSharePermissionMap map[string]SnapshotSharePermissionInput

func (SnapshotSharePermissionMap) ElementType

func (SnapshotSharePermissionMap) ElementType() reflect.Type

func (SnapshotSharePermissionMap) ToSnapshotSharePermissionMapOutput

func (i SnapshotSharePermissionMap) ToSnapshotSharePermissionMapOutput() SnapshotSharePermissionMapOutput

func (SnapshotSharePermissionMap) ToSnapshotSharePermissionMapOutputWithContext

func (i SnapshotSharePermissionMap) ToSnapshotSharePermissionMapOutputWithContext(ctx context.Context) SnapshotSharePermissionMapOutput

type SnapshotSharePermissionMapInput

type SnapshotSharePermissionMapInput interface {
	pulumi.Input

	ToSnapshotSharePermissionMapOutput() SnapshotSharePermissionMapOutput
	ToSnapshotSharePermissionMapOutputWithContext(context.Context) SnapshotSharePermissionMapOutput
}

SnapshotSharePermissionMapInput is an input type that accepts SnapshotSharePermissionMap and SnapshotSharePermissionMapOutput values. You can construct a concrete instance of `SnapshotSharePermissionMapInput` via:

SnapshotSharePermissionMap{ "key": SnapshotSharePermissionArgs{...} }

type SnapshotSharePermissionMapOutput

type SnapshotSharePermissionMapOutput struct{ *pulumi.OutputState }

func (SnapshotSharePermissionMapOutput) ElementType

func (SnapshotSharePermissionMapOutput) MapIndex

func (SnapshotSharePermissionMapOutput) ToSnapshotSharePermissionMapOutput

func (o SnapshotSharePermissionMapOutput) ToSnapshotSharePermissionMapOutput() SnapshotSharePermissionMapOutput

func (SnapshotSharePermissionMapOutput) ToSnapshotSharePermissionMapOutputWithContext

func (o SnapshotSharePermissionMapOutput) ToSnapshotSharePermissionMapOutputWithContext(ctx context.Context) SnapshotSharePermissionMapOutput

type SnapshotSharePermissionOutput

type SnapshotSharePermissionOutput struct{ *pulumi.OutputState }

func (SnapshotSharePermissionOutput) AccountIds

List of account IDs with which a snapshot is shared. For the format of array-type parameters, see[API Introduction](https://cloud.tencent.com/document/api/213/568). You can find the account ID in[Account Information](https://console.cloud.tencent.com/developer).

func (SnapshotSharePermissionOutput) ElementType

func (SnapshotSharePermissionOutput) SnapshotId

The ID of the snapshot to be queried. You can obtain this by using [DescribeSnapshots](https://cloud.tencent.com/document/api/362/15647).

func (SnapshotSharePermissionOutput) ToSnapshotSharePermissionOutput

func (o SnapshotSharePermissionOutput) ToSnapshotSharePermissionOutput() SnapshotSharePermissionOutput

func (SnapshotSharePermissionOutput) ToSnapshotSharePermissionOutputWithContext

func (o SnapshotSharePermissionOutput) ToSnapshotSharePermissionOutputWithContext(ctx context.Context) SnapshotSharePermissionOutput

type SnapshotSharePermissionState

type SnapshotSharePermissionState struct {
	// List of account IDs with which a snapshot is shared. For the format of array-type parameters, see[API
	// Introduction](https://cloud.tencent.com/document/api/213/568). You can find the account ID in[Account
	// Information](https://console.cloud.tencent.com/developer).
	AccountIds pulumi.StringArrayInput
	// The ID of the snapshot to be queried. You can obtain this by using
	// [DescribeSnapshots](https://cloud.tencent.com/document/api/362/15647).
	SnapshotId pulumi.StringPtrInput
}

func (SnapshotSharePermissionState) ElementType

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
	// The available tags within this CBS Snapshot.
	//
	// Deprecated: cbs snapshot do not support tag now.
	Tags pulumi.MapInput
}

func (SnapshotState) ElementType

func (SnapshotState) ElementType() reflect.Type

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"`
	// The quota of backup points of cloud disk.
	DiskBackupQuota pulumi.IntOutput `pulumi:"diskBackupQuota"`
	// 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.
	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_BASIC: HDD cloud disk, CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_BSSD: General
	// Purpose SSD, CLOUD_SSD: SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD.
	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
	// The quota of backup points of cloud disk.
	DiskBackupQuota pulumi.IntPtrInput
	// 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.
	StorageSize pulumi.IntInput
	// Type of CBS medium. Valid values: CLOUD_BASIC: HDD cloud disk, CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_BSSD: General
	// Purpose SSD, CLOUD_SSD: SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD.
	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) DiskBackupQuota

func (o StorageOutput) DiskBackupQuota() pulumi.IntOutput

The quota of backup points of cloud disk.

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.

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_BASIC: HDD cloud disk, CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_BSSD: General Purpose SSD, CLOUD_SSD: SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD.

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 StorageSet

type StorageSet 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. Only support `POSTPAID_BY_HOUR`.
	ChargeType pulumi.StringPtrOutput `pulumi:"chargeType"`
	// The number of disks to be purchased. Default 1.
	DiskCount pulumi.IntPtrOutput `pulumi:"diskCount"`
	// disk id list.
	DiskIds pulumi.StringArrayOutput `pulumi:"diskIds"`
	// Indicates whether CBS is encrypted.
	Encrypt pulumi.BoolPtrOutput `pulumi:"encrypt"`
	// 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.
	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_BASIC: HDD cloud disk, CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_BSSD: General
	// Purpose SSD, CLOUD_SSD: SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD.
	StorageType pulumi.StringOutput `pulumi:"storageType"`
	// Add extra performance to the data disk. Only works when disk type is `CLOUD_TSSD` or `CLOUD_HSSD`.
	ThroughputPerformance pulumi.IntPtrOutput `pulumi:"throughputPerformance"`
}

func GetStorageSet

func GetStorageSet(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StorageSetState, opts ...pulumi.ResourceOption) (*StorageSet, error)

GetStorageSet gets an existing StorageSet 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 NewStorageSet

func NewStorageSet(ctx *pulumi.Context,
	name string, args *StorageSetArgs, opts ...pulumi.ResourceOption) (*StorageSet, error)

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

func (*StorageSet) ElementType

func (*StorageSet) ElementType() reflect.Type

func (*StorageSet) ToStorageSetOutput

func (i *StorageSet) ToStorageSetOutput() StorageSetOutput

func (*StorageSet) ToStorageSetOutputWithContext

func (i *StorageSet) ToStorageSetOutputWithContext(ctx context.Context) StorageSetOutput

type StorageSetArgs

type StorageSetArgs struct {
	// The available zone that the CBS instance locates at.
	AvailabilityZone pulumi.StringInput
	// The charge type of CBS instance. Only support `POSTPAID_BY_HOUR`.
	ChargeType pulumi.StringPtrInput
	// The number of disks to be purchased. Default 1.
	DiskCount pulumi.IntPtrInput
	// Indicates whether CBS is encrypted.
	Encrypt pulumi.BoolPtrInput
	// 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.
	StorageSize pulumi.IntInput
	// Type of CBS medium. Valid values: CLOUD_BASIC: HDD cloud disk, CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_BSSD: General
	// Purpose SSD, CLOUD_SSD: SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD.
	StorageType pulumi.StringInput
	// 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 StorageSet resource.

func (StorageSetArgs) ElementType

func (StorageSetArgs) ElementType() reflect.Type

type StorageSetArray

type StorageSetArray []StorageSetInput

func (StorageSetArray) ElementType

func (StorageSetArray) ElementType() reflect.Type

func (StorageSetArray) ToStorageSetArrayOutput

func (i StorageSetArray) ToStorageSetArrayOutput() StorageSetArrayOutput

func (StorageSetArray) ToStorageSetArrayOutputWithContext

func (i StorageSetArray) ToStorageSetArrayOutputWithContext(ctx context.Context) StorageSetArrayOutput

type StorageSetArrayInput

type StorageSetArrayInput interface {
	pulumi.Input

	ToStorageSetArrayOutput() StorageSetArrayOutput
	ToStorageSetArrayOutputWithContext(context.Context) StorageSetArrayOutput
}

StorageSetArrayInput is an input type that accepts StorageSetArray and StorageSetArrayOutput values. You can construct a concrete instance of `StorageSetArrayInput` via:

StorageSetArray{ StorageSetArgs{...} }

type StorageSetArrayOutput

type StorageSetArrayOutput struct{ *pulumi.OutputState }

func (StorageSetArrayOutput) ElementType

func (StorageSetArrayOutput) ElementType() reflect.Type

func (StorageSetArrayOutput) Index

func (StorageSetArrayOutput) ToStorageSetArrayOutput

func (o StorageSetArrayOutput) ToStorageSetArrayOutput() StorageSetArrayOutput

func (StorageSetArrayOutput) ToStorageSetArrayOutputWithContext

func (o StorageSetArrayOutput) ToStorageSetArrayOutputWithContext(ctx context.Context) StorageSetArrayOutput

type StorageSetAttachment

type StorageSetAttachment struct {
	pulumi.CustomResourceState

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

func GetStorageSetAttachment

func GetStorageSetAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StorageSetAttachmentState, opts ...pulumi.ResourceOption) (*StorageSetAttachment, error)

GetStorageSetAttachment gets an existing StorageSetAttachment 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 NewStorageSetAttachment

func NewStorageSetAttachment(ctx *pulumi.Context,
	name string, args *StorageSetAttachmentArgs, opts ...pulumi.ResourceOption) (*StorageSetAttachment, error)

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

func (*StorageSetAttachment) ElementType

func (*StorageSetAttachment) ElementType() reflect.Type

func (*StorageSetAttachment) ToStorageSetAttachmentOutput

func (i *StorageSetAttachment) ToStorageSetAttachmentOutput() StorageSetAttachmentOutput

func (*StorageSetAttachment) ToStorageSetAttachmentOutputWithContext

func (i *StorageSetAttachment) ToStorageSetAttachmentOutputWithContext(ctx context.Context) StorageSetAttachmentOutput

type StorageSetAttachmentArgs

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

The set of arguments for constructing a StorageSetAttachment resource.

func (StorageSetAttachmentArgs) ElementType

func (StorageSetAttachmentArgs) ElementType() reflect.Type

type StorageSetAttachmentArray

type StorageSetAttachmentArray []StorageSetAttachmentInput

func (StorageSetAttachmentArray) ElementType

func (StorageSetAttachmentArray) ElementType() reflect.Type

func (StorageSetAttachmentArray) ToStorageSetAttachmentArrayOutput

func (i StorageSetAttachmentArray) ToStorageSetAttachmentArrayOutput() StorageSetAttachmentArrayOutput

func (StorageSetAttachmentArray) ToStorageSetAttachmentArrayOutputWithContext

func (i StorageSetAttachmentArray) ToStorageSetAttachmentArrayOutputWithContext(ctx context.Context) StorageSetAttachmentArrayOutput

type StorageSetAttachmentArrayInput

type StorageSetAttachmentArrayInput interface {
	pulumi.Input

	ToStorageSetAttachmentArrayOutput() StorageSetAttachmentArrayOutput
	ToStorageSetAttachmentArrayOutputWithContext(context.Context) StorageSetAttachmentArrayOutput
}

StorageSetAttachmentArrayInput is an input type that accepts StorageSetAttachmentArray and StorageSetAttachmentArrayOutput values. You can construct a concrete instance of `StorageSetAttachmentArrayInput` via:

StorageSetAttachmentArray{ StorageSetAttachmentArgs{...} }

type StorageSetAttachmentArrayOutput

type StorageSetAttachmentArrayOutput struct{ *pulumi.OutputState }

func (StorageSetAttachmentArrayOutput) ElementType

func (StorageSetAttachmentArrayOutput) Index

func (StorageSetAttachmentArrayOutput) ToStorageSetAttachmentArrayOutput

func (o StorageSetAttachmentArrayOutput) ToStorageSetAttachmentArrayOutput() StorageSetAttachmentArrayOutput

func (StorageSetAttachmentArrayOutput) ToStorageSetAttachmentArrayOutputWithContext

func (o StorageSetAttachmentArrayOutput) ToStorageSetAttachmentArrayOutputWithContext(ctx context.Context) StorageSetAttachmentArrayOutput

type StorageSetAttachmentInput

type StorageSetAttachmentInput interface {
	pulumi.Input

	ToStorageSetAttachmentOutput() StorageSetAttachmentOutput
	ToStorageSetAttachmentOutputWithContext(ctx context.Context) StorageSetAttachmentOutput
}

type StorageSetAttachmentMap

type StorageSetAttachmentMap map[string]StorageSetAttachmentInput

func (StorageSetAttachmentMap) ElementType

func (StorageSetAttachmentMap) ElementType() reflect.Type

func (StorageSetAttachmentMap) ToStorageSetAttachmentMapOutput

func (i StorageSetAttachmentMap) ToStorageSetAttachmentMapOutput() StorageSetAttachmentMapOutput

func (StorageSetAttachmentMap) ToStorageSetAttachmentMapOutputWithContext

func (i StorageSetAttachmentMap) ToStorageSetAttachmentMapOutputWithContext(ctx context.Context) StorageSetAttachmentMapOutput

type StorageSetAttachmentMapInput

type StorageSetAttachmentMapInput interface {
	pulumi.Input

	ToStorageSetAttachmentMapOutput() StorageSetAttachmentMapOutput
	ToStorageSetAttachmentMapOutputWithContext(context.Context) StorageSetAttachmentMapOutput
}

StorageSetAttachmentMapInput is an input type that accepts StorageSetAttachmentMap and StorageSetAttachmentMapOutput values. You can construct a concrete instance of `StorageSetAttachmentMapInput` via:

StorageSetAttachmentMap{ "key": StorageSetAttachmentArgs{...} }

type StorageSetAttachmentMapOutput

type StorageSetAttachmentMapOutput struct{ *pulumi.OutputState }

func (StorageSetAttachmentMapOutput) ElementType

func (StorageSetAttachmentMapOutput) MapIndex

func (StorageSetAttachmentMapOutput) ToStorageSetAttachmentMapOutput

func (o StorageSetAttachmentMapOutput) ToStorageSetAttachmentMapOutput() StorageSetAttachmentMapOutput

func (StorageSetAttachmentMapOutput) ToStorageSetAttachmentMapOutputWithContext

func (o StorageSetAttachmentMapOutput) ToStorageSetAttachmentMapOutputWithContext(ctx context.Context) StorageSetAttachmentMapOutput

type StorageSetAttachmentOutput

type StorageSetAttachmentOutput struct{ *pulumi.OutputState }

func (StorageSetAttachmentOutput) ElementType

func (StorageSetAttachmentOutput) ElementType() reflect.Type

func (StorageSetAttachmentOutput) InstanceId

ID of the CVM instance.

func (StorageSetAttachmentOutput) StorageId

ID of the mounted CBS.

func (StorageSetAttachmentOutput) ToStorageSetAttachmentOutput

func (o StorageSetAttachmentOutput) ToStorageSetAttachmentOutput() StorageSetAttachmentOutput

func (StorageSetAttachmentOutput) ToStorageSetAttachmentOutputWithContext

func (o StorageSetAttachmentOutput) ToStorageSetAttachmentOutputWithContext(ctx context.Context) StorageSetAttachmentOutput

type StorageSetAttachmentState

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

func (StorageSetAttachmentState) ElementType

func (StorageSetAttachmentState) ElementType() reflect.Type

type StorageSetInput

type StorageSetInput interface {
	pulumi.Input

	ToStorageSetOutput() StorageSetOutput
	ToStorageSetOutputWithContext(ctx context.Context) StorageSetOutput
}

type StorageSetMap

type StorageSetMap map[string]StorageSetInput

func (StorageSetMap) ElementType

func (StorageSetMap) ElementType() reflect.Type

func (StorageSetMap) ToStorageSetMapOutput

func (i StorageSetMap) ToStorageSetMapOutput() StorageSetMapOutput

func (StorageSetMap) ToStorageSetMapOutputWithContext

func (i StorageSetMap) ToStorageSetMapOutputWithContext(ctx context.Context) StorageSetMapOutput

type StorageSetMapInput

type StorageSetMapInput interface {
	pulumi.Input

	ToStorageSetMapOutput() StorageSetMapOutput
	ToStorageSetMapOutputWithContext(context.Context) StorageSetMapOutput
}

StorageSetMapInput is an input type that accepts StorageSetMap and StorageSetMapOutput values. You can construct a concrete instance of `StorageSetMapInput` via:

StorageSetMap{ "key": StorageSetArgs{...} }

type StorageSetMapOutput

type StorageSetMapOutput struct{ *pulumi.OutputState }

func (StorageSetMapOutput) ElementType

func (StorageSetMapOutput) ElementType() reflect.Type

func (StorageSetMapOutput) MapIndex

func (StorageSetMapOutput) ToStorageSetMapOutput

func (o StorageSetMapOutput) ToStorageSetMapOutput() StorageSetMapOutput

func (StorageSetMapOutput) ToStorageSetMapOutputWithContext

func (o StorageSetMapOutput) ToStorageSetMapOutputWithContext(ctx context.Context) StorageSetMapOutput

type StorageSetOutput

type StorageSetOutput struct{ *pulumi.OutputState }

func (StorageSetOutput) Attached

func (o StorageSetOutput) Attached() pulumi.BoolOutput

Indicates whether the CBS is mounted the CVM.

func (StorageSetOutput) AvailabilityZone

func (o StorageSetOutput) AvailabilityZone() pulumi.StringOutput

The available zone that the CBS instance locates at.

func (StorageSetOutput) ChargeType

func (o StorageSetOutput) ChargeType() pulumi.StringPtrOutput

The charge type of CBS instance. Only support `POSTPAID_BY_HOUR`.

func (StorageSetOutput) DiskCount

func (o StorageSetOutput) DiskCount() pulumi.IntPtrOutput

The number of disks to be purchased. Default 1.

func (StorageSetOutput) DiskIds

disk id list.

func (StorageSetOutput) ElementType

func (StorageSetOutput) ElementType() reflect.Type

func (StorageSetOutput) Encrypt

Indicates whether CBS is encrypted.

func (StorageSetOutput) ProjectId

func (o StorageSetOutput) ProjectId() pulumi.IntPtrOutput

ID of the project to which the instance belongs.

func (StorageSetOutput) SnapshotId

func (o StorageSetOutput) SnapshotId() pulumi.StringOutput

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

func (StorageSetOutput) StorageName

func (o StorageSetOutput) StorageName() pulumi.StringOutput

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

func (StorageSetOutput) StorageSize

func (o StorageSetOutput) StorageSize() pulumi.IntOutput

Volume of CBS, and unit is GB.

func (StorageSetOutput) StorageStatus

func (o StorageSetOutput) StorageStatus() pulumi.StringOutput

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

func (StorageSetOutput) StorageType

func (o StorageSetOutput) StorageType() pulumi.StringOutput

Type of CBS medium. Valid values: CLOUD_BASIC: HDD cloud disk, CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_BSSD: General Purpose SSD, CLOUD_SSD: SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD.

func (StorageSetOutput) ThroughputPerformance

func (o StorageSetOutput) ThroughputPerformance() pulumi.IntPtrOutput

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

func (StorageSetOutput) ToStorageSetOutput

func (o StorageSetOutput) ToStorageSetOutput() StorageSetOutput

func (StorageSetOutput) ToStorageSetOutputWithContext

func (o StorageSetOutput) ToStorageSetOutputWithContext(ctx context.Context) StorageSetOutput

type StorageSetState

type StorageSetState 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. Only support `POSTPAID_BY_HOUR`.
	ChargeType pulumi.StringPtrInput
	// The number of disks to be purchased. Default 1.
	DiskCount pulumi.IntPtrInput
	// disk id list.
	DiskIds pulumi.StringArrayInput
	// Indicates whether CBS is encrypted.
	Encrypt pulumi.BoolPtrInput
	// 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.
	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_BASIC: HDD cloud disk, CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_BSSD: General
	// Purpose SSD, CLOUD_SSD: SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD.
	StorageType pulumi.StringPtrInput
	// Add extra performance to the data disk. Only works when disk type is `CLOUD_TSSD` or `CLOUD_HSSD`.
	ThroughputPerformance pulumi.IntPtrInput
}

func (StorageSetState) ElementType

func (StorageSetState) ElementType() reflect.Type

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
	// The quota of backup points of cloud disk.
	DiskBackupQuota pulumi.IntPtrInput
	// 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.
	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_BASIC: HDD cloud disk, CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_BSSD: General
	// Purpose SSD, CLOUD_SSD: SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD.
	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

Jump to

Keyboard shortcuts

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