storageebs

package
v0.0.58 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: MPL-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 GetSnapshotGroupSnapshot added in v0.0.24

type GetSnapshotGroupSnapshot struct {
	// Snapshot creation time
	CreationTime string `pulumi:"creationTime"`
	// Snapshot description
	Description string `pulumi:"description"`
	// Image ID
	ImageId string `pulumi:"imageId"`
	// Whether the snapshot has enabled ultra-fast availability. Values are as follows:   - true: Ultra-fast availability enabled   - false: Ultra-fast availability not enabled
	InstantAccess bool `pulumi:"instantAccess"`
	// Dump progress
	Progress int `pulumi:"progress"`
	// Project of the snapshot
	ProjectName string `pulumi:"projectName"`
	// Retention days for automatic snapshots
	RetentionDays int `pulumi:"retentionDays"`
	// Whether the snapshot is shared with others. Values are as follows:   - true: Snapshot is shared with others   - false: Snapshot is not shared with others
	Shared bool `pulumi:"shared"`
	// Snapshot consistency group ID
	SnapshotGroupId string `pulumi:"snapshotGroupId"`
	// Snapshot ID
	SnapshotId string `pulumi:"snapshotId"`
	// Snapshot name
	SnapshotName string `pulumi:"snapshotName"`
	// Snapshot type. Values are as follows:   - user: Manual snapshot   - auto: Automatic snapshot
	SnapshotType string `pulumi:"snapshotType"`
	// Snapshot status. Values are as follows:   - available: Available   - creating: Creating   - rollbacking: Rolling back   - deleted: Deleted   - failed: Error
	Status string `pulumi:"status"`
	// Tag information
	Tags []GetSnapshotGroupSnapshotTag `pulumi:"tags"`
	// Cloud disk ID
	VolumeId string `pulumi:"volumeId"`
	// Cloud disk category. Values are as follows:   - system: System disk   - data: Data disk
	VolumeKind string `pulumi:"volumeKind"`
	// Cloud disk name
	VolumeName string `pulumi:"volumeName"`
	// Cloud disk size (GiB)
	VolumeSize int `pulumi:"volumeSize"`
	// Cloud disk status. Values are as follows:   - available: Available   - attaching: Attaching   - attached: Attached   - detaching: Detaching   - creating: Creating   - deleting: Deleting   - error: Error   - extending: Expanding
	VolumeStatus string `pulumi:"volumeStatus"`
	// Cloud disk type. Values are as follows:   - ESSD*PL0: Ultra-fast SSD cloud disk, PL0 specification   - ESSD*FlexPL: Ultra-fast SSD cloud disk, FlexPL specification   - TSSD_TL0: Throughput SSD cloud disk
	VolumeType string `pulumi:"volumeType"`
	// Zone ID. If ultra-fast availability is enabled for the snapshot, you can create a cloud disk in this zone using the ultra-fast available snapshot
	ZoneId string `pulumi:"zoneId"`
}

type GetSnapshotGroupSnapshotArgs added in v0.0.24

type GetSnapshotGroupSnapshotArgs struct {
	// Snapshot creation time
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// Snapshot description
	Description pulumi.StringInput `pulumi:"description"`
	// Image ID
	ImageId pulumi.StringInput `pulumi:"imageId"`
	// Whether the snapshot has enabled ultra-fast availability. Values are as follows:   - true: Ultra-fast availability enabled   - false: Ultra-fast availability not enabled
	InstantAccess pulumi.BoolInput `pulumi:"instantAccess"`
	// Dump progress
	Progress pulumi.IntInput `pulumi:"progress"`
	// Project of the snapshot
	ProjectName pulumi.StringInput `pulumi:"projectName"`
	// Retention days for automatic snapshots
	RetentionDays pulumi.IntInput `pulumi:"retentionDays"`
	// Whether the snapshot is shared with others. Values are as follows:   - true: Snapshot is shared with others   - false: Snapshot is not shared with others
	Shared pulumi.BoolInput `pulumi:"shared"`
	// Snapshot consistency group ID
	SnapshotGroupId pulumi.StringInput `pulumi:"snapshotGroupId"`
	// Snapshot ID
	SnapshotId pulumi.StringInput `pulumi:"snapshotId"`
	// Snapshot name
	SnapshotName pulumi.StringInput `pulumi:"snapshotName"`
	// Snapshot type. Values are as follows:   - user: Manual snapshot   - auto: Automatic snapshot
	SnapshotType pulumi.StringInput `pulumi:"snapshotType"`
	// Snapshot status. Values are as follows:   - available: Available   - creating: Creating   - rollbacking: Rolling back   - deleted: Deleted   - failed: Error
	Status pulumi.StringInput `pulumi:"status"`
	// Tag information
	Tags GetSnapshotGroupSnapshotTagArrayInput `pulumi:"tags"`
	// Cloud disk ID
	VolumeId pulumi.StringInput `pulumi:"volumeId"`
	// Cloud disk category. Values are as follows:   - system: System disk   - data: Data disk
	VolumeKind pulumi.StringInput `pulumi:"volumeKind"`
	// Cloud disk name
	VolumeName pulumi.StringInput `pulumi:"volumeName"`
	// Cloud disk size (GiB)
	VolumeSize pulumi.IntInput `pulumi:"volumeSize"`
	// Cloud disk status. Values are as follows:   - available: Available   - attaching: Attaching   - attached: Attached   - detaching: Detaching   - creating: Creating   - deleting: Deleting   - error: Error   - extending: Expanding
	VolumeStatus pulumi.StringInput `pulumi:"volumeStatus"`
	// Cloud disk type. Values are as follows:   - ESSD*PL0: Ultra-fast SSD cloud disk, PL0 specification   - ESSD*FlexPL: Ultra-fast SSD cloud disk, FlexPL specification   - TSSD_TL0: Throughput SSD cloud disk
	VolumeType pulumi.StringInput `pulumi:"volumeType"`
	// Zone ID. If ultra-fast availability is enabled for the snapshot, you can create a cloud disk in this zone using the ultra-fast available snapshot
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (GetSnapshotGroupSnapshotArgs) ElementType added in v0.0.24

func (GetSnapshotGroupSnapshotArgs) ToGetSnapshotGroupSnapshotOutput added in v0.0.24

func (i GetSnapshotGroupSnapshotArgs) ToGetSnapshotGroupSnapshotOutput() GetSnapshotGroupSnapshotOutput

func (GetSnapshotGroupSnapshotArgs) ToGetSnapshotGroupSnapshotOutputWithContext added in v0.0.24

func (i GetSnapshotGroupSnapshotArgs) ToGetSnapshotGroupSnapshotOutputWithContext(ctx context.Context) GetSnapshotGroupSnapshotOutput

type GetSnapshotGroupSnapshotArray added in v0.0.24

type GetSnapshotGroupSnapshotArray []GetSnapshotGroupSnapshotInput

func (GetSnapshotGroupSnapshotArray) ElementType added in v0.0.24

func (GetSnapshotGroupSnapshotArray) ToGetSnapshotGroupSnapshotArrayOutput added in v0.0.24

func (i GetSnapshotGroupSnapshotArray) ToGetSnapshotGroupSnapshotArrayOutput() GetSnapshotGroupSnapshotArrayOutput

func (GetSnapshotGroupSnapshotArray) ToGetSnapshotGroupSnapshotArrayOutputWithContext added in v0.0.24

func (i GetSnapshotGroupSnapshotArray) ToGetSnapshotGroupSnapshotArrayOutputWithContext(ctx context.Context) GetSnapshotGroupSnapshotArrayOutput

type GetSnapshotGroupSnapshotArrayInput added in v0.0.24

type GetSnapshotGroupSnapshotArrayInput interface {
	pulumi.Input

	ToGetSnapshotGroupSnapshotArrayOutput() GetSnapshotGroupSnapshotArrayOutput
	ToGetSnapshotGroupSnapshotArrayOutputWithContext(context.Context) GetSnapshotGroupSnapshotArrayOutput
}

GetSnapshotGroupSnapshotArrayInput is an input type that accepts GetSnapshotGroupSnapshotArray and GetSnapshotGroupSnapshotArrayOutput values. You can construct a concrete instance of `GetSnapshotGroupSnapshotArrayInput` via:

GetSnapshotGroupSnapshotArray{ GetSnapshotGroupSnapshotArgs{...} }

type GetSnapshotGroupSnapshotArrayOutput added in v0.0.24

type GetSnapshotGroupSnapshotArrayOutput struct{ *pulumi.OutputState }

func (GetSnapshotGroupSnapshotArrayOutput) ElementType added in v0.0.24

func (GetSnapshotGroupSnapshotArrayOutput) Index added in v0.0.24

func (GetSnapshotGroupSnapshotArrayOutput) ToGetSnapshotGroupSnapshotArrayOutput added in v0.0.24

func (o GetSnapshotGroupSnapshotArrayOutput) ToGetSnapshotGroupSnapshotArrayOutput() GetSnapshotGroupSnapshotArrayOutput

func (GetSnapshotGroupSnapshotArrayOutput) ToGetSnapshotGroupSnapshotArrayOutputWithContext added in v0.0.24

func (o GetSnapshotGroupSnapshotArrayOutput) ToGetSnapshotGroupSnapshotArrayOutputWithContext(ctx context.Context) GetSnapshotGroupSnapshotArrayOutput

type GetSnapshotGroupSnapshotInput added in v0.0.24

type GetSnapshotGroupSnapshotInput interface {
	pulumi.Input

	ToGetSnapshotGroupSnapshotOutput() GetSnapshotGroupSnapshotOutput
	ToGetSnapshotGroupSnapshotOutputWithContext(context.Context) GetSnapshotGroupSnapshotOutput
}

GetSnapshotGroupSnapshotInput is an input type that accepts GetSnapshotGroupSnapshotArgs and GetSnapshotGroupSnapshotOutput values. You can construct a concrete instance of `GetSnapshotGroupSnapshotInput` via:

GetSnapshotGroupSnapshotArgs{...}

type GetSnapshotGroupSnapshotOutput added in v0.0.24

type GetSnapshotGroupSnapshotOutput struct{ *pulumi.OutputState }

func (GetSnapshotGroupSnapshotOutput) CreationTime added in v0.0.24

Snapshot creation time

func (GetSnapshotGroupSnapshotOutput) Description added in v0.0.24

Snapshot description

func (GetSnapshotGroupSnapshotOutput) ElementType added in v0.0.24

func (GetSnapshotGroupSnapshotOutput) ImageId added in v0.0.24

Image ID

func (GetSnapshotGroupSnapshotOutput) InstantAccess added in v0.0.24

Whether the snapshot has enabled ultra-fast availability. Values are as follows: - true: Ultra-fast availability enabled - false: Ultra-fast availability not enabled

func (GetSnapshotGroupSnapshotOutput) Progress added in v0.0.24

Dump progress

func (GetSnapshotGroupSnapshotOutput) ProjectName added in v0.0.24

Project of the snapshot

func (GetSnapshotGroupSnapshotOutput) RetentionDays added in v0.0.24

Retention days for automatic snapshots

func (GetSnapshotGroupSnapshotOutput) Shared added in v0.0.24

Whether the snapshot is shared with others. Values are as follows: - true: Snapshot is shared with others - false: Snapshot is not shared with others

func (GetSnapshotGroupSnapshotOutput) SnapshotGroupId added in v0.0.24

Snapshot consistency group ID

func (GetSnapshotGroupSnapshotOutput) SnapshotId added in v0.0.24

Snapshot ID

func (GetSnapshotGroupSnapshotOutput) SnapshotName added in v0.0.24

Snapshot name

func (GetSnapshotGroupSnapshotOutput) SnapshotType added in v0.0.24

Snapshot type. Values are as follows: - user: Manual snapshot - auto: Automatic snapshot

func (GetSnapshotGroupSnapshotOutput) Status added in v0.0.24

Snapshot status. Values are as follows: - available: Available - creating: Creating - rollbacking: Rolling back - deleted: Deleted - failed: Error

func (GetSnapshotGroupSnapshotOutput) Tags added in v0.0.24

Tag information

func (GetSnapshotGroupSnapshotOutput) ToGetSnapshotGroupSnapshotOutput added in v0.0.24

func (o GetSnapshotGroupSnapshotOutput) ToGetSnapshotGroupSnapshotOutput() GetSnapshotGroupSnapshotOutput

func (GetSnapshotGroupSnapshotOutput) ToGetSnapshotGroupSnapshotOutputWithContext added in v0.0.24

func (o GetSnapshotGroupSnapshotOutput) ToGetSnapshotGroupSnapshotOutputWithContext(ctx context.Context) GetSnapshotGroupSnapshotOutput

func (GetSnapshotGroupSnapshotOutput) VolumeId added in v0.0.24

Cloud disk ID

func (GetSnapshotGroupSnapshotOutput) VolumeKind added in v0.0.24

Cloud disk category. Values are as follows: - system: System disk - data: Data disk

func (GetSnapshotGroupSnapshotOutput) VolumeName added in v0.0.24

Cloud disk name

func (GetSnapshotGroupSnapshotOutput) VolumeSize added in v0.0.24

Cloud disk size (GiB)

func (GetSnapshotGroupSnapshotOutput) VolumeStatus added in v0.0.24

Cloud disk status. Values are as follows: - available: Available - attaching: Attaching - attached: Attached - detaching: Detaching - creating: Creating - deleting: Deleting - error: Error - extending: Expanding

func (GetSnapshotGroupSnapshotOutput) VolumeType added in v0.0.24

Cloud disk type. Values are as follows: - ESSD*PL0: Ultra-fast SSD cloud disk, PL0 specification - ESSD*FlexPL: Ultra-fast SSD cloud disk, FlexPL specification - TSSD_TL0: Throughput SSD cloud disk

func (GetSnapshotGroupSnapshotOutput) ZoneId added in v0.0.24

Zone ID. If ultra-fast availability is enabled for the snapshot, you can create a cloud disk in this zone using the ultra-fast available snapshot

type GetSnapshotGroupSnapshotTag added in v0.0.24

type GetSnapshotGroupSnapshotTag struct {
	// Tag key
	Key string `pulumi:"key"`
	// Tag value
	Value string `pulumi:"value"`
}

type GetSnapshotGroupSnapshotTagArgs added in v0.0.24

type GetSnapshotGroupSnapshotTagArgs struct {
	// Tag key
	Key pulumi.StringInput `pulumi:"key"`
	// Tag value
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetSnapshotGroupSnapshotTagArgs) ElementType added in v0.0.24

func (GetSnapshotGroupSnapshotTagArgs) ToGetSnapshotGroupSnapshotTagOutput added in v0.0.24

func (i GetSnapshotGroupSnapshotTagArgs) ToGetSnapshotGroupSnapshotTagOutput() GetSnapshotGroupSnapshotTagOutput

func (GetSnapshotGroupSnapshotTagArgs) ToGetSnapshotGroupSnapshotTagOutputWithContext added in v0.0.24

func (i GetSnapshotGroupSnapshotTagArgs) ToGetSnapshotGroupSnapshotTagOutputWithContext(ctx context.Context) GetSnapshotGroupSnapshotTagOutput

type GetSnapshotGroupSnapshotTagArray added in v0.0.24

type GetSnapshotGroupSnapshotTagArray []GetSnapshotGroupSnapshotTagInput

func (GetSnapshotGroupSnapshotTagArray) ElementType added in v0.0.24

func (GetSnapshotGroupSnapshotTagArray) ToGetSnapshotGroupSnapshotTagArrayOutput added in v0.0.24

func (i GetSnapshotGroupSnapshotTagArray) ToGetSnapshotGroupSnapshotTagArrayOutput() GetSnapshotGroupSnapshotTagArrayOutput

func (GetSnapshotGroupSnapshotTagArray) ToGetSnapshotGroupSnapshotTagArrayOutputWithContext added in v0.0.24

func (i GetSnapshotGroupSnapshotTagArray) ToGetSnapshotGroupSnapshotTagArrayOutputWithContext(ctx context.Context) GetSnapshotGroupSnapshotTagArrayOutput

type GetSnapshotGroupSnapshotTagArrayInput added in v0.0.24

type GetSnapshotGroupSnapshotTagArrayInput interface {
	pulumi.Input

	ToGetSnapshotGroupSnapshotTagArrayOutput() GetSnapshotGroupSnapshotTagArrayOutput
	ToGetSnapshotGroupSnapshotTagArrayOutputWithContext(context.Context) GetSnapshotGroupSnapshotTagArrayOutput
}

GetSnapshotGroupSnapshotTagArrayInput is an input type that accepts GetSnapshotGroupSnapshotTagArray and GetSnapshotGroupSnapshotTagArrayOutput values. You can construct a concrete instance of `GetSnapshotGroupSnapshotTagArrayInput` via:

GetSnapshotGroupSnapshotTagArray{ GetSnapshotGroupSnapshotTagArgs{...} }

type GetSnapshotGroupSnapshotTagArrayOutput added in v0.0.24

type GetSnapshotGroupSnapshotTagArrayOutput struct{ *pulumi.OutputState }

func (GetSnapshotGroupSnapshotTagArrayOutput) ElementType added in v0.0.24

func (GetSnapshotGroupSnapshotTagArrayOutput) Index added in v0.0.24

func (GetSnapshotGroupSnapshotTagArrayOutput) ToGetSnapshotGroupSnapshotTagArrayOutput added in v0.0.24

func (o GetSnapshotGroupSnapshotTagArrayOutput) ToGetSnapshotGroupSnapshotTagArrayOutput() GetSnapshotGroupSnapshotTagArrayOutput

func (GetSnapshotGroupSnapshotTagArrayOutput) ToGetSnapshotGroupSnapshotTagArrayOutputWithContext added in v0.0.24

func (o GetSnapshotGroupSnapshotTagArrayOutput) ToGetSnapshotGroupSnapshotTagArrayOutputWithContext(ctx context.Context) GetSnapshotGroupSnapshotTagArrayOutput

type GetSnapshotGroupSnapshotTagInput added in v0.0.24

type GetSnapshotGroupSnapshotTagInput interface {
	pulumi.Input

	ToGetSnapshotGroupSnapshotTagOutput() GetSnapshotGroupSnapshotTagOutput
	ToGetSnapshotGroupSnapshotTagOutputWithContext(context.Context) GetSnapshotGroupSnapshotTagOutput
}

GetSnapshotGroupSnapshotTagInput is an input type that accepts GetSnapshotGroupSnapshotTagArgs and GetSnapshotGroupSnapshotTagOutput values. You can construct a concrete instance of `GetSnapshotGroupSnapshotTagInput` via:

GetSnapshotGroupSnapshotTagArgs{...}

type GetSnapshotGroupSnapshotTagOutput added in v0.0.24

type GetSnapshotGroupSnapshotTagOutput struct{ *pulumi.OutputState }

func (GetSnapshotGroupSnapshotTagOutput) ElementType added in v0.0.24

func (GetSnapshotGroupSnapshotTagOutput) Key added in v0.0.24

Tag key

func (GetSnapshotGroupSnapshotTagOutput) ToGetSnapshotGroupSnapshotTagOutput added in v0.0.24

func (o GetSnapshotGroupSnapshotTagOutput) ToGetSnapshotGroupSnapshotTagOutput() GetSnapshotGroupSnapshotTagOutput

func (GetSnapshotGroupSnapshotTagOutput) ToGetSnapshotGroupSnapshotTagOutputWithContext added in v0.0.24

func (o GetSnapshotGroupSnapshotTagOutput) ToGetSnapshotGroupSnapshotTagOutputWithContext(ctx context.Context) GetSnapshotGroupSnapshotTagOutput

func (GetSnapshotGroupSnapshotTagOutput) Value added in v0.0.24

Tag value

type GetSnapshotGroupTag added in v0.0.24

type GetSnapshotGroupTag struct {
	// Tag key
	Key string `pulumi:"key"`
	// Tag value
	Value string `pulumi:"value"`
}

type GetSnapshotGroupTagArgs added in v0.0.24

type GetSnapshotGroupTagArgs struct {
	// Tag key
	Key pulumi.StringInput `pulumi:"key"`
	// Tag value
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetSnapshotGroupTagArgs) ElementType added in v0.0.24

func (GetSnapshotGroupTagArgs) ElementType() reflect.Type

func (GetSnapshotGroupTagArgs) ToGetSnapshotGroupTagOutput added in v0.0.24

func (i GetSnapshotGroupTagArgs) ToGetSnapshotGroupTagOutput() GetSnapshotGroupTagOutput

func (GetSnapshotGroupTagArgs) ToGetSnapshotGroupTagOutputWithContext added in v0.0.24

func (i GetSnapshotGroupTagArgs) ToGetSnapshotGroupTagOutputWithContext(ctx context.Context) GetSnapshotGroupTagOutput

type GetSnapshotGroupTagArray added in v0.0.24

type GetSnapshotGroupTagArray []GetSnapshotGroupTagInput

func (GetSnapshotGroupTagArray) ElementType added in v0.0.24

func (GetSnapshotGroupTagArray) ElementType() reflect.Type

func (GetSnapshotGroupTagArray) ToGetSnapshotGroupTagArrayOutput added in v0.0.24

func (i GetSnapshotGroupTagArray) ToGetSnapshotGroupTagArrayOutput() GetSnapshotGroupTagArrayOutput

func (GetSnapshotGroupTagArray) ToGetSnapshotGroupTagArrayOutputWithContext added in v0.0.24

func (i GetSnapshotGroupTagArray) ToGetSnapshotGroupTagArrayOutputWithContext(ctx context.Context) GetSnapshotGroupTagArrayOutput

type GetSnapshotGroupTagArrayInput added in v0.0.24

type GetSnapshotGroupTagArrayInput interface {
	pulumi.Input

	ToGetSnapshotGroupTagArrayOutput() GetSnapshotGroupTagArrayOutput
	ToGetSnapshotGroupTagArrayOutputWithContext(context.Context) GetSnapshotGroupTagArrayOutput
}

GetSnapshotGroupTagArrayInput is an input type that accepts GetSnapshotGroupTagArray and GetSnapshotGroupTagArrayOutput values. You can construct a concrete instance of `GetSnapshotGroupTagArrayInput` via:

GetSnapshotGroupTagArray{ GetSnapshotGroupTagArgs{...} }

type GetSnapshotGroupTagArrayOutput added in v0.0.24

type GetSnapshotGroupTagArrayOutput struct{ *pulumi.OutputState }

func (GetSnapshotGroupTagArrayOutput) ElementType added in v0.0.24

func (GetSnapshotGroupTagArrayOutput) Index added in v0.0.24

func (GetSnapshotGroupTagArrayOutput) ToGetSnapshotGroupTagArrayOutput added in v0.0.24

func (o GetSnapshotGroupTagArrayOutput) ToGetSnapshotGroupTagArrayOutput() GetSnapshotGroupTagArrayOutput

func (GetSnapshotGroupTagArrayOutput) ToGetSnapshotGroupTagArrayOutputWithContext added in v0.0.24

func (o GetSnapshotGroupTagArrayOutput) ToGetSnapshotGroupTagArrayOutputWithContext(ctx context.Context) GetSnapshotGroupTagArrayOutput

type GetSnapshotGroupTagInput added in v0.0.24

type GetSnapshotGroupTagInput interface {
	pulumi.Input

	ToGetSnapshotGroupTagOutput() GetSnapshotGroupTagOutput
	ToGetSnapshotGroupTagOutputWithContext(context.Context) GetSnapshotGroupTagOutput
}

GetSnapshotGroupTagInput is an input type that accepts GetSnapshotGroupTagArgs and GetSnapshotGroupTagOutput values. You can construct a concrete instance of `GetSnapshotGroupTagInput` via:

GetSnapshotGroupTagArgs{...}

type GetSnapshotGroupTagOutput added in v0.0.24

type GetSnapshotGroupTagOutput struct{ *pulumi.OutputState }

func (GetSnapshotGroupTagOutput) ElementType added in v0.0.24

func (GetSnapshotGroupTagOutput) ElementType() reflect.Type

func (GetSnapshotGroupTagOutput) Key added in v0.0.24

Tag key

func (GetSnapshotGroupTagOutput) ToGetSnapshotGroupTagOutput added in v0.0.24

func (o GetSnapshotGroupTagOutput) ToGetSnapshotGroupTagOutput() GetSnapshotGroupTagOutput

func (GetSnapshotGroupTagOutput) ToGetSnapshotGroupTagOutputWithContext added in v0.0.24

func (o GetSnapshotGroupTagOutput) ToGetSnapshotGroupTagOutputWithContext(ctx context.Context) GetSnapshotGroupTagOutput

func (GetSnapshotGroupTagOutput) Value added in v0.0.24

Tag value

type GetSnapshotGroupsResult added in v0.0.24

type GetSnapshotGroupsResult struct {
	// Uniquely identifies the data source.
	Id string `pulumi:"id"`
	// Set of Resource Identifiers.
	Ids []string `pulumi:"ids"`
}

A collection of values returned by getSnapshotGroups.

func GetSnapshotGroups added in v0.0.24

func GetSnapshotGroups(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetSnapshotGroupsResult, error)

Plural Data Source schema for Byteplus::StorageEBS::SnapshotGroup

type GetSnapshotGroupsResultOutput added in v0.0.24

type GetSnapshotGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSnapshotGroups.

func GetSnapshotGroupsOutput added in v0.0.24

func GetSnapshotGroupsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetSnapshotGroupsResultOutput

func (GetSnapshotGroupsResultOutput) ElementType added in v0.0.24

func (GetSnapshotGroupsResultOutput) Id added in v0.0.24

Uniquely identifies the data source.

func (GetSnapshotGroupsResultOutput) Ids added in v0.0.24

Set of Resource Identifiers.

func (GetSnapshotGroupsResultOutput) ToGetSnapshotGroupsResultOutput added in v0.0.24

func (o GetSnapshotGroupsResultOutput) ToGetSnapshotGroupsResultOutput() GetSnapshotGroupsResultOutput

func (GetSnapshotGroupsResultOutput) ToGetSnapshotGroupsResultOutputWithContext added in v0.0.24

func (o GetSnapshotGroupsResultOutput) ToGetSnapshotGroupsResultOutputWithContext(ctx context.Context) GetSnapshotGroupsResultOutput

type GetSnapshotPoliciesResult added in v0.0.35

type GetSnapshotPoliciesResult struct {
	// Uniquely identifies the data source.
	Id string `pulumi:"id"`
	// Set of Resource Identifiers.
	Ids []string `pulumi:"ids"`
}

A collection of values returned by getSnapshotPolicies.

func GetSnapshotPolicies added in v0.0.35

func GetSnapshotPolicies(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetSnapshotPoliciesResult, error)

Plural Data Source schema for Byteplus::StorageEBS::SnapshotPolicy

type GetSnapshotPoliciesResultOutput added in v0.0.35

type GetSnapshotPoliciesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSnapshotPolicies.

func GetSnapshotPoliciesOutput added in v0.0.35

func GetSnapshotPoliciesOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetSnapshotPoliciesResultOutput

func (GetSnapshotPoliciesResultOutput) ElementType added in v0.0.35

func (GetSnapshotPoliciesResultOutput) Id added in v0.0.35

Uniquely identifies the data source.

func (GetSnapshotPoliciesResultOutput) Ids added in v0.0.35

Set of Resource Identifiers.

func (GetSnapshotPoliciesResultOutput) ToGetSnapshotPoliciesResultOutput added in v0.0.35

func (o GetSnapshotPoliciesResultOutput) ToGetSnapshotPoliciesResultOutput() GetSnapshotPoliciesResultOutput

func (GetSnapshotPoliciesResultOutput) ToGetSnapshotPoliciesResultOutputWithContext added in v0.0.35

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

type GetSnapshotPolicyTag added in v0.0.35

type GetSnapshotPolicyTag struct {
	// Tag key
	Key string `pulumi:"key"`
	// Tag value
	Value string `pulumi:"value"`
}

type GetSnapshotPolicyTagArgs added in v0.0.35

type GetSnapshotPolicyTagArgs struct {
	// Tag key
	Key pulumi.StringInput `pulumi:"key"`
	// Tag value
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetSnapshotPolicyTagArgs) ElementType added in v0.0.35

func (GetSnapshotPolicyTagArgs) ElementType() reflect.Type

func (GetSnapshotPolicyTagArgs) ToGetSnapshotPolicyTagOutput added in v0.0.35

func (i GetSnapshotPolicyTagArgs) ToGetSnapshotPolicyTagOutput() GetSnapshotPolicyTagOutput

func (GetSnapshotPolicyTagArgs) ToGetSnapshotPolicyTagOutputWithContext added in v0.0.35

func (i GetSnapshotPolicyTagArgs) ToGetSnapshotPolicyTagOutputWithContext(ctx context.Context) GetSnapshotPolicyTagOutput

type GetSnapshotPolicyTagArray added in v0.0.35

type GetSnapshotPolicyTagArray []GetSnapshotPolicyTagInput

func (GetSnapshotPolicyTagArray) ElementType added in v0.0.35

func (GetSnapshotPolicyTagArray) ElementType() reflect.Type

func (GetSnapshotPolicyTagArray) ToGetSnapshotPolicyTagArrayOutput added in v0.0.35

func (i GetSnapshotPolicyTagArray) ToGetSnapshotPolicyTagArrayOutput() GetSnapshotPolicyTagArrayOutput

func (GetSnapshotPolicyTagArray) ToGetSnapshotPolicyTagArrayOutputWithContext added in v0.0.35

func (i GetSnapshotPolicyTagArray) ToGetSnapshotPolicyTagArrayOutputWithContext(ctx context.Context) GetSnapshotPolicyTagArrayOutput

type GetSnapshotPolicyTagArrayInput added in v0.0.35

type GetSnapshotPolicyTagArrayInput interface {
	pulumi.Input

	ToGetSnapshotPolicyTagArrayOutput() GetSnapshotPolicyTagArrayOutput
	ToGetSnapshotPolicyTagArrayOutputWithContext(context.Context) GetSnapshotPolicyTagArrayOutput
}

GetSnapshotPolicyTagArrayInput is an input type that accepts GetSnapshotPolicyTagArray and GetSnapshotPolicyTagArrayOutput values. You can construct a concrete instance of `GetSnapshotPolicyTagArrayInput` via:

GetSnapshotPolicyTagArray{ GetSnapshotPolicyTagArgs{...} }

type GetSnapshotPolicyTagArrayOutput added in v0.0.35

type GetSnapshotPolicyTagArrayOutput struct{ *pulumi.OutputState }

func (GetSnapshotPolicyTagArrayOutput) ElementType added in v0.0.35

func (GetSnapshotPolicyTagArrayOutput) Index added in v0.0.35

func (GetSnapshotPolicyTagArrayOutput) ToGetSnapshotPolicyTagArrayOutput added in v0.0.35

func (o GetSnapshotPolicyTagArrayOutput) ToGetSnapshotPolicyTagArrayOutput() GetSnapshotPolicyTagArrayOutput

func (GetSnapshotPolicyTagArrayOutput) ToGetSnapshotPolicyTagArrayOutputWithContext added in v0.0.35

func (o GetSnapshotPolicyTagArrayOutput) ToGetSnapshotPolicyTagArrayOutputWithContext(ctx context.Context) GetSnapshotPolicyTagArrayOutput

type GetSnapshotPolicyTagInput added in v0.0.35

type GetSnapshotPolicyTagInput interface {
	pulumi.Input

	ToGetSnapshotPolicyTagOutput() GetSnapshotPolicyTagOutput
	ToGetSnapshotPolicyTagOutputWithContext(context.Context) GetSnapshotPolicyTagOutput
}

GetSnapshotPolicyTagInput is an input type that accepts GetSnapshotPolicyTagArgs and GetSnapshotPolicyTagOutput values. You can construct a concrete instance of `GetSnapshotPolicyTagInput` via:

GetSnapshotPolicyTagArgs{...}

type GetSnapshotPolicyTagOutput added in v0.0.35

type GetSnapshotPolicyTagOutput struct{ *pulumi.OutputState }

func (GetSnapshotPolicyTagOutput) ElementType added in v0.0.35

func (GetSnapshotPolicyTagOutput) ElementType() reflect.Type

func (GetSnapshotPolicyTagOutput) Key added in v0.0.35

Tag key

func (GetSnapshotPolicyTagOutput) ToGetSnapshotPolicyTagOutput added in v0.0.35

func (o GetSnapshotPolicyTagOutput) ToGetSnapshotPolicyTagOutput() GetSnapshotPolicyTagOutput

func (GetSnapshotPolicyTagOutput) ToGetSnapshotPolicyTagOutputWithContext added in v0.0.35

func (o GetSnapshotPolicyTagOutput) ToGetSnapshotPolicyTagOutputWithContext(ctx context.Context) GetSnapshotPolicyTagOutput

func (GetSnapshotPolicyTagOutput) Value added in v0.0.35

Tag value

type GetSnapshotTag added in v0.0.6

type GetSnapshotTag struct {
	// User tag key added to the resource. Naming rules: Cannot start with volc: or sys: in any case. Keys starting with volc: or sys: are reserved system tag keys and cannot be created. Only language characters, numbers, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Length must be between 1 and 128 characters.
	Key string `pulumi:"key"`
	// User tag value added to the resource. Naming rules: Only language characters, numbers, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Can be empty. Length must be between 0 and 256 characters.
	Value string `pulumi:"value"`
}

type GetSnapshotTagArgs added in v0.0.6

type GetSnapshotTagArgs struct {
	// User tag key added to the resource. Naming rules: Cannot start with volc: or sys: in any case. Keys starting with volc: or sys: are reserved system tag keys and cannot be created. Only language characters, numbers, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Length must be between 1 and 128 characters.
	Key pulumi.StringInput `pulumi:"key"`
	// User tag value added to the resource. Naming rules: Only language characters, numbers, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Can be empty. Length must be between 0 and 256 characters.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetSnapshotTagArgs) ElementType added in v0.0.6

func (GetSnapshotTagArgs) ElementType() reflect.Type

func (GetSnapshotTagArgs) ToGetSnapshotTagOutput added in v0.0.6

func (i GetSnapshotTagArgs) ToGetSnapshotTagOutput() GetSnapshotTagOutput

func (GetSnapshotTagArgs) ToGetSnapshotTagOutputWithContext added in v0.0.6

func (i GetSnapshotTagArgs) ToGetSnapshotTagOutputWithContext(ctx context.Context) GetSnapshotTagOutput

type GetSnapshotTagArray added in v0.0.6

type GetSnapshotTagArray []GetSnapshotTagInput

func (GetSnapshotTagArray) ElementType added in v0.0.6

func (GetSnapshotTagArray) ElementType() reflect.Type

func (GetSnapshotTagArray) ToGetSnapshotTagArrayOutput added in v0.0.6

func (i GetSnapshotTagArray) ToGetSnapshotTagArrayOutput() GetSnapshotTagArrayOutput

func (GetSnapshotTagArray) ToGetSnapshotTagArrayOutputWithContext added in v0.0.6

func (i GetSnapshotTagArray) ToGetSnapshotTagArrayOutputWithContext(ctx context.Context) GetSnapshotTagArrayOutput

type GetSnapshotTagArrayInput added in v0.0.6

type GetSnapshotTagArrayInput interface {
	pulumi.Input

	ToGetSnapshotTagArrayOutput() GetSnapshotTagArrayOutput
	ToGetSnapshotTagArrayOutputWithContext(context.Context) GetSnapshotTagArrayOutput
}

GetSnapshotTagArrayInput is an input type that accepts GetSnapshotTagArray and GetSnapshotTagArrayOutput values. You can construct a concrete instance of `GetSnapshotTagArrayInput` via:

GetSnapshotTagArray{ GetSnapshotTagArgs{...} }

type GetSnapshotTagArrayOutput added in v0.0.6

type GetSnapshotTagArrayOutput struct{ *pulumi.OutputState }

func (GetSnapshotTagArrayOutput) ElementType added in v0.0.6

func (GetSnapshotTagArrayOutput) ElementType() reflect.Type

func (GetSnapshotTagArrayOutput) Index added in v0.0.6

func (GetSnapshotTagArrayOutput) ToGetSnapshotTagArrayOutput added in v0.0.6

func (o GetSnapshotTagArrayOutput) ToGetSnapshotTagArrayOutput() GetSnapshotTagArrayOutput

func (GetSnapshotTagArrayOutput) ToGetSnapshotTagArrayOutputWithContext added in v0.0.6

func (o GetSnapshotTagArrayOutput) ToGetSnapshotTagArrayOutputWithContext(ctx context.Context) GetSnapshotTagArrayOutput

type GetSnapshotTagInput added in v0.0.6

type GetSnapshotTagInput interface {
	pulumi.Input

	ToGetSnapshotTagOutput() GetSnapshotTagOutput
	ToGetSnapshotTagOutputWithContext(context.Context) GetSnapshotTagOutput
}

GetSnapshotTagInput is an input type that accepts GetSnapshotTagArgs and GetSnapshotTagOutput values. You can construct a concrete instance of `GetSnapshotTagInput` via:

GetSnapshotTagArgs{...}

type GetSnapshotTagOutput added in v0.0.6

type GetSnapshotTagOutput struct{ *pulumi.OutputState }

func (GetSnapshotTagOutput) ElementType added in v0.0.6

func (GetSnapshotTagOutput) ElementType() reflect.Type

func (GetSnapshotTagOutput) Key added in v0.0.6

User tag key added to the resource. Naming rules: Cannot start with volc: or sys: in any case. Keys starting with volc: or sys: are reserved system tag keys and cannot be created. Only language characters, numbers, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Length must be between 1 and 128 characters.

func (GetSnapshotTagOutput) ToGetSnapshotTagOutput added in v0.0.6

func (o GetSnapshotTagOutput) ToGetSnapshotTagOutput() GetSnapshotTagOutput

func (GetSnapshotTagOutput) ToGetSnapshotTagOutputWithContext added in v0.0.6

func (o GetSnapshotTagOutput) ToGetSnapshotTagOutputWithContext(ctx context.Context) GetSnapshotTagOutput

func (GetSnapshotTagOutput) Value added in v0.0.6

User tag value added to the resource. Naming rules: Only language characters, numbers, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Can be empty. Length must be between 0 and 256 characters.

type GetSnapshotsResult added in v0.0.6

type GetSnapshotsResult struct {
	// Uniquely identifies the data source.
	Id string `pulumi:"id"`
	// Set of Resource Identifiers.
	Ids []string `pulumi:"ids"`
}

A collection of values returned by getSnapshots.

func GetSnapshots added in v0.0.6

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

Plural Data Source schema for Byteplus::StorageEBS::Snapshot

type GetSnapshotsResultOutput added in v0.0.6

type GetSnapshotsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSnapshots.

func GetSnapshotsOutput added in v0.0.6

func GetSnapshotsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetSnapshotsResultOutput

func (GetSnapshotsResultOutput) ElementType added in v0.0.6

func (GetSnapshotsResultOutput) ElementType() reflect.Type

func (GetSnapshotsResultOutput) Id added in v0.0.6

Uniquely identifies the data source.

func (GetSnapshotsResultOutput) Ids added in v0.0.6

Set of Resource Identifiers.

func (GetSnapshotsResultOutput) ToGetSnapshotsResultOutput added in v0.0.6

func (o GetSnapshotsResultOutput) ToGetSnapshotsResultOutput() GetSnapshotsResultOutput

func (GetSnapshotsResultOutput) ToGetSnapshotsResultOutputWithContext added in v0.0.6

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

type GetVolumeBaselinePerformance

type GetVolumeBaselinePerformance struct {
	// Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.
	Iops float64 `pulumi:"iops"`
	// The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.
	Throughput float64 `pulumi:"throughput"`
}

type GetVolumeBaselinePerformanceArgs

type GetVolumeBaselinePerformanceArgs struct {
	// Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.
	Iops pulumi.Float64Input `pulumi:"iops"`
	// The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.
	Throughput pulumi.Float64Input `pulumi:"throughput"`
}

func (GetVolumeBaselinePerformanceArgs) ElementType

func (GetVolumeBaselinePerformanceArgs) ToGetVolumeBaselinePerformanceOutput

func (i GetVolumeBaselinePerformanceArgs) ToGetVolumeBaselinePerformanceOutput() GetVolumeBaselinePerformanceOutput

func (GetVolumeBaselinePerformanceArgs) ToGetVolumeBaselinePerformanceOutputWithContext

func (i GetVolumeBaselinePerformanceArgs) ToGetVolumeBaselinePerformanceOutputWithContext(ctx context.Context) GetVolumeBaselinePerformanceOutput

type GetVolumeBaselinePerformanceInput

type GetVolumeBaselinePerformanceInput interface {
	pulumi.Input

	ToGetVolumeBaselinePerformanceOutput() GetVolumeBaselinePerformanceOutput
	ToGetVolumeBaselinePerformanceOutputWithContext(context.Context) GetVolumeBaselinePerformanceOutput
}

GetVolumeBaselinePerformanceInput is an input type that accepts GetVolumeBaselinePerformanceArgs and GetVolumeBaselinePerformanceOutput values. You can construct a concrete instance of `GetVolumeBaselinePerformanceInput` via:

GetVolumeBaselinePerformanceArgs{...}

type GetVolumeBaselinePerformanceOutput

type GetVolumeBaselinePerformanceOutput struct{ *pulumi.OutputState }

func (GetVolumeBaselinePerformanceOutput) ElementType

func (GetVolumeBaselinePerformanceOutput) Iops

Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.

func (GetVolumeBaselinePerformanceOutput) Throughput

The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.

func (GetVolumeBaselinePerformanceOutput) ToGetVolumeBaselinePerformanceOutput

func (o GetVolumeBaselinePerformanceOutput) ToGetVolumeBaselinePerformanceOutput() GetVolumeBaselinePerformanceOutput

func (GetVolumeBaselinePerformanceOutput) ToGetVolumeBaselinePerformanceOutputWithContext

func (o GetVolumeBaselinePerformanceOutput) ToGetVolumeBaselinePerformanceOutputWithContext(ctx context.Context) GetVolumeBaselinePerformanceOutput

type GetVolumeExtraPerformance

type GetVolumeExtraPerformance struct {
	// Type of extra performance. Value description: Balance: Balanced extra performance; IOPS: IOPS extra performance; Throughput: Throughput extra performance.
	ExtraPerformanceTypeId string `pulumi:"extraPerformanceTypeId"`
	// Extra IOPS of the disk.
	Iops float64 `pulumi:"iops"`
	// Extra throughput of the disk.
	Throughput float64 `pulumi:"throughput"`
}

type GetVolumeExtraPerformanceArgs

type GetVolumeExtraPerformanceArgs struct {
	// Type of extra performance. Value description: Balance: Balanced extra performance; IOPS: IOPS extra performance; Throughput: Throughput extra performance.
	ExtraPerformanceTypeId pulumi.StringInput `pulumi:"extraPerformanceTypeId"`
	// Extra IOPS of the disk.
	Iops pulumi.Float64Input `pulumi:"iops"`
	// Extra throughput of the disk.
	Throughput pulumi.Float64Input `pulumi:"throughput"`
}

func (GetVolumeExtraPerformanceArgs) ElementType

func (GetVolumeExtraPerformanceArgs) ToGetVolumeExtraPerformanceOutput

func (i GetVolumeExtraPerformanceArgs) ToGetVolumeExtraPerformanceOutput() GetVolumeExtraPerformanceOutput

func (GetVolumeExtraPerformanceArgs) ToGetVolumeExtraPerformanceOutputWithContext

func (i GetVolumeExtraPerformanceArgs) ToGetVolumeExtraPerformanceOutputWithContext(ctx context.Context) GetVolumeExtraPerformanceOutput

type GetVolumeExtraPerformanceInput

type GetVolumeExtraPerformanceInput interface {
	pulumi.Input

	ToGetVolumeExtraPerformanceOutput() GetVolumeExtraPerformanceOutput
	ToGetVolumeExtraPerformanceOutputWithContext(context.Context) GetVolumeExtraPerformanceOutput
}

GetVolumeExtraPerformanceInput is an input type that accepts GetVolumeExtraPerformanceArgs and GetVolumeExtraPerformanceOutput values. You can construct a concrete instance of `GetVolumeExtraPerformanceInput` via:

GetVolumeExtraPerformanceArgs{...}

type GetVolumeExtraPerformanceOutput

type GetVolumeExtraPerformanceOutput struct{ *pulumi.OutputState }

func (GetVolumeExtraPerformanceOutput) ElementType

func (GetVolumeExtraPerformanceOutput) ExtraPerformanceTypeId

func (o GetVolumeExtraPerformanceOutput) ExtraPerformanceTypeId() pulumi.StringOutput

Type of extra performance. Value description: Balance: Balanced extra performance; IOPS: IOPS extra performance; Throughput: Throughput extra performance.

func (GetVolumeExtraPerformanceOutput) Iops

Extra IOPS of the disk.

func (GetVolumeExtraPerformanceOutput) Throughput

Extra throughput of the disk.

func (GetVolumeExtraPerformanceOutput) ToGetVolumeExtraPerformanceOutput

func (o GetVolumeExtraPerformanceOutput) ToGetVolumeExtraPerformanceOutput() GetVolumeExtraPerformanceOutput

func (GetVolumeExtraPerformanceOutput) ToGetVolumeExtraPerformanceOutputWithContext

func (o GetVolumeExtraPerformanceOutput) ToGetVolumeExtraPerformanceOutputWithContext(ctx context.Context) GetVolumeExtraPerformanceOutput

type GetVolumeTag

type GetVolumeTag struct {
	// Tag key.
	Key string `pulumi:"key"`
	// Tag value.
	Value string `pulumi:"value"`
}

type GetVolumeTagArgs

type GetVolumeTagArgs struct {
	// Tag key.
	Key pulumi.StringInput `pulumi:"key"`
	// Tag value.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetVolumeTagArgs) ElementType

func (GetVolumeTagArgs) ElementType() reflect.Type

func (GetVolumeTagArgs) ToGetVolumeTagOutput

func (i GetVolumeTagArgs) ToGetVolumeTagOutput() GetVolumeTagOutput

func (GetVolumeTagArgs) ToGetVolumeTagOutputWithContext

func (i GetVolumeTagArgs) ToGetVolumeTagOutputWithContext(ctx context.Context) GetVolumeTagOutput

type GetVolumeTagArray

type GetVolumeTagArray []GetVolumeTagInput

func (GetVolumeTagArray) ElementType

func (GetVolumeTagArray) ElementType() reflect.Type

func (GetVolumeTagArray) ToGetVolumeTagArrayOutput

func (i GetVolumeTagArray) ToGetVolumeTagArrayOutput() GetVolumeTagArrayOutput

func (GetVolumeTagArray) ToGetVolumeTagArrayOutputWithContext

func (i GetVolumeTagArray) ToGetVolumeTagArrayOutputWithContext(ctx context.Context) GetVolumeTagArrayOutput

type GetVolumeTagArrayInput

type GetVolumeTagArrayInput interface {
	pulumi.Input

	ToGetVolumeTagArrayOutput() GetVolumeTagArrayOutput
	ToGetVolumeTagArrayOutputWithContext(context.Context) GetVolumeTagArrayOutput
}

GetVolumeTagArrayInput is an input type that accepts GetVolumeTagArray and GetVolumeTagArrayOutput values. You can construct a concrete instance of `GetVolumeTagArrayInput` via:

GetVolumeTagArray{ GetVolumeTagArgs{...} }

type GetVolumeTagArrayOutput

type GetVolumeTagArrayOutput struct{ *pulumi.OutputState }

func (GetVolumeTagArrayOutput) ElementType

func (GetVolumeTagArrayOutput) ElementType() reflect.Type

func (GetVolumeTagArrayOutput) Index

func (GetVolumeTagArrayOutput) ToGetVolumeTagArrayOutput

func (o GetVolumeTagArrayOutput) ToGetVolumeTagArrayOutput() GetVolumeTagArrayOutput

func (GetVolumeTagArrayOutput) ToGetVolumeTagArrayOutputWithContext

func (o GetVolumeTagArrayOutput) ToGetVolumeTagArrayOutputWithContext(ctx context.Context) GetVolumeTagArrayOutput

type GetVolumeTagInput

type GetVolumeTagInput interface {
	pulumi.Input

	ToGetVolumeTagOutput() GetVolumeTagOutput
	ToGetVolumeTagOutputWithContext(context.Context) GetVolumeTagOutput
}

GetVolumeTagInput is an input type that accepts GetVolumeTagArgs and GetVolumeTagOutput values. You can construct a concrete instance of `GetVolumeTagInput` via:

GetVolumeTagArgs{...}

type GetVolumeTagOutput

type GetVolumeTagOutput struct{ *pulumi.OutputState }

func (GetVolumeTagOutput) ElementType

func (GetVolumeTagOutput) ElementType() reflect.Type

func (GetVolumeTagOutput) Key

Tag key.

func (GetVolumeTagOutput) ToGetVolumeTagOutput

func (o GetVolumeTagOutput) ToGetVolumeTagOutput() GetVolumeTagOutput

func (GetVolumeTagOutput) ToGetVolumeTagOutputWithContext

func (o GetVolumeTagOutput) ToGetVolumeTagOutputWithContext(ctx context.Context) GetVolumeTagOutput

func (GetVolumeTagOutput) Value

Tag value.

type GetVolumeTotalPerformance

type GetVolumeTotalPerformance struct {
	// Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.
	Iops float64 `pulumi:"iops"`
	// The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.
	Throughput float64 `pulumi:"throughput"`
}

type GetVolumeTotalPerformanceArgs

type GetVolumeTotalPerformanceArgs struct {
	// Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.
	Iops pulumi.Float64Input `pulumi:"iops"`
	// The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.
	Throughput pulumi.Float64Input `pulumi:"throughput"`
}

func (GetVolumeTotalPerformanceArgs) ElementType

func (GetVolumeTotalPerformanceArgs) ToGetVolumeTotalPerformanceOutput

func (i GetVolumeTotalPerformanceArgs) ToGetVolumeTotalPerformanceOutput() GetVolumeTotalPerformanceOutput

func (GetVolumeTotalPerformanceArgs) ToGetVolumeTotalPerformanceOutputWithContext

func (i GetVolumeTotalPerformanceArgs) ToGetVolumeTotalPerformanceOutputWithContext(ctx context.Context) GetVolumeTotalPerformanceOutput

type GetVolumeTotalPerformanceInput

type GetVolumeTotalPerformanceInput interface {
	pulumi.Input

	ToGetVolumeTotalPerformanceOutput() GetVolumeTotalPerformanceOutput
	ToGetVolumeTotalPerformanceOutputWithContext(context.Context) GetVolumeTotalPerformanceOutput
}

GetVolumeTotalPerformanceInput is an input type that accepts GetVolumeTotalPerformanceArgs and GetVolumeTotalPerformanceOutput values. You can construct a concrete instance of `GetVolumeTotalPerformanceInput` via:

GetVolumeTotalPerformanceArgs{...}

type GetVolumeTotalPerformanceOutput

type GetVolumeTotalPerformanceOutput struct{ *pulumi.OutputState }

func (GetVolumeTotalPerformanceOutput) ElementType

func (GetVolumeTotalPerformanceOutput) Iops

Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.

func (GetVolumeTotalPerformanceOutput) Throughput

The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.

func (GetVolumeTotalPerformanceOutput) ToGetVolumeTotalPerformanceOutput

func (o GetVolumeTotalPerformanceOutput) ToGetVolumeTotalPerformanceOutput() GetVolumeTotalPerformanceOutput

func (GetVolumeTotalPerformanceOutput) ToGetVolumeTotalPerformanceOutputWithContext

func (o GetVolumeTotalPerformanceOutput) ToGetVolumeTotalPerformanceOutputWithContext(ctx context.Context) GetVolumeTotalPerformanceOutput

type GetVolumesResult

type GetVolumesResult struct {
	// Uniquely identifies the data source.
	Id string `pulumi:"id"`
	// Set of Resource Identifiers.
	Ids []string `pulumi:"ids"`
}

A collection of values returned by getVolumes.

func GetVolumes

func GetVolumes(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetVolumesResult, error)

Plural Data Source schema for Byteplus::StorageEBS::Volume

type GetVolumesResultOutput

type GetVolumesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getVolumes.

func GetVolumesOutput

func GetVolumesOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetVolumesResultOutput

func (GetVolumesResultOutput) ElementType

func (GetVolumesResultOutput) ElementType() reflect.Type

func (GetVolumesResultOutput) Id

Uniquely identifies the data source.

func (GetVolumesResultOutput) Ids

Set of Resource Identifiers.

func (GetVolumesResultOutput) ToGetVolumesResultOutput

func (o GetVolumesResultOutput) ToGetVolumesResultOutput() GetVolumesResultOutput

func (GetVolumesResultOutput) ToGetVolumesResultOutputWithContext

func (o GetVolumesResultOutput) ToGetVolumesResultOutputWithContext(ctx context.Context) GetVolumesResultOutput

type LookupSnapshotArgs added in v0.0.6

type LookupSnapshotArgs struct {
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
}

A collection of arguments for invoking getSnapshot.

type LookupSnapshotGroupArgs added in v0.0.24

type LookupSnapshotGroupArgs struct {
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
}

A collection of arguments for invoking getSnapshotGroup.

type LookupSnapshotGroupOutputArgs added in v0.0.24

type LookupSnapshotGroupOutputArgs struct {
	// Uniquely identifies the resource.
	Id pulumi.StringInput `pulumi:"id"`
}

A collection of arguments for invoking getSnapshotGroup.

func (LookupSnapshotGroupOutputArgs) ElementType added in v0.0.24

type LookupSnapshotGroupResult added in v0.0.24

type LookupSnapshotGroupResult struct {
	// Snapshot consistency group creation time
	CreationTime string `pulumi:"creationTime"`
	// Snapshot consistency group description
	Description string `pulumi:"description"`
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
	// Image ID of the snapshot consistency group
	ImageId string `pulumi:"imageId"`
	// ECS instance ID of the snapshot consistency group
	InstanceId string `pulumi:"instanceId"`
	// Snapshot consistency group name
	Name string `pulumi:"name"`
	// Project name
	ProjectName string `pulumi:"projectName"`
	// Snapshot consistency group ID
	SnapshotGroupId string `pulumi:"snapshotGroupId"`
	// Snapshot details
	Snapshots []GetSnapshotGroupSnapshot `pulumi:"snapshots"`
	// Snapshot consistency group status
	Status string `pulumi:"status"`
	// Tags of the snapshot consistency group
	Tags []GetSnapshotGroupTag `pulumi:"tags"`
	// Cloud disk ID. Note: The cloud disk must be in 'attached' status. If multiple cloud disks are set, they must be attached to the same ECS instance
	VolumeIds []string `pulumi:"volumeIds"`
}

A collection of values returned by getSnapshotGroup.

func LookupSnapshotGroup added in v0.0.24

func LookupSnapshotGroup(ctx *pulumi.Context, args *LookupSnapshotGroupArgs, opts ...pulumi.InvokeOption) (*LookupSnapshotGroupResult, error)

Data Source schema for Byteplus::StorageEBS::SnapshotGroup

type LookupSnapshotGroupResultOutput added in v0.0.24

type LookupSnapshotGroupResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSnapshotGroup.

func LookupSnapshotGroupOutput added in v0.0.24

func (LookupSnapshotGroupResultOutput) CreationTime added in v0.0.24

Snapshot consistency group creation time

func (LookupSnapshotGroupResultOutput) Description added in v0.0.24

Snapshot consistency group description

func (LookupSnapshotGroupResultOutput) ElementType added in v0.0.24

func (LookupSnapshotGroupResultOutput) Id added in v0.0.24

Uniquely identifies the resource.

func (LookupSnapshotGroupResultOutput) ImageId added in v0.0.24

Image ID of the snapshot consistency group

func (LookupSnapshotGroupResultOutput) InstanceId added in v0.0.24

ECS instance ID of the snapshot consistency group

func (LookupSnapshotGroupResultOutput) Name added in v0.0.24

Snapshot consistency group name

func (LookupSnapshotGroupResultOutput) ProjectName added in v0.0.24

Project name

func (LookupSnapshotGroupResultOutput) SnapshotGroupId added in v0.0.24

Snapshot consistency group ID

func (LookupSnapshotGroupResultOutput) Snapshots added in v0.0.24

Snapshot details

func (LookupSnapshotGroupResultOutput) Status added in v0.0.24

Snapshot consistency group status

func (LookupSnapshotGroupResultOutput) Tags added in v0.0.24

Tags of the snapshot consistency group

func (LookupSnapshotGroupResultOutput) ToLookupSnapshotGroupResultOutput added in v0.0.24

func (o LookupSnapshotGroupResultOutput) ToLookupSnapshotGroupResultOutput() LookupSnapshotGroupResultOutput

func (LookupSnapshotGroupResultOutput) ToLookupSnapshotGroupResultOutputWithContext added in v0.0.24

func (o LookupSnapshotGroupResultOutput) ToLookupSnapshotGroupResultOutputWithContext(ctx context.Context) LookupSnapshotGroupResultOutput

func (LookupSnapshotGroupResultOutput) VolumeIds added in v0.0.24

Cloud disk ID. Note: The cloud disk must be in 'attached' status. If multiple cloud disks are set, they must be attached to the same ECS instance

type LookupSnapshotOutputArgs added in v0.0.6

type LookupSnapshotOutputArgs struct {
	// Uniquely identifies the resource.
	Id pulumi.StringInput `pulumi:"id"`
}

A collection of arguments for invoking getSnapshot.

func (LookupSnapshotOutputArgs) ElementType added in v0.0.6

func (LookupSnapshotOutputArgs) ElementType() reflect.Type

type LookupSnapshotPolicyArgs added in v0.0.35

type LookupSnapshotPolicyArgs struct {
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
}

A collection of arguments for invoking getSnapshotPolicy.

type LookupSnapshotPolicyOutputArgs added in v0.0.35

type LookupSnapshotPolicyOutputArgs struct {
	// Uniquely identifies the resource.
	Id pulumi.StringInput `pulumi:"id"`
}

A collection of arguments for invoking getSnapshotPolicy.

func (LookupSnapshotPolicyOutputArgs) ElementType added in v0.0.35

type LookupSnapshotPolicyResult added in v0.0.35

type LookupSnapshotPolicyResult struct {
	// List of cloud disk IDs to associate with the automatic snapshot policy.
	AddVolumeIds []string `pulumi:"addVolumeIds"`
	// Automatic snapshot policy ID.
	AutoSnapshotPolicyId string `pulumi:"autoSnapshotPolicyId"`
	// Automatic snapshot policy name. Naming rules: The first character must be Chinese, a letter, or an underscore (*). It can include Chinese, letters, numbers, underscores (*), hyphens (-), or periods (.). Length must be between 1 and 128 characters.
	AutoSnapshotPolicyName string `pulumi:"autoSnapshotPolicyName"`
	// Creation time of the automatic snapshot policy.
	CreatedAt string `pulumi:"createdAt"`
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
	// Project associated with the automatic snapshot policy.
	ProjectName string `pulumi:"projectName"`
	// List of cloud disk IDs to disassociate from the automatic snapshot policy.
	RemoveVolumeIds []string `pulumi:"removeVolumeIds"`
	// Create snapshots on a daily basis, with a specified interval in days. The value range is [1, 30]. When repeating snapshot creation daily, the day you create the automatic snapshot policy is considered Day 1. Snapshots will not be created for past time points. If all scheduled snapshot times for the day have passed, the day is still counted as Day 1.
	RepeatDays int `pulumi:"repeatDays"`
	// Create snapshots on a weekly basis by selecting one or more days from Monday to Sunday. The value range is 1–7. When creating an automatic snapshot policy, you must set either the RepeatWeekdays.N or RepeatDays parameter. Setting both parameters at the same time is not supported.
	RepeatWeekdays []string `pulumi:"repeatWeekdays"`
	// Retention period for automatic snapshots, in days. -1: Save permanently; 1–65536: Specify number of days to retain.
	RetentionDays int `pulumi:"retentionDays"`
	// Reserved parameter.
	Status string `pulumi:"status"`
	// Tag.
	Tags []GetSnapshotPolicyTag `pulumi:"tags"`
	// Snapshot creation time points, using UTC +8 time. Unit: hour. Value range: 0–23.
	TimePoints []string `pulumi:"timePoints"`
	// Update time of the automatic snapshot policy.
	UpdatedAt string `pulumi:"updatedAt"`
	// Total number of cloud disks.
	VolumeNums int `pulumi:"volumeNums"`
}

A collection of values returned by getSnapshotPolicy.

func LookupSnapshotPolicy added in v0.0.35

func LookupSnapshotPolicy(ctx *pulumi.Context, args *LookupSnapshotPolicyArgs, opts ...pulumi.InvokeOption) (*LookupSnapshotPolicyResult, error)

Data Source schema for Byteplus::StorageEBS::SnapshotPolicy

type LookupSnapshotPolicyResultOutput added in v0.0.35

type LookupSnapshotPolicyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSnapshotPolicy.

func LookupSnapshotPolicyOutput added in v0.0.35

func (LookupSnapshotPolicyResultOutput) AddVolumeIds added in v0.0.35

List of cloud disk IDs to associate with the automatic snapshot policy.

func (LookupSnapshotPolicyResultOutput) AutoSnapshotPolicyId added in v0.0.35

func (o LookupSnapshotPolicyResultOutput) AutoSnapshotPolicyId() pulumi.StringOutput

Automatic snapshot policy ID.

func (LookupSnapshotPolicyResultOutput) AutoSnapshotPolicyName added in v0.0.35

func (o LookupSnapshotPolicyResultOutput) AutoSnapshotPolicyName() pulumi.StringOutput

Automatic snapshot policy name. Naming rules: The first character must be Chinese, a letter, or an underscore (*). It can include Chinese, letters, numbers, underscores (*), hyphens (-), or periods (.). Length must be between 1 and 128 characters.

func (LookupSnapshotPolicyResultOutput) CreatedAt added in v0.0.35

Creation time of the automatic snapshot policy.

func (LookupSnapshotPolicyResultOutput) ElementType added in v0.0.35

func (LookupSnapshotPolicyResultOutput) Id added in v0.0.35

Uniquely identifies the resource.

func (LookupSnapshotPolicyResultOutput) ProjectName added in v0.0.35

Project associated with the automatic snapshot policy.

func (LookupSnapshotPolicyResultOutput) RemoveVolumeIds added in v0.0.35

List of cloud disk IDs to disassociate from the automatic snapshot policy.

func (LookupSnapshotPolicyResultOutput) RepeatDays added in v0.0.35

Create snapshots on a daily basis, with a specified interval in days. The value range is [1, 30]. When repeating snapshot creation daily, the day you create the automatic snapshot policy is considered Day 1. Snapshots will not be created for past time points. If all scheduled snapshot times for the day have passed, the day is still counted as Day 1.

func (LookupSnapshotPolicyResultOutput) RepeatWeekdays added in v0.0.35

Create snapshots on a weekly basis by selecting one or more days from Monday to Sunday. The value range is 1–7. When creating an automatic snapshot policy, you must set either the RepeatWeekdays.N or RepeatDays parameter. Setting both parameters at the same time is not supported.

func (LookupSnapshotPolicyResultOutput) RetentionDays added in v0.0.35

Retention period for automatic snapshots, in days. -1: Save permanently; 1–65536: Specify number of days to retain.

func (LookupSnapshotPolicyResultOutput) Status added in v0.0.35

Reserved parameter.

func (LookupSnapshotPolicyResultOutput) Tags added in v0.0.35

Tag.

func (LookupSnapshotPolicyResultOutput) TimePoints added in v0.0.35

Snapshot creation time points, using UTC +8 time. Unit: hour. Value range: 0–23.

func (LookupSnapshotPolicyResultOutput) ToLookupSnapshotPolicyResultOutput added in v0.0.35

func (o LookupSnapshotPolicyResultOutput) ToLookupSnapshotPolicyResultOutput() LookupSnapshotPolicyResultOutput

func (LookupSnapshotPolicyResultOutput) ToLookupSnapshotPolicyResultOutputWithContext added in v0.0.35

func (o LookupSnapshotPolicyResultOutput) ToLookupSnapshotPolicyResultOutputWithContext(ctx context.Context) LookupSnapshotPolicyResultOutput

func (LookupSnapshotPolicyResultOutput) UpdatedAt added in v0.0.35

Update time of the automatic snapshot policy.

func (LookupSnapshotPolicyResultOutput) VolumeNums added in v0.0.35

Total number of cloud disks.

type LookupSnapshotResult added in v0.0.6

type LookupSnapshotResult struct {
	// Snapshot creation time.
	CreationTime string `pulumi:"creationTime"`
	// Snapshot description. Default is empty. Length must be between 0 and 255 characters.
	Description string `pulumi:"description"`
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
	// Image ID
	ImageId string `pulumi:"imageId"`
	// Whether the snapshot has enabled ultra-fast availability. Value options: true: ultra-fast availability enabled. false: ultra-fast availability not enabled.
	InstantAccess bool `pulumi:"instantAccess"`
	// Snapshot dump progress.
	Progress int `pulumi:"progress"`
	// Name of the Project to which the snapshot will be added. Note: snapshots do not inherit the project of the cloud disk, so snapshots and cloud disks can belong to different projects. If you do not set ProjectName when creating the snapshot, it will be added to the default project.
	ProjectName string `pulumi:"projectName"`
	// Snapshot retention period, in days. Value options: empty: retain snapshot permanently. 1~65536: specify retention days. Default is empty, which means retain snapshot permanently. Snapshot retention period is calculated from the snapshot creation time.
	RetentionDays int `pulumi:"retentionDays"`
	// Whether the snapshot is shared.
	Shared bool `pulumi:"shared"`
	// Snapshot consistency group ID.
	SnapshotGroupId string `pulumi:"snapshotGroupId"`
	// Snapshot ID.
	SnapshotId string `pulumi:"snapshotId"`
	// Name of the created snapshot. Naming rules: length must be between 1 and 128 characters. Only Chinese characters, letters, numbers, underscores (_), hyphens (-), and periods (.) are allowed. To avoid conflicts with automatic snapshot names, the name cannot start with 'auto'.
	SnapshotName string `pulumi:"snapshotName"`
	// Snapshot type. The available values are: user: query manual snapshots. auto: query automatic snapshots. share: query shared snapshots. By default, all snapshots are queried.
	SnapshotType string `pulumi:"snapshotType"`
	// Snapshot status. Value options: available: available. creating: creating. rollbacking: rolling back. deleted: deleted. failed: error.
	Status string `pulumi:"status"`
	// Snapshot tag information.
	Tags []GetSnapshotTag `pulumi:"tags"`
	// Cloud disk ID associated with the snapshot.
	VolumeId string `pulumi:"volumeId"`
	// Cloud disk category. Value options: system: system disk. data: data disk.
	VolumeKind string `pulumi:"volumeKind"`
	// Cloud disk name.
	VolumeName string `pulumi:"volumeName"`
	// Cloud disk size, in GiB.
	VolumeSize int `pulumi:"volumeSize"`
	// Cloud disk status. Value options: available: available, attaching: attaching, attached: attached, detaching: detaching, creating: creating, deleting: deleting, error: error, extending: expanding, "": cloud disk deleted.
	VolumeStatus string `pulumi:"volumeStatus"`
	// Cloud disk type. Value options: ESSD*PL0: Ultra-fast SSD cloud disk, PL0 specification. ESSD*FlexPL: Ultra-fast SSD cloud disk, FlexPL specification. TSSD_TL0: Throughput SSD cloud disk
	VolumeType string `pulumi:"volumeType"`
	// Availability zone ID where the snapshot is located.
	ZoneId string `pulumi:"zoneId"`
}

A collection of values returned by getSnapshot.

func LookupSnapshot added in v0.0.6

func LookupSnapshot(ctx *pulumi.Context, args *LookupSnapshotArgs, opts ...pulumi.InvokeOption) (*LookupSnapshotResult, error)

Data Source schema for Byteplus::StorageEBS::Snapshot

type LookupSnapshotResultOutput added in v0.0.6

type LookupSnapshotResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSnapshot.

func LookupSnapshotOutput added in v0.0.6

func LookupSnapshotOutput(ctx *pulumi.Context, args LookupSnapshotOutputArgs, opts ...pulumi.InvokeOption) LookupSnapshotResultOutput

func (LookupSnapshotResultOutput) CreationTime added in v0.0.6

Snapshot creation time.

func (LookupSnapshotResultOutput) Description added in v0.0.6

Snapshot description. Default is empty. Length must be between 0 and 255 characters.

func (LookupSnapshotResultOutput) ElementType added in v0.0.6

func (LookupSnapshotResultOutput) ElementType() reflect.Type

func (LookupSnapshotResultOutput) Id added in v0.0.6

Uniquely identifies the resource.

func (LookupSnapshotResultOutput) ImageId added in v0.0.6

Image ID

func (LookupSnapshotResultOutput) InstantAccess added in v0.0.6

func (o LookupSnapshotResultOutput) InstantAccess() pulumi.BoolOutput

Whether the snapshot has enabled ultra-fast availability. Value options: true: ultra-fast availability enabled. false: ultra-fast availability not enabled.

func (LookupSnapshotResultOutput) Progress added in v0.0.6

Snapshot dump progress.

func (LookupSnapshotResultOutput) ProjectName added in v0.0.6

Name of the Project to which the snapshot will be added. Note: snapshots do not inherit the project of the cloud disk, so snapshots and cloud disks can belong to different projects. If you do not set ProjectName when creating the snapshot, it will be added to the default project.

func (LookupSnapshotResultOutput) RetentionDays added in v0.0.6

func (o LookupSnapshotResultOutput) RetentionDays() pulumi.IntOutput

Snapshot retention period, in days. Value options: empty: retain snapshot permanently. 1~65536: specify retention days. Default is empty, which means retain snapshot permanently. Snapshot retention period is calculated from the snapshot creation time.

func (LookupSnapshotResultOutput) Shared added in v0.0.6

Whether the snapshot is shared.

func (LookupSnapshotResultOutput) SnapshotGroupId added in v0.0.6

func (o LookupSnapshotResultOutput) SnapshotGroupId() pulumi.StringOutput

Snapshot consistency group ID.

func (LookupSnapshotResultOutput) SnapshotId added in v0.0.6

Snapshot ID.

func (LookupSnapshotResultOutput) SnapshotName added in v0.0.6

Name of the created snapshot. Naming rules: length must be between 1 and 128 characters. Only Chinese characters, letters, numbers, underscores (_), hyphens (-), and periods (.) are allowed. To avoid conflicts with automatic snapshot names, the name cannot start with 'auto'.

func (LookupSnapshotResultOutput) SnapshotType added in v0.0.6

Snapshot type. The available values are: user: query manual snapshots. auto: query automatic snapshots. share: query shared snapshots. By default, all snapshots are queried.

func (LookupSnapshotResultOutput) Status added in v0.0.6

Snapshot status. Value options: available: available. creating: creating. rollbacking: rolling back. deleted: deleted. failed: error.

func (LookupSnapshotResultOutput) Tags added in v0.0.6

Snapshot tag information.

func (LookupSnapshotResultOutput) ToLookupSnapshotResultOutput added in v0.0.6

func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutput() LookupSnapshotResultOutput

func (LookupSnapshotResultOutput) ToLookupSnapshotResultOutputWithContext added in v0.0.6

func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutputWithContext(ctx context.Context) LookupSnapshotResultOutput

func (LookupSnapshotResultOutput) VolumeId added in v0.0.6

Cloud disk ID associated with the snapshot.

func (LookupSnapshotResultOutput) VolumeKind added in v0.0.6

Cloud disk category. Value options: system: system disk. data: data disk.

func (LookupSnapshotResultOutput) VolumeName added in v0.0.6

Cloud disk name.

func (LookupSnapshotResultOutput) VolumeSize added in v0.0.6

Cloud disk size, in GiB.

func (LookupSnapshotResultOutput) VolumeStatus added in v0.0.6

Cloud disk status. Value options: available: available, attaching: attaching, attached: attached, detaching: detaching, creating: creating, deleting: deleting, error: error, extending: expanding, "": cloud disk deleted.

func (LookupSnapshotResultOutput) VolumeType added in v0.0.6

Cloud disk type. Value options: ESSD*PL0: Ultra-fast SSD cloud disk, PL0 specification. ESSD*FlexPL: Ultra-fast SSD cloud disk, FlexPL specification. TSSD_TL0: Throughput SSD cloud disk

func (LookupSnapshotResultOutput) ZoneId added in v0.0.6

Availability zone ID where the snapshot is located.

type LookupVolumeArgs

type LookupVolumeArgs struct {
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
}

A collection of arguments for invoking getVolume.

type LookupVolumeOutputArgs

type LookupVolumeOutputArgs struct {
	// Uniquely identifies the resource.
	Id pulumi.StringInput `pulumi:"id"`
}

A collection of arguments for invoking getVolume.

func (LookupVolumeOutputArgs) ElementType

func (LookupVolumeOutputArgs) ElementType() reflect.Type

type LookupVolumeResult

type LookupVolumeResult struct {
	// Automatic snapshot policy ID.
	AutoSnapshotPolicyId string `pulumi:"autoSnapshotPolicyId"`
	// Automatic snapshot policy name.
	AutoSnapshotPolicyName string `pulumi:"autoSnapshotPolicyName"`
	// Baseline performance.
	BaselinePerformance GetVolumeBaselinePerformance `pulumi:"baselinePerformance"`
	// Disk creation time.
	CreatedAt string `pulumi:"createdAt"`
	// When releasing the instance, specify whether the disk is released along with the instance. Value description: true: The disk is released with the instance. false: The disk is not released with the instance.
	DeleteWithInstance bool `pulumi:"deleteWithInstance"`
	// Disk description. Default is empty. Length must be between 1 and 255 characters.
	Description string `pulumi:"description"`
	// Device name
	DeviceName string `pulumi:"deviceName"`
	// Specific error
	ErrorDetail string `pulumi:"errorDetail"`
	// Expiration time for yearly/monthly subscription.
	ExpiredTime string `pulumi:"expiredTime"`
	// Extra performance.
	ExtraPerformance GetVolumeExtraPerformance `pulumi:"extraPerformance"`
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
	// Image ID in the disk.
	ImageId string `pulumi:"imageId"`
	// ECS instance ID mounted when creating the cloud disk.
	InstanceId string `pulumi:"instanceId"`
	// Disk attribute. data indicates a data disk. The default value is data. Note: Only data disks can be created.
	Kind string `pulumi:"kind"`
	// Disk overdue reclamation time.
	OverdueReclaimTime string `pulumi:"overdueReclaimTime"`
	// Disk overdue shutdown time.
	OverdueTime string `pulumi:"overdueTime"`
	// Payment type. Description: Pre: Prepaid (annual/monthly). Post: Postpaid (pay-as-you-go).
	PayType string `pulumi:"payType"`
	// Project name to which the disk will be added.
	ProjectName string `pulumi:"projectName"`
	// Renewal method 1: Manual renewal 2: Automatic renewal 3: Do not renew upon expiration.
	RenewType float64 `pulumi:"renewType"`
	// Size: data disk capacity in GiB. The capacity ranges for different types of data disks are as follows: ESSD*PL0: 10~65536 GiB; ESSD*FlexPL: 10~65536 GiB; TSSD_TL0: 40~65536 GiB
	Size float64 `pulumi:"size"`
	// Snapshot count.
	SnapshotCount float64 `pulumi:"snapshotCount"`
	// Source snapshot.
	SourceSnapshotId string `pulumi:"sourceSnapshotId"`
	// Disk status. Value description: available: Available. mounting: Mounting. mounted: Mounted. unmounting: Unmounting. creating: Creating. deleting: Deleting. error: Error. expanding: Expanding.
	Status string `pulumi:"status"`
	// Disk tag information.
	Tags []GetVolumeTag `pulumi:"tags"`
	// Total performance.
	TotalPerformance GetVolumeTotalPerformance `pulumi:"totalPerformance"`
	// Transaction status 0: Creating 1: Running 2: Creation failed
	TradeStatus float64 `pulumi:"tradeStatus"`
	// Disk update time.
	UpdatedAt string `pulumi:"updatedAt"`
	// Disk ID.
	VolumeId string `pulumi:"volumeId"`
	// Disk display name. Naming rules: The first character must be a Chinese character, a letter, or an underscore (*). Can contain Chinese characters, letters, numbers, underscores (*), or hyphens (-). Length must be between 1 and 128 characters.
	VolumeName string `pulumi:"volumeName"`
	// Disk type. Value description: ESSD*PL0: Ultra-fast SSD disk, PL0 specification. ESSD*FlexPL: Ultra-fast SSD disk, FlexPL specification. TSSD_TL0: Throughput SSD disk.
	VolumeType string `pulumi:"volumeType"`
	// Availability zone ID.
	ZoneId string `pulumi:"zoneId"`
}

A collection of values returned by getVolume.

func LookupVolume

func LookupVolume(ctx *pulumi.Context, args *LookupVolumeArgs, opts ...pulumi.InvokeOption) (*LookupVolumeResult, error)

Data Source schema for Byteplus::StorageEBS::Volume

type LookupVolumeResultOutput

type LookupVolumeResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getVolume.

func (LookupVolumeResultOutput) AutoSnapshotPolicyId

func (o LookupVolumeResultOutput) AutoSnapshotPolicyId() pulumi.StringOutput

Automatic snapshot policy ID.

func (LookupVolumeResultOutput) AutoSnapshotPolicyName

func (o LookupVolumeResultOutput) AutoSnapshotPolicyName() pulumi.StringOutput

Automatic snapshot policy name.

func (LookupVolumeResultOutput) BaselinePerformance

Baseline performance.

func (LookupVolumeResultOutput) CreatedAt

Disk creation time.

func (LookupVolumeResultOutput) DeleteWithInstance

func (o LookupVolumeResultOutput) DeleteWithInstance() pulumi.BoolOutput

When releasing the instance, specify whether the disk is released along with the instance. Value description: true: The disk is released with the instance. false: The disk is not released with the instance.

func (LookupVolumeResultOutput) Description

Disk description. Default is empty. Length must be between 1 and 255 characters.

func (LookupVolumeResultOutput) DeviceName

Device name

func (LookupVolumeResultOutput) ElementType

func (LookupVolumeResultOutput) ElementType() reflect.Type

func (LookupVolumeResultOutput) ErrorDetail

Specific error

func (LookupVolumeResultOutput) ExpiredTime

Expiration time for yearly/monthly subscription.

func (LookupVolumeResultOutput) ExtraPerformance

Extra performance.

func (LookupVolumeResultOutput) Id

Uniquely identifies the resource.

func (LookupVolumeResultOutput) ImageId

Image ID in the disk.

func (LookupVolumeResultOutput) InstanceId

ECS instance ID mounted when creating the cloud disk.

func (LookupVolumeResultOutput) Kind

Disk attribute. data indicates a data disk. The default value is data. Note: Only data disks can be created.

func (LookupVolumeResultOutput) OverdueReclaimTime

func (o LookupVolumeResultOutput) OverdueReclaimTime() pulumi.StringOutput

Disk overdue reclamation time.

func (LookupVolumeResultOutput) OverdueTime

Disk overdue shutdown time.

func (LookupVolumeResultOutput) PayType

Payment type. Description: Pre: Prepaid (annual/monthly). Post: Postpaid (pay-as-you-go).

func (LookupVolumeResultOutput) ProjectName

Project name to which the disk will be added.

func (LookupVolumeResultOutput) RenewType

Renewal method 1: Manual renewal 2: Automatic renewal 3: Do not renew upon expiration.

func (LookupVolumeResultOutput) Size

Size: data disk capacity in GiB. The capacity ranges for different types of data disks are as follows: ESSD*PL0: 10~65536 GiB; ESSD*FlexPL: 10~65536 GiB; TSSD_TL0: 40~65536 GiB

func (LookupVolumeResultOutput) SnapshotCount

func (o LookupVolumeResultOutput) SnapshotCount() pulumi.Float64Output

Snapshot count.

func (LookupVolumeResultOutput) SourceSnapshotId

func (o LookupVolumeResultOutput) SourceSnapshotId() pulumi.StringOutput

Source snapshot.

func (LookupVolumeResultOutput) Status

Disk status. Value description: available: Available. mounting: Mounting. mounted: Mounted. unmounting: Unmounting. creating: Creating. deleting: Deleting. error: Error. expanding: Expanding.

func (LookupVolumeResultOutput) Tags

Disk tag information.

func (LookupVolumeResultOutput) ToLookupVolumeResultOutput

func (o LookupVolumeResultOutput) ToLookupVolumeResultOutput() LookupVolumeResultOutput

func (LookupVolumeResultOutput) ToLookupVolumeResultOutputWithContext

func (o LookupVolumeResultOutput) ToLookupVolumeResultOutputWithContext(ctx context.Context) LookupVolumeResultOutput

func (LookupVolumeResultOutput) TotalPerformance

Total performance.

func (LookupVolumeResultOutput) TradeStatus

Transaction status 0: Creating 1: Running 2: Creation failed

func (LookupVolumeResultOutput) UpdatedAt

Disk update time.

func (LookupVolumeResultOutput) VolumeId

Disk ID.

func (LookupVolumeResultOutput) VolumeName

Disk display name. Naming rules: The first character must be a Chinese character, a letter, or an underscore (*). Can contain Chinese characters, letters, numbers, underscores (*), or hyphens (-). Length must be between 1 and 128 characters.

func (LookupVolumeResultOutput) VolumeType

Disk type. Value description: ESSD*PL0: Ultra-fast SSD disk, PL0 specification. ESSD*FlexPL: Ultra-fast SSD disk, FlexPL specification. TSSD_TL0: Throughput SSD disk.

func (LookupVolumeResultOutput) ZoneId

Availability zone ID.

type Snapshot added in v0.0.6

type Snapshot struct {
	pulumi.CustomResourceState

	// Snapshot creation time.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// Snapshot description. Default is empty. Length must be between 0 and 255 characters.
	Description pulumi.StringOutput `pulumi:"description"`
	// Image ID
	ImageId pulumi.StringOutput `pulumi:"imageId"`
	// Whether the snapshot has enabled ultra-fast availability. Value options: true: ultra-fast availability enabled. false: ultra-fast availability not enabled.
	InstantAccess pulumi.BoolOutput `pulumi:"instantAccess"`
	// Snapshot dump progress.
	Progress pulumi.IntOutput `pulumi:"progress"`
	// Name of the Project to which the snapshot will be added. Note: snapshots do not inherit the project of the cloud disk, so snapshots and cloud disks can belong to different projects. If you do not set ProjectName when creating the snapshot, it will be added to the default project.
	ProjectName pulumi.StringOutput `pulumi:"projectName"`
	// Snapshot retention period, in days. Value options: empty: retain snapshot permanently. 1~65536: specify retention days. Default is empty, which means retain snapshot permanently. Snapshot retention period is calculated from the snapshot creation time.
	RetentionDays pulumi.IntOutput `pulumi:"retentionDays"`
	// Whether the snapshot is shared.
	Shared pulumi.BoolOutput `pulumi:"shared"`
	// Snapshot consistency group ID.
	SnapshotGroupId pulumi.StringOutput `pulumi:"snapshotGroupId"`
	// Snapshot ID.
	SnapshotId pulumi.StringOutput `pulumi:"snapshotId"`
	// Name of the created snapshot. Naming rules: length must be between 1 and 128 characters. Only Chinese characters, letters, numbers, underscores (_), hyphens (-), and periods (.) are allowed. To avoid conflicts with automatic snapshot names, the name cannot start with 'auto'.
	SnapshotName pulumi.StringOutput `pulumi:"snapshotName"`
	// Snapshot type. The available values are: user: query manual snapshots. auto: query automatic snapshots. share: query shared snapshots. By default, all snapshots are queried.
	SnapshotType pulumi.StringOutput `pulumi:"snapshotType"`
	// Snapshot status. Value options: available: available. creating: creating. rollbacking: rolling back. deleted: deleted. failed: error.
	Status pulumi.StringOutput `pulumi:"status"`
	// Snapshot tag information.
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Tags SnapshotTagArrayOutput `pulumi:"tags"`
	// Cloud disk ID associated with the snapshot.
	VolumeId pulumi.StringOutput `pulumi:"volumeId"`
	// Cloud disk category. Value options: system: system disk. data: data disk.
	VolumeKind pulumi.StringOutput `pulumi:"volumeKind"`
	// Cloud disk name.
	VolumeName pulumi.StringOutput `pulumi:"volumeName"`
	// Cloud disk size, in GiB.
	VolumeSize pulumi.IntOutput `pulumi:"volumeSize"`
	// Cloud disk status. Value options: available: available, attaching: attaching, attached: attached, detaching: detaching, creating: creating, deleting: deleting, error: error, extending: expanding, "": cloud disk deleted.
	VolumeStatus pulumi.StringOutput `pulumi:"volumeStatus"`
	// Cloud disk type. Value options: ESSD*PL0: Ultra-fast SSD cloud disk, PL0 specification. ESSD*FlexPL: Ultra-fast SSD cloud disk, FlexPL specification. TSSD_TL0: Throughput SSD cloud disk
	VolumeType pulumi.StringOutput `pulumi:"volumeType"`
	// Availability zone ID where the snapshot is located.
	ZoneId pulumi.StringOutput `pulumi:"zoneId"`
}

A snapshot is a backup method. Each snapshot is a backup file of cloud disk data at a specific point in time. When data is lost or a failure occurs, you can roll back cloud disk data using the snapshot to recover lost data.

## Example Usage

```go package main

import (

"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/storageebs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := storageebs.NewSnapshot(ctx, "StorageEBSSnapshotDemo", &storageebs.SnapshotArgs{
			VolumeId:     pulumi.String("vol-3wt6pip1dy3qu*****"),
			SnapshotName: pulumi.String("StorageEBSSnapshotDemo"),
			Description:  pulumi.String("StorageEBSSnapshotDemo description"),
			ProjectName:  pulumi.String("default"),
			Tags: storageebs.SnapshotTagArray{
				&storageebs.SnapshotTagArgs{
					Key:   pulumi.String("env"),
					Value: pulumi.String("test"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import bytepluscc:storageebs/snapshot:Snapshot example "snapshot_id" ```

func GetSnapshot added in v0.0.6

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 added in v0.0.6

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 added in v0.0.6

func (*Snapshot) ElementType() reflect.Type

func (*Snapshot) ToSnapshotOutput added in v0.0.6

func (i *Snapshot) ToSnapshotOutput() SnapshotOutput

func (*Snapshot) ToSnapshotOutputWithContext added in v0.0.6

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

type SnapshotArgs added in v0.0.6

type SnapshotArgs struct {
	// Snapshot description. Default is empty. Length must be between 0 and 255 characters.
	Description pulumi.StringPtrInput
	// Name of the Project to which the snapshot will be added. Note: snapshots do not inherit the project of the cloud disk, so snapshots and cloud disks can belong to different projects. If you do not set ProjectName when creating the snapshot, it will be added to the default project.
	ProjectName pulumi.StringPtrInput
	// Snapshot retention period, in days. Value options: empty: retain snapshot permanently. 1~65536: specify retention days. Default is empty, which means retain snapshot permanently. Snapshot retention period is calculated from the snapshot creation time.
	RetentionDays pulumi.IntPtrInput
	// Name of the created snapshot. Naming rules: length must be between 1 and 128 characters. Only Chinese characters, letters, numbers, underscores (_), hyphens (-), and periods (.) are allowed. To avoid conflicts with automatic snapshot names, the name cannot start with 'auto'.
	SnapshotName pulumi.StringInput
	// Snapshot tag information.
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Tags SnapshotTagArrayInput
	// Cloud disk ID associated with the snapshot.
	VolumeId pulumi.StringInput
}

The set of arguments for constructing a Snapshot resource.

func (SnapshotArgs) ElementType added in v0.0.6

func (SnapshotArgs) ElementType() reflect.Type

type SnapshotArray added in v0.0.6

type SnapshotArray []SnapshotInput

func (SnapshotArray) ElementType added in v0.0.6

func (SnapshotArray) ElementType() reflect.Type

func (SnapshotArray) ToSnapshotArrayOutput added in v0.0.6

func (i SnapshotArray) ToSnapshotArrayOutput() SnapshotArrayOutput

func (SnapshotArray) ToSnapshotArrayOutputWithContext added in v0.0.6

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

type SnapshotArrayInput added in v0.0.6

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 added in v0.0.6

type SnapshotArrayOutput struct{ *pulumi.OutputState }

func (SnapshotArrayOutput) ElementType added in v0.0.6

func (SnapshotArrayOutput) ElementType() reflect.Type

func (SnapshotArrayOutput) Index added in v0.0.6

func (SnapshotArrayOutput) ToSnapshotArrayOutput added in v0.0.6

func (o SnapshotArrayOutput) ToSnapshotArrayOutput() SnapshotArrayOutput

func (SnapshotArrayOutput) ToSnapshotArrayOutputWithContext added in v0.0.6

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

type SnapshotGroup added in v0.0.24

type SnapshotGroup struct {
	pulumi.CustomResourceState

	// Snapshot consistency group creation time
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// Snapshot consistency group description
	Description pulumi.StringOutput `pulumi:"description"`
	// Image ID of the snapshot consistency group
	ImageId pulumi.StringOutput `pulumi:"imageId"`
	// ECS instance ID of the snapshot consistency group
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// Snapshot consistency group name
	Name pulumi.StringOutput `pulumi:"name"`
	// Project name
	ProjectName pulumi.StringOutput `pulumi:"projectName"`
	// Snapshot consistency group ID
	SnapshotGroupId pulumi.StringOutput `pulumi:"snapshotGroupId"`
	// Snapshot details
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Snapshots SnapshotGroupSnapshotArrayOutput `pulumi:"snapshots"`
	// Snapshot consistency group status
	Status pulumi.StringOutput `pulumi:"status"`
	// Tags of the snapshot consistency group
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Tags SnapshotGroupTagArrayOutput `pulumi:"tags"`
	// Cloud disk ID. Note: The cloud disk must be in 'attached' status. If multiple cloud disks are set, they must be attached to the same ECS instance
	VolumeIds pulumi.StringArrayOutput `pulumi:"volumeIds"`
}

A snapshot consistency group is a combination of snapshots from multiple cloud disks. In scenarios where business systems span multiple cloud disks, you can use a snapshot consistency group to ensure write order consistency and crash consistency for data written to the disks

## Example Usage

```go package main

import (

"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/storageebs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := storageebs.NewSnapshotGroup(ctx, "StorageEBSSnapshotGroupDemo", &storageebs.SnapshotGroupArgs{
			Name:        pulumi.String("ccapi-test"),
			ProjectName: pulumi.String("default"),
			Description: pulumi.String("this-is_test"),
			InstanceId:  pulumi.String("i-yekg7jsw00bw8xxxxx"),
			VolumeIds: pulumi.StringArray{
				pulumi.String("vol-3x1q75ir0t4qbgxxxxx"),
				pulumi.String("vol-3x1q75ir0t4qbgxxxxx"),
				pulumi.String("vol-3x1q75ir0t4qbgxxxxx"),
				pulumi.String("vol-3x1q75ir0t4qbghxxxxx"),
			},
			Tags: storageebs.SnapshotGroupTagArray{
				&storageebs.SnapshotGroupTagArgs{
					Key:   pulumi.String("env"),
					Value: pulumi.String("test"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import bytepluscc:storageebs/snapshotGroup:SnapshotGroup example "snapshot_group_id" ```

func GetSnapshotGroup added in v0.0.24

func GetSnapshotGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SnapshotGroupState, opts ...pulumi.ResourceOption) (*SnapshotGroup, error)

GetSnapshotGroup gets an existing SnapshotGroup 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 NewSnapshotGroup added in v0.0.24

func NewSnapshotGroup(ctx *pulumi.Context,
	name string, args *SnapshotGroupArgs, opts ...pulumi.ResourceOption) (*SnapshotGroup, error)

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

func (*SnapshotGroup) ElementType added in v0.0.24

func (*SnapshotGroup) ElementType() reflect.Type

func (*SnapshotGroup) ToSnapshotGroupOutput added in v0.0.24

func (i *SnapshotGroup) ToSnapshotGroupOutput() SnapshotGroupOutput

func (*SnapshotGroup) ToSnapshotGroupOutputWithContext added in v0.0.24

func (i *SnapshotGroup) ToSnapshotGroupOutputWithContext(ctx context.Context) SnapshotGroupOutput

type SnapshotGroupArgs added in v0.0.24

type SnapshotGroupArgs struct {
	// Snapshot consistency group description
	Description pulumi.StringPtrInput
	// ECS instance ID of the snapshot consistency group
	InstanceId pulumi.StringPtrInput
	// Snapshot consistency group name
	Name pulumi.StringPtrInput
	// Project name
	ProjectName pulumi.StringPtrInput
	// Tags of the snapshot consistency group
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Tags SnapshotGroupTagArrayInput
	// Cloud disk ID. Note: The cloud disk must be in 'attached' status. If multiple cloud disks are set, they must be attached to the same ECS instance
	VolumeIds pulumi.StringArrayInput
}

The set of arguments for constructing a SnapshotGroup resource.

func (SnapshotGroupArgs) ElementType added in v0.0.24

func (SnapshotGroupArgs) ElementType() reflect.Type

type SnapshotGroupArray added in v0.0.24

type SnapshotGroupArray []SnapshotGroupInput

func (SnapshotGroupArray) ElementType added in v0.0.24

func (SnapshotGroupArray) ElementType() reflect.Type

func (SnapshotGroupArray) ToSnapshotGroupArrayOutput added in v0.0.24

func (i SnapshotGroupArray) ToSnapshotGroupArrayOutput() SnapshotGroupArrayOutput

func (SnapshotGroupArray) ToSnapshotGroupArrayOutputWithContext added in v0.0.24

func (i SnapshotGroupArray) ToSnapshotGroupArrayOutputWithContext(ctx context.Context) SnapshotGroupArrayOutput

type SnapshotGroupArrayInput added in v0.0.24

type SnapshotGroupArrayInput interface {
	pulumi.Input

	ToSnapshotGroupArrayOutput() SnapshotGroupArrayOutput
	ToSnapshotGroupArrayOutputWithContext(context.Context) SnapshotGroupArrayOutput
}

SnapshotGroupArrayInput is an input type that accepts SnapshotGroupArray and SnapshotGroupArrayOutput values. You can construct a concrete instance of `SnapshotGroupArrayInput` via:

SnapshotGroupArray{ SnapshotGroupArgs{...} }

type SnapshotGroupArrayOutput added in v0.0.24

type SnapshotGroupArrayOutput struct{ *pulumi.OutputState }

func (SnapshotGroupArrayOutput) ElementType added in v0.0.24

func (SnapshotGroupArrayOutput) ElementType() reflect.Type

func (SnapshotGroupArrayOutput) Index added in v0.0.24

func (SnapshotGroupArrayOutput) ToSnapshotGroupArrayOutput added in v0.0.24

func (o SnapshotGroupArrayOutput) ToSnapshotGroupArrayOutput() SnapshotGroupArrayOutput

func (SnapshotGroupArrayOutput) ToSnapshotGroupArrayOutputWithContext added in v0.0.24

func (o SnapshotGroupArrayOutput) ToSnapshotGroupArrayOutputWithContext(ctx context.Context) SnapshotGroupArrayOutput

type SnapshotGroupInput added in v0.0.24

type SnapshotGroupInput interface {
	pulumi.Input

	ToSnapshotGroupOutput() SnapshotGroupOutput
	ToSnapshotGroupOutputWithContext(ctx context.Context) SnapshotGroupOutput
}

type SnapshotGroupMap added in v0.0.24

type SnapshotGroupMap map[string]SnapshotGroupInput

func (SnapshotGroupMap) ElementType added in v0.0.24

func (SnapshotGroupMap) ElementType() reflect.Type

func (SnapshotGroupMap) ToSnapshotGroupMapOutput added in v0.0.24

func (i SnapshotGroupMap) ToSnapshotGroupMapOutput() SnapshotGroupMapOutput

func (SnapshotGroupMap) ToSnapshotGroupMapOutputWithContext added in v0.0.24

func (i SnapshotGroupMap) ToSnapshotGroupMapOutputWithContext(ctx context.Context) SnapshotGroupMapOutput

type SnapshotGroupMapInput added in v0.0.24

type SnapshotGroupMapInput interface {
	pulumi.Input

	ToSnapshotGroupMapOutput() SnapshotGroupMapOutput
	ToSnapshotGroupMapOutputWithContext(context.Context) SnapshotGroupMapOutput
}

SnapshotGroupMapInput is an input type that accepts SnapshotGroupMap and SnapshotGroupMapOutput values. You can construct a concrete instance of `SnapshotGroupMapInput` via:

SnapshotGroupMap{ "key": SnapshotGroupArgs{...} }

type SnapshotGroupMapOutput added in v0.0.24

type SnapshotGroupMapOutput struct{ *pulumi.OutputState }

func (SnapshotGroupMapOutput) ElementType added in v0.0.24

func (SnapshotGroupMapOutput) ElementType() reflect.Type

func (SnapshotGroupMapOutput) MapIndex added in v0.0.24

func (SnapshotGroupMapOutput) ToSnapshotGroupMapOutput added in v0.0.24

func (o SnapshotGroupMapOutput) ToSnapshotGroupMapOutput() SnapshotGroupMapOutput

func (SnapshotGroupMapOutput) ToSnapshotGroupMapOutputWithContext added in v0.0.24

func (o SnapshotGroupMapOutput) ToSnapshotGroupMapOutputWithContext(ctx context.Context) SnapshotGroupMapOutput

type SnapshotGroupOutput added in v0.0.24

type SnapshotGroupOutput struct{ *pulumi.OutputState }

func (SnapshotGroupOutput) CreationTime added in v0.0.24

func (o SnapshotGroupOutput) CreationTime() pulumi.StringOutput

Snapshot consistency group creation time

func (SnapshotGroupOutput) Description added in v0.0.24

func (o SnapshotGroupOutput) Description() pulumi.StringOutput

Snapshot consistency group description

func (SnapshotGroupOutput) ElementType added in v0.0.24

func (SnapshotGroupOutput) ElementType() reflect.Type

func (SnapshotGroupOutput) ImageId added in v0.0.24

Image ID of the snapshot consistency group

func (SnapshotGroupOutput) InstanceId added in v0.0.24

func (o SnapshotGroupOutput) InstanceId() pulumi.StringOutput

ECS instance ID of the snapshot consistency group

func (SnapshotGroupOutput) Name added in v0.0.24

Snapshot consistency group name

func (SnapshotGroupOutput) ProjectName added in v0.0.24

func (o SnapshotGroupOutput) ProjectName() pulumi.StringOutput

Project name

func (SnapshotGroupOutput) SnapshotGroupId added in v0.0.24

func (o SnapshotGroupOutput) SnapshotGroupId() pulumi.StringOutput

Snapshot consistency group ID

func (SnapshotGroupOutput) Snapshots added in v0.0.24

Snapshot details Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

func (SnapshotGroupOutput) Status added in v0.0.24

Snapshot consistency group status

func (SnapshotGroupOutput) Tags added in v0.0.24

Tags of the snapshot consistency group Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

func (SnapshotGroupOutput) ToSnapshotGroupOutput added in v0.0.24

func (o SnapshotGroupOutput) ToSnapshotGroupOutput() SnapshotGroupOutput

func (SnapshotGroupOutput) ToSnapshotGroupOutputWithContext added in v0.0.24

func (o SnapshotGroupOutput) ToSnapshotGroupOutputWithContext(ctx context.Context) SnapshotGroupOutput

func (SnapshotGroupOutput) VolumeIds added in v0.0.24

Cloud disk ID. Note: The cloud disk must be in 'attached' status. If multiple cloud disks are set, they must be attached to the same ECS instance

type SnapshotGroupSnapshot added in v0.0.24

type SnapshotGroupSnapshot struct {
	// Snapshot creation time
	CreationTime *string `pulumi:"creationTime"`
	// Snapshot description
	Description *string `pulumi:"description"`
	// Image ID
	ImageId *string `pulumi:"imageId"`
	// Whether the snapshot has enabled ultra-fast availability. Values are as follows:   - true: Ultra-fast availability enabled   - false: Ultra-fast availability not enabled
	InstantAccess *bool `pulumi:"instantAccess"`
	// Dump progress
	Progress *int `pulumi:"progress"`
	// Project of the snapshot
	ProjectName *string `pulumi:"projectName"`
	// Retention days for automatic snapshots
	RetentionDays *int `pulumi:"retentionDays"`
	// Whether the snapshot is shared with others. Values are as follows:   - true: Snapshot is shared with others   - false: Snapshot is not shared with others
	Shared *bool `pulumi:"shared"`
	// Snapshot consistency group ID
	SnapshotGroupId *string `pulumi:"snapshotGroupId"`
	// Snapshot ID
	SnapshotId *string `pulumi:"snapshotId"`
	// Snapshot name
	SnapshotName *string `pulumi:"snapshotName"`
	// Snapshot type. Values are as follows:   - user: Manual snapshot   - auto: Automatic snapshot
	SnapshotType *string `pulumi:"snapshotType"`
	// Snapshot status. Values are as follows:   - available: Available   - creating: Creating   - rollbacking: Rolling back   - deleted: Deleted   - failed: Error
	Status *string `pulumi:"status"`
	// Tag information
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Tags []SnapshotGroupSnapshotTag `pulumi:"tags"`
	// Cloud disk ID
	VolumeId *string `pulumi:"volumeId"`
	// Cloud disk category. Values are as follows:   - system: System disk   - data: Data disk
	VolumeKind *string `pulumi:"volumeKind"`
	// Cloud disk name
	VolumeName *string `pulumi:"volumeName"`
	// Cloud disk size (GiB)
	VolumeSize *int `pulumi:"volumeSize"`
	// Cloud disk status. Values are as follows:   - available: Available   - attaching: Attaching   - attached: Attached   - detaching: Detaching   - creating: Creating   - deleting: Deleting   - error: Error   - extending: Expanding
	VolumeStatus *string `pulumi:"volumeStatus"`
	// Cloud disk type. Values are as follows:   - ESSD*PL0: Ultra-fast SSD cloud disk, PL0 specification   - ESSD*FlexPL: Ultra-fast SSD cloud disk, FlexPL specification   - TSSD_TL0: Throughput SSD cloud disk
	VolumeType *string `pulumi:"volumeType"`
	// Zone ID. If ultra-fast availability is enabled for the snapshot, you can create a cloud disk in this zone using the ultra-fast available snapshot
	ZoneId *string `pulumi:"zoneId"`
}

type SnapshotGroupSnapshotArgs added in v0.0.24

type SnapshotGroupSnapshotArgs struct {
	// Snapshot creation time
	CreationTime pulumi.StringPtrInput `pulumi:"creationTime"`
	// Snapshot description
	Description pulumi.StringPtrInput `pulumi:"description"`
	// Image ID
	ImageId pulumi.StringPtrInput `pulumi:"imageId"`
	// Whether the snapshot has enabled ultra-fast availability. Values are as follows:   - true: Ultra-fast availability enabled   - false: Ultra-fast availability not enabled
	InstantAccess pulumi.BoolPtrInput `pulumi:"instantAccess"`
	// Dump progress
	Progress pulumi.IntPtrInput `pulumi:"progress"`
	// Project of the snapshot
	ProjectName pulumi.StringPtrInput `pulumi:"projectName"`
	// Retention days for automatic snapshots
	RetentionDays pulumi.IntPtrInput `pulumi:"retentionDays"`
	// Whether the snapshot is shared with others. Values are as follows:   - true: Snapshot is shared with others   - false: Snapshot is not shared with others
	Shared pulumi.BoolPtrInput `pulumi:"shared"`
	// Snapshot consistency group ID
	SnapshotGroupId pulumi.StringPtrInput `pulumi:"snapshotGroupId"`
	// Snapshot ID
	SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"`
	// Snapshot name
	SnapshotName pulumi.StringPtrInput `pulumi:"snapshotName"`
	// Snapshot type. Values are as follows:   - user: Manual snapshot   - auto: Automatic snapshot
	SnapshotType pulumi.StringPtrInput `pulumi:"snapshotType"`
	// Snapshot status. Values are as follows:   - available: Available   - creating: Creating   - rollbacking: Rolling back   - deleted: Deleted   - failed: Error
	Status pulumi.StringPtrInput `pulumi:"status"`
	// Tag information
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Tags SnapshotGroupSnapshotTagArrayInput `pulumi:"tags"`
	// Cloud disk ID
	VolumeId pulumi.StringPtrInput `pulumi:"volumeId"`
	// Cloud disk category. Values are as follows:   - system: System disk   - data: Data disk
	VolumeKind pulumi.StringPtrInput `pulumi:"volumeKind"`
	// Cloud disk name
	VolumeName pulumi.StringPtrInput `pulumi:"volumeName"`
	// Cloud disk size (GiB)
	VolumeSize pulumi.IntPtrInput `pulumi:"volumeSize"`
	// Cloud disk status. Values are as follows:   - available: Available   - attaching: Attaching   - attached: Attached   - detaching: Detaching   - creating: Creating   - deleting: Deleting   - error: Error   - extending: Expanding
	VolumeStatus pulumi.StringPtrInput `pulumi:"volumeStatus"`
	// Cloud disk type. Values are as follows:   - ESSD*PL0: Ultra-fast SSD cloud disk, PL0 specification   - ESSD*FlexPL: Ultra-fast SSD cloud disk, FlexPL specification   - TSSD_TL0: Throughput SSD cloud disk
	VolumeType pulumi.StringPtrInput `pulumi:"volumeType"`
	// Zone ID. If ultra-fast availability is enabled for the snapshot, you can create a cloud disk in this zone using the ultra-fast available snapshot
	ZoneId pulumi.StringPtrInput `pulumi:"zoneId"`
}

func (SnapshotGroupSnapshotArgs) ElementType added in v0.0.24

func (SnapshotGroupSnapshotArgs) ElementType() reflect.Type

func (SnapshotGroupSnapshotArgs) ToSnapshotGroupSnapshotOutput added in v0.0.24

func (i SnapshotGroupSnapshotArgs) ToSnapshotGroupSnapshotOutput() SnapshotGroupSnapshotOutput

func (SnapshotGroupSnapshotArgs) ToSnapshotGroupSnapshotOutputWithContext added in v0.0.24

func (i SnapshotGroupSnapshotArgs) ToSnapshotGroupSnapshotOutputWithContext(ctx context.Context) SnapshotGroupSnapshotOutput

type SnapshotGroupSnapshotArray added in v0.0.24

type SnapshotGroupSnapshotArray []SnapshotGroupSnapshotInput

func (SnapshotGroupSnapshotArray) ElementType added in v0.0.24

func (SnapshotGroupSnapshotArray) ElementType() reflect.Type

func (SnapshotGroupSnapshotArray) ToSnapshotGroupSnapshotArrayOutput added in v0.0.24

func (i SnapshotGroupSnapshotArray) ToSnapshotGroupSnapshotArrayOutput() SnapshotGroupSnapshotArrayOutput

func (SnapshotGroupSnapshotArray) ToSnapshotGroupSnapshotArrayOutputWithContext added in v0.0.24

func (i SnapshotGroupSnapshotArray) ToSnapshotGroupSnapshotArrayOutputWithContext(ctx context.Context) SnapshotGroupSnapshotArrayOutput

type SnapshotGroupSnapshotArrayInput added in v0.0.24

type SnapshotGroupSnapshotArrayInput interface {
	pulumi.Input

	ToSnapshotGroupSnapshotArrayOutput() SnapshotGroupSnapshotArrayOutput
	ToSnapshotGroupSnapshotArrayOutputWithContext(context.Context) SnapshotGroupSnapshotArrayOutput
}

SnapshotGroupSnapshotArrayInput is an input type that accepts SnapshotGroupSnapshotArray and SnapshotGroupSnapshotArrayOutput values. You can construct a concrete instance of `SnapshotGroupSnapshotArrayInput` via:

SnapshotGroupSnapshotArray{ SnapshotGroupSnapshotArgs{...} }

type SnapshotGroupSnapshotArrayOutput added in v0.0.24

type SnapshotGroupSnapshotArrayOutput struct{ *pulumi.OutputState }

func (SnapshotGroupSnapshotArrayOutput) ElementType added in v0.0.24

func (SnapshotGroupSnapshotArrayOutput) Index added in v0.0.24

func (SnapshotGroupSnapshotArrayOutput) ToSnapshotGroupSnapshotArrayOutput added in v0.0.24

func (o SnapshotGroupSnapshotArrayOutput) ToSnapshotGroupSnapshotArrayOutput() SnapshotGroupSnapshotArrayOutput

func (SnapshotGroupSnapshotArrayOutput) ToSnapshotGroupSnapshotArrayOutputWithContext added in v0.0.24

func (o SnapshotGroupSnapshotArrayOutput) ToSnapshotGroupSnapshotArrayOutputWithContext(ctx context.Context) SnapshotGroupSnapshotArrayOutput

type SnapshotGroupSnapshotInput added in v0.0.24

type SnapshotGroupSnapshotInput interface {
	pulumi.Input

	ToSnapshotGroupSnapshotOutput() SnapshotGroupSnapshotOutput
	ToSnapshotGroupSnapshotOutputWithContext(context.Context) SnapshotGroupSnapshotOutput
}

SnapshotGroupSnapshotInput is an input type that accepts SnapshotGroupSnapshotArgs and SnapshotGroupSnapshotOutput values. You can construct a concrete instance of `SnapshotGroupSnapshotInput` via:

SnapshotGroupSnapshotArgs{...}

type SnapshotGroupSnapshotOutput added in v0.0.24

type SnapshotGroupSnapshotOutput struct{ *pulumi.OutputState }

func (SnapshotGroupSnapshotOutput) CreationTime added in v0.0.24

Snapshot creation time

func (SnapshotGroupSnapshotOutput) Description added in v0.0.24

Snapshot description

func (SnapshotGroupSnapshotOutput) ElementType added in v0.0.24

func (SnapshotGroupSnapshotOutput) ImageId added in v0.0.24

Image ID

func (SnapshotGroupSnapshotOutput) InstantAccess added in v0.0.24

Whether the snapshot has enabled ultra-fast availability. Values are as follows: - true: Ultra-fast availability enabled - false: Ultra-fast availability not enabled

func (SnapshotGroupSnapshotOutput) Progress added in v0.0.24

Dump progress

func (SnapshotGroupSnapshotOutput) ProjectName added in v0.0.24

Project of the snapshot

func (SnapshotGroupSnapshotOutput) RetentionDays added in v0.0.24

Retention days for automatic snapshots

func (SnapshotGroupSnapshotOutput) Shared added in v0.0.24

Whether the snapshot is shared with others. Values are as follows: - true: Snapshot is shared with others - false: Snapshot is not shared with others

func (SnapshotGroupSnapshotOutput) SnapshotGroupId added in v0.0.24

Snapshot consistency group ID

func (SnapshotGroupSnapshotOutput) SnapshotId added in v0.0.24

Snapshot ID

func (SnapshotGroupSnapshotOutput) SnapshotName added in v0.0.24

Snapshot name

func (SnapshotGroupSnapshotOutput) SnapshotType added in v0.0.24

Snapshot type. Values are as follows: - user: Manual snapshot - auto: Automatic snapshot

func (SnapshotGroupSnapshotOutput) Status added in v0.0.24

Snapshot status. Values are as follows: - available: Available - creating: Creating - rollbacking: Rolling back - deleted: Deleted - failed: Error

func (SnapshotGroupSnapshotOutput) Tags added in v0.0.24

Tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

func (SnapshotGroupSnapshotOutput) ToSnapshotGroupSnapshotOutput added in v0.0.24

func (o SnapshotGroupSnapshotOutput) ToSnapshotGroupSnapshotOutput() SnapshotGroupSnapshotOutput

func (SnapshotGroupSnapshotOutput) ToSnapshotGroupSnapshotOutputWithContext added in v0.0.24

func (o SnapshotGroupSnapshotOutput) ToSnapshotGroupSnapshotOutputWithContext(ctx context.Context) SnapshotGroupSnapshotOutput

func (SnapshotGroupSnapshotOutput) VolumeId added in v0.0.24

Cloud disk ID

func (SnapshotGroupSnapshotOutput) VolumeKind added in v0.0.24

Cloud disk category. Values are as follows: - system: System disk - data: Data disk

func (SnapshotGroupSnapshotOutput) VolumeName added in v0.0.24

Cloud disk name

func (SnapshotGroupSnapshotOutput) VolumeSize added in v0.0.24

Cloud disk size (GiB)

func (SnapshotGroupSnapshotOutput) VolumeStatus added in v0.0.24

Cloud disk status. Values are as follows: - available: Available - attaching: Attaching - attached: Attached - detaching: Detaching - creating: Creating - deleting: Deleting - error: Error - extending: Expanding

func (SnapshotGroupSnapshotOutput) VolumeType added in v0.0.24

Cloud disk type. Values are as follows: - ESSD*PL0: Ultra-fast SSD cloud disk, PL0 specification - ESSD*FlexPL: Ultra-fast SSD cloud disk, FlexPL specification - TSSD_TL0: Throughput SSD cloud disk

func (SnapshotGroupSnapshotOutput) ZoneId added in v0.0.24

Zone ID. If ultra-fast availability is enabled for the snapshot, you can create a cloud disk in this zone using the ultra-fast available snapshot

type SnapshotGroupSnapshotTag added in v0.0.24

type SnapshotGroupSnapshotTag struct {
	// Tag key
	Key *string `pulumi:"key"`
	// Tag value
	Value *string `pulumi:"value"`
}

type SnapshotGroupSnapshotTagArgs added in v0.0.24

type SnapshotGroupSnapshotTagArgs struct {
	// Tag key
	Key pulumi.StringPtrInput `pulumi:"key"`
	// Tag value
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (SnapshotGroupSnapshotTagArgs) ElementType added in v0.0.24

func (SnapshotGroupSnapshotTagArgs) ToSnapshotGroupSnapshotTagOutput added in v0.0.24

func (i SnapshotGroupSnapshotTagArgs) ToSnapshotGroupSnapshotTagOutput() SnapshotGroupSnapshotTagOutput

func (SnapshotGroupSnapshotTagArgs) ToSnapshotGroupSnapshotTagOutputWithContext added in v0.0.24

func (i SnapshotGroupSnapshotTagArgs) ToSnapshotGroupSnapshotTagOutputWithContext(ctx context.Context) SnapshotGroupSnapshotTagOutput

type SnapshotGroupSnapshotTagArray added in v0.0.24

type SnapshotGroupSnapshotTagArray []SnapshotGroupSnapshotTagInput

func (SnapshotGroupSnapshotTagArray) ElementType added in v0.0.24

func (SnapshotGroupSnapshotTagArray) ToSnapshotGroupSnapshotTagArrayOutput added in v0.0.24

func (i SnapshotGroupSnapshotTagArray) ToSnapshotGroupSnapshotTagArrayOutput() SnapshotGroupSnapshotTagArrayOutput

func (SnapshotGroupSnapshotTagArray) ToSnapshotGroupSnapshotTagArrayOutputWithContext added in v0.0.24

func (i SnapshotGroupSnapshotTagArray) ToSnapshotGroupSnapshotTagArrayOutputWithContext(ctx context.Context) SnapshotGroupSnapshotTagArrayOutput

type SnapshotGroupSnapshotTagArrayInput added in v0.0.24

type SnapshotGroupSnapshotTagArrayInput interface {
	pulumi.Input

	ToSnapshotGroupSnapshotTagArrayOutput() SnapshotGroupSnapshotTagArrayOutput
	ToSnapshotGroupSnapshotTagArrayOutputWithContext(context.Context) SnapshotGroupSnapshotTagArrayOutput
}

SnapshotGroupSnapshotTagArrayInput is an input type that accepts SnapshotGroupSnapshotTagArray and SnapshotGroupSnapshotTagArrayOutput values. You can construct a concrete instance of `SnapshotGroupSnapshotTagArrayInput` via:

SnapshotGroupSnapshotTagArray{ SnapshotGroupSnapshotTagArgs{...} }

type SnapshotGroupSnapshotTagArrayOutput added in v0.0.24

type SnapshotGroupSnapshotTagArrayOutput struct{ *pulumi.OutputState }

func (SnapshotGroupSnapshotTagArrayOutput) ElementType added in v0.0.24

func (SnapshotGroupSnapshotTagArrayOutput) Index added in v0.0.24

func (SnapshotGroupSnapshotTagArrayOutput) ToSnapshotGroupSnapshotTagArrayOutput added in v0.0.24

func (o SnapshotGroupSnapshotTagArrayOutput) ToSnapshotGroupSnapshotTagArrayOutput() SnapshotGroupSnapshotTagArrayOutput

func (SnapshotGroupSnapshotTagArrayOutput) ToSnapshotGroupSnapshotTagArrayOutputWithContext added in v0.0.24

func (o SnapshotGroupSnapshotTagArrayOutput) ToSnapshotGroupSnapshotTagArrayOutputWithContext(ctx context.Context) SnapshotGroupSnapshotTagArrayOutput

type SnapshotGroupSnapshotTagInput added in v0.0.24

type SnapshotGroupSnapshotTagInput interface {
	pulumi.Input

	ToSnapshotGroupSnapshotTagOutput() SnapshotGroupSnapshotTagOutput
	ToSnapshotGroupSnapshotTagOutputWithContext(context.Context) SnapshotGroupSnapshotTagOutput
}

SnapshotGroupSnapshotTagInput is an input type that accepts SnapshotGroupSnapshotTagArgs and SnapshotGroupSnapshotTagOutput values. You can construct a concrete instance of `SnapshotGroupSnapshotTagInput` via:

SnapshotGroupSnapshotTagArgs{...}

type SnapshotGroupSnapshotTagOutput added in v0.0.24

type SnapshotGroupSnapshotTagOutput struct{ *pulumi.OutputState }

func (SnapshotGroupSnapshotTagOutput) ElementType added in v0.0.24

func (SnapshotGroupSnapshotTagOutput) Key added in v0.0.24

Tag key

func (SnapshotGroupSnapshotTagOutput) ToSnapshotGroupSnapshotTagOutput added in v0.0.24

func (o SnapshotGroupSnapshotTagOutput) ToSnapshotGroupSnapshotTagOutput() SnapshotGroupSnapshotTagOutput

func (SnapshotGroupSnapshotTagOutput) ToSnapshotGroupSnapshotTagOutputWithContext added in v0.0.24

func (o SnapshotGroupSnapshotTagOutput) ToSnapshotGroupSnapshotTagOutputWithContext(ctx context.Context) SnapshotGroupSnapshotTagOutput

func (SnapshotGroupSnapshotTagOutput) Value added in v0.0.24

Tag value

type SnapshotGroupState added in v0.0.24

type SnapshotGroupState struct {
	// Snapshot consistency group creation time
	CreationTime pulumi.StringPtrInput
	// Snapshot consistency group description
	Description pulumi.StringPtrInput
	// Image ID of the snapshot consistency group
	ImageId pulumi.StringPtrInput
	// ECS instance ID of the snapshot consistency group
	InstanceId pulumi.StringPtrInput
	// Snapshot consistency group name
	Name pulumi.StringPtrInput
	// Project name
	ProjectName pulumi.StringPtrInput
	// Snapshot consistency group ID
	SnapshotGroupId pulumi.StringPtrInput
	// Snapshot details
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Snapshots SnapshotGroupSnapshotArrayInput
	// Snapshot consistency group status
	Status pulumi.StringPtrInput
	// Tags of the snapshot consistency group
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Tags SnapshotGroupTagArrayInput
	// Cloud disk ID. Note: The cloud disk must be in 'attached' status. If multiple cloud disks are set, they must be attached to the same ECS instance
	VolumeIds pulumi.StringArrayInput
}

func (SnapshotGroupState) ElementType added in v0.0.24

func (SnapshotGroupState) ElementType() reflect.Type

type SnapshotGroupTag added in v0.0.24

type SnapshotGroupTag struct {
	// Tag key
	Key *string `pulumi:"key"`
	// Tag value
	Value *string `pulumi:"value"`
}

type SnapshotGroupTagArgs added in v0.0.24

type SnapshotGroupTagArgs struct {
	// Tag key
	Key pulumi.StringPtrInput `pulumi:"key"`
	// Tag value
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (SnapshotGroupTagArgs) ElementType added in v0.0.24

func (SnapshotGroupTagArgs) ElementType() reflect.Type

func (SnapshotGroupTagArgs) ToSnapshotGroupTagOutput added in v0.0.24

func (i SnapshotGroupTagArgs) ToSnapshotGroupTagOutput() SnapshotGroupTagOutput

func (SnapshotGroupTagArgs) ToSnapshotGroupTagOutputWithContext added in v0.0.24

func (i SnapshotGroupTagArgs) ToSnapshotGroupTagOutputWithContext(ctx context.Context) SnapshotGroupTagOutput

type SnapshotGroupTagArray added in v0.0.24

type SnapshotGroupTagArray []SnapshotGroupTagInput

func (SnapshotGroupTagArray) ElementType added in v0.0.24

func (SnapshotGroupTagArray) ElementType() reflect.Type

func (SnapshotGroupTagArray) ToSnapshotGroupTagArrayOutput added in v0.0.24

func (i SnapshotGroupTagArray) ToSnapshotGroupTagArrayOutput() SnapshotGroupTagArrayOutput

func (SnapshotGroupTagArray) ToSnapshotGroupTagArrayOutputWithContext added in v0.0.24

func (i SnapshotGroupTagArray) ToSnapshotGroupTagArrayOutputWithContext(ctx context.Context) SnapshotGroupTagArrayOutput

type SnapshotGroupTagArrayInput added in v0.0.24

type SnapshotGroupTagArrayInput interface {
	pulumi.Input

	ToSnapshotGroupTagArrayOutput() SnapshotGroupTagArrayOutput
	ToSnapshotGroupTagArrayOutputWithContext(context.Context) SnapshotGroupTagArrayOutput
}

SnapshotGroupTagArrayInput is an input type that accepts SnapshotGroupTagArray and SnapshotGroupTagArrayOutput values. You can construct a concrete instance of `SnapshotGroupTagArrayInput` via:

SnapshotGroupTagArray{ SnapshotGroupTagArgs{...} }

type SnapshotGroupTagArrayOutput added in v0.0.24

type SnapshotGroupTagArrayOutput struct{ *pulumi.OutputState }

func (SnapshotGroupTagArrayOutput) ElementType added in v0.0.24

func (SnapshotGroupTagArrayOutput) Index added in v0.0.24

func (SnapshotGroupTagArrayOutput) ToSnapshotGroupTagArrayOutput added in v0.0.24

func (o SnapshotGroupTagArrayOutput) ToSnapshotGroupTagArrayOutput() SnapshotGroupTagArrayOutput

func (SnapshotGroupTagArrayOutput) ToSnapshotGroupTagArrayOutputWithContext added in v0.0.24

func (o SnapshotGroupTagArrayOutput) ToSnapshotGroupTagArrayOutputWithContext(ctx context.Context) SnapshotGroupTagArrayOutput

type SnapshotGroupTagInput added in v0.0.24

type SnapshotGroupTagInput interface {
	pulumi.Input

	ToSnapshotGroupTagOutput() SnapshotGroupTagOutput
	ToSnapshotGroupTagOutputWithContext(context.Context) SnapshotGroupTagOutput
}

SnapshotGroupTagInput is an input type that accepts SnapshotGroupTagArgs and SnapshotGroupTagOutput values. You can construct a concrete instance of `SnapshotGroupTagInput` via:

SnapshotGroupTagArgs{...}

type SnapshotGroupTagOutput added in v0.0.24

type SnapshotGroupTagOutput struct{ *pulumi.OutputState }

func (SnapshotGroupTagOutput) ElementType added in v0.0.24

func (SnapshotGroupTagOutput) ElementType() reflect.Type

func (SnapshotGroupTagOutput) Key added in v0.0.24

Tag key

func (SnapshotGroupTagOutput) ToSnapshotGroupTagOutput added in v0.0.24

func (o SnapshotGroupTagOutput) ToSnapshotGroupTagOutput() SnapshotGroupTagOutput

func (SnapshotGroupTagOutput) ToSnapshotGroupTagOutputWithContext added in v0.0.24

func (o SnapshotGroupTagOutput) ToSnapshotGroupTagOutputWithContext(ctx context.Context) SnapshotGroupTagOutput

func (SnapshotGroupTagOutput) Value added in v0.0.24

Tag value

type SnapshotInput added in v0.0.6

type SnapshotInput interface {
	pulumi.Input

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

type SnapshotMap added in v0.0.6

type SnapshotMap map[string]SnapshotInput

func (SnapshotMap) ElementType added in v0.0.6

func (SnapshotMap) ElementType() reflect.Type

func (SnapshotMap) ToSnapshotMapOutput added in v0.0.6

func (i SnapshotMap) ToSnapshotMapOutput() SnapshotMapOutput

func (SnapshotMap) ToSnapshotMapOutputWithContext added in v0.0.6

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

type SnapshotMapInput added in v0.0.6

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 added in v0.0.6

type SnapshotMapOutput struct{ *pulumi.OutputState }

func (SnapshotMapOutput) ElementType added in v0.0.6

func (SnapshotMapOutput) ElementType() reflect.Type

func (SnapshotMapOutput) MapIndex added in v0.0.6

func (SnapshotMapOutput) ToSnapshotMapOutput added in v0.0.6

func (o SnapshotMapOutput) ToSnapshotMapOutput() SnapshotMapOutput

func (SnapshotMapOutput) ToSnapshotMapOutputWithContext added in v0.0.6

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

type SnapshotOutput added in v0.0.6

type SnapshotOutput struct{ *pulumi.OutputState }

func (SnapshotOutput) CreationTime added in v0.0.6

func (o SnapshotOutput) CreationTime() pulumi.StringOutput

Snapshot creation time.

func (SnapshotOutput) Description added in v0.0.6

func (o SnapshotOutput) Description() pulumi.StringOutput

Snapshot description. Default is empty. Length must be between 0 and 255 characters.

func (SnapshotOutput) ElementType added in v0.0.6

func (SnapshotOutput) ElementType() reflect.Type

func (SnapshotOutput) ImageId added in v0.0.6

func (o SnapshotOutput) ImageId() pulumi.StringOutput

Image ID

func (SnapshotOutput) InstantAccess added in v0.0.6

func (o SnapshotOutput) InstantAccess() pulumi.BoolOutput

Whether the snapshot has enabled ultra-fast availability. Value options: true: ultra-fast availability enabled. false: ultra-fast availability not enabled.

func (SnapshotOutput) Progress added in v0.0.6

func (o SnapshotOutput) Progress() pulumi.IntOutput

Snapshot dump progress.

func (SnapshotOutput) ProjectName added in v0.0.6

func (o SnapshotOutput) ProjectName() pulumi.StringOutput

Name of the Project to which the snapshot will be added. Note: snapshots do not inherit the project of the cloud disk, so snapshots and cloud disks can belong to different projects. If you do not set ProjectName when creating the snapshot, it will be added to the default project.

func (SnapshotOutput) RetentionDays added in v0.0.6

func (o SnapshotOutput) RetentionDays() pulumi.IntOutput

Snapshot retention period, in days. Value options: empty: retain snapshot permanently. 1~65536: specify retention days. Default is empty, which means retain snapshot permanently. Snapshot retention period is calculated from the snapshot creation time.

func (SnapshotOutput) Shared added in v0.0.6

func (o SnapshotOutput) Shared() pulumi.BoolOutput

Whether the snapshot is shared.

func (SnapshotOutput) SnapshotGroupId added in v0.0.6

func (o SnapshotOutput) SnapshotGroupId() pulumi.StringOutput

Snapshot consistency group ID.

func (SnapshotOutput) SnapshotId added in v0.0.6

func (o SnapshotOutput) SnapshotId() pulumi.StringOutput

Snapshot ID.

func (SnapshotOutput) SnapshotName added in v0.0.6

func (o SnapshotOutput) SnapshotName() pulumi.StringOutput

Name of the created snapshot. Naming rules: length must be between 1 and 128 characters. Only Chinese characters, letters, numbers, underscores (_), hyphens (-), and periods (.) are allowed. To avoid conflicts with automatic snapshot names, the name cannot start with 'auto'.

func (SnapshotOutput) SnapshotType added in v0.0.6

func (o SnapshotOutput) SnapshotType() pulumi.StringOutput

Snapshot type. The available values are: user: query manual snapshots. auto: query automatic snapshots. share: query shared snapshots. By default, all snapshots are queried.

func (SnapshotOutput) Status added in v0.0.6

func (o SnapshotOutput) Status() pulumi.StringOutput

Snapshot status. Value options: available: available. creating: creating. rollbacking: rolling back. deleted: deleted. failed: error.

func (SnapshotOutput) Tags added in v0.0.6

Snapshot tag information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

func (SnapshotOutput) ToSnapshotOutput added in v0.0.6

func (o SnapshotOutput) ToSnapshotOutput() SnapshotOutput

func (SnapshotOutput) ToSnapshotOutputWithContext added in v0.0.6

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

func (SnapshotOutput) VolumeId added in v0.0.6

func (o SnapshotOutput) VolumeId() pulumi.StringOutput

Cloud disk ID associated with the snapshot.

func (SnapshotOutput) VolumeKind added in v0.0.6

func (o SnapshotOutput) VolumeKind() pulumi.StringOutput

Cloud disk category. Value options: system: system disk. data: data disk.

func (SnapshotOutput) VolumeName added in v0.0.6

func (o SnapshotOutput) VolumeName() pulumi.StringOutput

Cloud disk name.

func (SnapshotOutput) VolumeSize added in v0.0.6

func (o SnapshotOutput) VolumeSize() pulumi.IntOutput

Cloud disk size, in GiB.

func (SnapshotOutput) VolumeStatus added in v0.0.6

func (o SnapshotOutput) VolumeStatus() pulumi.StringOutput

Cloud disk status. Value options: available: available, attaching: attaching, attached: attached, detaching: detaching, creating: creating, deleting: deleting, error: error, extending: expanding, "": cloud disk deleted.

func (SnapshotOutput) VolumeType added in v0.0.6

func (o SnapshotOutput) VolumeType() pulumi.StringOutput

Cloud disk type. Value options: ESSD*PL0: Ultra-fast SSD cloud disk, PL0 specification. ESSD*FlexPL: Ultra-fast SSD cloud disk, FlexPL specification. TSSD_TL0: Throughput SSD cloud disk

func (SnapshotOutput) ZoneId added in v0.0.6

func (o SnapshotOutput) ZoneId() pulumi.StringOutput

Availability zone ID where the snapshot is located.

type SnapshotPolicy added in v0.0.35

type SnapshotPolicy struct {
	pulumi.CustomResourceState

	// List of cloud disk IDs to associate with the automatic snapshot policy.
	AddVolumeIds pulumi.StringArrayOutput `pulumi:"addVolumeIds"`
	// Automatic snapshot policy ID.
	AutoSnapshotPolicyId pulumi.StringOutput `pulumi:"autoSnapshotPolicyId"`
	// Automatic snapshot policy name. Naming rules: The first character must be Chinese, a letter, or an underscore (*). It can include Chinese, letters, numbers, underscores (*), hyphens (-), or periods (.). Length must be between 1 and 128 characters.
	AutoSnapshotPolicyName pulumi.StringOutput `pulumi:"autoSnapshotPolicyName"`
	// Creation time of the automatic snapshot policy.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// Project associated with the automatic snapshot policy.
	ProjectName pulumi.StringOutput `pulumi:"projectName"`
	// List of cloud disk IDs to disassociate from the automatic snapshot policy.
	RemoveVolumeIds pulumi.StringArrayOutput `pulumi:"removeVolumeIds"`
	// Create snapshots on a daily basis, with a specified interval in days. The value range is [1, 30]. When repeating snapshot creation daily, the day you create the automatic snapshot policy is considered Day 1. Snapshots will not be created for past time points. If all scheduled snapshot times for the day have passed, the day is still counted as Day 1.
	RepeatDays pulumi.IntOutput `pulumi:"repeatDays"`
	// Create snapshots on a weekly basis by selecting one or more days from Monday to Sunday. The value range is 1–7. When creating an automatic snapshot policy, you must set either the RepeatWeekdays.N or RepeatDays parameter. Setting both parameters at the same time is not supported.
	RepeatWeekdays pulumi.StringArrayOutput `pulumi:"repeatWeekdays"`
	// Retention period for automatic snapshots, in days. -1: Save permanently; 1–65536: Specify number of days to retain.
	RetentionDays pulumi.IntOutput `pulumi:"retentionDays"`
	// Reserved parameter.
	Status pulumi.StringOutput `pulumi:"status"`
	// Tag.
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Tags SnapshotPolicyTagArrayOutput `pulumi:"tags"`
	// Snapshot creation time points, using UTC +8 time. Unit: hour. Value range: 0–23.
	TimePoints pulumi.StringArrayOutput `pulumi:"timePoints"`
	// Update time of the automatic snapshot policy.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
	// Total number of cloud disks.
	VolumeNums pulumi.IntOutput `pulumi:"volumeNums"`
}

Automatic snapshot policy

## Example Usage

```go package main

import (

"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/storageebs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := storageebs.NewSnapshotPolicy(ctx, "StorageEBSSnapshotPolicyDemo", &storageebs.SnapshotPolicyArgs{
			AutoSnapshotPolicyName: pulumi.String("ccapi-test"),
			TimePoints: pulumi.StringArray{
				pulumi.String("0"),
				pulumi.String("1"),
			},
			RepeatWeekdays: pulumi.StringArray{
				pulumi.String("2"),
				pulumi.String("5"),
			},
			RetentionDays: pulumi.Int(7),
			ProjectName:   pulumi.String("default"),
			AddVolumeIds: pulumi.StringArray{
				pulumi.String("vol-3x594jtg0g4cxxxxx"),
				pulumi.String("vol-3x594j4dvp4i4txxxxx"),
			},
			Tags: storageebs.SnapshotPolicyTagArray{
				&storageebs.SnapshotPolicyTagArgs{
					Key:   pulumi.String("env"),
					Value: pulumi.String("test"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import bytepluscc:storageebs/snapshotPolicy:SnapshotPolicy example "auto_snapshot_policy_id" ```

func GetSnapshotPolicy added in v0.0.35

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 added in v0.0.35

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 added in v0.0.35

func (*SnapshotPolicy) ElementType() reflect.Type

func (*SnapshotPolicy) ToSnapshotPolicyOutput added in v0.0.35

func (i *SnapshotPolicy) ToSnapshotPolicyOutput() SnapshotPolicyOutput

func (*SnapshotPolicy) ToSnapshotPolicyOutputWithContext added in v0.0.35

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

type SnapshotPolicyArgs added in v0.0.35

type SnapshotPolicyArgs struct {
	// List of cloud disk IDs to associate with the automatic snapshot policy.
	AddVolumeIds pulumi.StringArrayInput
	// Automatic snapshot policy name. Naming rules: The first character must be Chinese, a letter, or an underscore (*). It can include Chinese, letters, numbers, underscores (*), hyphens (-), or periods (.). Length must be between 1 and 128 characters.
	AutoSnapshotPolicyName pulumi.StringInput
	// Project associated with the automatic snapshot policy.
	ProjectName pulumi.StringPtrInput
	// List of cloud disk IDs to disassociate from the automatic snapshot policy.
	RemoveVolumeIds pulumi.StringArrayInput
	// Create snapshots on a daily basis, with a specified interval in days. The value range is [1, 30]. When repeating snapshot creation daily, the day you create the automatic snapshot policy is considered Day 1. Snapshots will not be created for past time points. If all scheduled snapshot times for the day have passed, the day is still counted as Day 1.
	RepeatDays pulumi.IntPtrInput
	// Create snapshots on a weekly basis by selecting one or more days from Monday to Sunday. The value range is 1–7. When creating an automatic snapshot policy, you must set either the RepeatWeekdays.N or RepeatDays parameter. Setting both parameters at the same time is not supported.
	RepeatWeekdays pulumi.StringArrayInput
	// Retention period for automatic snapshots, in days. -1: Save permanently; 1–65536: Specify number of days to retain.
	RetentionDays pulumi.IntInput
	// Tag.
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Tags SnapshotPolicyTagArrayInput
	// Snapshot creation time points, using UTC +8 time. Unit: hour. Value range: 0–23.
	TimePoints pulumi.StringArrayInput
}

The set of arguments for constructing a SnapshotPolicy resource.

func (SnapshotPolicyArgs) ElementType added in v0.0.35

func (SnapshotPolicyArgs) ElementType() reflect.Type

type SnapshotPolicyArray added in v0.0.35

type SnapshotPolicyArray []SnapshotPolicyInput

func (SnapshotPolicyArray) ElementType added in v0.0.35

func (SnapshotPolicyArray) ElementType() reflect.Type

func (SnapshotPolicyArray) ToSnapshotPolicyArrayOutput added in v0.0.35

func (i SnapshotPolicyArray) ToSnapshotPolicyArrayOutput() SnapshotPolicyArrayOutput

func (SnapshotPolicyArray) ToSnapshotPolicyArrayOutputWithContext added in v0.0.35

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

type SnapshotPolicyArrayInput added in v0.0.35

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 added in v0.0.35

type SnapshotPolicyArrayOutput struct{ *pulumi.OutputState }

func (SnapshotPolicyArrayOutput) ElementType added in v0.0.35

func (SnapshotPolicyArrayOutput) ElementType() reflect.Type

func (SnapshotPolicyArrayOutput) Index added in v0.0.35

func (SnapshotPolicyArrayOutput) ToSnapshotPolicyArrayOutput added in v0.0.35

func (o SnapshotPolicyArrayOutput) ToSnapshotPolicyArrayOutput() SnapshotPolicyArrayOutput

func (SnapshotPolicyArrayOutput) ToSnapshotPolicyArrayOutputWithContext added in v0.0.35

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

type SnapshotPolicyInput added in v0.0.35

type SnapshotPolicyInput interface {
	pulumi.Input

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

type SnapshotPolicyMap added in v0.0.35

type SnapshotPolicyMap map[string]SnapshotPolicyInput

func (SnapshotPolicyMap) ElementType added in v0.0.35

func (SnapshotPolicyMap) ElementType() reflect.Type

func (SnapshotPolicyMap) ToSnapshotPolicyMapOutput added in v0.0.35

func (i SnapshotPolicyMap) ToSnapshotPolicyMapOutput() SnapshotPolicyMapOutput

func (SnapshotPolicyMap) ToSnapshotPolicyMapOutputWithContext added in v0.0.35

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

type SnapshotPolicyMapInput added in v0.0.35

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 added in v0.0.35

type SnapshotPolicyMapOutput struct{ *pulumi.OutputState }

func (SnapshotPolicyMapOutput) ElementType added in v0.0.35

func (SnapshotPolicyMapOutput) ElementType() reflect.Type

func (SnapshotPolicyMapOutput) MapIndex added in v0.0.35

func (SnapshotPolicyMapOutput) ToSnapshotPolicyMapOutput added in v0.0.35

func (o SnapshotPolicyMapOutput) ToSnapshotPolicyMapOutput() SnapshotPolicyMapOutput

func (SnapshotPolicyMapOutput) ToSnapshotPolicyMapOutputWithContext added in v0.0.35

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

type SnapshotPolicyOutput added in v0.0.35

type SnapshotPolicyOutput struct{ *pulumi.OutputState }

func (SnapshotPolicyOutput) AddVolumeIds added in v0.0.35

List of cloud disk IDs to associate with the automatic snapshot policy.

func (SnapshotPolicyOutput) AutoSnapshotPolicyId added in v0.0.35

func (o SnapshotPolicyOutput) AutoSnapshotPolicyId() pulumi.StringOutput

Automatic snapshot policy ID.

func (SnapshotPolicyOutput) AutoSnapshotPolicyName added in v0.0.35

func (o SnapshotPolicyOutput) AutoSnapshotPolicyName() pulumi.StringOutput

Automatic snapshot policy name. Naming rules: The first character must be Chinese, a letter, or an underscore (*). It can include Chinese, letters, numbers, underscores (*), hyphens (-), or periods (.). Length must be between 1 and 128 characters.

func (SnapshotPolicyOutput) CreatedAt added in v0.0.35

Creation time of the automatic snapshot policy.

func (SnapshotPolicyOutput) ElementType added in v0.0.35

func (SnapshotPolicyOutput) ElementType() reflect.Type

func (SnapshotPolicyOutput) ProjectName added in v0.0.35

func (o SnapshotPolicyOutput) ProjectName() pulumi.StringOutput

Project associated with the automatic snapshot policy.

func (SnapshotPolicyOutput) RemoveVolumeIds added in v0.0.35

func (o SnapshotPolicyOutput) RemoveVolumeIds() pulumi.StringArrayOutput

List of cloud disk IDs to disassociate from the automatic snapshot policy.

func (SnapshotPolicyOutput) RepeatDays added in v0.0.35

func (o SnapshotPolicyOutput) RepeatDays() pulumi.IntOutput

Create snapshots on a daily basis, with a specified interval in days. The value range is [1, 30]. When repeating snapshot creation daily, the day you create the automatic snapshot policy is considered Day 1. Snapshots will not be created for past time points. If all scheduled snapshot times for the day have passed, the day is still counted as Day 1.

func (SnapshotPolicyOutput) RepeatWeekdays added in v0.0.35

func (o SnapshotPolicyOutput) RepeatWeekdays() pulumi.StringArrayOutput

Create snapshots on a weekly basis by selecting one or more days from Monday to Sunday. The value range is 1–7. When creating an automatic snapshot policy, you must set either the RepeatWeekdays.N or RepeatDays parameter. Setting both parameters at the same time is not supported.

func (SnapshotPolicyOutput) RetentionDays added in v0.0.35

func (o SnapshotPolicyOutput) RetentionDays() pulumi.IntOutput

Retention period for automatic snapshots, in days. -1: Save permanently; 1–65536: Specify number of days to retain.

func (SnapshotPolicyOutput) Status added in v0.0.35

Reserved parameter.

func (SnapshotPolicyOutput) Tags added in v0.0.35

Tag. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

func (SnapshotPolicyOutput) TimePoints added in v0.0.35

Snapshot creation time points, using UTC +8 time. Unit: hour. Value range: 0–23.

func (SnapshotPolicyOutput) ToSnapshotPolicyOutput added in v0.0.35

func (o SnapshotPolicyOutput) ToSnapshotPolicyOutput() SnapshotPolicyOutput

func (SnapshotPolicyOutput) ToSnapshotPolicyOutputWithContext added in v0.0.35

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

func (SnapshotPolicyOutput) UpdatedAt added in v0.0.35

Update time of the automatic snapshot policy.

func (SnapshotPolicyOutput) VolumeNums added in v0.0.35

func (o SnapshotPolicyOutput) VolumeNums() pulumi.IntOutput

Total number of cloud disks.

type SnapshotPolicyState added in v0.0.35

type SnapshotPolicyState struct {
	// List of cloud disk IDs to associate with the automatic snapshot policy.
	AddVolumeIds pulumi.StringArrayInput
	// Automatic snapshot policy ID.
	AutoSnapshotPolicyId pulumi.StringPtrInput
	// Automatic snapshot policy name. Naming rules: The first character must be Chinese, a letter, or an underscore (*). It can include Chinese, letters, numbers, underscores (*), hyphens (-), or periods (.). Length must be between 1 and 128 characters.
	AutoSnapshotPolicyName pulumi.StringPtrInput
	// Creation time of the automatic snapshot policy.
	CreatedAt pulumi.StringPtrInput
	// Project associated with the automatic snapshot policy.
	ProjectName pulumi.StringPtrInput
	// List of cloud disk IDs to disassociate from the automatic snapshot policy.
	RemoveVolumeIds pulumi.StringArrayInput
	// Create snapshots on a daily basis, with a specified interval in days. The value range is [1, 30]. When repeating snapshot creation daily, the day you create the automatic snapshot policy is considered Day 1. Snapshots will not be created for past time points. If all scheduled snapshot times for the day have passed, the day is still counted as Day 1.
	RepeatDays pulumi.IntPtrInput
	// Create snapshots on a weekly basis by selecting one or more days from Monday to Sunday. The value range is 1–7. When creating an automatic snapshot policy, you must set either the RepeatWeekdays.N or RepeatDays parameter. Setting both parameters at the same time is not supported.
	RepeatWeekdays pulumi.StringArrayInput
	// Retention period for automatic snapshots, in days. -1: Save permanently; 1–65536: Specify number of days to retain.
	RetentionDays pulumi.IntPtrInput
	// Reserved parameter.
	Status pulumi.StringPtrInput
	// Tag.
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Tags SnapshotPolicyTagArrayInput
	// Snapshot creation time points, using UTC +8 time. Unit: hour. Value range: 0–23.
	TimePoints pulumi.StringArrayInput
	// Update time of the automatic snapshot policy.
	UpdatedAt pulumi.StringPtrInput
	// Total number of cloud disks.
	VolumeNums pulumi.IntPtrInput
}

func (SnapshotPolicyState) ElementType added in v0.0.35

func (SnapshotPolicyState) ElementType() reflect.Type

type SnapshotPolicyTag added in v0.0.35

type SnapshotPolicyTag struct {
	// Tag key
	Key *string `pulumi:"key"`
	// Tag value
	Value *string `pulumi:"value"`
}

type SnapshotPolicyTagArgs added in v0.0.35

type SnapshotPolicyTagArgs struct {
	// Tag key
	Key pulumi.StringPtrInput `pulumi:"key"`
	// Tag value
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (SnapshotPolicyTagArgs) ElementType added in v0.0.35

func (SnapshotPolicyTagArgs) ElementType() reflect.Type

func (SnapshotPolicyTagArgs) ToSnapshotPolicyTagOutput added in v0.0.35

func (i SnapshotPolicyTagArgs) ToSnapshotPolicyTagOutput() SnapshotPolicyTagOutput

func (SnapshotPolicyTagArgs) ToSnapshotPolicyTagOutputWithContext added in v0.0.35

func (i SnapshotPolicyTagArgs) ToSnapshotPolicyTagOutputWithContext(ctx context.Context) SnapshotPolicyTagOutput

type SnapshotPolicyTagArray added in v0.0.35

type SnapshotPolicyTagArray []SnapshotPolicyTagInput

func (SnapshotPolicyTagArray) ElementType added in v0.0.35

func (SnapshotPolicyTagArray) ElementType() reflect.Type

func (SnapshotPolicyTagArray) ToSnapshotPolicyTagArrayOutput added in v0.0.35

func (i SnapshotPolicyTagArray) ToSnapshotPolicyTagArrayOutput() SnapshotPolicyTagArrayOutput

func (SnapshotPolicyTagArray) ToSnapshotPolicyTagArrayOutputWithContext added in v0.0.35

func (i SnapshotPolicyTagArray) ToSnapshotPolicyTagArrayOutputWithContext(ctx context.Context) SnapshotPolicyTagArrayOutput

type SnapshotPolicyTagArrayInput added in v0.0.35

type SnapshotPolicyTagArrayInput interface {
	pulumi.Input

	ToSnapshotPolicyTagArrayOutput() SnapshotPolicyTagArrayOutput
	ToSnapshotPolicyTagArrayOutputWithContext(context.Context) SnapshotPolicyTagArrayOutput
}

SnapshotPolicyTagArrayInput is an input type that accepts SnapshotPolicyTagArray and SnapshotPolicyTagArrayOutput values. You can construct a concrete instance of `SnapshotPolicyTagArrayInput` via:

SnapshotPolicyTagArray{ SnapshotPolicyTagArgs{...} }

type SnapshotPolicyTagArrayOutput added in v0.0.35

type SnapshotPolicyTagArrayOutput struct{ *pulumi.OutputState }

func (SnapshotPolicyTagArrayOutput) ElementType added in v0.0.35

func (SnapshotPolicyTagArrayOutput) Index added in v0.0.35

func (SnapshotPolicyTagArrayOutput) ToSnapshotPolicyTagArrayOutput added in v0.0.35

func (o SnapshotPolicyTagArrayOutput) ToSnapshotPolicyTagArrayOutput() SnapshotPolicyTagArrayOutput

func (SnapshotPolicyTagArrayOutput) ToSnapshotPolicyTagArrayOutputWithContext added in v0.0.35

func (o SnapshotPolicyTagArrayOutput) ToSnapshotPolicyTagArrayOutputWithContext(ctx context.Context) SnapshotPolicyTagArrayOutput

type SnapshotPolicyTagInput added in v0.0.35

type SnapshotPolicyTagInput interface {
	pulumi.Input

	ToSnapshotPolicyTagOutput() SnapshotPolicyTagOutput
	ToSnapshotPolicyTagOutputWithContext(context.Context) SnapshotPolicyTagOutput
}

SnapshotPolicyTagInput is an input type that accepts SnapshotPolicyTagArgs and SnapshotPolicyTagOutput values. You can construct a concrete instance of `SnapshotPolicyTagInput` via:

SnapshotPolicyTagArgs{...}

type SnapshotPolicyTagOutput added in v0.0.35

type SnapshotPolicyTagOutput struct{ *pulumi.OutputState }

func (SnapshotPolicyTagOutput) ElementType added in v0.0.35

func (SnapshotPolicyTagOutput) ElementType() reflect.Type

func (SnapshotPolicyTagOutput) Key added in v0.0.35

Tag key

func (SnapshotPolicyTagOutput) ToSnapshotPolicyTagOutput added in v0.0.35

func (o SnapshotPolicyTagOutput) ToSnapshotPolicyTagOutput() SnapshotPolicyTagOutput

func (SnapshotPolicyTagOutput) ToSnapshotPolicyTagOutputWithContext added in v0.0.35

func (o SnapshotPolicyTagOutput) ToSnapshotPolicyTagOutputWithContext(ctx context.Context) SnapshotPolicyTagOutput

func (SnapshotPolicyTagOutput) Value added in v0.0.35

Tag value

type SnapshotState added in v0.0.6

type SnapshotState struct {
	// Snapshot creation time.
	CreationTime pulumi.StringPtrInput
	// Snapshot description. Default is empty. Length must be between 0 and 255 characters.
	Description pulumi.StringPtrInput
	// Image ID
	ImageId pulumi.StringPtrInput
	// Whether the snapshot has enabled ultra-fast availability. Value options: true: ultra-fast availability enabled. false: ultra-fast availability not enabled.
	InstantAccess pulumi.BoolPtrInput
	// Snapshot dump progress.
	Progress pulumi.IntPtrInput
	// Name of the Project to which the snapshot will be added. Note: snapshots do not inherit the project of the cloud disk, so snapshots and cloud disks can belong to different projects. If you do not set ProjectName when creating the snapshot, it will be added to the default project.
	ProjectName pulumi.StringPtrInput
	// Snapshot retention period, in days. Value options: empty: retain snapshot permanently. 1~65536: specify retention days. Default is empty, which means retain snapshot permanently. Snapshot retention period is calculated from the snapshot creation time.
	RetentionDays pulumi.IntPtrInput
	// Whether the snapshot is shared.
	Shared pulumi.BoolPtrInput
	// Snapshot consistency group ID.
	SnapshotGroupId pulumi.StringPtrInput
	// Snapshot ID.
	SnapshotId pulumi.StringPtrInput
	// Name of the created snapshot. Naming rules: length must be between 1 and 128 characters. Only Chinese characters, letters, numbers, underscores (_), hyphens (-), and periods (.) are allowed. To avoid conflicts with automatic snapshot names, the name cannot start with 'auto'.
	SnapshotName pulumi.StringPtrInput
	// Snapshot type. The available values are: user: query manual snapshots. auto: query automatic snapshots. share: query shared snapshots. By default, all snapshots are queried.
	SnapshotType pulumi.StringPtrInput
	// Snapshot status. Value options: available: available. creating: creating. rollbacking: rolling back. deleted: deleted. failed: error.
	Status pulumi.StringPtrInput
	// Snapshot tag information.
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Tags SnapshotTagArrayInput
	// Cloud disk ID associated with the snapshot.
	VolumeId pulumi.StringPtrInput
	// Cloud disk category. Value options: system: system disk. data: data disk.
	VolumeKind pulumi.StringPtrInput
	// Cloud disk name.
	VolumeName pulumi.StringPtrInput
	// Cloud disk size, in GiB.
	VolumeSize pulumi.IntPtrInput
	// Cloud disk status. Value options: available: available, attaching: attaching, attached: attached, detaching: detaching, creating: creating, deleting: deleting, error: error, extending: expanding, "": cloud disk deleted.
	VolumeStatus pulumi.StringPtrInput
	// Cloud disk type. Value options: ESSD*PL0: Ultra-fast SSD cloud disk, PL0 specification. ESSD*FlexPL: Ultra-fast SSD cloud disk, FlexPL specification. TSSD_TL0: Throughput SSD cloud disk
	VolumeType pulumi.StringPtrInput
	// Availability zone ID where the snapshot is located.
	ZoneId pulumi.StringPtrInput
}

func (SnapshotState) ElementType added in v0.0.6

func (SnapshotState) ElementType() reflect.Type

type SnapshotTag added in v0.0.6

type SnapshotTag struct {
	// User tag key added to the resource. Naming rules: Cannot start with volc: or sys: in any case. Keys starting with volc: or sys: are reserved system tag keys and cannot be created. Only language characters, numbers, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Length must be between 1 and 128 characters.
	Key *string `pulumi:"key"`
	// User tag value added to the resource. Naming rules: Only language characters, numbers, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Can be empty. Length must be between 0 and 256 characters.
	Value *string `pulumi:"value"`
}

type SnapshotTagArgs added in v0.0.6

type SnapshotTagArgs struct {
	// User tag key added to the resource. Naming rules: Cannot start with volc: or sys: in any case. Keys starting with volc: or sys: are reserved system tag keys and cannot be created. Only language characters, numbers, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Length must be between 1 and 128 characters.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// User tag value added to the resource. Naming rules: Only language characters, numbers, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Can be empty. Length must be between 0 and 256 characters.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (SnapshotTagArgs) ElementType added in v0.0.6

func (SnapshotTagArgs) ElementType() reflect.Type

func (SnapshotTagArgs) ToSnapshotTagOutput added in v0.0.6

func (i SnapshotTagArgs) ToSnapshotTagOutput() SnapshotTagOutput

func (SnapshotTagArgs) ToSnapshotTagOutputWithContext added in v0.0.6

func (i SnapshotTagArgs) ToSnapshotTagOutputWithContext(ctx context.Context) SnapshotTagOutput

type SnapshotTagArray added in v0.0.6

type SnapshotTagArray []SnapshotTagInput

func (SnapshotTagArray) ElementType added in v0.0.6

func (SnapshotTagArray) ElementType() reflect.Type

func (SnapshotTagArray) ToSnapshotTagArrayOutput added in v0.0.6

func (i SnapshotTagArray) ToSnapshotTagArrayOutput() SnapshotTagArrayOutput

func (SnapshotTagArray) ToSnapshotTagArrayOutputWithContext added in v0.0.6

func (i SnapshotTagArray) ToSnapshotTagArrayOutputWithContext(ctx context.Context) SnapshotTagArrayOutput

type SnapshotTagArrayInput added in v0.0.6

type SnapshotTagArrayInput interface {
	pulumi.Input

	ToSnapshotTagArrayOutput() SnapshotTagArrayOutput
	ToSnapshotTagArrayOutputWithContext(context.Context) SnapshotTagArrayOutput
}

SnapshotTagArrayInput is an input type that accepts SnapshotTagArray and SnapshotTagArrayOutput values. You can construct a concrete instance of `SnapshotTagArrayInput` via:

SnapshotTagArray{ SnapshotTagArgs{...} }

type SnapshotTagArrayOutput added in v0.0.6

type SnapshotTagArrayOutput struct{ *pulumi.OutputState }

func (SnapshotTagArrayOutput) ElementType added in v0.0.6

func (SnapshotTagArrayOutput) ElementType() reflect.Type

func (SnapshotTagArrayOutput) Index added in v0.0.6

func (SnapshotTagArrayOutput) ToSnapshotTagArrayOutput added in v0.0.6

func (o SnapshotTagArrayOutput) ToSnapshotTagArrayOutput() SnapshotTagArrayOutput

func (SnapshotTagArrayOutput) ToSnapshotTagArrayOutputWithContext added in v0.0.6

func (o SnapshotTagArrayOutput) ToSnapshotTagArrayOutputWithContext(ctx context.Context) SnapshotTagArrayOutput

type SnapshotTagInput added in v0.0.6

type SnapshotTagInput interface {
	pulumi.Input

	ToSnapshotTagOutput() SnapshotTagOutput
	ToSnapshotTagOutputWithContext(context.Context) SnapshotTagOutput
}

SnapshotTagInput is an input type that accepts SnapshotTagArgs and SnapshotTagOutput values. You can construct a concrete instance of `SnapshotTagInput` via:

SnapshotTagArgs{...}

type SnapshotTagOutput added in v0.0.6

type SnapshotTagOutput struct{ *pulumi.OutputState }

func (SnapshotTagOutput) ElementType added in v0.0.6

func (SnapshotTagOutput) ElementType() reflect.Type

func (SnapshotTagOutput) Key added in v0.0.6

User tag key added to the resource. Naming rules: Cannot start with volc: or sys: in any case. Keys starting with volc: or sys: are reserved system tag keys and cannot be created. Only language characters, numbers, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Length must be between 1 and 128 characters.

func (SnapshotTagOutput) ToSnapshotTagOutput added in v0.0.6

func (o SnapshotTagOutput) ToSnapshotTagOutput() SnapshotTagOutput

func (SnapshotTagOutput) ToSnapshotTagOutputWithContext added in v0.0.6

func (o SnapshotTagOutput) ToSnapshotTagOutputWithContext(ctx context.Context) SnapshotTagOutput

func (SnapshotTagOutput) Value added in v0.0.6

User tag value added to the resource. Naming rules: Only language characters, numbers, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Can be empty. Length must be between 0 and 256 characters.

type Volume

type Volume struct {
	pulumi.CustomResourceState

	// Automatic snapshot policy ID.
	AutoSnapshotPolicyId pulumi.StringOutput `pulumi:"autoSnapshotPolicyId"`
	// Automatic snapshot policy name.
	AutoSnapshotPolicyName pulumi.StringOutput `pulumi:"autoSnapshotPolicyName"`
	// Baseline performance.
	BaselinePerformance VolumeBaselinePerformanceOutput `pulumi:"baselinePerformance"`
	// Disk creation time.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// When releasing the instance, specify whether the disk is released along with the instance. Value description: true: The disk is released with the instance. false: The disk is not released with the instance.
	DeleteWithInstance pulumi.BoolOutput `pulumi:"deleteWithInstance"`
	// Disk description. Default is empty. Length must be between 1 and 255 characters.
	Description pulumi.StringOutput `pulumi:"description"`
	// Device name
	DeviceName pulumi.StringOutput `pulumi:"deviceName"`
	// Specific error
	ErrorDetail pulumi.StringOutput `pulumi:"errorDetail"`
	// Expiration time for yearly/monthly subscription.
	ExpiredTime pulumi.StringOutput `pulumi:"expiredTime"`
	// Extra performance.
	ExtraPerformance VolumeExtraPerformanceOutput `pulumi:"extraPerformance"`
	// Image ID in the disk.
	ImageId pulumi.StringOutput `pulumi:"imageId"`
	// ECS instance ID mounted when creating the cloud disk.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// Disk attribute. data indicates a data disk. The default value is data. Note: Only data disks can be created.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// Disk overdue reclamation time.
	OverdueReclaimTime pulumi.StringOutput `pulumi:"overdueReclaimTime"`
	// Disk overdue shutdown time.
	OverdueTime pulumi.StringOutput `pulumi:"overdueTime"`
	// Payment type. Description: Pre: Prepaid (annual/monthly). Post: Postpaid (pay-as-you-go).
	PayType pulumi.StringOutput `pulumi:"payType"`
	// Project name to which the disk will be added.
	ProjectName pulumi.StringOutput `pulumi:"projectName"`
	// Renewal method 1: Manual renewal 2: Automatic renewal 3: Do not renew upon expiration.
	RenewType pulumi.Float64Output `pulumi:"renewType"`
	// Size: data disk capacity in GiB. The capacity ranges for different types of data disks are as follows: ESSD*PL0: 10~65536 GiB; ESSD*FlexPL: 10~65536 GiB; TSSD_TL0: 40~65536 GiB
	Size pulumi.Float64Output `pulumi:"size"`
	// Snapshot count.
	SnapshotCount pulumi.Float64Output `pulumi:"snapshotCount"`
	// Source snapshot.
	SourceSnapshotId pulumi.StringOutput `pulumi:"sourceSnapshotId"`
	// Disk status. Value description: available: Available. mounting: Mounting. mounted: Mounted. unmounting: Unmounting. creating: Creating. deleting: Deleting. error: Error. expanding: Expanding.
	Status pulumi.StringOutput `pulumi:"status"`
	// Disk tag information.
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Tags VolumeTagArrayOutput `pulumi:"tags"`
	// Total performance.
	TotalPerformance VolumeTotalPerformanceOutput `pulumi:"totalPerformance"`
	// Transaction status 0: Creating 1: Running 2: Creation failed
	TradeStatus pulumi.Float64Output `pulumi:"tradeStatus"`
	// Disk update time.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
	// Disk ID.
	VolumeId pulumi.StringOutput `pulumi:"volumeId"`
	// Disk display name. Naming rules: The first character must be a Chinese character, a letter, or an underscore (*). Can contain Chinese characters, letters, numbers, underscores (*), or hyphens (-). Length must be between 1 and 128 characters.
	VolumeName pulumi.StringOutput `pulumi:"volumeName"`
	// Disk type. Value description: ESSD*PL0: Ultra-fast SSD disk, PL0 specification. ESSD*FlexPL: Ultra-fast SSD disk, FlexPL specification. TSSD_TL0: Throughput SSD disk.
	VolumeType pulumi.StringOutput `pulumi:"volumeType"`
	// Availability zone ID.
	ZoneId pulumi.StringOutput `pulumi:"zoneId"`
}

Cloud disk is a block storage device with high availability, high reliability, high performance, and elastic scalability. It can be used as a scalable disk for cloud servers and elastic container services.

## Example Usage

```go package main

import (

"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/storageebs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := storageebs.NewVolume(ctx, "VolumeDemo", &storageebs.VolumeArgs{
			VolumeName: pulumi.String("EBS-VolumeDemo"),
			VolumeType: pulumi.String("ESSD_PL0"),
			Size:       pulumi.Float64(10),
			ZoneId:     pulumi.String("cn-beijing-x"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import bytepluscc:storageebs/volume:Volume example "volume_id" ```

func GetVolume

func GetVolume(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VolumeState, opts ...pulumi.ResourceOption) (*Volume, error)

GetVolume gets an existing Volume 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 NewVolume

func NewVolume(ctx *pulumi.Context,
	name string, args *VolumeArgs, opts ...pulumi.ResourceOption) (*Volume, error)

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

func (*Volume) ElementType

func (*Volume) ElementType() reflect.Type

func (*Volume) ToVolumeOutput

func (i *Volume) ToVolumeOutput() VolumeOutput

func (*Volume) ToVolumeOutputWithContext

func (i *Volume) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput

type VolumeArgs

type VolumeArgs struct {
	// Automatic snapshot policy ID.
	AutoSnapshotPolicyId pulumi.StringPtrInput
	// When releasing the instance, specify whether the disk is released along with the instance. Value description: true: The disk is released with the instance. false: The disk is not released with the instance.
	DeleteWithInstance pulumi.BoolPtrInput
	// Disk description. Default is empty. Length must be between 1 and 255 characters.
	Description pulumi.StringPtrInput
	// Extra performance.
	ExtraPerformance VolumeExtraPerformancePtrInput
	// ECS instance ID mounted when creating the cloud disk.
	InstanceId pulumi.StringPtrInput
	// Disk attribute. data indicates a data disk. The default value is data. Note: Only data disks can be created.
	Kind pulumi.StringPtrInput
	// Payment type. Description: Pre: Prepaid (annual/monthly). Post: Postpaid (pay-as-you-go).
	PayType pulumi.StringPtrInput
	// Project name to which the disk will be added.
	ProjectName pulumi.StringPtrInput
	// Size: data disk capacity in GiB. The capacity ranges for different types of data disks are as follows: ESSD*PL0: 10~65536 GiB; ESSD*FlexPL: 10~65536 GiB; TSSD_TL0: 40~65536 GiB
	Size pulumi.Float64Input
	// Source snapshot.
	SourceSnapshotId pulumi.StringPtrInput
	// Disk tag information.
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Tags VolumeTagArrayInput
	// Disk display name. Naming rules: The first character must be a Chinese character, a letter, or an underscore (*). Can contain Chinese characters, letters, numbers, underscores (*), or hyphens (-). Length must be between 1 and 128 characters.
	VolumeName pulumi.StringInput
	// Disk type. Value description: ESSD*PL0: Ultra-fast SSD disk, PL0 specification. ESSD*FlexPL: Ultra-fast SSD disk, FlexPL specification. TSSD_TL0: Throughput SSD disk.
	VolumeType pulumi.StringInput
	// Availability zone ID.
	ZoneId pulumi.StringInput
}

The set of arguments for constructing a Volume resource.

func (VolumeArgs) ElementType

func (VolumeArgs) ElementType() reflect.Type

type VolumeArray

type VolumeArray []VolumeInput

func (VolumeArray) ElementType

func (VolumeArray) ElementType() reflect.Type

func (VolumeArray) ToVolumeArrayOutput

func (i VolumeArray) ToVolumeArrayOutput() VolumeArrayOutput

func (VolumeArray) ToVolumeArrayOutputWithContext

func (i VolumeArray) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeArrayOutput

type VolumeArrayInput

type VolumeArrayInput interface {
	pulumi.Input

	ToVolumeArrayOutput() VolumeArrayOutput
	ToVolumeArrayOutputWithContext(context.Context) VolumeArrayOutput
}

VolumeArrayInput is an input type that accepts VolumeArray and VolumeArrayOutput values. You can construct a concrete instance of `VolumeArrayInput` via:

VolumeArray{ VolumeArgs{...} }

type VolumeArrayOutput

type VolumeArrayOutput struct{ *pulumi.OutputState }

func (VolumeArrayOutput) ElementType

func (VolumeArrayOutput) ElementType() reflect.Type

func (VolumeArrayOutput) Index

func (VolumeArrayOutput) ToVolumeArrayOutput

func (o VolumeArrayOutput) ToVolumeArrayOutput() VolumeArrayOutput

func (VolumeArrayOutput) ToVolumeArrayOutputWithContext

func (o VolumeArrayOutput) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeArrayOutput

type VolumeBaselinePerformance

type VolumeBaselinePerformance struct {
	// Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.
	Iops *float64 `pulumi:"iops"`
	// The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.
	Throughput *float64 `pulumi:"throughput"`
}

type VolumeBaselinePerformanceArgs

type VolumeBaselinePerformanceArgs struct {
	// Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.
	Iops pulumi.Float64PtrInput `pulumi:"iops"`
	// The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.
	Throughput pulumi.Float64PtrInput `pulumi:"throughput"`
}

func (VolumeBaselinePerformanceArgs) ElementType

func (VolumeBaselinePerformanceArgs) ToVolumeBaselinePerformanceOutput

func (i VolumeBaselinePerformanceArgs) ToVolumeBaselinePerformanceOutput() VolumeBaselinePerformanceOutput

func (VolumeBaselinePerformanceArgs) ToVolumeBaselinePerformanceOutputWithContext

func (i VolumeBaselinePerformanceArgs) ToVolumeBaselinePerformanceOutputWithContext(ctx context.Context) VolumeBaselinePerformanceOutput

func (VolumeBaselinePerformanceArgs) ToVolumeBaselinePerformancePtrOutput

func (i VolumeBaselinePerformanceArgs) ToVolumeBaselinePerformancePtrOutput() VolumeBaselinePerformancePtrOutput

func (VolumeBaselinePerformanceArgs) ToVolumeBaselinePerformancePtrOutputWithContext

func (i VolumeBaselinePerformanceArgs) ToVolumeBaselinePerformancePtrOutputWithContext(ctx context.Context) VolumeBaselinePerformancePtrOutput

type VolumeBaselinePerformanceInput

type VolumeBaselinePerformanceInput interface {
	pulumi.Input

	ToVolumeBaselinePerformanceOutput() VolumeBaselinePerformanceOutput
	ToVolumeBaselinePerformanceOutputWithContext(context.Context) VolumeBaselinePerformanceOutput
}

VolumeBaselinePerformanceInput is an input type that accepts VolumeBaselinePerformanceArgs and VolumeBaselinePerformanceOutput values. You can construct a concrete instance of `VolumeBaselinePerformanceInput` via:

VolumeBaselinePerformanceArgs{...}

type VolumeBaselinePerformanceOutput

type VolumeBaselinePerformanceOutput struct{ *pulumi.OutputState }

func (VolumeBaselinePerformanceOutput) ElementType

func (VolumeBaselinePerformanceOutput) Iops

Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.

func (VolumeBaselinePerformanceOutput) Throughput

The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.

func (VolumeBaselinePerformanceOutput) ToVolumeBaselinePerformanceOutput

func (o VolumeBaselinePerformanceOutput) ToVolumeBaselinePerformanceOutput() VolumeBaselinePerformanceOutput

func (VolumeBaselinePerformanceOutput) ToVolumeBaselinePerformanceOutputWithContext

func (o VolumeBaselinePerformanceOutput) ToVolumeBaselinePerformanceOutputWithContext(ctx context.Context) VolumeBaselinePerformanceOutput

func (VolumeBaselinePerformanceOutput) ToVolumeBaselinePerformancePtrOutput

func (o VolumeBaselinePerformanceOutput) ToVolumeBaselinePerformancePtrOutput() VolumeBaselinePerformancePtrOutput

func (VolumeBaselinePerformanceOutput) ToVolumeBaselinePerformancePtrOutputWithContext

func (o VolumeBaselinePerformanceOutput) ToVolumeBaselinePerformancePtrOutputWithContext(ctx context.Context) VolumeBaselinePerformancePtrOutput

type VolumeBaselinePerformancePtrInput

type VolumeBaselinePerformancePtrInput interface {
	pulumi.Input

	ToVolumeBaselinePerformancePtrOutput() VolumeBaselinePerformancePtrOutput
	ToVolumeBaselinePerformancePtrOutputWithContext(context.Context) VolumeBaselinePerformancePtrOutput
}

VolumeBaselinePerformancePtrInput is an input type that accepts VolumeBaselinePerformanceArgs, VolumeBaselinePerformancePtr and VolumeBaselinePerformancePtrOutput values. You can construct a concrete instance of `VolumeBaselinePerformancePtrInput` via:

        VolumeBaselinePerformanceArgs{...}

or:

        nil

type VolumeBaselinePerformancePtrOutput

type VolumeBaselinePerformancePtrOutput struct{ *pulumi.OutputState }

func (VolumeBaselinePerformancePtrOutput) Elem

func (VolumeBaselinePerformancePtrOutput) ElementType

func (VolumeBaselinePerformancePtrOutput) Iops

Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.

func (VolumeBaselinePerformancePtrOutput) Throughput

The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.

func (VolumeBaselinePerformancePtrOutput) ToVolumeBaselinePerformancePtrOutput

func (o VolumeBaselinePerformancePtrOutput) ToVolumeBaselinePerformancePtrOutput() VolumeBaselinePerformancePtrOutput

func (VolumeBaselinePerformancePtrOutput) ToVolumeBaselinePerformancePtrOutputWithContext

func (o VolumeBaselinePerformancePtrOutput) ToVolumeBaselinePerformancePtrOutputWithContext(ctx context.Context) VolumeBaselinePerformancePtrOutput

type VolumeExtraPerformance

type VolumeExtraPerformance struct {
	// Type of extra performance. Value description: Balance: Balanced extra performance; IOPS: IOPS extra performance; Throughput: Throughput extra performance.
	ExtraPerformanceTypeId *string `pulumi:"extraPerformanceTypeId"`
	// Extra IOPS of the disk.
	Iops *float64 `pulumi:"iops"`
	// Extra throughput of the disk.
	Throughput *float64 `pulumi:"throughput"`
}

type VolumeExtraPerformanceArgs

type VolumeExtraPerformanceArgs struct {
	// Type of extra performance. Value description: Balance: Balanced extra performance; IOPS: IOPS extra performance; Throughput: Throughput extra performance.
	ExtraPerformanceTypeId pulumi.StringPtrInput `pulumi:"extraPerformanceTypeId"`
	// Extra IOPS of the disk.
	Iops pulumi.Float64PtrInput `pulumi:"iops"`
	// Extra throughput of the disk.
	Throughput pulumi.Float64PtrInput `pulumi:"throughput"`
}

func (VolumeExtraPerformanceArgs) ElementType

func (VolumeExtraPerformanceArgs) ElementType() reflect.Type

func (VolumeExtraPerformanceArgs) ToVolumeExtraPerformanceOutput

func (i VolumeExtraPerformanceArgs) ToVolumeExtraPerformanceOutput() VolumeExtraPerformanceOutput

func (VolumeExtraPerformanceArgs) ToVolumeExtraPerformanceOutputWithContext

func (i VolumeExtraPerformanceArgs) ToVolumeExtraPerformanceOutputWithContext(ctx context.Context) VolumeExtraPerformanceOutput

func (VolumeExtraPerformanceArgs) ToVolumeExtraPerformancePtrOutput

func (i VolumeExtraPerformanceArgs) ToVolumeExtraPerformancePtrOutput() VolumeExtraPerformancePtrOutput

func (VolumeExtraPerformanceArgs) ToVolumeExtraPerformancePtrOutputWithContext

func (i VolumeExtraPerformanceArgs) ToVolumeExtraPerformancePtrOutputWithContext(ctx context.Context) VolumeExtraPerformancePtrOutput

type VolumeExtraPerformanceInput

type VolumeExtraPerformanceInput interface {
	pulumi.Input

	ToVolumeExtraPerformanceOutput() VolumeExtraPerformanceOutput
	ToVolumeExtraPerformanceOutputWithContext(context.Context) VolumeExtraPerformanceOutput
}

VolumeExtraPerformanceInput is an input type that accepts VolumeExtraPerformanceArgs and VolumeExtraPerformanceOutput values. You can construct a concrete instance of `VolumeExtraPerformanceInput` via:

VolumeExtraPerformanceArgs{...}

type VolumeExtraPerformanceOutput

type VolumeExtraPerformanceOutput struct{ *pulumi.OutputState }

func (VolumeExtraPerformanceOutput) ElementType

func (VolumeExtraPerformanceOutput) ExtraPerformanceTypeId

func (o VolumeExtraPerformanceOutput) ExtraPerformanceTypeId() pulumi.StringPtrOutput

Type of extra performance. Value description: Balance: Balanced extra performance; IOPS: IOPS extra performance; Throughput: Throughput extra performance.

func (VolumeExtraPerformanceOutput) Iops

Extra IOPS of the disk.

func (VolumeExtraPerformanceOutput) Throughput

Extra throughput of the disk.

func (VolumeExtraPerformanceOutput) ToVolumeExtraPerformanceOutput

func (o VolumeExtraPerformanceOutput) ToVolumeExtraPerformanceOutput() VolumeExtraPerformanceOutput

func (VolumeExtraPerformanceOutput) ToVolumeExtraPerformanceOutputWithContext

func (o VolumeExtraPerformanceOutput) ToVolumeExtraPerformanceOutputWithContext(ctx context.Context) VolumeExtraPerformanceOutput

func (VolumeExtraPerformanceOutput) ToVolumeExtraPerformancePtrOutput

func (o VolumeExtraPerformanceOutput) ToVolumeExtraPerformancePtrOutput() VolumeExtraPerformancePtrOutput

func (VolumeExtraPerformanceOutput) ToVolumeExtraPerformancePtrOutputWithContext

func (o VolumeExtraPerformanceOutput) ToVolumeExtraPerformancePtrOutputWithContext(ctx context.Context) VolumeExtraPerformancePtrOutput

type VolumeExtraPerformancePtrInput

type VolumeExtraPerformancePtrInput interface {
	pulumi.Input

	ToVolumeExtraPerformancePtrOutput() VolumeExtraPerformancePtrOutput
	ToVolumeExtraPerformancePtrOutputWithContext(context.Context) VolumeExtraPerformancePtrOutput
}

VolumeExtraPerformancePtrInput is an input type that accepts VolumeExtraPerformanceArgs, VolumeExtraPerformancePtr and VolumeExtraPerformancePtrOutput values. You can construct a concrete instance of `VolumeExtraPerformancePtrInput` via:

        VolumeExtraPerformanceArgs{...}

or:

        nil

type VolumeExtraPerformancePtrOutput

type VolumeExtraPerformancePtrOutput struct{ *pulumi.OutputState }

func (VolumeExtraPerformancePtrOutput) Elem

func (VolumeExtraPerformancePtrOutput) ElementType

func (VolumeExtraPerformancePtrOutput) ExtraPerformanceTypeId

func (o VolumeExtraPerformancePtrOutput) ExtraPerformanceTypeId() pulumi.StringPtrOutput

Type of extra performance. Value description: Balance: Balanced extra performance; IOPS: IOPS extra performance; Throughput: Throughput extra performance.

func (VolumeExtraPerformancePtrOutput) Iops

Extra IOPS of the disk.

func (VolumeExtraPerformancePtrOutput) Throughput

Extra throughput of the disk.

func (VolumeExtraPerformancePtrOutput) ToVolumeExtraPerformancePtrOutput

func (o VolumeExtraPerformancePtrOutput) ToVolumeExtraPerformancePtrOutput() VolumeExtraPerformancePtrOutput

func (VolumeExtraPerformancePtrOutput) ToVolumeExtraPerformancePtrOutputWithContext

func (o VolumeExtraPerformancePtrOutput) ToVolumeExtraPerformancePtrOutputWithContext(ctx context.Context) VolumeExtraPerformancePtrOutput

type VolumeInput

type VolumeInput interface {
	pulumi.Input

	ToVolumeOutput() VolumeOutput
	ToVolumeOutputWithContext(ctx context.Context) VolumeOutput
}

type VolumeMap

type VolumeMap map[string]VolumeInput

func (VolumeMap) ElementType

func (VolumeMap) ElementType() reflect.Type

func (VolumeMap) ToVolumeMapOutput

func (i VolumeMap) ToVolumeMapOutput() VolumeMapOutput

func (VolumeMap) ToVolumeMapOutputWithContext

func (i VolumeMap) ToVolumeMapOutputWithContext(ctx context.Context) VolumeMapOutput

type VolumeMapInput

type VolumeMapInput interface {
	pulumi.Input

	ToVolumeMapOutput() VolumeMapOutput
	ToVolumeMapOutputWithContext(context.Context) VolumeMapOutput
}

VolumeMapInput is an input type that accepts VolumeMap and VolumeMapOutput values. You can construct a concrete instance of `VolumeMapInput` via:

VolumeMap{ "key": VolumeArgs{...} }

type VolumeMapOutput

type VolumeMapOutput struct{ *pulumi.OutputState }

func (VolumeMapOutput) ElementType

func (VolumeMapOutput) ElementType() reflect.Type

func (VolumeMapOutput) MapIndex

func (VolumeMapOutput) ToVolumeMapOutput

func (o VolumeMapOutput) ToVolumeMapOutput() VolumeMapOutput

func (VolumeMapOutput) ToVolumeMapOutputWithContext

func (o VolumeMapOutput) ToVolumeMapOutputWithContext(ctx context.Context) VolumeMapOutput

type VolumeOutput

type VolumeOutput struct{ *pulumi.OutputState }

func (VolumeOutput) AutoSnapshotPolicyId

func (o VolumeOutput) AutoSnapshotPolicyId() pulumi.StringOutput

Automatic snapshot policy ID.

func (VolumeOutput) AutoSnapshotPolicyName

func (o VolumeOutput) AutoSnapshotPolicyName() pulumi.StringOutput

Automatic snapshot policy name.

func (VolumeOutput) BaselinePerformance

func (o VolumeOutput) BaselinePerformance() VolumeBaselinePerformanceOutput

Baseline performance.

func (VolumeOutput) CreatedAt

func (o VolumeOutput) CreatedAt() pulumi.StringOutput

Disk creation time.

func (VolumeOutput) DeleteWithInstance

func (o VolumeOutput) DeleteWithInstance() pulumi.BoolOutput

When releasing the instance, specify whether the disk is released along with the instance. Value description: true: The disk is released with the instance. false: The disk is not released with the instance.

func (VolumeOutput) Description

func (o VolumeOutput) Description() pulumi.StringOutput

Disk description. Default is empty. Length must be between 1 and 255 characters.

func (VolumeOutput) DeviceName

func (o VolumeOutput) DeviceName() pulumi.StringOutput

Device name

func (VolumeOutput) ElementType

func (VolumeOutput) ElementType() reflect.Type

func (VolumeOutput) ErrorDetail

func (o VolumeOutput) ErrorDetail() pulumi.StringOutput

Specific error

func (VolumeOutput) ExpiredTime

func (o VolumeOutput) ExpiredTime() pulumi.StringOutput

Expiration time for yearly/monthly subscription.

func (VolumeOutput) ExtraPerformance

func (o VolumeOutput) ExtraPerformance() VolumeExtraPerformanceOutput

Extra performance.

func (VolumeOutput) ImageId

func (o VolumeOutput) ImageId() pulumi.StringOutput

Image ID in the disk.

func (VolumeOutput) InstanceId

func (o VolumeOutput) InstanceId() pulumi.StringOutput

ECS instance ID mounted when creating the cloud disk.

func (VolumeOutput) Kind

func (o VolumeOutput) Kind() pulumi.StringOutput

Disk attribute. data indicates a data disk. The default value is data. Note: Only data disks can be created.

func (VolumeOutput) OverdueReclaimTime

func (o VolumeOutput) OverdueReclaimTime() pulumi.StringOutput

Disk overdue reclamation time.

func (VolumeOutput) OverdueTime

func (o VolumeOutput) OverdueTime() pulumi.StringOutput

Disk overdue shutdown time.

func (VolumeOutput) PayType

func (o VolumeOutput) PayType() pulumi.StringOutput

Payment type. Description: Pre: Prepaid (annual/monthly). Post: Postpaid (pay-as-you-go).

func (VolumeOutput) ProjectName

func (o VolumeOutput) ProjectName() pulumi.StringOutput

Project name to which the disk will be added.

func (VolumeOutput) RenewType

func (o VolumeOutput) RenewType() pulumi.Float64Output

Renewal method 1: Manual renewal 2: Automatic renewal 3: Do not renew upon expiration.

func (VolumeOutput) Size

Size: data disk capacity in GiB. The capacity ranges for different types of data disks are as follows: ESSD*PL0: 10~65536 GiB; ESSD*FlexPL: 10~65536 GiB; TSSD_TL0: 40~65536 GiB

func (VolumeOutput) SnapshotCount

func (o VolumeOutput) SnapshotCount() pulumi.Float64Output

Snapshot count.

func (VolumeOutput) SourceSnapshotId

func (o VolumeOutput) SourceSnapshotId() pulumi.StringOutput

Source snapshot.

func (VolumeOutput) Status

func (o VolumeOutput) Status() pulumi.StringOutput

Disk status. Value description: available: Available. mounting: Mounting. mounted: Mounted. unmounting: Unmounting. creating: Creating. deleting: Deleting. error: Error. expanding: Expanding.

func (VolumeOutput) Tags

Disk tag information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

func (VolumeOutput) ToVolumeOutput

func (o VolumeOutput) ToVolumeOutput() VolumeOutput

func (VolumeOutput) ToVolumeOutputWithContext

func (o VolumeOutput) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput

func (VolumeOutput) TotalPerformance

func (o VolumeOutput) TotalPerformance() VolumeTotalPerformanceOutput

Total performance.

func (VolumeOutput) TradeStatus

func (o VolumeOutput) TradeStatus() pulumi.Float64Output

Transaction status 0: Creating 1: Running 2: Creation failed

func (VolumeOutput) UpdatedAt

func (o VolumeOutput) UpdatedAt() pulumi.StringOutput

Disk update time.

func (VolumeOutput) VolumeId

func (o VolumeOutput) VolumeId() pulumi.StringOutput

Disk ID.

func (VolumeOutput) VolumeName

func (o VolumeOutput) VolumeName() pulumi.StringOutput

Disk display name. Naming rules: The first character must be a Chinese character, a letter, or an underscore (*). Can contain Chinese characters, letters, numbers, underscores (*), or hyphens (-). Length must be between 1 and 128 characters.

func (VolumeOutput) VolumeType

func (o VolumeOutput) VolumeType() pulumi.StringOutput

Disk type. Value description: ESSD*PL0: Ultra-fast SSD disk, PL0 specification. ESSD*FlexPL: Ultra-fast SSD disk, FlexPL specification. TSSD_TL0: Throughput SSD disk.

func (VolumeOutput) ZoneId

func (o VolumeOutput) ZoneId() pulumi.StringOutput

Availability zone ID.

type VolumeState

type VolumeState struct {
	// Automatic snapshot policy ID.
	AutoSnapshotPolicyId pulumi.StringPtrInput
	// Automatic snapshot policy name.
	AutoSnapshotPolicyName pulumi.StringPtrInput
	// Baseline performance.
	BaselinePerformance VolumeBaselinePerformancePtrInput
	// Disk creation time.
	CreatedAt pulumi.StringPtrInput
	// When releasing the instance, specify whether the disk is released along with the instance. Value description: true: The disk is released with the instance. false: The disk is not released with the instance.
	DeleteWithInstance pulumi.BoolPtrInput
	// Disk description. Default is empty. Length must be between 1 and 255 characters.
	Description pulumi.StringPtrInput
	// Device name
	DeviceName pulumi.StringPtrInput
	// Specific error
	ErrorDetail pulumi.StringPtrInput
	// Expiration time for yearly/monthly subscription.
	ExpiredTime pulumi.StringPtrInput
	// Extra performance.
	ExtraPerformance VolumeExtraPerformancePtrInput
	// Image ID in the disk.
	ImageId pulumi.StringPtrInput
	// ECS instance ID mounted when creating the cloud disk.
	InstanceId pulumi.StringPtrInput
	// Disk attribute. data indicates a data disk. The default value is data. Note: Only data disks can be created.
	Kind pulumi.StringPtrInput
	// Disk overdue reclamation time.
	OverdueReclaimTime pulumi.StringPtrInput
	// Disk overdue shutdown time.
	OverdueTime pulumi.StringPtrInput
	// Payment type. Description: Pre: Prepaid (annual/monthly). Post: Postpaid (pay-as-you-go).
	PayType pulumi.StringPtrInput
	// Project name to which the disk will be added.
	ProjectName pulumi.StringPtrInput
	// Renewal method 1: Manual renewal 2: Automatic renewal 3: Do not renew upon expiration.
	RenewType pulumi.Float64PtrInput
	// Size: data disk capacity in GiB. The capacity ranges for different types of data disks are as follows: ESSD*PL0: 10~65536 GiB; ESSD*FlexPL: 10~65536 GiB; TSSD_TL0: 40~65536 GiB
	Size pulumi.Float64PtrInput
	// Snapshot count.
	SnapshotCount pulumi.Float64PtrInput
	// Source snapshot.
	SourceSnapshotId pulumi.StringPtrInput
	// Disk status. Value description: available: Available. mounting: Mounting. mounted: Mounted. unmounting: Unmounting. creating: Creating. deleting: Deleting. error: Error. expanding: Expanding.
	Status pulumi.StringPtrInput
	// Disk tag information.
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Tags VolumeTagArrayInput
	// Total performance.
	TotalPerformance VolumeTotalPerformancePtrInput
	// Transaction status 0: Creating 1: Running 2: Creation failed
	TradeStatus pulumi.Float64PtrInput
	// Disk update time.
	UpdatedAt pulumi.StringPtrInput
	// Disk ID.
	VolumeId pulumi.StringPtrInput
	// Disk display name. Naming rules: The first character must be a Chinese character, a letter, or an underscore (*). Can contain Chinese characters, letters, numbers, underscores (*), or hyphens (-). Length must be between 1 and 128 characters.
	VolumeName pulumi.StringPtrInput
	// Disk type. Value description: ESSD*PL0: Ultra-fast SSD disk, PL0 specification. ESSD*FlexPL: Ultra-fast SSD disk, FlexPL specification. TSSD_TL0: Throughput SSD disk.
	VolumeType pulumi.StringPtrInput
	// Availability zone ID.
	ZoneId pulumi.StringPtrInput
}

func (VolumeState) ElementType

func (VolumeState) ElementType() reflect.Type

type VolumeTag

type VolumeTag struct {
	// Tag key.
	Key *string `pulumi:"key"`
	// Tag value.
	Value *string `pulumi:"value"`
}

type VolumeTagArgs

type VolumeTagArgs struct {
	// Tag key.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// Tag value.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (VolumeTagArgs) ElementType

func (VolumeTagArgs) ElementType() reflect.Type

func (VolumeTagArgs) ToVolumeTagOutput

func (i VolumeTagArgs) ToVolumeTagOutput() VolumeTagOutput

func (VolumeTagArgs) ToVolumeTagOutputWithContext

func (i VolumeTagArgs) ToVolumeTagOutputWithContext(ctx context.Context) VolumeTagOutput

type VolumeTagArray

type VolumeTagArray []VolumeTagInput

func (VolumeTagArray) ElementType

func (VolumeTagArray) ElementType() reflect.Type

func (VolumeTagArray) ToVolumeTagArrayOutput

func (i VolumeTagArray) ToVolumeTagArrayOutput() VolumeTagArrayOutput

func (VolumeTagArray) ToVolumeTagArrayOutputWithContext

func (i VolumeTagArray) ToVolumeTagArrayOutputWithContext(ctx context.Context) VolumeTagArrayOutput

type VolumeTagArrayInput

type VolumeTagArrayInput interface {
	pulumi.Input

	ToVolumeTagArrayOutput() VolumeTagArrayOutput
	ToVolumeTagArrayOutputWithContext(context.Context) VolumeTagArrayOutput
}

VolumeTagArrayInput is an input type that accepts VolumeTagArray and VolumeTagArrayOutput values. You can construct a concrete instance of `VolumeTagArrayInput` via:

VolumeTagArray{ VolumeTagArgs{...} }

type VolumeTagArrayOutput

type VolumeTagArrayOutput struct{ *pulumi.OutputState }

func (VolumeTagArrayOutput) ElementType

func (VolumeTagArrayOutput) ElementType() reflect.Type

func (VolumeTagArrayOutput) Index

func (VolumeTagArrayOutput) ToVolumeTagArrayOutput

func (o VolumeTagArrayOutput) ToVolumeTagArrayOutput() VolumeTagArrayOutput

func (VolumeTagArrayOutput) ToVolumeTagArrayOutputWithContext

func (o VolumeTagArrayOutput) ToVolumeTagArrayOutputWithContext(ctx context.Context) VolumeTagArrayOutput

type VolumeTagInput

type VolumeTagInput interface {
	pulumi.Input

	ToVolumeTagOutput() VolumeTagOutput
	ToVolumeTagOutputWithContext(context.Context) VolumeTagOutput
}

VolumeTagInput is an input type that accepts VolumeTagArgs and VolumeTagOutput values. You can construct a concrete instance of `VolumeTagInput` via:

VolumeTagArgs{...}

type VolumeTagOutput

type VolumeTagOutput struct{ *pulumi.OutputState }

func (VolumeTagOutput) ElementType

func (VolumeTagOutput) ElementType() reflect.Type

func (VolumeTagOutput) Key

Tag key.

func (VolumeTagOutput) ToVolumeTagOutput

func (o VolumeTagOutput) ToVolumeTagOutput() VolumeTagOutput

func (VolumeTagOutput) ToVolumeTagOutputWithContext

func (o VolumeTagOutput) ToVolumeTagOutputWithContext(ctx context.Context) VolumeTagOutput

func (VolumeTagOutput) Value

Tag value.

type VolumeTotalPerformance

type VolumeTotalPerformance struct {
	// Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.
	Iops *float64 `pulumi:"iops"`
	// The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.
	Throughput *float64 `pulumi:"throughput"`
}

type VolumeTotalPerformanceArgs

type VolumeTotalPerformanceArgs struct {
	// Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.
	Iops pulumi.Float64PtrInput `pulumi:"iops"`
	// The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.
	Throughput pulumi.Float64PtrInput `pulumi:"throughput"`
}

func (VolumeTotalPerformanceArgs) ElementType

func (VolumeTotalPerformanceArgs) ElementType() reflect.Type

func (VolumeTotalPerformanceArgs) ToVolumeTotalPerformanceOutput

func (i VolumeTotalPerformanceArgs) ToVolumeTotalPerformanceOutput() VolumeTotalPerformanceOutput

func (VolumeTotalPerformanceArgs) ToVolumeTotalPerformanceOutputWithContext

func (i VolumeTotalPerformanceArgs) ToVolumeTotalPerformanceOutputWithContext(ctx context.Context) VolumeTotalPerformanceOutput

func (VolumeTotalPerformanceArgs) ToVolumeTotalPerformancePtrOutput

func (i VolumeTotalPerformanceArgs) ToVolumeTotalPerformancePtrOutput() VolumeTotalPerformancePtrOutput

func (VolumeTotalPerformanceArgs) ToVolumeTotalPerformancePtrOutputWithContext

func (i VolumeTotalPerformanceArgs) ToVolumeTotalPerformancePtrOutputWithContext(ctx context.Context) VolumeTotalPerformancePtrOutput

type VolumeTotalPerformanceInput

type VolumeTotalPerformanceInput interface {
	pulumi.Input

	ToVolumeTotalPerformanceOutput() VolumeTotalPerformanceOutput
	ToVolumeTotalPerformanceOutputWithContext(context.Context) VolumeTotalPerformanceOutput
}

VolumeTotalPerformanceInput is an input type that accepts VolumeTotalPerformanceArgs and VolumeTotalPerformanceOutput values. You can construct a concrete instance of `VolumeTotalPerformanceInput` via:

VolumeTotalPerformanceArgs{...}

type VolumeTotalPerformanceOutput

type VolumeTotalPerformanceOutput struct{ *pulumi.OutputState }

func (VolumeTotalPerformanceOutput) ElementType

func (VolumeTotalPerformanceOutput) Iops

Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.

func (VolumeTotalPerformanceOutput) Throughput

The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.

func (VolumeTotalPerformanceOutput) ToVolumeTotalPerformanceOutput

func (o VolumeTotalPerformanceOutput) ToVolumeTotalPerformanceOutput() VolumeTotalPerformanceOutput

func (VolumeTotalPerformanceOutput) ToVolumeTotalPerformanceOutputWithContext

func (o VolumeTotalPerformanceOutput) ToVolumeTotalPerformanceOutputWithContext(ctx context.Context) VolumeTotalPerformanceOutput

func (VolumeTotalPerformanceOutput) ToVolumeTotalPerformancePtrOutput

func (o VolumeTotalPerformanceOutput) ToVolumeTotalPerformancePtrOutput() VolumeTotalPerformancePtrOutput

func (VolumeTotalPerformanceOutput) ToVolumeTotalPerformancePtrOutputWithContext

func (o VolumeTotalPerformanceOutput) ToVolumeTotalPerformancePtrOutputWithContext(ctx context.Context) VolumeTotalPerformancePtrOutput

type VolumeTotalPerformancePtrInput

type VolumeTotalPerformancePtrInput interface {
	pulumi.Input

	ToVolumeTotalPerformancePtrOutput() VolumeTotalPerformancePtrOutput
	ToVolumeTotalPerformancePtrOutputWithContext(context.Context) VolumeTotalPerformancePtrOutput
}

VolumeTotalPerformancePtrInput is an input type that accepts VolumeTotalPerformanceArgs, VolumeTotalPerformancePtr and VolumeTotalPerformancePtrOutput values. You can construct a concrete instance of `VolumeTotalPerformancePtrInput` via:

        VolumeTotalPerformanceArgs{...}

or:

        nil

type VolumeTotalPerformancePtrOutput

type VolumeTotalPerformancePtrOutput struct{ *pulumi.OutputState }

func (VolumeTotalPerformancePtrOutput) Elem

func (VolumeTotalPerformancePtrOutput) ElementType

func (VolumeTotalPerformancePtrOutput) Iops

Total IOPS of the disk, which is the sum of the baseline IOPS and extra IOPS.

func (VolumeTotalPerformancePtrOutput) Throughput

The total throughput of the cloud disk is the sum of its baseline throughput and additional throughput.

func (VolumeTotalPerformancePtrOutput) ToVolumeTotalPerformancePtrOutput

func (o VolumeTotalPerformancePtrOutput) ToVolumeTotalPerformancePtrOutput() VolumeTotalPerformancePtrOutput

func (VolumeTotalPerformancePtrOutput) ToVolumeTotalPerformancePtrOutputWithContext

func (o VolumeTotalPerformancePtrOutput) ToVolumeTotalPerformancePtrOutputWithContext(ctx context.Context) VolumeTotalPerformancePtrOutput

Jump to

Keyboard shortcuts

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