Documentation ¶
Index ¶
- type Snapshot
- type SnapshotArgs
- type SnapshotArray
- type SnapshotArrayInput
- type SnapshotArrayOutput
- type SnapshotInput
- type SnapshotMap
- type SnapshotMapInput
- type SnapshotMapOutput
- type SnapshotOutput
- func (o SnapshotOutput) CreateTime() pulumi.StringOutput
- func (o SnapshotOutput) DiskType() pulumi.StringOutput
- func (SnapshotOutput) ElementType() reflect.Type
- func (o SnapshotOutput) Percent() pulumi.IntOutput
- func (o SnapshotOutput) SnapshotName() pulumi.StringOutput
- func (o SnapshotOutput) SnapshotStatus() pulumi.StringOutput
- func (o SnapshotOutput) StorageId() pulumi.StringOutput
- func (o SnapshotOutput) StorageSize() pulumi.IntOutput
- func (o SnapshotOutput) ToSnapshotOutput() SnapshotOutput
- func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
- type SnapshotPoliciesArgs
- type SnapshotPoliciesOutputArgs
- type SnapshotPoliciesResult
- type SnapshotPoliciesResultOutput
- func (SnapshotPoliciesResultOutput) ElementType() reflect.Type
- func (o SnapshotPoliciesResultOutput) Id() pulumi.StringOutput
- func (o SnapshotPoliciesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o SnapshotPoliciesResultOutput) SnapshotPolicyId() pulumi.StringPtrOutput
- func (o SnapshotPoliciesResultOutput) SnapshotPolicyLists() SnapshotPoliciesSnapshotPolicyListArrayOutput
- func (o SnapshotPoliciesResultOutput) SnapshotPolicyName() pulumi.StringPtrOutput
- func (o SnapshotPoliciesResultOutput) ToSnapshotPoliciesResultOutput() SnapshotPoliciesResultOutput
- func (o SnapshotPoliciesResultOutput) ToSnapshotPoliciesResultOutputWithContext(ctx context.Context) SnapshotPoliciesResultOutput
- type SnapshotPoliciesSnapshotPolicyList
- type SnapshotPoliciesSnapshotPolicyListArgs
- func (SnapshotPoliciesSnapshotPolicyListArgs) ElementType() reflect.Type
- func (i SnapshotPoliciesSnapshotPolicyListArgs) ToSnapshotPoliciesSnapshotPolicyListOutput() SnapshotPoliciesSnapshotPolicyListOutput
- func (i SnapshotPoliciesSnapshotPolicyListArgs) ToSnapshotPoliciesSnapshotPolicyListOutputWithContext(ctx context.Context) SnapshotPoliciesSnapshotPolicyListOutput
- type SnapshotPoliciesSnapshotPolicyListArray
- func (SnapshotPoliciesSnapshotPolicyListArray) ElementType() reflect.Type
- func (i SnapshotPoliciesSnapshotPolicyListArray) ToSnapshotPoliciesSnapshotPolicyListArrayOutput() SnapshotPoliciesSnapshotPolicyListArrayOutput
- func (i SnapshotPoliciesSnapshotPolicyListArray) ToSnapshotPoliciesSnapshotPolicyListArrayOutputWithContext(ctx context.Context) SnapshotPoliciesSnapshotPolicyListArrayOutput
- type SnapshotPoliciesSnapshotPolicyListArrayInput
- type SnapshotPoliciesSnapshotPolicyListArrayOutput
- func (SnapshotPoliciesSnapshotPolicyListArrayOutput) ElementType() reflect.Type
- func (o SnapshotPoliciesSnapshotPolicyListArrayOutput) Index(i pulumi.IntInput) SnapshotPoliciesSnapshotPolicyListOutput
- func (o SnapshotPoliciesSnapshotPolicyListArrayOutput) ToSnapshotPoliciesSnapshotPolicyListArrayOutput() SnapshotPoliciesSnapshotPolicyListArrayOutput
- func (o SnapshotPoliciesSnapshotPolicyListArrayOutput) ToSnapshotPoliciesSnapshotPolicyListArrayOutputWithContext(ctx context.Context) SnapshotPoliciesSnapshotPolicyListArrayOutput
- type SnapshotPoliciesSnapshotPolicyListInput
- type SnapshotPoliciesSnapshotPolicyListOutput
- func (o SnapshotPoliciesSnapshotPolicyListOutput) AttachedStorageIds() pulumi.StringArrayOutput
- func (o SnapshotPoliciesSnapshotPolicyListOutput) CreateTime() pulumi.StringOutput
- func (SnapshotPoliciesSnapshotPolicyListOutput) ElementType() reflect.Type
- func (o SnapshotPoliciesSnapshotPolicyListOutput) RepeatHours() pulumi.IntArrayOutput
- func (o SnapshotPoliciesSnapshotPolicyListOutput) RepeatWeekdays() pulumi.IntArrayOutput
- func (o SnapshotPoliciesSnapshotPolicyListOutput) RetentionDays() pulumi.IntOutput
- func (o SnapshotPoliciesSnapshotPolicyListOutput) SnapshotPolicyId() pulumi.StringOutput
- func (o SnapshotPoliciesSnapshotPolicyListOutput) SnapshotPolicyName() pulumi.StringOutput
- func (o SnapshotPoliciesSnapshotPolicyListOutput) Status() pulumi.StringOutput
- func (o SnapshotPoliciesSnapshotPolicyListOutput) ToSnapshotPoliciesSnapshotPolicyListOutput() SnapshotPoliciesSnapshotPolicyListOutput
- func (o SnapshotPoliciesSnapshotPolicyListOutput) ToSnapshotPoliciesSnapshotPolicyListOutputWithContext(ctx context.Context) SnapshotPoliciesSnapshotPolicyListOutput
- type SnapshotPolicy
- type SnapshotPolicyArgs
- type SnapshotPolicyArray
- type SnapshotPolicyArrayInput
- type SnapshotPolicyArrayOutput
- func (SnapshotPolicyArrayOutput) ElementType() reflect.Type
- func (o SnapshotPolicyArrayOutput) Index(i pulumi.IntInput) SnapshotPolicyOutput
- func (o SnapshotPolicyArrayOutput) ToSnapshotPolicyArrayOutput() SnapshotPolicyArrayOutput
- func (o SnapshotPolicyArrayOutput) ToSnapshotPolicyArrayOutputWithContext(ctx context.Context) SnapshotPolicyArrayOutput
- type SnapshotPolicyAttachment
- type SnapshotPolicyAttachmentArgs
- type SnapshotPolicyAttachmentArray
- func (SnapshotPolicyAttachmentArray) ElementType() reflect.Type
- func (i SnapshotPolicyAttachmentArray) ToSnapshotPolicyAttachmentArrayOutput() SnapshotPolicyAttachmentArrayOutput
- func (i SnapshotPolicyAttachmentArray) ToSnapshotPolicyAttachmentArrayOutputWithContext(ctx context.Context) SnapshotPolicyAttachmentArrayOutput
- type SnapshotPolicyAttachmentArrayInput
- type SnapshotPolicyAttachmentArrayOutput
- func (SnapshotPolicyAttachmentArrayOutput) ElementType() reflect.Type
- func (o SnapshotPolicyAttachmentArrayOutput) Index(i pulumi.IntInput) SnapshotPolicyAttachmentOutput
- func (o SnapshotPolicyAttachmentArrayOutput) ToSnapshotPolicyAttachmentArrayOutput() SnapshotPolicyAttachmentArrayOutput
- func (o SnapshotPolicyAttachmentArrayOutput) ToSnapshotPolicyAttachmentArrayOutputWithContext(ctx context.Context) SnapshotPolicyAttachmentArrayOutput
- type SnapshotPolicyAttachmentInput
- type SnapshotPolicyAttachmentMap
- func (SnapshotPolicyAttachmentMap) ElementType() reflect.Type
- func (i SnapshotPolicyAttachmentMap) ToSnapshotPolicyAttachmentMapOutput() SnapshotPolicyAttachmentMapOutput
- func (i SnapshotPolicyAttachmentMap) ToSnapshotPolicyAttachmentMapOutputWithContext(ctx context.Context) SnapshotPolicyAttachmentMapOutput
- type SnapshotPolicyAttachmentMapInput
- type SnapshotPolicyAttachmentMapOutput
- func (SnapshotPolicyAttachmentMapOutput) ElementType() reflect.Type
- func (o SnapshotPolicyAttachmentMapOutput) MapIndex(k pulumi.StringInput) SnapshotPolicyAttachmentOutput
- func (o SnapshotPolicyAttachmentMapOutput) ToSnapshotPolicyAttachmentMapOutput() SnapshotPolicyAttachmentMapOutput
- func (o SnapshotPolicyAttachmentMapOutput) ToSnapshotPolicyAttachmentMapOutputWithContext(ctx context.Context) SnapshotPolicyAttachmentMapOutput
- type SnapshotPolicyAttachmentOutput
- func (SnapshotPolicyAttachmentOutput) ElementType() reflect.Type
- func (o SnapshotPolicyAttachmentOutput) SnapshotPolicyId() pulumi.StringOutput
- func (o SnapshotPolicyAttachmentOutput) StorageId() pulumi.StringOutput
- func (o SnapshotPolicyAttachmentOutput) ToSnapshotPolicyAttachmentOutput() SnapshotPolicyAttachmentOutput
- func (o SnapshotPolicyAttachmentOutput) ToSnapshotPolicyAttachmentOutputWithContext(ctx context.Context) SnapshotPolicyAttachmentOutput
- type SnapshotPolicyAttachmentState
- type SnapshotPolicyInput
- type SnapshotPolicyMap
- type SnapshotPolicyMapInput
- type SnapshotPolicyMapOutput
- func (SnapshotPolicyMapOutput) ElementType() reflect.Type
- func (o SnapshotPolicyMapOutput) MapIndex(k pulumi.StringInput) SnapshotPolicyOutput
- func (o SnapshotPolicyMapOutput) ToSnapshotPolicyMapOutput() SnapshotPolicyMapOutput
- func (o SnapshotPolicyMapOutput) ToSnapshotPolicyMapOutputWithContext(ctx context.Context) SnapshotPolicyMapOutput
- type SnapshotPolicyOutput
- func (SnapshotPolicyOutput) ElementType() reflect.Type
- func (o SnapshotPolicyOutput) RepeatHours() pulumi.IntArrayOutput
- func (o SnapshotPolicyOutput) RepeatWeekdays() pulumi.IntArrayOutput
- func (o SnapshotPolicyOutput) RetentionDays() pulumi.IntPtrOutput
- func (o SnapshotPolicyOutput) SnapshotPolicyName() pulumi.StringOutput
- func (o SnapshotPolicyOutput) ToSnapshotPolicyOutput() SnapshotPolicyOutput
- func (o SnapshotPolicyOutput) ToSnapshotPolicyOutputWithContext(ctx context.Context) SnapshotPolicyOutput
- type SnapshotPolicyState
- type SnapshotState
- type SnapshotsArgs
- type SnapshotsOutputArgs
- type SnapshotsResult
- type SnapshotsResultOutput
- func (o SnapshotsResultOutput) AvailabilityZone() pulumi.StringPtrOutput
- func (SnapshotsResultOutput) ElementType() reflect.Type
- func (o SnapshotsResultOutput) Id() pulumi.StringOutput
- func (o SnapshotsResultOutput) ProjectId() pulumi.IntPtrOutput
- func (o SnapshotsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o SnapshotsResultOutput) SnapshotId() pulumi.StringPtrOutput
- func (o SnapshotsResultOutput) SnapshotLists() SnapshotsSnapshotListArrayOutput
- func (o SnapshotsResultOutput) SnapshotName() pulumi.StringPtrOutput
- func (o SnapshotsResultOutput) StorageId() pulumi.StringPtrOutput
- func (o SnapshotsResultOutput) StorageUsage() pulumi.StringPtrOutput
- func (o SnapshotsResultOutput) ToSnapshotsResultOutput() SnapshotsResultOutput
- func (o SnapshotsResultOutput) ToSnapshotsResultOutputWithContext(ctx context.Context) SnapshotsResultOutput
- type SnapshotsSnapshotList
- type SnapshotsSnapshotListArgs
- type SnapshotsSnapshotListArray
- func (SnapshotsSnapshotListArray) ElementType() reflect.Type
- func (i SnapshotsSnapshotListArray) ToSnapshotsSnapshotListArrayOutput() SnapshotsSnapshotListArrayOutput
- func (i SnapshotsSnapshotListArray) ToSnapshotsSnapshotListArrayOutputWithContext(ctx context.Context) SnapshotsSnapshotListArrayOutput
- type SnapshotsSnapshotListArrayInput
- type SnapshotsSnapshotListArrayOutput
- func (SnapshotsSnapshotListArrayOutput) ElementType() reflect.Type
- func (o SnapshotsSnapshotListArrayOutput) Index(i pulumi.IntInput) SnapshotsSnapshotListOutput
- func (o SnapshotsSnapshotListArrayOutput) ToSnapshotsSnapshotListArrayOutput() SnapshotsSnapshotListArrayOutput
- func (o SnapshotsSnapshotListArrayOutput) ToSnapshotsSnapshotListArrayOutputWithContext(ctx context.Context) SnapshotsSnapshotListArrayOutput
- type SnapshotsSnapshotListInput
- type SnapshotsSnapshotListOutput
- func (o SnapshotsSnapshotListOutput) AvailabilityZone() pulumi.StringOutput
- func (o SnapshotsSnapshotListOutput) CreateTime() pulumi.StringOutput
- func (SnapshotsSnapshotListOutput) ElementType() reflect.Type
- func (o SnapshotsSnapshotListOutput) Encrypt() pulumi.BoolOutput
- func (o SnapshotsSnapshotListOutput) Percent() pulumi.IntOutput
- func (o SnapshotsSnapshotListOutput) ProjectId() pulumi.IntOutput
- func (o SnapshotsSnapshotListOutput) SnapshotId() pulumi.StringOutput
- func (o SnapshotsSnapshotListOutput) SnapshotName() pulumi.StringOutput
- func (o SnapshotsSnapshotListOutput) StorageId() pulumi.StringOutput
- func (o SnapshotsSnapshotListOutput) StorageSize() pulumi.IntOutput
- func (o SnapshotsSnapshotListOutput) StorageUsage() pulumi.StringOutput
- func (o SnapshotsSnapshotListOutput) ToSnapshotsSnapshotListOutput() SnapshotsSnapshotListOutput
- func (o SnapshotsSnapshotListOutput) ToSnapshotsSnapshotListOutputWithContext(ctx context.Context) SnapshotsSnapshotListOutput
- type Storage
- type StorageArgs
- type StorageArray
- type StorageArrayInput
- type StorageArrayOutput
- type StorageAttachment
- type StorageAttachmentArgs
- type StorageAttachmentArray
- type StorageAttachmentArrayInput
- type StorageAttachmentArrayOutput
- func (StorageAttachmentArrayOutput) ElementType() reflect.Type
- func (o StorageAttachmentArrayOutput) Index(i pulumi.IntInput) StorageAttachmentOutput
- func (o StorageAttachmentArrayOutput) ToStorageAttachmentArrayOutput() StorageAttachmentArrayOutput
- func (o StorageAttachmentArrayOutput) ToStorageAttachmentArrayOutputWithContext(ctx context.Context) StorageAttachmentArrayOutput
- type StorageAttachmentInput
- type StorageAttachmentMap
- type StorageAttachmentMapInput
- type StorageAttachmentMapOutput
- func (StorageAttachmentMapOutput) ElementType() reflect.Type
- func (o StorageAttachmentMapOutput) MapIndex(k pulumi.StringInput) StorageAttachmentOutput
- func (o StorageAttachmentMapOutput) ToStorageAttachmentMapOutput() StorageAttachmentMapOutput
- func (o StorageAttachmentMapOutput) ToStorageAttachmentMapOutputWithContext(ctx context.Context) StorageAttachmentMapOutput
- type StorageAttachmentOutput
- func (StorageAttachmentOutput) ElementType() reflect.Type
- func (o StorageAttachmentOutput) InstanceId() pulumi.StringOutput
- func (o StorageAttachmentOutput) StorageId() pulumi.StringOutput
- func (o StorageAttachmentOutput) ToStorageAttachmentOutput() StorageAttachmentOutput
- func (o StorageAttachmentOutput) ToStorageAttachmentOutputWithContext(ctx context.Context) StorageAttachmentOutput
- type StorageAttachmentState
- type StorageInput
- type StorageMap
- type StorageMapInput
- type StorageMapOutput
- type StorageOutput
- func (o StorageOutput) Attached() pulumi.BoolOutput
- func (o StorageOutput) AvailabilityZone() pulumi.StringOutput
- func (o StorageOutput) ChargeType() pulumi.StringPtrOutput
- func (StorageOutput) ElementType() reflect.Type
- func (o StorageOutput) Encrypt() pulumi.BoolPtrOutput
- func (o StorageOutput) ForceDelete() pulumi.BoolPtrOutput
- func (o StorageOutput) Period() pulumi.IntPtrOutputdeprecated
- func (o StorageOutput) PrepaidPeriod() pulumi.IntOutput
- func (o StorageOutput) PrepaidRenewFlag() pulumi.StringOutput
- func (o StorageOutput) ProjectId() pulumi.IntPtrOutput
- func (o StorageOutput) SnapshotId() pulumi.StringOutput
- func (o StorageOutput) StorageName() pulumi.StringOutput
- func (o StorageOutput) StorageSize() pulumi.IntOutput
- func (o StorageOutput) StorageStatus() pulumi.StringOutput
- func (o StorageOutput) StorageType() pulumi.StringOutput
- func (o StorageOutput) Tags() pulumi.MapOutput
- func (o StorageOutput) ThroughputPerformance() pulumi.IntPtrOutput
- func (o StorageOutput) ToStorageOutput() StorageOutput
- func (o StorageOutput) ToStorageOutputWithContext(ctx context.Context) StorageOutput
- type StorageState
- type StoragesArgs
- type StoragesOutputArgs
- type StoragesResult
- type StoragesResultOutput
- func (o StoragesResultOutput) AvailabilityZone() pulumi.StringPtrOutput
- func (o StoragesResultOutput) ChargeTypes() pulumi.StringArrayOutput
- func (StoragesResultOutput) ElementType() reflect.Type
- func (o StoragesResultOutput) Id() pulumi.StringOutput
- func (o StoragesResultOutput) InstanceIps() pulumi.StringArrayOutput
- func (o StoragesResultOutput) InstanceNames() pulumi.StringArrayOutput
- func (o StoragesResultOutput) Portable() pulumi.BoolPtrOutput
- func (o StoragesResultOutput) ProjectId() pulumi.IntPtrOutput
- func (o StoragesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o StoragesResultOutput) StorageId() pulumi.StringPtrOutput
- func (o StoragesResultOutput) StorageLists() StoragesStorageListArrayOutput
- func (o StoragesResultOutput) StorageName() pulumi.StringPtrOutput
- func (o StoragesResultOutput) StorageStates() pulumi.StringArrayOutput
- func (o StoragesResultOutput) StorageType() pulumi.StringPtrOutput
- func (o StoragesResultOutput) StorageUsage() pulumi.StringPtrOutput
- func (o StoragesResultOutput) TagKeys() pulumi.StringArrayOutput
- func (o StoragesResultOutput) TagValues() pulumi.StringArrayOutput
- func (o StoragesResultOutput) ToStoragesResultOutput() StoragesResultOutput
- func (o StoragesResultOutput) ToStoragesResultOutputWithContext(ctx context.Context) StoragesResultOutput
- type StoragesStorageList
- type StoragesStorageListArgs
- type StoragesStorageListArray
- type StoragesStorageListArrayInput
- type StoragesStorageListArrayOutput
- func (StoragesStorageListArrayOutput) ElementType() reflect.Type
- func (o StoragesStorageListArrayOutput) Index(i pulumi.IntInput) StoragesStorageListOutput
- func (o StoragesStorageListArrayOutput) ToStoragesStorageListArrayOutput() StoragesStorageListArrayOutput
- func (o StoragesStorageListArrayOutput) ToStoragesStorageListArrayOutputWithContext(ctx context.Context) StoragesStorageListArrayOutput
- type StoragesStorageListInput
- type StoragesStorageListOutput
- func (o StoragesStorageListOutput) Attached() pulumi.BoolOutput
- func (o StoragesStorageListOutput) AvailabilityZone() pulumi.StringOutput
- func (o StoragesStorageListOutput) ChargeType() pulumi.StringOutput
- func (o StoragesStorageListOutput) CreateTime() pulumi.StringOutput
- func (StoragesStorageListOutput) ElementType() reflect.Type
- func (o StoragesStorageListOutput) Encrypt() pulumi.BoolOutput
- func (o StoragesStorageListOutput) InstanceId() pulumi.StringOutput
- func (o StoragesStorageListOutput) PrepaidRenewFlag() pulumi.StringOutput
- func (o StoragesStorageListOutput) ProjectId() pulumi.IntOutput
- func (o StoragesStorageListOutput) Status() pulumi.StringOutput
- func (o StoragesStorageListOutput) StorageId() pulumi.StringOutput
- func (o StoragesStorageListOutput) StorageName() pulumi.StringOutput
- func (o StoragesStorageListOutput) StorageSize() pulumi.IntOutput
- func (o StoragesStorageListOutput) StorageType() pulumi.StringOutput
- func (o StoragesStorageListOutput) StorageUsage() pulumi.StringOutput
- func (o StoragesStorageListOutput) Tags() pulumi.MapOutput
- func (o StoragesStorageListOutput) ThroughputPerformance() pulumi.IntOutput
- func (o StoragesStorageListOutput) ToStoragesStorageListOutput() StoragesStorageListOutput
- func (o StoragesStorageListOutput) ToStoragesStorageListOutputWithContext(ctx context.Context) StoragesStorageListOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Snapshot ¶
type Snapshot struct { pulumi.CustomResourceState // Creation time of snapshot. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Types of CBS which this snapshot created from. DiskType pulumi.StringOutput `pulumi:"diskType"` // Snapshot creation progress percentage. If the snapshot has created successfully, the constant value is 100. Percent pulumi.IntOutput `pulumi:"percent"` // Name of the snapshot. SnapshotName pulumi.StringOutput `pulumi:"snapshotName"` // Status of the snapshot. SnapshotStatus pulumi.StringOutput `pulumi:"snapshotStatus"` // ID of the the CBS which this snapshot created from. StorageId pulumi.StringOutput `pulumi:"storageId"` // Volume of storage which this snapshot created from. StorageSize pulumi.IntOutput `pulumi:"storageSize"` }
func GetSnapshot ¶
func GetSnapshot(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SnapshotState, opts ...pulumi.ResourceOption) (*Snapshot, error)
GetSnapshot gets an existing Snapshot resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSnapshot ¶
func NewSnapshot(ctx *pulumi.Context, name string, args *SnapshotArgs, opts ...pulumi.ResourceOption) (*Snapshot, error)
NewSnapshot registers a new resource with the given unique name, arguments, and options.
func (*Snapshot) ElementType ¶
func (*Snapshot) ToSnapshotOutput ¶
func (i *Snapshot) ToSnapshotOutput() SnapshotOutput
func (*Snapshot) ToSnapshotOutputWithContext ¶
func (i *Snapshot) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
type SnapshotArgs ¶
type SnapshotArgs struct { // Name of the snapshot. SnapshotName pulumi.StringInput // ID of the the CBS which this snapshot created from. StorageId pulumi.StringInput }
The set of arguments for constructing a Snapshot resource.
func (SnapshotArgs) ElementType ¶
func (SnapshotArgs) ElementType() reflect.Type
type SnapshotArray ¶
type SnapshotArray []SnapshotInput
func (SnapshotArray) ElementType ¶
func (SnapshotArray) ElementType() reflect.Type
func (SnapshotArray) ToSnapshotArrayOutput ¶
func (i SnapshotArray) ToSnapshotArrayOutput() SnapshotArrayOutput
func (SnapshotArray) ToSnapshotArrayOutputWithContext ¶
func (i SnapshotArray) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput
type SnapshotArrayInput ¶
type SnapshotArrayInput interface { pulumi.Input ToSnapshotArrayOutput() SnapshotArrayOutput ToSnapshotArrayOutputWithContext(context.Context) SnapshotArrayOutput }
SnapshotArrayInput is an input type that accepts SnapshotArray and SnapshotArrayOutput values. You can construct a concrete instance of `SnapshotArrayInput` via:
SnapshotArray{ SnapshotArgs{...} }
type SnapshotArrayOutput ¶
type SnapshotArrayOutput struct{ *pulumi.OutputState }
func (SnapshotArrayOutput) ElementType ¶
func (SnapshotArrayOutput) ElementType() reflect.Type
func (SnapshotArrayOutput) Index ¶
func (o SnapshotArrayOutput) Index(i pulumi.IntInput) SnapshotOutput
func (SnapshotArrayOutput) ToSnapshotArrayOutput ¶
func (o SnapshotArrayOutput) ToSnapshotArrayOutput() SnapshotArrayOutput
func (SnapshotArrayOutput) ToSnapshotArrayOutputWithContext ¶
func (o SnapshotArrayOutput) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput
type SnapshotInput ¶
type SnapshotInput interface { pulumi.Input ToSnapshotOutput() SnapshotOutput ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput }
type SnapshotMap ¶
type SnapshotMap map[string]SnapshotInput
func (SnapshotMap) ElementType ¶
func (SnapshotMap) ElementType() reflect.Type
func (SnapshotMap) ToSnapshotMapOutput ¶
func (i SnapshotMap) ToSnapshotMapOutput() SnapshotMapOutput
func (SnapshotMap) ToSnapshotMapOutputWithContext ¶
func (i SnapshotMap) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput
type SnapshotMapInput ¶
type SnapshotMapInput interface { pulumi.Input ToSnapshotMapOutput() SnapshotMapOutput ToSnapshotMapOutputWithContext(context.Context) SnapshotMapOutput }
SnapshotMapInput is an input type that accepts SnapshotMap and SnapshotMapOutput values. You can construct a concrete instance of `SnapshotMapInput` via:
SnapshotMap{ "key": SnapshotArgs{...} }
type SnapshotMapOutput ¶
type SnapshotMapOutput struct{ *pulumi.OutputState }
func (SnapshotMapOutput) ElementType ¶
func (SnapshotMapOutput) ElementType() reflect.Type
func (SnapshotMapOutput) MapIndex ¶
func (o SnapshotMapOutput) MapIndex(k pulumi.StringInput) SnapshotOutput
func (SnapshotMapOutput) ToSnapshotMapOutput ¶
func (o SnapshotMapOutput) ToSnapshotMapOutput() SnapshotMapOutput
func (SnapshotMapOutput) ToSnapshotMapOutputWithContext ¶
func (o SnapshotMapOutput) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput
type SnapshotOutput ¶
type SnapshotOutput struct{ *pulumi.OutputState }
func (SnapshotOutput) CreateTime ¶
func (o SnapshotOutput) CreateTime() pulumi.StringOutput
Creation time of snapshot.
func (SnapshotOutput) DiskType ¶
func (o SnapshotOutput) DiskType() pulumi.StringOutput
Types of CBS which this snapshot created from.
func (SnapshotOutput) ElementType ¶
func (SnapshotOutput) ElementType() reflect.Type
func (SnapshotOutput) Percent ¶
func (o SnapshotOutput) Percent() pulumi.IntOutput
Snapshot creation progress percentage. If the snapshot has created successfully, the constant value is 100.
func (SnapshotOutput) SnapshotName ¶
func (o SnapshotOutput) SnapshotName() pulumi.StringOutput
Name of the snapshot.
func (SnapshotOutput) SnapshotStatus ¶
func (o SnapshotOutput) SnapshotStatus() pulumi.StringOutput
Status of the snapshot.
func (SnapshotOutput) StorageId ¶
func (o SnapshotOutput) StorageId() pulumi.StringOutput
ID of the the CBS which this snapshot created from.
func (SnapshotOutput) StorageSize ¶
func (o SnapshotOutput) StorageSize() pulumi.IntOutput
Volume of storage which this snapshot created from.
func (SnapshotOutput) ToSnapshotOutput ¶
func (o SnapshotOutput) ToSnapshotOutput() SnapshotOutput
func (SnapshotOutput) ToSnapshotOutputWithContext ¶
func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
type SnapshotPoliciesArgs ¶
type SnapshotPoliciesArgs struct { ResultOutputFile *string `pulumi:"resultOutputFile"` SnapshotPolicyId *string `pulumi:"snapshotPolicyId"` SnapshotPolicyName *string `pulumi:"snapshotPolicyName"` }
A collection of arguments for invoking SnapshotPolicies.
type SnapshotPoliciesOutputArgs ¶
type SnapshotPoliciesOutputArgs struct { ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` SnapshotPolicyId pulumi.StringPtrInput `pulumi:"snapshotPolicyId"` SnapshotPolicyName pulumi.StringPtrInput `pulumi:"snapshotPolicyName"` }
A collection of arguments for invoking SnapshotPolicies.
func (SnapshotPoliciesOutputArgs) ElementType ¶
func (SnapshotPoliciesOutputArgs) ElementType() reflect.Type
type SnapshotPoliciesResult ¶
type SnapshotPoliciesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` ResultOutputFile *string `pulumi:"resultOutputFile"` SnapshotPolicyId *string `pulumi:"snapshotPolicyId"` SnapshotPolicyLists []SnapshotPoliciesSnapshotPolicyList `pulumi:"snapshotPolicyLists"` SnapshotPolicyName *string `pulumi:"snapshotPolicyName"` }
A collection of values returned by SnapshotPolicies.
func SnapshotPolicies ¶
func SnapshotPolicies(ctx *pulumi.Context, args *SnapshotPoliciesArgs, opts ...pulumi.InvokeOption) (*SnapshotPoliciesResult, error)
type SnapshotPoliciesResultOutput ¶
type SnapshotPoliciesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by SnapshotPolicies.
func SnapshotPoliciesOutput ¶
func SnapshotPoliciesOutput(ctx *pulumi.Context, args SnapshotPoliciesOutputArgs, opts ...pulumi.InvokeOption) SnapshotPoliciesResultOutput
func (SnapshotPoliciesResultOutput) ElementType ¶
func (SnapshotPoliciesResultOutput) ElementType() reflect.Type
func (SnapshotPoliciesResultOutput) Id ¶
func (o SnapshotPoliciesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (SnapshotPoliciesResultOutput) ResultOutputFile ¶
func (o SnapshotPoliciesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (SnapshotPoliciesResultOutput) SnapshotPolicyId ¶
func (o SnapshotPoliciesResultOutput) SnapshotPolicyId() pulumi.StringPtrOutput
func (SnapshotPoliciesResultOutput) SnapshotPolicyLists ¶
func (o SnapshotPoliciesResultOutput) SnapshotPolicyLists() SnapshotPoliciesSnapshotPolicyListArrayOutput
func (SnapshotPoliciesResultOutput) SnapshotPolicyName ¶
func (o SnapshotPoliciesResultOutput) SnapshotPolicyName() pulumi.StringPtrOutput
func (SnapshotPoliciesResultOutput) ToSnapshotPoliciesResultOutput ¶
func (o SnapshotPoliciesResultOutput) ToSnapshotPoliciesResultOutput() SnapshotPoliciesResultOutput
func (SnapshotPoliciesResultOutput) ToSnapshotPoliciesResultOutputWithContext ¶
func (o SnapshotPoliciesResultOutput) ToSnapshotPoliciesResultOutputWithContext(ctx context.Context) SnapshotPoliciesResultOutput
type SnapshotPoliciesSnapshotPolicyList ¶
type SnapshotPoliciesSnapshotPolicyList struct { AttachedStorageIds []string `pulumi:"attachedStorageIds"` CreateTime string `pulumi:"createTime"` RepeatHours []int `pulumi:"repeatHours"` RepeatWeekdays []int `pulumi:"repeatWeekdays"` RetentionDays int `pulumi:"retentionDays"` SnapshotPolicyId string `pulumi:"snapshotPolicyId"` SnapshotPolicyName string `pulumi:"snapshotPolicyName"` Status string `pulumi:"status"` }
type SnapshotPoliciesSnapshotPolicyListArgs ¶
type SnapshotPoliciesSnapshotPolicyListArgs struct { AttachedStorageIds pulumi.StringArrayInput `pulumi:"attachedStorageIds"` CreateTime pulumi.StringInput `pulumi:"createTime"` RepeatHours pulumi.IntArrayInput `pulumi:"repeatHours"` RepeatWeekdays pulumi.IntArrayInput `pulumi:"repeatWeekdays"` RetentionDays pulumi.IntInput `pulumi:"retentionDays"` SnapshotPolicyId pulumi.StringInput `pulumi:"snapshotPolicyId"` SnapshotPolicyName pulumi.StringInput `pulumi:"snapshotPolicyName"` Status pulumi.StringInput `pulumi:"status"` }
func (SnapshotPoliciesSnapshotPolicyListArgs) ElementType ¶
func (SnapshotPoliciesSnapshotPolicyListArgs) ElementType() reflect.Type
func (SnapshotPoliciesSnapshotPolicyListArgs) ToSnapshotPoliciesSnapshotPolicyListOutput ¶
func (i SnapshotPoliciesSnapshotPolicyListArgs) ToSnapshotPoliciesSnapshotPolicyListOutput() SnapshotPoliciesSnapshotPolicyListOutput
func (SnapshotPoliciesSnapshotPolicyListArgs) ToSnapshotPoliciesSnapshotPolicyListOutputWithContext ¶
func (i SnapshotPoliciesSnapshotPolicyListArgs) ToSnapshotPoliciesSnapshotPolicyListOutputWithContext(ctx context.Context) SnapshotPoliciesSnapshotPolicyListOutput
type SnapshotPoliciesSnapshotPolicyListArray ¶
type SnapshotPoliciesSnapshotPolicyListArray []SnapshotPoliciesSnapshotPolicyListInput
func (SnapshotPoliciesSnapshotPolicyListArray) ElementType ¶
func (SnapshotPoliciesSnapshotPolicyListArray) ElementType() reflect.Type
func (SnapshotPoliciesSnapshotPolicyListArray) ToSnapshotPoliciesSnapshotPolicyListArrayOutput ¶
func (i SnapshotPoliciesSnapshotPolicyListArray) ToSnapshotPoliciesSnapshotPolicyListArrayOutput() SnapshotPoliciesSnapshotPolicyListArrayOutput
func (SnapshotPoliciesSnapshotPolicyListArray) ToSnapshotPoliciesSnapshotPolicyListArrayOutputWithContext ¶
func (i SnapshotPoliciesSnapshotPolicyListArray) ToSnapshotPoliciesSnapshotPolicyListArrayOutputWithContext(ctx context.Context) SnapshotPoliciesSnapshotPolicyListArrayOutput
type SnapshotPoliciesSnapshotPolicyListArrayInput ¶
type SnapshotPoliciesSnapshotPolicyListArrayInput interface { pulumi.Input ToSnapshotPoliciesSnapshotPolicyListArrayOutput() SnapshotPoliciesSnapshotPolicyListArrayOutput ToSnapshotPoliciesSnapshotPolicyListArrayOutputWithContext(context.Context) SnapshotPoliciesSnapshotPolicyListArrayOutput }
SnapshotPoliciesSnapshotPolicyListArrayInput is an input type that accepts SnapshotPoliciesSnapshotPolicyListArray and SnapshotPoliciesSnapshotPolicyListArrayOutput values. You can construct a concrete instance of `SnapshotPoliciesSnapshotPolicyListArrayInput` via:
SnapshotPoliciesSnapshotPolicyListArray{ SnapshotPoliciesSnapshotPolicyListArgs{...} }
type SnapshotPoliciesSnapshotPolicyListArrayOutput ¶
type SnapshotPoliciesSnapshotPolicyListArrayOutput struct{ *pulumi.OutputState }
func (SnapshotPoliciesSnapshotPolicyListArrayOutput) ElementType ¶
func (SnapshotPoliciesSnapshotPolicyListArrayOutput) ElementType() reflect.Type
func (SnapshotPoliciesSnapshotPolicyListArrayOutput) ToSnapshotPoliciesSnapshotPolicyListArrayOutput ¶
func (o SnapshotPoliciesSnapshotPolicyListArrayOutput) ToSnapshotPoliciesSnapshotPolicyListArrayOutput() SnapshotPoliciesSnapshotPolicyListArrayOutput
func (SnapshotPoliciesSnapshotPolicyListArrayOutput) ToSnapshotPoliciesSnapshotPolicyListArrayOutputWithContext ¶
func (o SnapshotPoliciesSnapshotPolicyListArrayOutput) ToSnapshotPoliciesSnapshotPolicyListArrayOutputWithContext(ctx context.Context) SnapshotPoliciesSnapshotPolicyListArrayOutput
type SnapshotPoliciesSnapshotPolicyListInput ¶
type SnapshotPoliciesSnapshotPolicyListInput interface { pulumi.Input ToSnapshotPoliciesSnapshotPolicyListOutput() SnapshotPoliciesSnapshotPolicyListOutput ToSnapshotPoliciesSnapshotPolicyListOutputWithContext(context.Context) SnapshotPoliciesSnapshotPolicyListOutput }
SnapshotPoliciesSnapshotPolicyListInput is an input type that accepts SnapshotPoliciesSnapshotPolicyListArgs and SnapshotPoliciesSnapshotPolicyListOutput values. You can construct a concrete instance of `SnapshotPoliciesSnapshotPolicyListInput` via:
SnapshotPoliciesSnapshotPolicyListArgs{...}
type SnapshotPoliciesSnapshotPolicyListOutput ¶
type SnapshotPoliciesSnapshotPolicyListOutput struct{ *pulumi.OutputState }
func (SnapshotPoliciesSnapshotPolicyListOutput) AttachedStorageIds ¶
func (o SnapshotPoliciesSnapshotPolicyListOutput) AttachedStorageIds() pulumi.StringArrayOutput
func (SnapshotPoliciesSnapshotPolicyListOutput) CreateTime ¶
func (o SnapshotPoliciesSnapshotPolicyListOutput) CreateTime() pulumi.StringOutput
func (SnapshotPoliciesSnapshotPolicyListOutput) ElementType ¶
func (SnapshotPoliciesSnapshotPolicyListOutput) ElementType() reflect.Type
func (SnapshotPoliciesSnapshotPolicyListOutput) RepeatHours ¶
func (o SnapshotPoliciesSnapshotPolicyListOutput) RepeatHours() pulumi.IntArrayOutput
func (SnapshotPoliciesSnapshotPolicyListOutput) RepeatWeekdays ¶
func (o SnapshotPoliciesSnapshotPolicyListOutput) RepeatWeekdays() pulumi.IntArrayOutput
func (SnapshotPoliciesSnapshotPolicyListOutput) RetentionDays ¶
func (o SnapshotPoliciesSnapshotPolicyListOutput) RetentionDays() pulumi.IntOutput
func (SnapshotPoliciesSnapshotPolicyListOutput) SnapshotPolicyId ¶
func (o SnapshotPoliciesSnapshotPolicyListOutput) SnapshotPolicyId() pulumi.StringOutput
func (SnapshotPoliciesSnapshotPolicyListOutput) SnapshotPolicyName ¶
func (o SnapshotPoliciesSnapshotPolicyListOutput) SnapshotPolicyName() pulumi.StringOutput
func (SnapshotPoliciesSnapshotPolicyListOutput) Status ¶
func (o SnapshotPoliciesSnapshotPolicyListOutput) Status() pulumi.StringOutput
func (SnapshotPoliciesSnapshotPolicyListOutput) ToSnapshotPoliciesSnapshotPolicyListOutput ¶
func (o SnapshotPoliciesSnapshotPolicyListOutput) ToSnapshotPoliciesSnapshotPolicyListOutput() SnapshotPoliciesSnapshotPolicyListOutput
func (SnapshotPoliciesSnapshotPolicyListOutput) ToSnapshotPoliciesSnapshotPolicyListOutputWithContext ¶
func (o SnapshotPoliciesSnapshotPolicyListOutput) ToSnapshotPoliciesSnapshotPolicyListOutputWithContext(ctx context.Context) SnapshotPoliciesSnapshotPolicyListOutput
type SnapshotPolicy ¶
type SnapshotPolicy struct { pulumi.CustomResourceState // Trigger times of periodic snapshot. Valid value ranges: (0~23). The 0 means 00:00, and so on. RepeatHours pulumi.IntArrayOutput `pulumi:"repeatHours"` // Periodic snapshot is enabled. Valid values: [0, 1, 2, 3, 4, 5, 6]. 0 means Sunday, 1-6 means Monday to Saturday. RepeatWeekdays pulumi.IntArrayOutput `pulumi:"repeatWeekdays"` // Retention days of the snapshot, and the default value is 7. RetentionDays pulumi.IntPtrOutput `pulumi:"retentionDays"` // Name of snapshot policy. The maximum length can not exceed 60 bytes. SnapshotPolicyName pulumi.StringOutput `pulumi:"snapshotPolicyName"` }
func GetSnapshotPolicy ¶
func GetSnapshotPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SnapshotPolicyState, opts ...pulumi.ResourceOption) (*SnapshotPolicy, error)
GetSnapshotPolicy gets an existing SnapshotPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSnapshotPolicy ¶
func NewSnapshotPolicy(ctx *pulumi.Context, name string, args *SnapshotPolicyArgs, opts ...pulumi.ResourceOption) (*SnapshotPolicy, error)
NewSnapshotPolicy registers a new resource with the given unique name, arguments, and options.
func (*SnapshotPolicy) ElementType ¶
func (*SnapshotPolicy) ElementType() reflect.Type
func (*SnapshotPolicy) ToSnapshotPolicyOutput ¶
func (i *SnapshotPolicy) ToSnapshotPolicyOutput() SnapshotPolicyOutput
func (*SnapshotPolicy) ToSnapshotPolicyOutputWithContext ¶
func (i *SnapshotPolicy) ToSnapshotPolicyOutputWithContext(ctx context.Context) SnapshotPolicyOutput
type SnapshotPolicyArgs ¶
type SnapshotPolicyArgs struct { // Trigger times of periodic snapshot. Valid value ranges: (0~23). The 0 means 00:00, and so on. RepeatHours pulumi.IntArrayInput // Periodic snapshot is enabled. Valid values: [0, 1, 2, 3, 4, 5, 6]. 0 means Sunday, 1-6 means Monday to Saturday. RepeatWeekdays pulumi.IntArrayInput // Retention days of the snapshot, and the default value is 7. RetentionDays pulumi.IntPtrInput // Name of snapshot policy. The maximum length can not exceed 60 bytes. SnapshotPolicyName pulumi.StringInput }
The set of arguments for constructing a SnapshotPolicy resource.
func (SnapshotPolicyArgs) ElementType ¶
func (SnapshotPolicyArgs) ElementType() reflect.Type
type SnapshotPolicyArray ¶
type SnapshotPolicyArray []SnapshotPolicyInput
func (SnapshotPolicyArray) ElementType ¶
func (SnapshotPolicyArray) ElementType() reflect.Type
func (SnapshotPolicyArray) ToSnapshotPolicyArrayOutput ¶
func (i SnapshotPolicyArray) ToSnapshotPolicyArrayOutput() SnapshotPolicyArrayOutput
func (SnapshotPolicyArray) ToSnapshotPolicyArrayOutputWithContext ¶
func (i SnapshotPolicyArray) ToSnapshotPolicyArrayOutputWithContext(ctx context.Context) SnapshotPolicyArrayOutput
type SnapshotPolicyArrayInput ¶
type SnapshotPolicyArrayInput interface { pulumi.Input ToSnapshotPolicyArrayOutput() SnapshotPolicyArrayOutput ToSnapshotPolicyArrayOutputWithContext(context.Context) SnapshotPolicyArrayOutput }
SnapshotPolicyArrayInput is an input type that accepts SnapshotPolicyArray and SnapshotPolicyArrayOutput values. You can construct a concrete instance of `SnapshotPolicyArrayInput` via:
SnapshotPolicyArray{ SnapshotPolicyArgs{...} }
type SnapshotPolicyArrayOutput ¶
type SnapshotPolicyArrayOutput struct{ *pulumi.OutputState }
func (SnapshotPolicyArrayOutput) ElementType ¶
func (SnapshotPolicyArrayOutput) ElementType() reflect.Type
func (SnapshotPolicyArrayOutput) Index ¶
func (o SnapshotPolicyArrayOutput) Index(i pulumi.IntInput) SnapshotPolicyOutput
func (SnapshotPolicyArrayOutput) ToSnapshotPolicyArrayOutput ¶
func (o SnapshotPolicyArrayOutput) ToSnapshotPolicyArrayOutput() SnapshotPolicyArrayOutput
func (SnapshotPolicyArrayOutput) ToSnapshotPolicyArrayOutputWithContext ¶
func (o SnapshotPolicyArrayOutput) ToSnapshotPolicyArrayOutputWithContext(ctx context.Context) SnapshotPolicyArrayOutput
type SnapshotPolicyAttachment ¶
type SnapshotPolicyAttachment struct { pulumi.CustomResourceState // ID of CBS snapshot policy. SnapshotPolicyId pulumi.StringOutput `pulumi:"snapshotPolicyId"` // ID of CBS. StorageId pulumi.StringOutput `pulumi:"storageId"` }
func GetSnapshotPolicyAttachment ¶
func GetSnapshotPolicyAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SnapshotPolicyAttachmentState, opts ...pulumi.ResourceOption) (*SnapshotPolicyAttachment, error)
GetSnapshotPolicyAttachment gets an existing SnapshotPolicyAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSnapshotPolicyAttachment ¶
func NewSnapshotPolicyAttachment(ctx *pulumi.Context, name string, args *SnapshotPolicyAttachmentArgs, opts ...pulumi.ResourceOption) (*SnapshotPolicyAttachment, error)
NewSnapshotPolicyAttachment registers a new resource with the given unique name, arguments, and options.
func (*SnapshotPolicyAttachment) ElementType ¶
func (*SnapshotPolicyAttachment) ElementType() reflect.Type
func (*SnapshotPolicyAttachment) ToSnapshotPolicyAttachmentOutput ¶
func (i *SnapshotPolicyAttachment) ToSnapshotPolicyAttachmentOutput() SnapshotPolicyAttachmentOutput
func (*SnapshotPolicyAttachment) ToSnapshotPolicyAttachmentOutputWithContext ¶
func (i *SnapshotPolicyAttachment) ToSnapshotPolicyAttachmentOutputWithContext(ctx context.Context) SnapshotPolicyAttachmentOutput
type SnapshotPolicyAttachmentArgs ¶
type SnapshotPolicyAttachmentArgs struct { // ID of CBS snapshot policy. SnapshotPolicyId pulumi.StringInput // ID of CBS. StorageId pulumi.StringInput }
The set of arguments for constructing a SnapshotPolicyAttachment resource.
func (SnapshotPolicyAttachmentArgs) ElementType ¶
func (SnapshotPolicyAttachmentArgs) ElementType() reflect.Type
type SnapshotPolicyAttachmentArray ¶
type SnapshotPolicyAttachmentArray []SnapshotPolicyAttachmentInput
func (SnapshotPolicyAttachmentArray) ElementType ¶
func (SnapshotPolicyAttachmentArray) ElementType() reflect.Type
func (SnapshotPolicyAttachmentArray) ToSnapshotPolicyAttachmentArrayOutput ¶
func (i SnapshotPolicyAttachmentArray) ToSnapshotPolicyAttachmentArrayOutput() SnapshotPolicyAttachmentArrayOutput
func (SnapshotPolicyAttachmentArray) ToSnapshotPolicyAttachmentArrayOutputWithContext ¶
func (i SnapshotPolicyAttachmentArray) ToSnapshotPolicyAttachmentArrayOutputWithContext(ctx context.Context) SnapshotPolicyAttachmentArrayOutput
type SnapshotPolicyAttachmentArrayInput ¶
type SnapshotPolicyAttachmentArrayInput interface { pulumi.Input ToSnapshotPolicyAttachmentArrayOutput() SnapshotPolicyAttachmentArrayOutput ToSnapshotPolicyAttachmentArrayOutputWithContext(context.Context) SnapshotPolicyAttachmentArrayOutput }
SnapshotPolicyAttachmentArrayInput is an input type that accepts SnapshotPolicyAttachmentArray and SnapshotPolicyAttachmentArrayOutput values. You can construct a concrete instance of `SnapshotPolicyAttachmentArrayInput` via:
SnapshotPolicyAttachmentArray{ SnapshotPolicyAttachmentArgs{...} }
type SnapshotPolicyAttachmentArrayOutput ¶
type SnapshotPolicyAttachmentArrayOutput struct{ *pulumi.OutputState }
func (SnapshotPolicyAttachmentArrayOutput) ElementType ¶
func (SnapshotPolicyAttachmentArrayOutput) ElementType() reflect.Type
func (SnapshotPolicyAttachmentArrayOutput) Index ¶
func (o SnapshotPolicyAttachmentArrayOutput) Index(i pulumi.IntInput) SnapshotPolicyAttachmentOutput
func (SnapshotPolicyAttachmentArrayOutput) ToSnapshotPolicyAttachmentArrayOutput ¶
func (o SnapshotPolicyAttachmentArrayOutput) ToSnapshotPolicyAttachmentArrayOutput() SnapshotPolicyAttachmentArrayOutput
func (SnapshotPolicyAttachmentArrayOutput) ToSnapshotPolicyAttachmentArrayOutputWithContext ¶
func (o SnapshotPolicyAttachmentArrayOutput) ToSnapshotPolicyAttachmentArrayOutputWithContext(ctx context.Context) SnapshotPolicyAttachmentArrayOutput
type SnapshotPolicyAttachmentInput ¶
type SnapshotPolicyAttachmentInput interface { pulumi.Input ToSnapshotPolicyAttachmentOutput() SnapshotPolicyAttachmentOutput ToSnapshotPolicyAttachmentOutputWithContext(ctx context.Context) SnapshotPolicyAttachmentOutput }
type SnapshotPolicyAttachmentMap ¶
type SnapshotPolicyAttachmentMap map[string]SnapshotPolicyAttachmentInput
func (SnapshotPolicyAttachmentMap) ElementType ¶
func (SnapshotPolicyAttachmentMap) ElementType() reflect.Type
func (SnapshotPolicyAttachmentMap) ToSnapshotPolicyAttachmentMapOutput ¶
func (i SnapshotPolicyAttachmentMap) ToSnapshotPolicyAttachmentMapOutput() SnapshotPolicyAttachmentMapOutput
func (SnapshotPolicyAttachmentMap) ToSnapshotPolicyAttachmentMapOutputWithContext ¶
func (i SnapshotPolicyAttachmentMap) ToSnapshotPolicyAttachmentMapOutputWithContext(ctx context.Context) SnapshotPolicyAttachmentMapOutput
type SnapshotPolicyAttachmentMapInput ¶
type SnapshotPolicyAttachmentMapInput interface { pulumi.Input ToSnapshotPolicyAttachmentMapOutput() SnapshotPolicyAttachmentMapOutput ToSnapshotPolicyAttachmentMapOutputWithContext(context.Context) SnapshotPolicyAttachmentMapOutput }
SnapshotPolicyAttachmentMapInput is an input type that accepts SnapshotPolicyAttachmentMap and SnapshotPolicyAttachmentMapOutput values. You can construct a concrete instance of `SnapshotPolicyAttachmentMapInput` via:
SnapshotPolicyAttachmentMap{ "key": SnapshotPolicyAttachmentArgs{...} }
type SnapshotPolicyAttachmentMapOutput ¶
type SnapshotPolicyAttachmentMapOutput struct{ *pulumi.OutputState }
func (SnapshotPolicyAttachmentMapOutput) ElementType ¶
func (SnapshotPolicyAttachmentMapOutput) ElementType() reflect.Type
func (SnapshotPolicyAttachmentMapOutput) MapIndex ¶
func (o SnapshotPolicyAttachmentMapOutput) MapIndex(k pulumi.StringInput) SnapshotPolicyAttachmentOutput
func (SnapshotPolicyAttachmentMapOutput) ToSnapshotPolicyAttachmentMapOutput ¶
func (o SnapshotPolicyAttachmentMapOutput) ToSnapshotPolicyAttachmentMapOutput() SnapshotPolicyAttachmentMapOutput
func (SnapshotPolicyAttachmentMapOutput) ToSnapshotPolicyAttachmentMapOutputWithContext ¶
func (o SnapshotPolicyAttachmentMapOutput) ToSnapshotPolicyAttachmentMapOutputWithContext(ctx context.Context) SnapshotPolicyAttachmentMapOutput
type SnapshotPolicyAttachmentOutput ¶
type SnapshotPolicyAttachmentOutput struct{ *pulumi.OutputState }
func (SnapshotPolicyAttachmentOutput) ElementType ¶
func (SnapshotPolicyAttachmentOutput) ElementType() reflect.Type
func (SnapshotPolicyAttachmentOutput) SnapshotPolicyId ¶
func (o SnapshotPolicyAttachmentOutput) SnapshotPolicyId() pulumi.StringOutput
ID of CBS snapshot policy.
func (SnapshotPolicyAttachmentOutput) StorageId ¶
func (o SnapshotPolicyAttachmentOutput) StorageId() pulumi.StringOutput
ID of CBS.
func (SnapshotPolicyAttachmentOutput) ToSnapshotPolicyAttachmentOutput ¶
func (o SnapshotPolicyAttachmentOutput) ToSnapshotPolicyAttachmentOutput() SnapshotPolicyAttachmentOutput
func (SnapshotPolicyAttachmentOutput) ToSnapshotPolicyAttachmentOutputWithContext ¶
func (o SnapshotPolicyAttachmentOutput) ToSnapshotPolicyAttachmentOutputWithContext(ctx context.Context) SnapshotPolicyAttachmentOutput
type SnapshotPolicyAttachmentState ¶
type SnapshotPolicyAttachmentState struct { // ID of CBS snapshot policy. SnapshotPolicyId pulumi.StringPtrInput // ID of CBS. StorageId pulumi.StringPtrInput }
func (SnapshotPolicyAttachmentState) ElementType ¶
func (SnapshotPolicyAttachmentState) ElementType() reflect.Type
type SnapshotPolicyInput ¶
type SnapshotPolicyInput interface { pulumi.Input ToSnapshotPolicyOutput() SnapshotPolicyOutput ToSnapshotPolicyOutputWithContext(ctx context.Context) SnapshotPolicyOutput }
type SnapshotPolicyMap ¶
type SnapshotPolicyMap map[string]SnapshotPolicyInput
func (SnapshotPolicyMap) ElementType ¶
func (SnapshotPolicyMap) ElementType() reflect.Type
func (SnapshotPolicyMap) ToSnapshotPolicyMapOutput ¶
func (i SnapshotPolicyMap) ToSnapshotPolicyMapOutput() SnapshotPolicyMapOutput
func (SnapshotPolicyMap) ToSnapshotPolicyMapOutputWithContext ¶
func (i SnapshotPolicyMap) ToSnapshotPolicyMapOutputWithContext(ctx context.Context) SnapshotPolicyMapOutput
type SnapshotPolicyMapInput ¶
type SnapshotPolicyMapInput interface { pulumi.Input ToSnapshotPolicyMapOutput() SnapshotPolicyMapOutput ToSnapshotPolicyMapOutputWithContext(context.Context) SnapshotPolicyMapOutput }
SnapshotPolicyMapInput is an input type that accepts SnapshotPolicyMap and SnapshotPolicyMapOutput values. You can construct a concrete instance of `SnapshotPolicyMapInput` via:
SnapshotPolicyMap{ "key": SnapshotPolicyArgs{...} }
type SnapshotPolicyMapOutput ¶
type SnapshotPolicyMapOutput struct{ *pulumi.OutputState }
func (SnapshotPolicyMapOutput) ElementType ¶
func (SnapshotPolicyMapOutput) ElementType() reflect.Type
func (SnapshotPolicyMapOutput) MapIndex ¶
func (o SnapshotPolicyMapOutput) MapIndex(k pulumi.StringInput) SnapshotPolicyOutput
func (SnapshotPolicyMapOutput) ToSnapshotPolicyMapOutput ¶
func (o SnapshotPolicyMapOutput) ToSnapshotPolicyMapOutput() SnapshotPolicyMapOutput
func (SnapshotPolicyMapOutput) ToSnapshotPolicyMapOutputWithContext ¶
func (o SnapshotPolicyMapOutput) ToSnapshotPolicyMapOutputWithContext(ctx context.Context) SnapshotPolicyMapOutput
type SnapshotPolicyOutput ¶
type SnapshotPolicyOutput struct{ *pulumi.OutputState }
func (SnapshotPolicyOutput) ElementType ¶
func (SnapshotPolicyOutput) ElementType() reflect.Type
func (SnapshotPolicyOutput) RepeatHours ¶
func (o SnapshotPolicyOutput) RepeatHours() pulumi.IntArrayOutput
Trigger times of periodic snapshot. Valid value ranges: (0~23). The 0 means 00:00, and so on.
func (SnapshotPolicyOutput) RepeatWeekdays ¶
func (o SnapshotPolicyOutput) RepeatWeekdays() pulumi.IntArrayOutput
Periodic snapshot is enabled. Valid values: [0, 1, 2, 3, 4, 5, 6]. 0 means Sunday, 1-6 means Monday to Saturday.
func (SnapshotPolicyOutput) RetentionDays ¶
func (o SnapshotPolicyOutput) RetentionDays() pulumi.IntPtrOutput
Retention days of the snapshot, and the default value is 7.
func (SnapshotPolicyOutput) SnapshotPolicyName ¶
func (o SnapshotPolicyOutput) SnapshotPolicyName() pulumi.StringOutput
Name of snapshot policy. The maximum length can not exceed 60 bytes.
func (SnapshotPolicyOutput) ToSnapshotPolicyOutput ¶
func (o SnapshotPolicyOutput) ToSnapshotPolicyOutput() SnapshotPolicyOutput
func (SnapshotPolicyOutput) ToSnapshotPolicyOutputWithContext ¶
func (o SnapshotPolicyOutput) ToSnapshotPolicyOutputWithContext(ctx context.Context) SnapshotPolicyOutput
type SnapshotPolicyState ¶
type SnapshotPolicyState struct { // Trigger times of periodic snapshot. Valid value ranges: (0~23). The 0 means 00:00, and so on. RepeatHours pulumi.IntArrayInput // Periodic snapshot is enabled. Valid values: [0, 1, 2, 3, 4, 5, 6]. 0 means Sunday, 1-6 means Monday to Saturday. RepeatWeekdays pulumi.IntArrayInput // Retention days of the snapshot, and the default value is 7. RetentionDays pulumi.IntPtrInput // Name of snapshot policy. The maximum length can not exceed 60 bytes. SnapshotPolicyName pulumi.StringPtrInput }
func (SnapshotPolicyState) ElementType ¶
func (SnapshotPolicyState) ElementType() reflect.Type
type SnapshotState ¶
type SnapshotState struct { // Creation time of snapshot. CreateTime pulumi.StringPtrInput // Types of CBS which this snapshot created from. DiskType pulumi.StringPtrInput // Snapshot creation progress percentage. If the snapshot has created successfully, the constant value is 100. Percent pulumi.IntPtrInput // Name of the snapshot. SnapshotName pulumi.StringPtrInput // Status of the snapshot. SnapshotStatus pulumi.StringPtrInput // ID of the the CBS which this snapshot created from. StorageId pulumi.StringPtrInput // Volume of storage which this snapshot created from. StorageSize pulumi.IntPtrInput }
func (SnapshotState) ElementType ¶
func (SnapshotState) ElementType() reflect.Type
type SnapshotsArgs ¶
type SnapshotsArgs struct { AvailabilityZone *string `pulumi:"availabilityZone"` ProjectId *int `pulumi:"projectId"` ResultOutputFile *string `pulumi:"resultOutputFile"` SnapshotId *string `pulumi:"snapshotId"` SnapshotName *string `pulumi:"snapshotName"` StorageId *string `pulumi:"storageId"` StorageUsage *string `pulumi:"storageUsage"` }
A collection of arguments for invoking Snapshots.
type SnapshotsOutputArgs ¶
type SnapshotsOutputArgs struct { AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"` ProjectId pulumi.IntPtrInput `pulumi:"projectId"` ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"` SnapshotName pulumi.StringPtrInput `pulumi:"snapshotName"` StorageId pulumi.StringPtrInput `pulumi:"storageId"` StorageUsage pulumi.StringPtrInput `pulumi:"storageUsage"` }
A collection of arguments for invoking Snapshots.
func (SnapshotsOutputArgs) ElementType ¶
func (SnapshotsOutputArgs) ElementType() reflect.Type
type SnapshotsResult ¶
type SnapshotsResult struct { AvailabilityZone *string `pulumi:"availabilityZone"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` ProjectId *int `pulumi:"projectId"` ResultOutputFile *string `pulumi:"resultOutputFile"` SnapshotId *string `pulumi:"snapshotId"` SnapshotLists []SnapshotsSnapshotList `pulumi:"snapshotLists"` SnapshotName *string `pulumi:"snapshotName"` StorageId *string `pulumi:"storageId"` StorageUsage *string `pulumi:"storageUsage"` }
A collection of values returned by Snapshots.
func Snapshots ¶
func Snapshots(ctx *pulumi.Context, args *SnapshotsArgs, opts ...pulumi.InvokeOption) (*SnapshotsResult, error)
type SnapshotsResultOutput ¶
type SnapshotsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by Snapshots.
func SnapshotsOutput ¶
func SnapshotsOutput(ctx *pulumi.Context, args SnapshotsOutputArgs, opts ...pulumi.InvokeOption) SnapshotsResultOutput
func (SnapshotsResultOutput) AvailabilityZone ¶
func (o SnapshotsResultOutput) AvailabilityZone() pulumi.StringPtrOutput
func (SnapshotsResultOutput) ElementType ¶
func (SnapshotsResultOutput) ElementType() reflect.Type
func (SnapshotsResultOutput) Id ¶
func (o SnapshotsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (SnapshotsResultOutput) ProjectId ¶
func (o SnapshotsResultOutput) ProjectId() pulumi.IntPtrOutput
func (SnapshotsResultOutput) ResultOutputFile ¶
func (o SnapshotsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (SnapshotsResultOutput) SnapshotId ¶
func (o SnapshotsResultOutput) SnapshotId() pulumi.StringPtrOutput
func (SnapshotsResultOutput) SnapshotLists ¶
func (o SnapshotsResultOutput) SnapshotLists() SnapshotsSnapshotListArrayOutput
func (SnapshotsResultOutput) SnapshotName ¶
func (o SnapshotsResultOutput) SnapshotName() pulumi.StringPtrOutput
func (SnapshotsResultOutput) StorageId ¶
func (o SnapshotsResultOutput) StorageId() pulumi.StringPtrOutput
func (SnapshotsResultOutput) StorageUsage ¶
func (o SnapshotsResultOutput) StorageUsage() pulumi.StringPtrOutput
func (SnapshotsResultOutput) ToSnapshotsResultOutput ¶
func (o SnapshotsResultOutput) ToSnapshotsResultOutput() SnapshotsResultOutput
func (SnapshotsResultOutput) ToSnapshotsResultOutputWithContext ¶
func (o SnapshotsResultOutput) ToSnapshotsResultOutputWithContext(ctx context.Context) SnapshotsResultOutput
type SnapshotsSnapshotList ¶
type SnapshotsSnapshotList struct { AvailabilityZone string `pulumi:"availabilityZone"` CreateTime string `pulumi:"createTime"` Encrypt bool `pulumi:"encrypt"` Percent int `pulumi:"percent"` ProjectId int `pulumi:"projectId"` SnapshotId string `pulumi:"snapshotId"` SnapshotName string `pulumi:"snapshotName"` StorageId string `pulumi:"storageId"` StorageSize int `pulumi:"storageSize"` StorageUsage string `pulumi:"storageUsage"` }
type SnapshotsSnapshotListArgs ¶
type SnapshotsSnapshotListArgs struct { AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` CreateTime pulumi.StringInput `pulumi:"createTime"` Encrypt pulumi.BoolInput `pulumi:"encrypt"` Percent pulumi.IntInput `pulumi:"percent"` ProjectId pulumi.IntInput `pulumi:"projectId"` SnapshotId pulumi.StringInput `pulumi:"snapshotId"` SnapshotName pulumi.StringInput `pulumi:"snapshotName"` StorageId pulumi.StringInput `pulumi:"storageId"` StorageSize pulumi.IntInput `pulumi:"storageSize"` StorageUsage pulumi.StringInput `pulumi:"storageUsage"` }
func (SnapshotsSnapshotListArgs) ElementType ¶
func (SnapshotsSnapshotListArgs) ElementType() reflect.Type
func (SnapshotsSnapshotListArgs) ToSnapshotsSnapshotListOutput ¶
func (i SnapshotsSnapshotListArgs) ToSnapshotsSnapshotListOutput() SnapshotsSnapshotListOutput
func (SnapshotsSnapshotListArgs) ToSnapshotsSnapshotListOutputWithContext ¶
func (i SnapshotsSnapshotListArgs) ToSnapshotsSnapshotListOutputWithContext(ctx context.Context) SnapshotsSnapshotListOutput
type SnapshotsSnapshotListArray ¶
type SnapshotsSnapshotListArray []SnapshotsSnapshotListInput
func (SnapshotsSnapshotListArray) ElementType ¶
func (SnapshotsSnapshotListArray) ElementType() reflect.Type
func (SnapshotsSnapshotListArray) ToSnapshotsSnapshotListArrayOutput ¶
func (i SnapshotsSnapshotListArray) ToSnapshotsSnapshotListArrayOutput() SnapshotsSnapshotListArrayOutput
func (SnapshotsSnapshotListArray) ToSnapshotsSnapshotListArrayOutputWithContext ¶
func (i SnapshotsSnapshotListArray) ToSnapshotsSnapshotListArrayOutputWithContext(ctx context.Context) SnapshotsSnapshotListArrayOutput
type SnapshotsSnapshotListArrayInput ¶
type SnapshotsSnapshotListArrayInput interface { pulumi.Input ToSnapshotsSnapshotListArrayOutput() SnapshotsSnapshotListArrayOutput ToSnapshotsSnapshotListArrayOutputWithContext(context.Context) SnapshotsSnapshotListArrayOutput }
SnapshotsSnapshotListArrayInput is an input type that accepts SnapshotsSnapshotListArray and SnapshotsSnapshotListArrayOutput values. You can construct a concrete instance of `SnapshotsSnapshotListArrayInput` via:
SnapshotsSnapshotListArray{ SnapshotsSnapshotListArgs{...} }
type SnapshotsSnapshotListArrayOutput ¶
type SnapshotsSnapshotListArrayOutput struct{ *pulumi.OutputState }
func (SnapshotsSnapshotListArrayOutput) ElementType ¶
func (SnapshotsSnapshotListArrayOutput) ElementType() reflect.Type
func (SnapshotsSnapshotListArrayOutput) Index ¶
func (o SnapshotsSnapshotListArrayOutput) Index(i pulumi.IntInput) SnapshotsSnapshotListOutput
func (SnapshotsSnapshotListArrayOutput) ToSnapshotsSnapshotListArrayOutput ¶
func (o SnapshotsSnapshotListArrayOutput) ToSnapshotsSnapshotListArrayOutput() SnapshotsSnapshotListArrayOutput
func (SnapshotsSnapshotListArrayOutput) ToSnapshotsSnapshotListArrayOutputWithContext ¶
func (o SnapshotsSnapshotListArrayOutput) ToSnapshotsSnapshotListArrayOutputWithContext(ctx context.Context) SnapshotsSnapshotListArrayOutput
type SnapshotsSnapshotListInput ¶
type SnapshotsSnapshotListInput interface { pulumi.Input ToSnapshotsSnapshotListOutput() SnapshotsSnapshotListOutput ToSnapshotsSnapshotListOutputWithContext(context.Context) SnapshotsSnapshotListOutput }
SnapshotsSnapshotListInput is an input type that accepts SnapshotsSnapshotListArgs and SnapshotsSnapshotListOutput values. You can construct a concrete instance of `SnapshotsSnapshotListInput` via:
SnapshotsSnapshotListArgs{...}
type SnapshotsSnapshotListOutput ¶
type SnapshotsSnapshotListOutput struct{ *pulumi.OutputState }
func (SnapshotsSnapshotListOutput) AvailabilityZone ¶
func (o SnapshotsSnapshotListOutput) AvailabilityZone() pulumi.StringOutput
func (SnapshotsSnapshotListOutput) CreateTime ¶
func (o SnapshotsSnapshotListOutput) CreateTime() pulumi.StringOutput
func (SnapshotsSnapshotListOutput) ElementType ¶
func (SnapshotsSnapshotListOutput) ElementType() reflect.Type
func (SnapshotsSnapshotListOutput) Encrypt ¶
func (o SnapshotsSnapshotListOutput) Encrypt() pulumi.BoolOutput
func (SnapshotsSnapshotListOutput) Percent ¶
func (o SnapshotsSnapshotListOutput) Percent() pulumi.IntOutput
func (SnapshotsSnapshotListOutput) ProjectId ¶
func (o SnapshotsSnapshotListOutput) ProjectId() pulumi.IntOutput
func (SnapshotsSnapshotListOutput) SnapshotId ¶
func (o SnapshotsSnapshotListOutput) SnapshotId() pulumi.StringOutput
func (SnapshotsSnapshotListOutput) SnapshotName ¶
func (o SnapshotsSnapshotListOutput) SnapshotName() pulumi.StringOutput
func (SnapshotsSnapshotListOutput) StorageId ¶
func (o SnapshotsSnapshotListOutput) StorageId() pulumi.StringOutput
func (SnapshotsSnapshotListOutput) StorageSize ¶
func (o SnapshotsSnapshotListOutput) StorageSize() pulumi.IntOutput
func (SnapshotsSnapshotListOutput) StorageUsage ¶
func (o SnapshotsSnapshotListOutput) StorageUsage() pulumi.StringOutput
func (SnapshotsSnapshotListOutput) ToSnapshotsSnapshotListOutput ¶
func (o SnapshotsSnapshotListOutput) ToSnapshotsSnapshotListOutput() SnapshotsSnapshotListOutput
func (SnapshotsSnapshotListOutput) ToSnapshotsSnapshotListOutputWithContext ¶
func (o SnapshotsSnapshotListOutput) ToSnapshotsSnapshotListOutputWithContext(ctx context.Context) SnapshotsSnapshotListOutput
type Storage ¶
type Storage struct { pulumi.CustomResourceState // Indicates whether the CBS is mounted the CVM. Attached pulumi.BoolOutput `pulumi:"attached"` // The available zone that the CBS instance locates at. AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"` // The charge type of CBS instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. ChargeType pulumi.StringPtrOutput `pulumi:"chargeType"` // Indicates whether CBS is encrypted. Encrypt pulumi.BoolPtrOutput `pulumi:"encrypt"` // Indicate whether to delete CBS instance directly or not. Default is false. If set true, the instance will be deleted // instead of staying recycle bin. ForceDelete pulumi.BoolPtrOutput `pulumi:"forceDelete"` // The purchased usage period of CBS. Valid values: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36]. // // Deprecated: It has been deprecated from version 1.33.0. Set `prepaid_period` instead. Period pulumi.IntPtrOutput `pulumi:"period"` // The tenancy (time unit is month) of the prepaid instance, NOTE: it only works when charge_type is set to `PREPAID`. // Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. PrepaidPeriod pulumi.IntOutput `pulumi:"prepaidPeriod"` // Auto Renewal flag. Value range: `NOTIFY_AND_AUTO_RENEW`: Notify expiry and renew automatically, // `NOTIFY_AND_MANUAL_RENEW`: Notify expiry but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: Neither // notify expiry nor renew automatically. Default value range: `NOTIFY_AND_MANUAL_RENEW`: Notify expiry but do not renew // automatically. NOTE: it only works when charge_type is set to `PREPAID`. PrepaidRenewFlag pulumi.StringOutput `pulumi:"prepaidRenewFlag"` // ID of the project to which the instance belongs. ProjectId pulumi.IntPtrOutput `pulumi:"projectId"` // ID of the snapshot. If specified, created the CBS by this snapshot. SnapshotId pulumi.StringOutput `pulumi:"snapshotId"` // Name of CBS. The maximum length can not exceed 60 bytes. StorageName pulumi.StringOutput `pulumi:"storageName"` // Volume of CBS, and unit is GB. If storage type is `CLOUD_SSD`, the size range is [100, 16000], and the others are // [10-16000]. StorageSize pulumi.IntOutput `pulumi:"storageSize"` // Status of CBS. Valid values: UNATTACHED, ATTACHING, ATTACHED, DETACHING, EXPANDING, ROLLBACKING, TORECYCLE and DUMPING. StorageStatus pulumi.StringOutput `pulumi:"storageStatus"` // Type of CBS medium. Valid values: CLOUD_PREMIUM, CLOUD_SSD, CLOUD_TSSD and CLOUD_HSSD. StorageType pulumi.StringOutput `pulumi:"storageType"` // The available tags within this CBS. Tags pulumi.MapOutput `pulumi:"tags"` // Add extra performance to the data disk. Only works when disk type is `CLOUD_TSSD` or `CLOUD_HSSD`. ThroughputPerformance pulumi.IntPtrOutput `pulumi:"throughputPerformance"` }
func GetStorage ¶
func GetStorage(ctx *pulumi.Context, name string, id pulumi.IDInput, state *StorageState, opts ...pulumi.ResourceOption) (*Storage, error)
GetStorage gets an existing Storage resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewStorage ¶
func NewStorage(ctx *pulumi.Context, name string, args *StorageArgs, opts ...pulumi.ResourceOption) (*Storage, error)
NewStorage registers a new resource with the given unique name, arguments, and options.
func (*Storage) ElementType ¶
func (*Storage) ToStorageOutput ¶
func (i *Storage) ToStorageOutput() StorageOutput
func (*Storage) ToStorageOutputWithContext ¶
func (i *Storage) ToStorageOutputWithContext(ctx context.Context) StorageOutput
type StorageArgs ¶
type StorageArgs struct { // The available zone that the CBS instance locates at. AvailabilityZone pulumi.StringInput // The charge type of CBS instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. ChargeType pulumi.StringPtrInput // Indicates whether CBS is encrypted. Encrypt pulumi.BoolPtrInput // Indicate whether to delete CBS instance directly or not. Default is false. If set true, the instance will be deleted // instead of staying recycle bin. ForceDelete pulumi.BoolPtrInput // The purchased usage period of CBS. Valid values: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36]. // // Deprecated: It has been deprecated from version 1.33.0. Set `prepaid_period` instead. Period pulumi.IntPtrInput // The tenancy (time unit is month) of the prepaid instance, NOTE: it only works when charge_type is set to `PREPAID`. // Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. PrepaidPeriod pulumi.IntPtrInput // Auto Renewal flag. Value range: `NOTIFY_AND_AUTO_RENEW`: Notify expiry and renew automatically, // `NOTIFY_AND_MANUAL_RENEW`: Notify expiry but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: Neither // notify expiry nor renew automatically. Default value range: `NOTIFY_AND_MANUAL_RENEW`: Notify expiry but do not renew // automatically. NOTE: it only works when charge_type is set to `PREPAID`. PrepaidRenewFlag pulumi.StringPtrInput // ID of the project to which the instance belongs. ProjectId pulumi.IntPtrInput // ID of the snapshot. If specified, created the CBS by this snapshot. SnapshotId pulumi.StringPtrInput // Name of CBS. The maximum length can not exceed 60 bytes. StorageName pulumi.StringInput // Volume of CBS, and unit is GB. If storage type is `CLOUD_SSD`, the size range is [100, 16000], and the others are // [10-16000]. StorageSize pulumi.IntInput // Type of CBS medium. Valid values: CLOUD_PREMIUM, CLOUD_SSD, CLOUD_TSSD and CLOUD_HSSD. StorageType pulumi.StringInput // The available tags within this CBS. Tags pulumi.MapInput // Add extra performance to the data disk. Only works when disk type is `CLOUD_TSSD` or `CLOUD_HSSD`. ThroughputPerformance pulumi.IntPtrInput }
The set of arguments for constructing a Storage resource.
func (StorageArgs) ElementType ¶
func (StorageArgs) ElementType() reflect.Type
type StorageArray ¶
type StorageArray []StorageInput
func (StorageArray) ElementType ¶
func (StorageArray) ElementType() reflect.Type
func (StorageArray) ToStorageArrayOutput ¶
func (i StorageArray) ToStorageArrayOutput() StorageArrayOutput
func (StorageArray) ToStorageArrayOutputWithContext ¶
func (i StorageArray) ToStorageArrayOutputWithContext(ctx context.Context) StorageArrayOutput
type StorageArrayInput ¶
type StorageArrayInput interface { pulumi.Input ToStorageArrayOutput() StorageArrayOutput ToStorageArrayOutputWithContext(context.Context) StorageArrayOutput }
StorageArrayInput is an input type that accepts StorageArray and StorageArrayOutput values. You can construct a concrete instance of `StorageArrayInput` via:
StorageArray{ StorageArgs{...} }
type StorageArrayOutput ¶
type StorageArrayOutput struct{ *pulumi.OutputState }
func (StorageArrayOutput) ElementType ¶
func (StorageArrayOutput) ElementType() reflect.Type
func (StorageArrayOutput) Index ¶
func (o StorageArrayOutput) Index(i pulumi.IntInput) StorageOutput
func (StorageArrayOutput) ToStorageArrayOutput ¶
func (o StorageArrayOutput) ToStorageArrayOutput() StorageArrayOutput
func (StorageArrayOutput) ToStorageArrayOutputWithContext ¶
func (o StorageArrayOutput) ToStorageArrayOutputWithContext(ctx context.Context) StorageArrayOutput
type StorageAttachment ¶
type StorageAttachment struct { pulumi.CustomResourceState // ID of the CVM instance. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // ID of the mounted CBS. StorageId pulumi.StringOutput `pulumi:"storageId"` }
func GetStorageAttachment ¶
func GetStorageAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *StorageAttachmentState, opts ...pulumi.ResourceOption) (*StorageAttachment, error)
GetStorageAttachment gets an existing StorageAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewStorageAttachment ¶
func NewStorageAttachment(ctx *pulumi.Context, name string, args *StorageAttachmentArgs, opts ...pulumi.ResourceOption) (*StorageAttachment, error)
NewStorageAttachment registers a new resource with the given unique name, arguments, and options.
func (*StorageAttachment) ElementType ¶
func (*StorageAttachment) ElementType() reflect.Type
func (*StorageAttachment) ToStorageAttachmentOutput ¶
func (i *StorageAttachment) ToStorageAttachmentOutput() StorageAttachmentOutput
func (*StorageAttachment) ToStorageAttachmentOutputWithContext ¶
func (i *StorageAttachment) ToStorageAttachmentOutputWithContext(ctx context.Context) StorageAttachmentOutput
type StorageAttachmentArgs ¶
type StorageAttachmentArgs struct { // ID of the CVM instance. InstanceId pulumi.StringInput // ID of the mounted CBS. StorageId pulumi.StringInput }
The set of arguments for constructing a StorageAttachment resource.
func (StorageAttachmentArgs) ElementType ¶
func (StorageAttachmentArgs) ElementType() reflect.Type
type StorageAttachmentArray ¶
type StorageAttachmentArray []StorageAttachmentInput
func (StorageAttachmentArray) ElementType ¶
func (StorageAttachmentArray) ElementType() reflect.Type
func (StorageAttachmentArray) ToStorageAttachmentArrayOutput ¶
func (i StorageAttachmentArray) ToStorageAttachmentArrayOutput() StorageAttachmentArrayOutput
func (StorageAttachmentArray) ToStorageAttachmentArrayOutputWithContext ¶
func (i StorageAttachmentArray) ToStorageAttachmentArrayOutputWithContext(ctx context.Context) StorageAttachmentArrayOutput
type StorageAttachmentArrayInput ¶
type StorageAttachmentArrayInput interface { pulumi.Input ToStorageAttachmentArrayOutput() StorageAttachmentArrayOutput ToStorageAttachmentArrayOutputWithContext(context.Context) StorageAttachmentArrayOutput }
StorageAttachmentArrayInput is an input type that accepts StorageAttachmentArray and StorageAttachmentArrayOutput values. You can construct a concrete instance of `StorageAttachmentArrayInput` via:
StorageAttachmentArray{ StorageAttachmentArgs{...} }
type StorageAttachmentArrayOutput ¶
type StorageAttachmentArrayOutput struct{ *pulumi.OutputState }
func (StorageAttachmentArrayOutput) ElementType ¶
func (StorageAttachmentArrayOutput) ElementType() reflect.Type
func (StorageAttachmentArrayOutput) Index ¶
func (o StorageAttachmentArrayOutput) Index(i pulumi.IntInput) StorageAttachmentOutput
func (StorageAttachmentArrayOutput) ToStorageAttachmentArrayOutput ¶
func (o StorageAttachmentArrayOutput) ToStorageAttachmentArrayOutput() StorageAttachmentArrayOutput
func (StorageAttachmentArrayOutput) ToStorageAttachmentArrayOutputWithContext ¶
func (o StorageAttachmentArrayOutput) ToStorageAttachmentArrayOutputWithContext(ctx context.Context) StorageAttachmentArrayOutput
type StorageAttachmentInput ¶
type StorageAttachmentInput interface { pulumi.Input ToStorageAttachmentOutput() StorageAttachmentOutput ToStorageAttachmentOutputWithContext(ctx context.Context) StorageAttachmentOutput }
type StorageAttachmentMap ¶
type StorageAttachmentMap map[string]StorageAttachmentInput
func (StorageAttachmentMap) ElementType ¶
func (StorageAttachmentMap) ElementType() reflect.Type
func (StorageAttachmentMap) ToStorageAttachmentMapOutput ¶
func (i StorageAttachmentMap) ToStorageAttachmentMapOutput() StorageAttachmentMapOutput
func (StorageAttachmentMap) ToStorageAttachmentMapOutputWithContext ¶
func (i StorageAttachmentMap) ToStorageAttachmentMapOutputWithContext(ctx context.Context) StorageAttachmentMapOutput
type StorageAttachmentMapInput ¶
type StorageAttachmentMapInput interface { pulumi.Input ToStorageAttachmentMapOutput() StorageAttachmentMapOutput ToStorageAttachmentMapOutputWithContext(context.Context) StorageAttachmentMapOutput }
StorageAttachmentMapInput is an input type that accepts StorageAttachmentMap and StorageAttachmentMapOutput values. You can construct a concrete instance of `StorageAttachmentMapInput` via:
StorageAttachmentMap{ "key": StorageAttachmentArgs{...} }
type StorageAttachmentMapOutput ¶
type StorageAttachmentMapOutput struct{ *pulumi.OutputState }
func (StorageAttachmentMapOutput) ElementType ¶
func (StorageAttachmentMapOutput) ElementType() reflect.Type
func (StorageAttachmentMapOutput) MapIndex ¶
func (o StorageAttachmentMapOutput) MapIndex(k pulumi.StringInput) StorageAttachmentOutput
func (StorageAttachmentMapOutput) ToStorageAttachmentMapOutput ¶
func (o StorageAttachmentMapOutput) ToStorageAttachmentMapOutput() StorageAttachmentMapOutput
func (StorageAttachmentMapOutput) ToStorageAttachmentMapOutputWithContext ¶
func (o StorageAttachmentMapOutput) ToStorageAttachmentMapOutputWithContext(ctx context.Context) StorageAttachmentMapOutput
type StorageAttachmentOutput ¶
type StorageAttachmentOutput struct{ *pulumi.OutputState }
func (StorageAttachmentOutput) ElementType ¶
func (StorageAttachmentOutput) ElementType() reflect.Type
func (StorageAttachmentOutput) InstanceId ¶
func (o StorageAttachmentOutput) InstanceId() pulumi.StringOutput
ID of the CVM instance.
func (StorageAttachmentOutput) StorageId ¶
func (o StorageAttachmentOutput) StorageId() pulumi.StringOutput
ID of the mounted CBS.
func (StorageAttachmentOutput) ToStorageAttachmentOutput ¶
func (o StorageAttachmentOutput) ToStorageAttachmentOutput() StorageAttachmentOutput
func (StorageAttachmentOutput) ToStorageAttachmentOutputWithContext ¶
func (o StorageAttachmentOutput) ToStorageAttachmentOutputWithContext(ctx context.Context) StorageAttachmentOutput
type StorageAttachmentState ¶
type StorageAttachmentState struct { // ID of the CVM instance. InstanceId pulumi.StringPtrInput // ID of the mounted CBS. StorageId pulumi.StringPtrInput }
func (StorageAttachmentState) ElementType ¶
func (StorageAttachmentState) ElementType() reflect.Type
type StorageInput ¶
type StorageInput interface { pulumi.Input ToStorageOutput() StorageOutput ToStorageOutputWithContext(ctx context.Context) StorageOutput }
type StorageMap ¶
type StorageMap map[string]StorageInput
func (StorageMap) ElementType ¶
func (StorageMap) ElementType() reflect.Type
func (StorageMap) ToStorageMapOutput ¶
func (i StorageMap) ToStorageMapOutput() StorageMapOutput
func (StorageMap) ToStorageMapOutputWithContext ¶
func (i StorageMap) ToStorageMapOutputWithContext(ctx context.Context) StorageMapOutput
type StorageMapInput ¶
type StorageMapInput interface { pulumi.Input ToStorageMapOutput() StorageMapOutput ToStorageMapOutputWithContext(context.Context) StorageMapOutput }
StorageMapInput is an input type that accepts StorageMap and StorageMapOutput values. You can construct a concrete instance of `StorageMapInput` via:
StorageMap{ "key": StorageArgs{...} }
type StorageMapOutput ¶
type StorageMapOutput struct{ *pulumi.OutputState }
func (StorageMapOutput) ElementType ¶
func (StorageMapOutput) ElementType() reflect.Type
func (StorageMapOutput) MapIndex ¶
func (o StorageMapOutput) MapIndex(k pulumi.StringInput) StorageOutput
func (StorageMapOutput) ToStorageMapOutput ¶
func (o StorageMapOutput) ToStorageMapOutput() StorageMapOutput
func (StorageMapOutput) ToStorageMapOutputWithContext ¶
func (o StorageMapOutput) ToStorageMapOutputWithContext(ctx context.Context) StorageMapOutput
type StorageOutput ¶
type StorageOutput struct{ *pulumi.OutputState }
func (StorageOutput) Attached ¶
func (o StorageOutput) Attached() pulumi.BoolOutput
Indicates whether the CBS is mounted the CVM.
func (StorageOutput) AvailabilityZone ¶
func (o StorageOutput) AvailabilityZone() pulumi.StringOutput
The available zone that the CBS instance locates at.
func (StorageOutput) ChargeType ¶
func (o StorageOutput) ChargeType() pulumi.StringPtrOutput
The charge type of CBS instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`.
func (StorageOutput) ElementType ¶
func (StorageOutput) ElementType() reflect.Type
func (StorageOutput) Encrypt ¶
func (o StorageOutput) Encrypt() pulumi.BoolPtrOutput
Indicates whether CBS is encrypted.
func (StorageOutput) ForceDelete ¶
func (o StorageOutput) ForceDelete() pulumi.BoolPtrOutput
Indicate whether to delete CBS instance directly or not. Default is false. If set true, the instance will be deleted instead of staying recycle bin.
func (StorageOutput) Period
deprecated
func (o StorageOutput) Period() pulumi.IntPtrOutput
The purchased usage period of CBS. Valid values: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36].
Deprecated: It has been deprecated from version 1.33.0. Set `prepaid_period` instead.
func (StorageOutput) PrepaidPeriod ¶
func (o StorageOutput) PrepaidPeriod() pulumi.IntOutput
The tenancy (time unit is month) of the prepaid instance, NOTE: it only works when charge_type is set to `PREPAID`. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36.
func (StorageOutput) PrepaidRenewFlag ¶
func (o StorageOutput) PrepaidRenewFlag() pulumi.StringOutput
Auto Renewal flag. Value range: `NOTIFY_AND_AUTO_RENEW`: Notify expiry and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: Notify expiry but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: Neither notify expiry nor renew automatically. Default value range: `NOTIFY_AND_MANUAL_RENEW`: Notify expiry but do not renew automatically. NOTE: it only works when charge_type is set to `PREPAID`.
func (StorageOutput) ProjectId ¶
func (o StorageOutput) ProjectId() pulumi.IntPtrOutput
ID of the project to which the instance belongs.
func (StorageOutput) SnapshotId ¶
func (o StorageOutput) SnapshotId() pulumi.StringOutput
ID of the snapshot. If specified, created the CBS by this snapshot.
func (StorageOutput) StorageName ¶
func (o StorageOutput) StorageName() pulumi.StringOutput
Name of CBS. The maximum length can not exceed 60 bytes.
func (StorageOutput) StorageSize ¶
func (o StorageOutput) StorageSize() pulumi.IntOutput
Volume of CBS, and unit is GB. If storage type is `CLOUD_SSD`, the size range is [100, 16000], and the others are [10-16000].
func (StorageOutput) StorageStatus ¶
func (o StorageOutput) StorageStatus() pulumi.StringOutput
Status of CBS. Valid values: UNATTACHED, ATTACHING, ATTACHED, DETACHING, EXPANDING, ROLLBACKING, TORECYCLE and DUMPING.
func (StorageOutput) StorageType ¶
func (o StorageOutput) StorageType() pulumi.StringOutput
Type of CBS medium. Valid values: CLOUD_PREMIUM, CLOUD_SSD, CLOUD_TSSD and CLOUD_HSSD.
func (StorageOutput) Tags ¶
func (o StorageOutput) Tags() pulumi.MapOutput
The available tags within this CBS.
func (StorageOutput) ThroughputPerformance ¶
func (o StorageOutput) ThroughputPerformance() pulumi.IntPtrOutput
Add extra performance to the data disk. Only works when disk type is `CLOUD_TSSD` or `CLOUD_HSSD`.
func (StorageOutput) ToStorageOutput ¶
func (o StorageOutput) ToStorageOutput() StorageOutput
func (StorageOutput) ToStorageOutputWithContext ¶
func (o StorageOutput) ToStorageOutputWithContext(ctx context.Context) StorageOutput
type StorageState ¶
type StorageState struct { // Indicates whether the CBS is mounted the CVM. Attached pulumi.BoolPtrInput // The available zone that the CBS instance locates at. AvailabilityZone pulumi.StringPtrInput // The charge type of CBS instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. ChargeType pulumi.StringPtrInput // Indicates whether CBS is encrypted. Encrypt pulumi.BoolPtrInput // Indicate whether to delete CBS instance directly or not. Default is false. If set true, the instance will be deleted // instead of staying recycle bin. ForceDelete pulumi.BoolPtrInput // The purchased usage period of CBS. Valid values: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36]. // // Deprecated: It has been deprecated from version 1.33.0. Set `prepaid_period` instead. Period pulumi.IntPtrInput // The tenancy (time unit is month) of the prepaid instance, NOTE: it only works when charge_type is set to `PREPAID`. // Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. PrepaidPeriod pulumi.IntPtrInput // Auto Renewal flag. Value range: `NOTIFY_AND_AUTO_RENEW`: Notify expiry and renew automatically, // `NOTIFY_AND_MANUAL_RENEW`: Notify expiry but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: Neither // notify expiry nor renew automatically. Default value range: `NOTIFY_AND_MANUAL_RENEW`: Notify expiry but do not renew // automatically. NOTE: it only works when charge_type is set to `PREPAID`. PrepaidRenewFlag pulumi.StringPtrInput // ID of the project to which the instance belongs. ProjectId pulumi.IntPtrInput // ID of the snapshot. If specified, created the CBS by this snapshot. SnapshotId pulumi.StringPtrInput // Name of CBS. The maximum length can not exceed 60 bytes. StorageName pulumi.StringPtrInput // Volume of CBS, and unit is GB. If storage type is `CLOUD_SSD`, the size range is [100, 16000], and the others are // [10-16000]. StorageSize pulumi.IntPtrInput // Status of CBS. Valid values: UNATTACHED, ATTACHING, ATTACHED, DETACHING, EXPANDING, ROLLBACKING, TORECYCLE and DUMPING. StorageStatus pulumi.StringPtrInput // Type of CBS medium. Valid values: CLOUD_PREMIUM, CLOUD_SSD, CLOUD_TSSD and CLOUD_HSSD. StorageType pulumi.StringPtrInput // The available tags within this CBS. Tags pulumi.MapInput // Add extra performance to the data disk. Only works when disk type is `CLOUD_TSSD` or `CLOUD_HSSD`. ThroughputPerformance pulumi.IntPtrInput }
func (StorageState) ElementType ¶
func (StorageState) ElementType() reflect.Type
type StoragesArgs ¶
type StoragesArgs struct { AvailabilityZone *string `pulumi:"availabilityZone"` ChargeTypes []string `pulumi:"chargeTypes"` InstanceIps []string `pulumi:"instanceIps"` InstanceNames []string `pulumi:"instanceNames"` Portable *bool `pulumi:"portable"` ProjectId *int `pulumi:"projectId"` ResultOutputFile *string `pulumi:"resultOutputFile"` StorageId *string `pulumi:"storageId"` StorageName *string `pulumi:"storageName"` StorageStates []string `pulumi:"storageStates"` StorageType *string `pulumi:"storageType"` StorageUsage *string `pulumi:"storageUsage"` TagKeys []string `pulumi:"tagKeys"` TagValues []string `pulumi:"tagValues"` }
A collection of arguments for invoking Storages.
type StoragesOutputArgs ¶
type StoragesOutputArgs struct { AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"` ChargeTypes pulumi.StringArrayInput `pulumi:"chargeTypes"` InstanceIps pulumi.StringArrayInput `pulumi:"instanceIps"` InstanceNames pulumi.StringArrayInput `pulumi:"instanceNames"` Portable pulumi.BoolPtrInput `pulumi:"portable"` ProjectId pulumi.IntPtrInput `pulumi:"projectId"` ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` StorageId pulumi.StringPtrInput `pulumi:"storageId"` StorageName pulumi.StringPtrInput `pulumi:"storageName"` StorageStates pulumi.StringArrayInput `pulumi:"storageStates"` StorageType pulumi.StringPtrInput `pulumi:"storageType"` StorageUsage pulumi.StringPtrInput `pulumi:"storageUsage"` TagKeys pulumi.StringArrayInput `pulumi:"tagKeys"` TagValues pulumi.StringArrayInput `pulumi:"tagValues"` }
A collection of arguments for invoking Storages.
func (StoragesOutputArgs) ElementType ¶
func (StoragesOutputArgs) ElementType() reflect.Type
type StoragesResult ¶
type StoragesResult struct { AvailabilityZone *string `pulumi:"availabilityZone"` ChargeTypes []string `pulumi:"chargeTypes"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` InstanceIps []string `pulumi:"instanceIps"` InstanceNames []string `pulumi:"instanceNames"` Portable *bool `pulumi:"portable"` ProjectId *int `pulumi:"projectId"` ResultOutputFile *string `pulumi:"resultOutputFile"` StorageId *string `pulumi:"storageId"` StorageLists []StoragesStorageList `pulumi:"storageLists"` StorageName *string `pulumi:"storageName"` StorageStates []string `pulumi:"storageStates"` StorageType *string `pulumi:"storageType"` StorageUsage *string `pulumi:"storageUsage"` TagKeys []string `pulumi:"tagKeys"` TagValues []string `pulumi:"tagValues"` }
A collection of values returned by Storages.
func Storages ¶
func Storages(ctx *pulumi.Context, args *StoragesArgs, opts ...pulumi.InvokeOption) (*StoragesResult, error)
type StoragesResultOutput ¶
type StoragesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by Storages.
func StoragesOutput ¶
func StoragesOutput(ctx *pulumi.Context, args StoragesOutputArgs, opts ...pulumi.InvokeOption) StoragesResultOutput
func (StoragesResultOutput) AvailabilityZone ¶
func (o StoragesResultOutput) AvailabilityZone() pulumi.StringPtrOutput
func (StoragesResultOutput) ChargeTypes ¶
func (o StoragesResultOutput) ChargeTypes() pulumi.StringArrayOutput
func (StoragesResultOutput) ElementType ¶
func (StoragesResultOutput) ElementType() reflect.Type
func (StoragesResultOutput) Id ¶
func (o StoragesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (StoragesResultOutput) InstanceIps ¶
func (o StoragesResultOutput) InstanceIps() pulumi.StringArrayOutput
func (StoragesResultOutput) InstanceNames ¶
func (o StoragesResultOutput) InstanceNames() pulumi.StringArrayOutput
func (StoragesResultOutput) Portable ¶
func (o StoragesResultOutput) Portable() pulumi.BoolPtrOutput
func (StoragesResultOutput) ProjectId ¶
func (o StoragesResultOutput) ProjectId() pulumi.IntPtrOutput
func (StoragesResultOutput) ResultOutputFile ¶
func (o StoragesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (StoragesResultOutput) StorageId ¶
func (o StoragesResultOutput) StorageId() pulumi.StringPtrOutput
func (StoragesResultOutput) StorageLists ¶
func (o StoragesResultOutput) StorageLists() StoragesStorageListArrayOutput
func (StoragesResultOutput) StorageName ¶
func (o StoragesResultOutput) StorageName() pulumi.StringPtrOutput
func (StoragesResultOutput) StorageStates ¶
func (o StoragesResultOutput) StorageStates() pulumi.StringArrayOutput
func (StoragesResultOutput) StorageType ¶
func (o StoragesResultOutput) StorageType() pulumi.StringPtrOutput
func (StoragesResultOutput) StorageUsage ¶
func (o StoragesResultOutput) StorageUsage() pulumi.StringPtrOutput
func (StoragesResultOutput) TagKeys ¶
func (o StoragesResultOutput) TagKeys() pulumi.StringArrayOutput
func (StoragesResultOutput) TagValues ¶
func (o StoragesResultOutput) TagValues() pulumi.StringArrayOutput
func (StoragesResultOutput) ToStoragesResultOutput ¶
func (o StoragesResultOutput) ToStoragesResultOutput() StoragesResultOutput
func (StoragesResultOutput) ToStoragesResultOutputWithContext ¶
func (o StoragesResultOutput) ToStoragesResultOutputWithContext(ctx context.Context) StoragesResultOutput
type StoragesStorageList ¶
type StoragesStorageList struct { Attached bool `pulumi:"attached"` AvailabilityZone string `pulumi:"availabilityZone"` ChargeType string `pulumi:"chargeType"` CreateTime string `pulumi:"createTime"` Encrypt bool `pulumi:"encrypt"` InstanceId string `pulumi:"instanceId"` PrepaidRenewFlag string `pulumi:"prepaidRenewFlag"` ProjectId int `pulumi:"projectId"` Status string `pulumi:"status"` StorageId string `pulumi:"storageId"` StorageName string `pulumi:"storageName"` StorageSize int `pulumi:"storageSize"` StorageType string `pulumi:"storageType"` StorageUsage string `pulumi:"storageUsage"` Tags map[string]interface{} `pulumi:"tags"` ThroughputPerformance int `pulumi:"throughputPerformance"` }
type StoragesStorageListArgs ¶
type StoragesStorageListArgs struct { Attached pulumi.BoolInput `pulumi:"attached"` AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` ChargeType pulumi.StringInput `pulumi:"chargeType"` CreateTime pulumi.StringInput `pulumi:"createTime"` Encrypt pulumi.BoolInput `pulumi:"encrypt"` InstanceId pulumi.StringInput `pulumi:"instanceId"` PrepaidRenewFlag pulumi.StringInput `pulumi:"prepaidRenewFlag"` ProjectId pulumi.IntInput `pulumi:"projectId"` Status pulumi.StringInput `pulumi:"status"` StorageId pulumi.StringInput `pulumi:"storageId"` StorageName pulumi.StringInput `pulumi:"storageName"` StorageSize pulumi.IntInput `pulumi:"storageSize"` StorageType pulumi.StringInput `pulumi:"storageType"` StorageUsage pulumi.StringInput `pulumi:"storageUsage"` Tags pulumi.MapInput `pulumi:"tags"` ThroughputPerformance pulumi.IntInput `pulumi:"throughputPerformance"` }
func (StoragesStorageListArgs) ElementType ¶
func (StoragesStorageListArgs) ElementType() reflect.Type
func (StoragesStorageListArgs) ToStoragesStorageListOutput ¶
func (i StoragesStorageListArgs) ToStoragesStorageListOutput() StoragesStorageListOutput
func (StoragesStorageListArgs) ToStoragesStorageListOutputWithContext ¶
func (i StoragesStorageListArgs) ToStoragesStorageListOutputWithContext(ctx context.Context) StoragesStorageListOutput
type StoragesStorageListArray ¶
type StoragesStorageListArray []StoragesStorageListInput
func (StoragesStorageListArray) ElementType ¶
func (StoragesStorageListArray) ElementType() reflect.Type
func (StoragesStorageListArray) ToStoragesStorageListArrayOutput ¶
func (i StoragesStorageListArray) ToStoragesStorageListArrayOutput() StoragesStorageListArrayOutput
func (StoragesStorageListArray) ToStoragesStorageListArrayOutputWithContext ¶
func (i StoragesStorageListArray) ToStoragesStorageListArrayOutputWithContext(ctx context.Context) StoragesStorageListArrayOutput
type StoragesStorageListArrayInput ¶
type StoragesStorageListArrayInput interface { pulumi.Input ToStoragesStorageListArrayOutput() StoragesStorageListArrayOutput ToStoragesStorageListArrayOutputWithContext(context.Context) StoragesStorageListArrayOutput }
StoragesStorageListArrayInput is an input type that accepts StoragesStorageListArray and StoragesStorageListArrayOutput values. You can construct a concrete instance of `StoragesStorageListArrayInput` via:
StoragesStorageListArray{ StoragesStorageListArgs{...} }
type StoragesStorageListArrayOutput ¶
type StoragesStorageListArrayOutput struct{ *pulumi.OutputState }
func (StoragesStorageListArrayOutput) ElementType ¶
func (StoragesStorageListArrayOutput) ElementType() reflect.Type
func (StoragesStorageListArrayOutput) Index ¶
func (o StoragesStorageListArrayOutput) Index(i pulumi.IntInput) StoragesStorageListOutput
func (StoragesStorageListArrayOutput) ToStoragesStorageListArrayOutput ¶
func (o StoragesStorageListArrayOutput) ToStoragesStorageListArrayOutput() StoragesStorageListArrayOutput
func (StoragesStorageListArrayOutput) ToStoragesStorageListArrayOutputWithContext ¶
func (o StoragesStorageListArrayOutput) ToStoragesStorageListArrayOutputWithContext(ctx context.Context) StoragesStorageListArrayOutput
type StoragesStorageListInput ¶
type StoragesStorageListInput interface { pulumi.Input ToStoragesStorageListOutput() StoragesStorageListOutput ToStoragesStorageListOutputWithContext(context.Context) StoragesStorageListOutput }
StoragesStorageListInput is an input type that accepts StoragesStorageListArgs and StoragesStorageListOutput values. You can construct a concrete instance of `StoragesStorageListInput` via:
StoragesStorageListArgs{...}
type StoragesStorageListOutput ¶
type StoragesStorageListOutput struct{ *pulumi.OutputState }
func (StoragesStorageListOutput) Attached ¶
func (o StoragesStorageListOutput) Attached() pulumi.BoolOutput
func (StoragesStorageListOutput) AvailabilityZone ¶
func (o StoragesStorageListOutput) AvailabilityZone() pulumi.StringOutput
func (StoragesStorageListOutput) ChargeType ¶
func (o StoragesStorageListOutput) ChargeType() pulumi.StringOutput
func (StoragesStorageListOutput) CreateTime ¶
func (o StoragesStorageListOutput) CreateTime() pulumi.StringOutput
func (StoragesStorageListOutput) ElementType ¶
func (StoragesStorageListOutput) ElementType() reflect.Type
func (StoragesStorageListOutput) Encrypt ¶
func (o StoragesStorageListOutput) Encrypt() pulumi.BoolOutput
func (StoragesStorageListOutput) InstanceId ¶
func (o StoragesStorageListOutput) InstanceId() pulumi.StringOutput
func (StoragesStorageListOutput) PrepaidRenewFlag ¶
func (o StoragesStorageListOutput) PrepaidRenewFlag() pulumi.StringOutput
func (StoragesStorageListOutput) ProjectId ¶
func (o StoragesStorageListOutput) ProjectId() pulumi.IntOutput
func (StoragesStorageListOutput) Status ¶
func (o StoragesStorageListOutput) Status() pulumi.StringOutput
func (StoragesStorageListOutput) StorageId ¶
func (o StoragesStorageListOutput) StorageId() pulumi.StringOutput
func (StoragesStorageListOutput) StorageName ¶
func (o StoragesStorageListOutput) StorageName() pulumi.StringOutput
func (StoragesStorageListOutput) StorageSize ¶
func (o StoragesStorageListOutput) StorageSize() pulumi.IntOutput
func (StoragesStorageListOutput) StorageType ¶
func (o StoragesStorageListOutput) StorageType() pulumi.StringOutput
func (StoragesStorageListOutput) StorageUsage ¶
func (o StoragesStorageListOutput) StorageUsage() pulumi.StringOutput
func (StoragesStorageListOutput) Tags ¶
func (o StoragesStorageListOutput) Tags() pulumi.MapOutput
func (StoragesStorageListOutput) ThroughputPerformance ¶
func (o StoragesStorageListOutput) ThroughputPerformance() pulumi.IntOutput
func (StoragesStorageListOutput) ToStoragesStorageListOutput ¶
func (o StoragesStorageListOutput) ToStoragesStorageListOutput() StoragesStorageListOutput
func (StoragesStorageListOutput) ToStoragesStorageListOutputWithContext ¶
func (o StoragesStorageListOutput) ToStoragesStorageListOutputWithContext(ctx context.Context) StoragesStorageListOutput