Documentation
¶
Index ¶
- type AutoSnapShotPolicy
- type AutoSnapShotPolicyArgs
- type AutoSnapShotPolicyArray
- type AutoSnapShotPolicyArrayInput
- type AutoSnapShotPolicyArrayOutput
- func (AutoSnapShotPolicyArrayOutput) ElementType() reflect.Type
- func (o AutoSnapShotPolicyArrayOutput) Index(i pulumi.IntInput) AutoSnapShotPolicyOutput
- func (o AutoSnapShotPolicyArrayOutput) ToAutoSnapShotPolicyArrayOutput() AutoSnapShotPolicyArrayOutput
- func (o AutoSnapShotPolicyArrayOutput) ToAutoSnapShotPolicyArrayOutputWithContext(ctx context.Context) AutoSnapShotPolicyArrayOutput
- type AutoSnapShotPolicyInput
- type AutoSnapShotPolicyMap
- type AutoSnapShotPolicyMapInput
- type AutoSnapShotPolicyMapOutput
- func (AutoSnapShotPolicyMapOutput) ElementType() reflect.Type
- func (o AutoSnapShotPolicyMapOutput) MapIndex(k pulumi.StringInput) AutoSnapShotPolicyOutput
- func (o AutoSnapShotPolicyMapOutput) ToAutoSnapShotPolicyMapOutput() AutoSnapShotPolicyMapOutput
- func (o AutoSnapShotPolicyMapOutput) ToAutoSnapShotPolicyMapOutputWithContext(ctx context.Context) AutoSnapShotPolicyMapOutput
- type AutoSnapShotPolicyOutput
- func (o AutoSnapShotPolicyOutput) AppliedDbfsNumber() pulumi.IntOutput
- func (o AutoSnapShotPolicyOutput) CreateTime() pulumi.StringOutput
- func (AutoSnapShotPolicyOutput) ElementType() reflect.Type
- func (o AutoSnapShotPolicyOutput) LastModified() pulumi.StringOutput
- func (o AutoSnapShotPolicyOutput) PolicyId() pulumi.StringOutput
- func (o AutoSnapShotPolicyOutput) PolicyName() pulumi.StringOutput
- func (o AutoSnapShotPolicyOutput) RepeatWeekdays() pulumi.StringArrayOutput
- func (o AutoSnapShotPolicyOutput) RetentionDays() pulumi.IntOutput
- func (o AutoSnapShotPolicyOutput) Status() pulumi.StringOutput
- func (o AutoSnapShotPolicyOutput) StatusDetail() pulumi.StringOutput
- func (o AutoSnapShotPolicyOutput) TimePoints() pulumi.StringArrayOutput
- func (o AutoSnapShotPolicyOutput) ToAutoSnapShotPolicyOutput() AutoSnapShotPolicyOutput
- func (o AutoSnapShotPolicyOutput) ToAutoSnapShotPolicyOutputWithContext(ctx context.Context) AutoSnapShotPolicyOutput
- type AutoSnapShotPolicyState
- type GetAutoSnapShotPoliciesArgs
- type GetAutoSnapShotPoliciesAutoSnapShotPolicy
- type GetAutoSnapShotPoliciesAutoSnapShotPolicyArgs
- func (GetAutoSnapShotPoliciesAutoSnapShotPolicyArgs) ElementType() reflect.Type
- func (i GetAutoSnapShotPoliciesAutoSnapShotPolicyArgs) ToGetAutoSnapShotPoliciesAutoSnapShotPolicyOutput() GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput
- func (i GetAutoSnapShotPoliciesAutoSnapShotPolicyArgs) ToGetAutoSnapShotPoliciesAutoSnapShotPolicyOutputWithContext(ctx context.Context) GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput
- type GetAutoSnapShotPoliciesAutoSnapShotPolicyArray
- func (GetAutoSnapShotPoliciesAutoSnapShotPolicyArray) ElementType() reflect.Type
- func (i GetAutoSnapShotPoliciesAutoSnapShotPolicyArray) ToGetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput() GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput
- func (i GetAutoSnapShotPoliciesAutoSnapShotPolicyArray) ToGetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutputWithContext(ctx context.Context) GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput
- type GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayInput
- type GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput
- func (GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput) ElementType() reflect.Type
- func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput) Index(i pulumi.IntInput) GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput
- func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput) ToGetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput() GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput
- func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput) ToGetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutputWithContext(ctx context.Context) GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput
- type GetAutoSnapShotPoliciesAutoSnapShotPolicyInput
- type GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput
- func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) AppliedDbfsNumber() pulumi.IntOutput
- func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) CreateTime() pulumi.StringOutput
- func (GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) ElementType() reflect.Type
- func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) Id() pulumi.StringOutput
- func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) LastModified() pulumi.StringOutput
- func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) PolicyId() pulumi.StringOutput
- func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) PolicyName() pulumi.StringOutput
- func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) RepeatWeekdays() pulumi.StringArrayOutput
- func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) RetentionDays() pulumi.IntOutput
- func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) Status() pulumi.StringOutput
- func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) StatusDetail() pulumi.StringOutput
- func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) TimePoints() pulumi.StringArrayOutput
- func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) ToGetAutoSnapShotPoliciesAutoSnapShotPolicyOutput() GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput
- func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) ToGetAutoSnapShotPoliciesAutoSnapShotPolicyOutputWithContext(ctx context.Context) GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput
- type GetAutoSnapShotPoliciesOutputArgs
- type GetAutoSnapShotPoliciesResult
- type GetAutoSnapShotPoliciesResultOutput
- func (o GetAutoSnapShotPoliciesResultOutput) AutoSnapShotPolicies() GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput
- func (GetAutoSnapShotPoliciesResultOutput) ElementType() reflect.Type
- func (o GetAutoSnapShotPoliciesResultOutput) Id() pulumi.StringOutput
- func (o GetAutoSnapShotPoliciesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetAutoSnapShotPoliciesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetAutoSnapShotPoliciesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetAutoSnapShotPoliciesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetAutoSnapShotPoliciesResultOutput) PageNumber() pulumi.IntPtrOutput
- func (o GetAutoSnapShotPoliciesResultOutput) PageSize() pulumi.IntPtrOutput
- func (o GetAutoSnapShotPoliciesResultOutput) ToGetAutoSnapShotPoliciesResultOutput() GetAutoSnapShotPoliciesResultOutput
- func (o GetAutoSnapShotPoliciesResultOutput) ToGetAutoSnapShotPoliciesResultOutputWithContext(ctx context.Context) GetAutoSnapShotPoliciesResultOutput
- type GetInstancesArgs
- type GetInstancesInstance
- type GetInstancesInstanceArgs
- type GetInstancesInstanceArray
- type GetInstancesInstanceArrayInput
- type GetInstancesInstanceArrayOutput
- func (GetInstancesInstanceArrayOutput) ElementType() reflect.Type
- func (o GetInstancesInstanceArrayOutput) Index(i pulumi.IntInput) GetInstancesInstanceOutput
- func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput
- func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput
- type GetInstancesInstanceEcsList
- type GetInstancesInstanceEcsListArgs
- func (GetInstancesInstanceEcsListArgs) ElementType() reflect.Type
- func (i GetInstancesInstanceEcsListArgs) ToGetInstancesInstanceEcsListOutput() GetInstancesInstanceEcsListOutput
- func (i GetInstancesInstanceEcsListArgs) ToGetInstancesInstanceEcsListOutputWithContext(ctx context.Context) GetInstancesInstanceEcsListOutput
- type GetInstancesInstanceEcsListArray
- func (GetInstancesInstanceEcsListArray) ElementType() reflect.Type
- func (i GetInstancesInstanceEcsListArray) ToGetInstancesInstanceEcsListArrayOutput() GetInstancesInstanceEcsListArrayOutput
- func (i GetInstancesInstanceEcsListArray) ToGetInstancesInstanceEcsListArrayOutputWithContext(ctx context.Context) GetInstancesInstanceEcsListArrayOutput
- type GetInstancesInstanceEcsListArrayInput
- type GetInstancesInstanceEcsListArrayOutput
- func (GetInstancesInstanceEcsListArrayOutput) ElementType() reflect.Type
- func (o GetInstancesInstanceEcsListArrayOutput) Index(i pulumi.IntInput) GetInstancesInstanceEcsListOutput
- func (o GetInstancesInstanceEcsListArrayOutput) ToGetInstancesInstanceEcsListArrayOutput() GetInstancesInstanceEcsListArrayOutput
- func (o GetInstancesInstanceEcsListArrayOutput) ToGetInstancesInstanceEcsListArrayOutputWithContext(ctx context.Context) GetInstancesInstanceEcsListArrayOutput
- type GetInstancesInstanceEcsListInput
- type GetInstancesInstanceEcsListOutput
- func (o GetInstancesInstanceEcsListOutput) EcsId() pulumi.StringOutput
- func (GetInstancesInstanceEcsListOutput) ElementType() reflect.Type
- func (o GetInstancesInstanceEcsListOutput) ToGetInstancesInstanceEcsListOutput() GetInstancesInstanceEcsListOutput
- func (o GetInstancesInstanceEcsListOutput) ToGetInstancesInstanceEcsListOutputWithContext(ctx context.Context) GetInstancesInstanceEcsListOutput
- type GetInstancesInstanceInput
- type GetInstancesInstanceOutput
- func (o GetInstancesInstanceOutput) AttachNodeNumber() pulumi.IntOutput
- func (o GetInstancesInstanceOutput) Category() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) CreateTime() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) DbfsClusterId() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) EcsLists() GetInstancesInstanceEcsListArrayOutput
- func (GetInstancesInstanceOutput) ElementType() reflect.Type
- func (o GetInstancesInstanceOutput) EnableRaid() pulumi.BoolOutput
- func (o GetInstancesInstanceOutput) Encryption() pulumi.BoolOutput
- func (o GetInstancesInstanceOutput) Id() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) InstanceId() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) InstanceName() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) KmsKeyId() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) PaymentType() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) PerformanceLevel() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) RaidStripeUnitNumber() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) Size() pulumi.IntOutput
- func (o GetInstancesInstanceOutput) Status() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput
- func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput
- func (o GetInstancesInstanceOutput) ZoneId() pulumi.StringOutput
- type GetInstancesOutputArgs
- type GetInstancesResult
- type GetInstancesResultOutput
- func (GetInstancesResultOutput) ElementType() reflect.Type
- func (o GetInstancesResultOutput) Id() pulumi.StringOutput
- func (o GetInstancesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetInstancesResultOutput) Instances() GetInstancesInstanceArrayOutput
- func (o GetInstancesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetInstancesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetInstancesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetInstancesResultOutput) Status() pulumi.StringPtrOutput
- func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput
- func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput
- type GetSnapshotsArgs
- type GetSnapshotsOutputArgs
- type GetSnapshotsResult
- type GetSnapshotsResultOutput
- func (GetSnapshotsResultOutput) ElementType() reflect.Type
- func (o GetSnapshotsResultOutput) Id() pulumi.StringOutput
- func (o GetSnapshotsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetSnapshotsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetSnapshotsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetSnapshotsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetSnapshotsResultOutput) Snapshots() GetSnapshotsSnapshotArrayOutput
- func (o GetSnapshotsResultOutput) Status() pulumi.StringPtrOutput
- func (o GetSnapshotsResultOutput) ToGetSnapshotsResultOutput() GetSnapshotsResultOutput
- func (o GetSnapshotsResultOutput) ToGetSnapshotsResultOutputWithContext(ctx context.Context) GetSnapshotsResultOutput
- type GetSnapshotsSnapshot
- type GetSnapshotsSnapshotArgs
- type GetSnapshotsSnapshotArray
- type GetSnapshotsSnapshotArrayInput
- type GetSnapshotsSnapshotArrayOutput
- func (GetSnapshotsSnapshotArrayOutput) ElementType() reflect.Type
- func (o GetSnapshotsSnapshotArrayOutput) Index(i pulumi.IntInput) GetSnapshotsSnapshotOutput
- func (o GetSnapshotsSnapshotArrayOutput) ToGetSnapshotsSnapshotArrayOutput() GetSnapshotsSnapshotArrayOutput
- func (o GetSnapshotsSnapshotArrayOutput) ToGetSnapshotsSnapshotArrayOutputWithContext(ctx context.Context) GetSnapshotsSnapshotArrayOutput
- type GetSnapshotsSnapshotInput
- type GetSnapshotsSnapshotOutput
- func (o GetSnapshotsSnapshotOutput) Category() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) CreateTime() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) Description() pulumi.StringOutput
- func (GetSnapshotsSnapshotOutput) ElementType() reflect.Type
- func (o GetSnapshotsSnapshotOutput) Id() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) InstanceId() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) LastModifiedTime() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) Progress() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) RemainTime() pulumi.IntOutput
- func (o GetSnapshotsSnapshotOutput) RetentionDays() pulumi.IntOutput
- func (o GetSnapshotsSnapshotOutput) SnapshotId() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) SnapshotName() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) SnapshotType() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) SourceFsSize() pulumi.IntOutput
- func (o GetSnapshotsSnapshotOutput) Status() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) ToGetSnapshotsSnapshotOutput() GetSnapshotsSnapshotOutput
- func (o GetSnapshotsSnapshotOutput) ToGetSnapshotsSnapshotOutputWithContext(ctx context.Context) GetSnapshotsSnapshotOutput
- type Instance
- type InstanceArgs
- type InstanceArray
- type InstanceArrayInput
- type InstanceArrayOutput
- type InstanceAttachment
- type InstanceAttachmentArgs
- type InstanceAttachmentArray
- type InstanceAttachmentArrayInput
- type InstanceAttachmentArrayOutput
- func (InstanceAttachmentArrayOutput) ElementType() reflect.Type
- func (o InstanceAttachmentArrayOutput) Index(i pulumi.IntInput) InstanceAttachmentOutput
- func (o InstanceAttachmentArrayOutput) ToInstanceAttachmentArrayOutput() InstanceAttachmentArrayOutput
- func (o InstanceAttachmentArrayOutput) ToInstanceAttachmentArrayOutputWithContext(ctx context.Context) InstanceAttachmentArrayOutput
- type InstanceAttachmentInput
- type InstanceAttachmentMap
- type InstanceAttachmentMapInput
- type InstanceAttachmentMapOutput
- func (InstanceAttachmentMapOutput) ElementType() reflect.Type
- func (o InstanceAttachmentMapOutput) MapIndex(k pulumi.StringInput) InstanceAttachmentOutput
- func (o InstanceAttachmentMapOutput) ToInstanceAttachmentMapOutput() InstanceAttachmentMapOutput
- func (o InstanceAttachmentMapOutput) ToInstanceAttachmentMapOutputWithContext(ctx context.Context) InstanceAttachmentMapOutput
- type InstanceAttachmentOutput
- func (o InstanceAttachmentOutput) EcsId() pulumi.StringOutput
- func (InstanceAttachmentOutput) ElementType() reflect.Type
- func (o InstanceAttachmentOutput) InstanceId() pulumi.StringOutput
- func (o InstanceAttachmentOutput) Status() pulumi.StringOutput
- func (o InstanceAttachmentOutput) ToInstanceAttachmentOutput() InstanceAttachmentOutput
- func (o InstanceAttachmentOutput) ToInstanceAttachmentOutputWithContext(ctx context.Context) InstanceAttachmentOutput
- type InstanceAttachmentState
- type InstanceEcsList
- type InstanceEcsListArgs
- type InstanceEcsListArray
- type InstanceEcsListArrayInput
- type InstanceEcsListArrayOutput
- func (InstanceEcsListArrayOutput) ElementType() reflect.Type
- func (o InstanceEcsListArrayOutput) Index(i pulumi.IntInput) InstanceEcsListOutput
- func (o InstanceEcsListArrayOutput) ToInstanceEcsListArrayOutput() InstanceEcsListArrayOutput
- func (o InstanceEcsListArrayOutput) ToInstanceEcsListArrayOutputWithContext(ctx context.Context) InstanceEcsListArrayOutput
- type InstanceEcsListInput
- type InstanceEcsListOutput
- func (o InstanceEcsListOutput) EcsId() pulumi.StringPtrOutput
- func (InstanceEcsListOutput) ElementType() reflect.Type
- func (o InstanceEcsListOutput) ToInstanceEcsListOutput() InstanceEcsListOutput
- func (o InstanceEcsListOutput) ToInstanceEcsListOutputWithContext(ctx context.Context) InstanceEcsListOutput
- type InstanceInput
- type InstanceMap
- type InstanceMapInput
- type InstanceMapOutput
- type InstanceOutput
- func (o InstanceOutput) Category() pulumi.StringOutput
- func (o InstanceOutput) DeleteSnapshot() pulumi.BoolPtrOutput
- func (o InstanceOutput) EcsLists() InstanceEcsListArrayOutputdeprecated
- func (InstanceOutput) ElementType() reflect.Type
- func (o InstanceOutput) EnableRaid() pulumi.BoolPtrOutput
- func (o InstanceOutput) Encryption() pulumi.BoolPtrOutput
- func (o InstanceOutput) InstanceName() pulumi.StringOutput
- func (o InstanceOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o InstanceOutput) PerformanceLevel() pulumi.StringOutput
- func (o InstanceOutput) RaidStripeUnitNumber() pulumi.StringPtrOutput
- func (o InstanceOutput) Size() pulumi.IntOutput
- func (o InstanceOutput) SnapshotId() pulumi.StringPtrOutput
- func (o InstanceOutput) Status() pulumi.StringOutput
- func (o InstanceOutput) Tags() pulumi.MapOutput
- func (o InstanceOutput) ToInstanceOutput() InstanceOutput
- func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- func (o InstanceOutput) ZoneId() pulumi.StringOutput
- type InstanceState
- type ServiceLinkedRole
- type ServiceLinkedRoleArgs
- type ServiceLinkedRoleArray
- type ServiceLinkedRoleArrayInput
- type ServiceLinkedRoleArrayOutput
- func (ServiceLinkedRoleArrayOutput) ElementType() reflect.Type
- func (o ServiceLinkedRoleArrayOutput) Index(i pulumi.IntInput) ServiceLinkedRoleOutput
- func (o ServiceLinkedRoleArrayOutput) ToServiceLinkedRoleArrayOutput() ServiceLinkedRoleArrayOutput
- func (o ServiceLinkedRoleArrayOutput) ToServiceLinkedRoleArrayOutputWithContext(ctx context.Context) ServiceLinkedRoleArrayOutput
- type ServiceLinkedRoleInput
- type ServiceLinkedRoleMap
- type ServiceLinkedRoleMapInput
- type ServiceLinkedRoleMapOutput
- func (ServiceLinkedRoleMapOutput) ElementType() reflect.Type
- func (o ServiceLinkedRoleMapOutput) MapIndex(k pulumi.StringInput) ServiceLinkedRoleOutput
- func (o ServiceLinkedRoleMapOutput) ToServiceLinkedRoleMapOutput() ServiceLinkedRoleMapOutput
- func (o ServiceLinkedRoleMapOutput) ToServiceLinkedRoleMapOutputWithContext(ctx context.Context) ServiceLinkedRoleMapOutput
- type ServiceLinkedRoleOutput
- func (ServiceLinkedRoleOutput) ElementType() reflect.Type
- func (o ServiceLinkedRoleOutput) ProductName() pulumi.StringOutput
- func (o ServiceLinkedRoleOutput) Status() pulumi.BoolOutput
- func (o ServiceLinkedRoleOutput) ToServiceLinkedRoleOutput() ServiceLinkedRoleOutput
- func (o ServiceLinkedRoleOutput) ToServiceLinkedRoleOutputWithContext(ctx context.Context) ServiceLinkedRoleOutput
- type ServiceLinkedRoleState
- type Snapshot
- type SnapshotArgs
- type SnapshotArray
- type SnapshotArrayInput
- type SnapshotArrayOutput
- type SnapshotInput
- type SnapshotMap
- type SnapshotMapInput
- type SnapshotMapOutput
- type SnapshotOutput
- func (o SnapshotOutput) Description() pulumi.StringPtrOutput
- func (SnapshotOutput) ElementType() reflect.Type
- func (o SnapshotOutput) Force() pulumi.BoolPtrOutput
- func (o SnapshotOutput) InstanceId() pulumi.StringOutput
- func (o SnapshotOutput) RetentionDays() pulumi.IntPtrOutput
- func (o SnapshotOutput) SnapshotName() pulumi.StringPtrOutput
- func (o SnapshotOutput) Status() pulumi.StringOutput
- func (o SnapshotOutput) ToSnapshotOutput() SnapshotOutput
- func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
- type SnapshotState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoSnapShotPolicy ¶ added in v3.35.0
type AutoSnapShotPolicy struct { pulumi.CustomResourceState // The number of database file systems set by the automatic snapshot policy. AppliedDbfsNumber pulumi.IntOutput `pulumi:"appliedDbfsNumber"` // The creation time of the resource CreateTime pulumi.StringOutput `pulumi:"createTime"` // Last modification time of automatic snapshot policy LastModified pulumi.StringOutput `pulumi:"lastModified"` // Automatic snapshot policy ID PolicyId pulumi.StringOutput `pulumi:"policyId"` // Automatic snapshot policy name PolicyName pulumi.StringOutput `pulumi:"policyName"` // A collection of automatic snapshots performed on several days of the week. Value range: 1~7, for example, `1` means Monday. RepeatWeekdays pulumi.StringArrayOutput `pulumi:"repeatWeekdays"` // Automatic snapshot retention days. RetentionDays pulumi.IntOutput `pulumi:"retentionDays"` // Automatic snapshot policy status Status pulumi.StringOutput `pulumi:"status"` // Automatic snapshot policy status details StatusDetail pulumi.StringOutput `pulumi:"statusDetail"` // The set of times at which the snapshot is taken on the day the automatic snapshot is executed. Value range: `00` to `23`, representing 24 time points from 00:00 to 23:00, for example, `01` indicates 01:00. TimePoints pulumi.StringArrayOutput `pulumi:"timePoints"` }
Provides a Dbfs Auto Snap Shot Policy resource.
For information about Dbfs Auto Snap Shot Policy and how to use it.
> **NOTE:** Available since v1.202.0.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/databasefilesystem" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := databasefilesystem.NewAutoSnapShotPolicy(ctx, "default", &databasefilesystem.AutoSnapShotPolicyArgs{ PolicyName: pulumi.String("tf-example"), RepeatWeekdays: pulumi.StringArray{ pulumi.String("2"), }, RetentionDays: pulumi.Int(1), TimePoints: pulumi.StringArray{ pulumi.String("01"), }, }) if err != nil { return err } return nil }) }
```
## Import
Dbfs Auto Snap Shot Policy can be imported using the id, e.g.
```sh
$ pulumi import alicloud:databasefilesystem/autoSnapShotPolicy:AutoSnapShotPolicy example <id>
```
func GetAutoSnapShotPolicy ¶ added in v3.35.0
func GetAutoSnapShotPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AutoSnapShotPolicyState, opts ...pulumi.ResourceOption) (*AutoSnapShotPolicy, error)
GetAutoSnapShotPolicy gets an existing AutoSnapShotPolicy 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 NewAutoSnapShotPolicy ¶ added in v3.35.0
func NewAutoSnapShotPolicy(ctx *pulumi.Context, name string, args *AutoSnapShotPolicyArgs, opts ...pulumi.ResourceOption) (*AutoSnapShotPolicy, error)
NewAutoSnapShotPolicy registers a new resource with the given unique name, arguments, and options.
func (*AutoSnapShotPolicy) ElementType ¶ added in v3.35.0
func (*AutoSnapShotPolicy) ElementType() reflect.Type
func (*AutoSnapShotPolicy) ToAutoSnapShotPolicyOutput ¶ added in v3.35.0
func (i *AutoSnapShotPolicy) ToAutoSnapShotPolicyOutput() AutoSnapShotPolicyOutput
func (*AutoSnapShotPolicy) ToAutoSnapShotPolicyOutputWithContext ¶ added in v3.35.0
func (i *AutoSnapShotPolicy) ToAutoSnapShotPolicyOutputWithContext(ctx context.Context) AutoSnapShotPolicyOutput
type AutoSnapShotPolicyArgs ¶ added in v3.35.0
type AutoSnapShotPolicyArgs struct { // Automatic snapshot policy name PolicyName pulumi.StringInput // A collection of automatic snapshots performed on several days of the week. Value range: 1~7, for example, `1` means Monday. RepeatWeekdays pulumi.StringArrayInput // Automatic snapshot retention days. RetentionDays pulumi.IntInput // The set of times at which the snapshot is taken on the day the automatic snapshot is executed. Value range: `00` to `23`, representing 24 time points from 00:00 to 23:00, for example, `01` indicates 01:00. TimePoints pulumi.StringArrayInput }
The set of arguments for constructing a AutoSnapShotPolicy resource.
func (AutoSnapShotPolicyArgs) ElementType ¶ added in v3.35.0
func (AutoSnapShotPolicyArgs) ElementType() reflect.Type
type AutoSnapShotPolicyArray ¶ added in v3.35.0
type AutoSnapShotPolicyArray []AutoSnapShotPolicyInput
func (AutoSnapShotPolicyArray) ElementType ¶ added in v3.35.0
func (AutoSnapShotPolicyArray) ElementType() reflect.Type
func (AutoSnapShotPolicyArray) ToAutoSnapShotPolicyArrayOutput ¶ added in v3.35.0
func (i AutoSnapShotPolicyArray) ToAutoSnapShotPolicyArrayOutput() AutoSnapShotPolicyArrayOutput
func (AutoSnapShotPolicyArray) ToAutoSnapShotPolicyArrayOutputWithContext ¶ added in v3.35.0
func (i AutoSnapShotPolicyArray) ToAutoSnapShotPolicyArrayOutputWithContext(ctx context.Context) AutoSnapShotPolicyArrayOutput
type AutoSnapShotPolicyArrayInput ¶ added in v3.35.0
type AutoSnapShotPolicyArrayInput interface { pulumi.Input ToAutoSnapShotPolicyArrayOutput() AutoSnapShotPolicyArrayOutput ToAutoSnapShotPolicyArrayOutputWithContext(context.Context) AutoSnapShotPolicyArrayOutput }
AutoSnapShotPolicyArrayInput is an input type that accepts AutoSnapShotPolicyArray and AutoSnapShotPolicyArrayOutput values. You can construct a concrete instance of `AutoSnapShotPolicyArrayInput` via:
AutoSnapShotPolicyArray{ AutoSnapShotPolicyArgs{...} }
type AutoSnapShotPolicyArrayOutput ¶ added in v3.35.0
type AutoSnapShotPolicyArrayOutput struct{ *pulumi.OutputState }
func (AutoSnapShotPolicyArrayOutput) ElementType ¶ added in v3.35.0
func (AutoSnapShotPolicyArrayOutput) ElementType() reflect.Type
func (AutoSnapShotPolicyArrayOutput) Index ¶ added in v3.35.0
func (o AutoSnapShotPolicyArrayOutput) Index(i pulumi.IntInput) AutoSnapShotPolicyOutput
func (AutoSnapShotPolicyArrayOutput) ToAutoSnapShotPolicyArrayOutput ¶ added in v3.35.0
func (o AutoSnapShotPolicyArrayOutput) ToAutoSnapShotPolicyArrayOutput() AutoSnapShotPolicyArrayOutput
func (AutoSnapShotPolicyArrayOutput) ToAutoSnapShotPolicyArrayOutputWithContext ¶ added in v3.35.0
func (o AutoSnapShotPolicyArrayOutput) ToAutoSnapShotPolicyArrayOutputWithContext(ctx context.Context) AutoSnapShotPolicyArrayOutput
type AutoSnapShotPolicyInput ¶ added in v3.35.0
type AutoSnapShotPolicyInput interface { pulumi.Input ToAutoSnapShotPolicyOutput() AutoSnapShotPolicyOutput ToAutoSnapShotPolicyOutputWithContext(ctx context.Context) AutoSnapShotPolicyOutput }
type AutoSnapShotPolicyMap ¶ added in v3.35.0
type AutoSnapShotPolicyMap map[string]AutoSnapShotPolicyInput
func (AutoSnapShotPolicyMap) ElementType ¶ added in v3.35.0
func (AutoSnapShotPolicyMap) ElementType() reflect.Type
func (AutoSnapShotPolicyMap) ToAutoSnapShotPolicyMapOutput ¶ added in v3.35.0
func (i AutoSnapShotPolicyMap) ToAutoSnapShotPolicyMapOutput() AutoSnapShotPolicyMapOutput
func (AutoSnapShotPolicyMap) ToAutoSnapShotPolicyMapOutputWithContext ¶ added in v3.35.0
func (i AutoSnapShotPolicyMap) ToAutoSnapShotPolicyMapOutputWithContext(ctx context.Context) AutoSnapShotPolicyMapOutput
type AutoSnapShotPolicyMapInput ¶ added in v3.35.0
type AutoSnapShotPolicyMapInput interface { pulumi.Input ToAutoSnapShotPolicyMapOutput() AutoSnapShotPolicyMapOutput ToAutoSnapShotPolicyMapOutputWithContext(context.Context) AutoSnapShotPolicyMapOutput }
AutoSnapShotPolicyMapInput is an input type that accepts AutoSnapShotPolicyMap and AutoSnapShotPolicyMapOutput values. You can construct a concrete instance of `AutoSnapShotPolicyMapInput` via:
AutoSnapShotPolicyMap{ "key": AutoSnapShotPolicyArgs{...} }
type AutoSnapShotPolicyMapOutput ¶ added in v3.35.0
type AutoSnapShotPolicyMapOutput struct{ *pulumi.OutputState }
func (AutoSnapShotPolicyMapOutput) ElementType ¶ added in v3.35.0
func (AutoSnapShotPolicyMapOutput) ElementType() reflect.Type
func (AutoSnapShotPolicyMapOutput) MapIndex ¶ added in v3.35.0
func (o AutoSnapShotPolicyMapOutput) MapIndex(k pulumi.StringInput) AutoSnapShotPolicyOutput
func (AutoSnapShotPolicyMapOutput) ToAutoSnapShotPolicyMapOutput ¶ added in v3.35.0
func (o AutoSnapShotPolicyMapOutput) ToAutoSnapShotPolicyMapOutput() AutoSnapShotPolicyMapOutput
func (AutoSnapShotPolicyMapOutput) ToAutoSnapShotPolicyMapOutputWithContext ¶ added in v3.35.0
func (o AutoSnapShotPolicyMapOutput) ToAutoSnapShotPolicyMapOutputWithContext(ctx context.Context) AutoSnapShotPolicyMapOutput
type AutoSnapShotPolicyOutput ¶ added in v3.35.0
type AutoSnapShotPolicyOutput struct{ *pulumi.OutputState }
func (AutoSnapShotPolicyOutput) AppliedDbfsNumber ¶ added in v3.35.0
func (o AutoSnapShotPolicyOutput) AppliedDbfsNumber() pulumi.IntOutput
The number of database file systems set by the automatic snapshot policy.
func (AutoSnapShotPolicyOutput) CreateTime ¶ added in v3.35.0
func (o AutoSnapShotPolicyOutput) CreateTime() pulumi.StringOutput
The creation time of the resource
func (AutoSnapShotPolicyOutput) ElementType ¶ added in v3.35.0
func (AutoSnapShotPolicyOutput) ElementType() reflect.Type
func (AutoSnapShotPolicyOutput) LastModified ¶ added in v3.35.0
func (o AutoSnapShotPolicyOutput) LastModified() pulumi.StringOutput
Last modification time of automatic snapshot policy
func (AutoSnapShotPolicyOutput) PolicyId ¶ added in v3.35.0
func (o AutoSnapShotPolicyOutput) PolicyId() pulumi.StringOutput
Automatic snapshot policy ID
func (AutoSnapShotPolicyOutput) PolicyName ¶ added in v3.35.0
func (o AutoSnapShotPolicyOutput) PolicyName() pulumi.StringOutput
Automatic snapshot policy name
func (AutoSnapShotPolicyOutput) RepeatWeekdays ¶ added in v3.35.0
func (o AutoSnapShotPolicyOutput) RepeatWeekdays() pulumi.StringArrayOutput
A collection of automatic snapshots performed on several days of the week. Value range: 1~7, for example, `1` means Monday.
func (AutoSnapShotPolicyOutput) RetentionDays ¶ added in v3.35.0
func (o AutoSnapShotPolicyOutput) RetentionDays() pulumi.IntOutput
Automatic snapshot retention days.
func (AutoSnapShotPolicyOutput) Status ¶ added in v3.35.0
func (o AutoSnapShotPolicyOutput) Status() pulumi.StringOutput
Automatic snapshot policy status
func (AutoSnapShotPolicyOutput) StatusDetail ¶ added in v3.35.0
func (o AutoSnapShotPolicyOutput) StatusDetail() pulumi.StringOutput
Automatic snapshot policy status details
func (AutoSnapShotPolicyOutput) TimePoints ¶ added in v3.35.0
func (o AutoSnapShotPolicyOutput) TimePoints() pulumi.StringArrayOutput
The set of times at which the snapshot is taken on the day the automatic snapshot is executed. Value range: `00` to `23`, representing 24 time points from 00:00 to 23:00, for example, `01` indicates 01:00.
func (AutoSnapShotPolicyOutput) ToAutoSnapShotPolicyOutput ¶ added in v3.35.0
func (o AutoSnapShotPolicyOutput) ToAutoSnapShotPolicyOutput() AutoSnapShotPolicyOutput
func (AutoSnapShotPolicyOutput) ToAutoSnapShotPolicyOutputWithContext ¶ added in v3.35.0
func (o AutoSnapShotPolicyOutput) ToAutoSnapShotPolicyOutputWithContext(ctx context.Context) AutoSnapShotPolicyOutput
type AutoSnapShotPolicyState ¶ added in v3.35.0
type AutoSnapShotPolicyState struct { // The number of database file systems set by the automatic snapshot policy. AppliedDbfsNumber pulumi.IntPtrInput // The creation time of the resource CreateTime pulumi.StringPtrInput // Last modification time of automatic snapshot policy LastModified pulumi.StringPtrInput // Automatic snapshot policy ID PolicyId pulumi.StringPtrInput // Automatic snapshot policy name PolicyName pulumi.StringPtrInput // A collection of automatic snapshots performed on several days of the week. Value range: 1~7, for example, `1` means Monday. RepeatWeekdays pulumi.StringArrayInput // Automatic snapshot retention days. RetentionDays pulumi.IntPtrInput // Automatic snapshot policy status Status pulumi.StringPtrInput // Automatic snapshot policy status details StatusDetail pulumi.StringPtrInput // The set of times at which the snapshot is taken on the day the automatic snapshot is executed. Value range: `00` to `23`, representing 24 time points from 00:00 to 23:00, for example, `01` indicates 01:00. TimePoints pulumi.StringArrayInput }
func (AutoSnapShotPolicyState) ElementType ¶ added in v3.35.0
func (AutoSnapShotPolicyState) ElementType() reflect.Type
type GetAutoSnapShotPoliciesArgs ¶ added in v3.35.0
type GetAutoSnapShotPoliciesArgs struct { // A list of Auto Snap Shot Policy IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Auto Snap Shot Policy name. NameRegex *string `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` }
A collection of arguments for invoking getAutoSnapShotPolicies.
type GetAutoSnapShotPoliciesAutoSnapShotPolicy ¶ added in v3.35.0
type GetAutoSnapShotPoliciesAutoSnapShotPolicy struct { // The number of database file systems set by the automatic snapshot policy. AppliedDbfsNumber int `pulumi:"appliedDbfsNumber"` // The creation time of the resource CreateTime string `pulumi:"createTime"` // The ID of the policy. Id string `pulumi:"id"` // Last modification time of automatic snapshot policy LastModified string `pulumi:"lastModified"` // Automatic snapshot policy ID PolicyId string `pulumi:"policyId"` // Automatic snapshot policy name PolicyName string `pulumi:"policyName"` // A collection of automatic snapshots performed on several days of the week. RepeatWeekdays []string `pulumi:"repeatWeekdays"` // Automatic snapshot retention days RetentionDays int `pulumi:"retentionDays"` // Automatic snapshot policy status Status string `pulumi:"status"` // Automatic snapshot policy status details StatusDetail string `pulumi:"statusDetail"` // The set of times at which the snapshot is taken on the day the automatic snapshot is executed. TimePoints []string `pulumi:"timePoints"` }
type GetAutoSnapShotPoliciesAutoSnapShotPolicyArgs ¶ added in v3.35.0
type GetAutoSnapShotPoliciesAutoSnapShotPolicyArgs struct { // The number of database file systems set by the automatic snapshot policy. AppliedDbfsNumber pulumi.IntInput `pulumi:"appliedDbfsNumber"` // The creation time of the resource CreateTime pulumi.StringInput `pulumi:"createTime"` // The ID of the policy. Id pulumi.StringInput `pulumi:"id"` // Last modification time of automatic snapshot policy LastModified pulumi.StringInput `pulumi:"lastModified"` // Automatic snapshot policy ID PolicyId pulumi.StringInput `pulumi:"policyId"` // Automatic snapshot policy name PolicyName pulumi.StringInput `pulumi:"policyName"` // A collection of automatic snapshots performed on several days of the week. RepeatWeekdays pulumi.StringArrayInput `pulumi:"repeatWeekdays"` // Automatic snapshot retention days RetentionDays pulumi.IntInput `pulumi:"retentionDays"` // Automatic snapshot policy status Status pulumi.StringInput `pulumi:"status"` // Automatic snapshot policy status details StatusDetail pulumi.StringInput `pulumi:"statusDetail"` // The set of times at which the snapshot is taken on the day the automatic snapshot is executed. TimePoints pulumi.StringArrayInput `pulumi:"timePoints"` }
func (GetAutoSnapShotPoliciesAutoSnapShotPolicyArgs) ElementType ¶ added in v3.35.0
func (GetAutoSnapShotPoliciesAutoSnapShotPolicyArgs) ElementType() reflect.Type
func (GetAutoSnapShotPoliciesAutoSnapShotPolicyArgs) ToGetAutoSnapShotPoliciesAutoSnapShotPolicyOutput ¶ added in v3.35.0
func (i GetAutoSnapShotPoliciesAutoSnapShotPolicyArgs) ToGetAutoSnapShotPoliciesAutoSnapShotPolicyOutput() GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput
func (GetAutoSnapShotPoliciesAutoSnapShotPolicyArgs) ToGetAutoSnapShotPoliciesAutoSnapShotPolicyOutputWithContext ¶ added in v3.35.0
func (i GetAutoSnapShotPoliciesAutoSnapShotPolicyArgs) ToGetAutoSnapShotPoliciesAutoSnapShotPolicyOutputWithContext(ctx context.Context) GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput
type GetAutoSnapShotPoliciesAutoSnapShotPolicyArray ¶ added in v3.35.0
type GetAutoSnapShotPoliciesAutoSnapShotPolicyArray []GetAutoSnapShotPoliciesAutoSnapShotPolicyInput
func (GetAutoSnapShotPoliciesAutoSnapShotPolicyArray) ElementType ¶ added in v3.35.0
func (GetAutoSnapShotPoliciesAutoSnapShotPolicyArray) ElementType() reflect.Type
func (GetAutoSnapShotPoliciesAutoSnapShotPolicyArray) ToGetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput ¶ added in v3.35.0
func (i GetAutoSnapShotPoliciesAutoSnapShotPolicyArray) ToGetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput() GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput
func (GetAutoSnapShotPoliciesAutoSnapShotPolicyArray) ToGetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutputWithContext ¶ added in v3.35.0
func (i GetAutoSnapShotPoliciesAutoSnapShotPolicyArray) ToGetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutputWithContext(ctx context.Context) GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput
type GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayInput ¶ added in v3.35.0
type GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayInput interface { pulumi.Input ToGetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput() GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput ToGetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutputWithContext(context.Context) GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput }
GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayInput is an input type that accepts GetAutoSnapShotPoliciesAutoSnapShotPolicyArray and GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput values. You can construct a concrete instance of `GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayInput` via:
GetAutoSnapShotPoliciesAutoSnapShotPolicyArray{ GetAutoSnapShotPoliciesAutoSnapShotPolicyArgs{...} }
type GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput ¶ added in v3.35.0
type GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput struct{ *pulumi.OutputState }
func (GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput) ElementType ¶ added in v3.35.0
func (GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput) ElementType() reflect.Type
func (GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput) ToGetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput ¶ added in v3.35.0
func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput) ToGetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput() GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput
func (GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput) ToGetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutputWithContext ¶ added in v3.35.0
func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput) ToGetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutputWithContext(ctx context.Context) GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput
type GetAutoSnapShotPoliciesAutoSnapShotPolicyInput ¶ added in v3.35.0
type GetAutoSnapShotPoliciesAutoSnapShotPolicyInput interface { pulumi.Input ToGetAutoSnapShotPoliciesAutoSnapShotPolicyOutput() GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput ToGetAutoSnapShotPoliciesAutoSnapShotPolicyOutputWithContext(context.Context) GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput }
GetAutoSnapShotPoliciesAutoSnapShotPolicyInput is an input type that accepts GetAutoSnapShotPoliciesAutoSnapShotPolicyArgs and GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput values. You can construct a concrete instance of `GetAutoSnapShotPoliciesAutoSnapShotPolicyInput` via:
GetAutoSnapShotPoliciesAutoSnapShotPolicyArgs{...}
type GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput ¶ added in v3.35.0
type GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput struct{ *pulumi.OutputState }
func (GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) AppliedDbfsNumber ¶ added in v3.35.0
func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) AppliedDbfsNumber() pulumi.IntOutput
The number of database file systems set by the automatic snapshot policy.
func (GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) CreateTime ¶ added in v3.35.0
func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) CreateTime() pulumi.StringOutput
The creation time of the resource
func (GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) ElementType ¶ added in v3.35.0
func (GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) ElementType() reflect.Type
func (GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) LastModified ¶ added in v3.35.0
func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) LastModified() pulumi.StringOutput
Last modification time of automatic snapshot policy
func (GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) PolicyId ¶ added in v3.35.0
func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) PolicyId() pulumi.StringOutput
Automatic snapshot policy ID
func (GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) PolicyName ¶ added in v3.35.0
func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) PolicyName() pulumi.StringOutput
Automatic snapshot policy name
func (GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) RepeatWeekdays ¶ added in v3.35.0
func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) RepeatWeekdays() pulumi.StringArrayOutput
A collection of automatic snapshots performed on several days of the week.
func (GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) RetentionDays ¶ added in v3.35.0
func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) RetentionDays() pulumi.IntOutput
Automatic snapshot retention days
func (GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) Status ¶ added in v3.35.0
func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) Status() pulumi.StringOutput
Automatic snapshot policy status
func (GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) StatusDetail ¶ added in v3.35.0
func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) StatusDetail() pulumi.StringOutput
Automatic snapshot policy status details
func (GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) TimePoints ¶ added in v3.35.0
func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) TimePoints() pulumi.StringArrayOutput
The set of times at which the snapshot is taken on the day the automatic snapshot is executed.
func (GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) ToGetAutoSnapShotPoliciesAutoSnapShotPolicyOutput ¶ added in v3.35.0
func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) ToGetAutoSnapShotPoliciesAutoSnapShotPolicyOutput() GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput
func (GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) ToGetAutoSnapShotPoliciesAutoSnapShotPolicyOutputWithContext ¶ added in v3.35.0
func (o GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) ToGetAutoSnapShotPoliciesAutoSnapShotPolicyOutputWithContext(ctx context.Context) GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput
type GetAutoSnapShotPoliciesOutputArgs ¶ added in v3.35.0
type GetAutoSnapShotPoliciesOutputArgs struct { // A list of Auto Snap Shot Policy IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Auto Snap Shot Policy name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` PageNumber pulumi.IntPtrInput `pulumi:"pageNumber"` PageSize pulumi.IntPtrInput `pulumi:"pageSize"` }
A collection of arguments for invoking getAutoSnapShotPolicies.
func (GetAutoSnapShotPoliciesOutputArgs) ElementType ¶ added in v3.35.0
func (GetAutoSnapShotPoliciesOutputArgs) ElementType() reflect.Type
type GetAutoSnapShotPoliciesResult ¶ added in v3.35.0
type GetAutoSnapShotPoliciesResult struct { // A list of Auto Snap Shot Policy Entries. Each element contains the following attributes: AutoSnapShotPolicies []GetAutoSnapShotPoliciesAutoSnapShotPolicy `pulumi:"autoSnapShotPolicies"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of Auto Snap Shot Policy IDs. Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of Auto Snap Shot Policy names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` }
A collection of values returned by getAutoSnapShotPolicies.
func GetAutoSnapShotPolicies ¶ added in v3.35.0
func GetAutoSnapShotPolicies(ctx *pulumi.Context, args *GetAutoSnapShotPoliciesArgs, opts ...pulumi.InvokeOption) (*GetAutoSnapShotPoliciesResult, error)
This data source provides Dbfs Auto Snap Shot Policy available to the user.[What is Auto Snap Shot Policy](https://help.aliyun.com/document_detail/469597.html)
> **NOTE:** Available in 1.202.0+
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/databasefilesystem" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
) func main() { pulumi.Run(func(ctx *pulumi.Context) error { _default, err := databasefilesystem.GetAutoSnapShotPolicies(ctx, &databasefilesystem.GetAutoSnapShotPoliciesArgs{ Ids: interface{}{ alicloud_dbfs_auto_snap_shot_policy.Default.Id, }, }, nil); if err != nil { return err } ctx.Export("alicloudDbfsAutoSnapShotPolicyExampleId", _default.AutoSnapShotPolicies[0].Id) return nil }) } ```
type GetAutoSnapShotPoliciesResultOutput ¶ added in v3.35.0
type GetAutoSnapShotPoliciesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAutoSnapShotPolicies.
func GetAutoSnapShotPoliciesOutput ¶ added in v3.35.0
func GetAutoSnapShotPoliciesOutput(ctx *pulumi.Context, args GetAutoSnapShotPoliciesOutputArgs, opts ...pulumi.InvokeOption) GetAutoSnapShotPoliciesResultOutput
func (GetAutoSnapShotPoliciesResultOutput) AutoSnapShotPolicies ¶ added in v3.35.0
func (o GetAutoSnapShotPoliciesResultOutput) AutoSnapShotPolicies() GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput
A list of Auto Snap Shot Policy Entries. Each element contains the following attributes:
func (GetAutoSnapShotPoliciesResultOutput) ElementType ¶ added in v3.35.0
func (GetAutoSnapShotPoliciesResultOutput) ElementType() reflect.Type
func (GetAutoSnapShotPoliciesResultOutput) Id ¶ added in v3.35.0
func (o GetAutoSnapShotPoliciesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetAutoSnapShotPoliciesResultOutput) Ids ¶ added in v3.35.0
func (o GetAutoSnapShotPoliciesResultOutput) Ids() pulumi.StringArrayOutput
A list of Auto Snap Shot Policy IDs.
func (GetAutoSnapShotPoliciesResultOutput) NameRegex ¶ added in v3.35.0
func (o GetAutoSnapShotPoliciesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetAutoSnapShotPoliciesResultOutput) Names ¶ added in v3.35.0
func (o GetAutoSnapShotPoliciesResultOutput) Names() pulumi.StringArrayOutput
A list of Auto Snap Shot Policy names.
func (GetAutoSnapShotPoliciesResultOutput) OutputFile ¶ added in v3.35.0
func (o GetAutoSnapShotPoliciesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetAutoSnapShotPoliciesResultOutput) PageNumber ¶ added in v3.35.0
func (o GetAutoSnapShotPoliciesResultOutput) PageNumber() pulumi.IntPtrOutput
func (GetAutoSnapShotPoliciesResultOutput) PageSize ¶ added in v3.35.0
func (o GetAutoSnapShotPoliciesResultOutput) PageSize() pulumi.IntPtrOutput
func (GetAutoSnapShotPoliciesResultOutput) ToGetAutoSnapShotPoliciesResultOutput ¶ added in v3.35.0
func (o GetAutoSnapShotPoliciesResultOutput) ToGetAutoSnapShotPoliciesResultOutput() GetAutoSnapShotPoliciesResultOutput
func (GetAutoSnapShotPoliciesResultOutput) ToGetAutoSnapShotPoliciesResultOutputWithContext ¶ added in v3.35.0
func (o GetAutoSnapShotPoliciesResultOutput) ToGetAutoSnapShotPoliciesResultOutputWithContext(ctx context.Context) GetAutoSnapShotPoliciesResultOutput
type GetInstancesArgs ¶
type GetInstancesArgs struct { // A list of Instance IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Instance name. NameRegex *string `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` // The status of the Database file system. Status *string `pulumi:"status"` }
A collection of arguments for invoking getInstances.
type GetInstancesInstance ¶
type GetInstancesInstance struct { // the number of nodes of the Database file system. AttachNodeNumber int `pulumi:"attachNodeNumber"` // The type of the Database file system. Valid values: `standard`. Category string `pulumi:"category"` // The create time of the Database file system. CreateTime string `pulumi:"createTime"` // The cluster ID of the Database file system. DbfsClusterId string `pulumi:"dbfsClusterId"` // The collection of ECS instances mounted to the Database file system. EcsLists []GetInstancesInstanceEcsList `pulumi:"ecsLists"` // Whether to create the Database file system in RAID way. Valid values : `true` anf `false`. EnableRaid bool `pulumi:"enableRaid"` // Whether to encrypt the Database file system. Valid values: `true` and `false`. Encryption bool `pulumi:"encryption"` // The ID of the Instance. Id string `pulumi:"id"` // The ID of the Database File System InstanceId string `pulumi:"instanceId"` // The name of the Database file system. InstanceName string `pulumi:"instanceName"` // The KMS key ID of the Database file system used. This parameter is valid When `encryption` parameter is set to `true`. KmsKeyId string `pulumi:"kmsKeyId"` // Thr payment type of the Database file system. Valid value: `PayAsYouGo`. PaymentType string `pulumi:"paymentType"` // The performance level of the Database file system. Valid values: `PL0`, `PL1`, `PL2`, `PL3`. PerformanceLevel string `pulumi:"performanceLevel"` // The number of strip . When `enableRaid` parameter is set to `true` will transfer. This parameter is valid When `enableRaid` parameter is set to `true`. RaidStripeUnitNumber string `pulumi:"raidStripeUnitNumber"` // The size Of the Database file system. Unit: GiB. Size int `pulumi:"size"` // The status of the Database file system. Status string `pulumi:"status"` // The Zone ID of the Database file system. ZoneId string `pulumi:"zoneId"` }
type GetInstancesInstanceArgs ¶
type GetInstancesInstanceArgs struct { // the number of nodes of the Database file system. AttachNodeNumber pulumi.IntInput `pulumi:"attachNodeNumber"` // The type of the Database file system. Valid values: `standard`. Category pulumi.StringInput `pulumi:"category"` // The create time of the Database file system. CreateTime pulumi.StringInput `pulumi:"createTime"` // The cluster ID of the Database file system. DbfsClusterId pulumi.StringInput `pulumi:"dbfsClusterId"` // The collection of ECS instances mounted to the Database file system. EcsLists GetInstancesInstanceEcsListArrayInput `pulumi:"ecsLists"` // Whether to create the Database file system in RAID way. Valid values : `true` anf `false`. EnableRaid pulumi.BoolInput `pulumi:"enableRaid"` // Whether to encrypt the Database file system. Valid values: `true` and `false`. Encryption pulumi.BoolInput `pulumi:"encryption"` // The ID of the Instance. Id pulumi.StringInput `pulumi:"id"` // The ID of the Database File System InstanceId pulumi.StringInput `pulumi:"instanceId"` // The name of the Database file system. InstanceName pulumi.StringInput `pulumi:"instanceName"` // The KMS key ID of the Database file system used. This parameter is valid When `encryption` parameter is set to `true`. KmsKeyId pulumi.StringInput `pulumi:"kmsKeyId"` // Thr payment type of the Database file system. Valid value: `PayAsYouGo`. PaymentType pulumi.StringInput `pulumi:"paymentType"` // The performance level of the Database file system. Valid values: `PL0`, `PL1`, `PL2`, `PL3`. PerformanceLevel pulumi.StringInput `pulumi:"performanceLevel"` // The number of strip . When `enableRaid` parameter is set to `true` will transfer. This parameter is valid When `enableRaid` parameter is set to `true`. RaidStripeUnitNumber pulumi.StringInput `pulumi:"raidStripeUnitNumber"` // The size Of the Database file system. Unit: GiB. Size pulumi.IntInput `pulumi:"size"` // The status of the Database file system. Status pulumi.StringInput `pulumi:"status"` // The Zone ID of the Database file system. ZoneId pulumi.StringInput `pulumi:"zoneId"` }
func (GetInstancesInstanceArgs) ElementType ¶
func (GetInstancesInstanceArgs) ElementType() reflect.Type
func (GetInstancesInstanceArgs) ToGetInstancesInstanceOutput ¶
func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput
func (GetInstancesInstanceArgs) ToGetInstancesInstanceOutputWithContext ¶
func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput
type GetInstancesInstanceArray ¶
type GetInstancesInstanceArray []GetInstancesInstanceInput
func (GetInstancesInstanceArray) ElementType ¶
func (GetInstancesInstanceArray) ElementType() reflect.Type
func (GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput ¶
func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput
func (GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutputWithContext ¶
func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput
type GetInstancesInstanceArrayInput ¶
type GetInstancesInstanceArrayInput interface { pulumi.Input ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput ToGetInstancesInstanceArrayOutputWithContext(context.Context) GetInstancesInstanceArrayOutput }
GetInstancesInstanceArrayInput is an input type that accepts GetInstancesInstanceArray and GetInstancesInstanceArrayOutput values. You can construct a concrete instance of `GetInstancesInstanceArrayInput` via:
GetInstancesInstanceArray{ GetInstancesInstanceArgs{...} }
type GetInstancesInstanceArrayOutput ¶
type GetInstancesInstanceArrayOutput struct{ *pulumi.OutputState }
func (GetInstancesInstanceArrayOutput) ElementType ¶
func (GetInstancesInstanceArrayOutput) ElementType() reflect.Type
func (GetInstancesInstanceArrayOutput) Index ¶
func (o GetInstancesInstanceArrayOutput) Index(i pulumi.IntInput) GetInstancesInstanceOutput
func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput ¶
func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput
func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext ¶
func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput
type GetInstancesInstanceEcsList ¶
type GetInstancesInstanceEcsList struct { // The ID of the ECS instance. EcsId string `pulumi:"ecsId"` }
type GetInstancesInstanceEcsListArgs ¶
type GetInstancesInstanceEcsListArgs struct { // The ID of the ECS instance. EcsId pulumi.StringInput `pulumi:"ecsId"` }
func (GetInstancesInstanceEcsListArgs) ElementType ¶
func (GetInstancesInstanceEcsListArgs) ElementType() reflect.Type
func (GetInstancesInstanceEcsListArgs) ToGetInstancesInstanceEcsListOutput ¶
func (i GetInstancesInstanceEcsListArgs) ToGetInstancesInstanceEcsListOutput() GetInstancesInstanceEcsListOutput
func (GetInstancesInstanceEcsListArgs) ToGetInstancesInstanceEcsListOutputWithContext ¶
func (i GetInstancesInstanceEcsListArgs) ToGetInstancesInstanceEcsListOutputWithContext(ctx context.Context) GetInstancesInstanceEcsListOutput
type GetInstancesInstanceEcsListArray ¶
type GetInstancesInstanceEcsListArray []GetInstancesInstanceEcsListInput
func (GetInstancesInstanceEcsListArray) ElementType ¶
func (GetInstancesInstanceEcsListArray) ElementType() reflect.Type
func (GetInstancesInstanceEcsListArray) ToGetInstancesInstanceEcsListArrayOutput ¶
func (i GetInstancesInstanceEcsListArray) ToGetInstancesInstanceEcsListArrayOutput() GetInstancesInstanceEcsListArrayOutput
func (GetInstancesInstanceEcsListArray) ToGetInstancesInstanceEcsListArrayOutputWithContext ¶
func (i GetInstancesInstanceEcsListArray) ToGetInstancesInstanceEcsListArrayOutputWithContext(ctx context.Context) GetInstancesInstanceEcsListArrayOutput
type GetInstancesInstanceEcsListArrayInput ¶
type GetInstancesInstanceEcsListArrayInput interface { pulumi.Input ToGetInstancesInstanceEcsListArrayOutput() GetInstancesInstanceEcsListArrayOutput ToGetInstancesInstanceEcsListArrayOutputWithContext(context.Context) GetInstancesInstanceEcsListArrayOutput }
GetInstancesInstanceEcsListArrayInput is an input type that accepts GetInstancesInstanceEcsListArray and GetInstancesInstanceEcsListArrayOutput values. You can construct a concrete instance of `GetInstancesInstanceEcsListArrayInput` via:
GetInstancesInstanceEcsListArray{ GetInstancesInstanceEcsListArgs{...} }
type GetInstancesInstanceEcsListArrayOutput ¶
type GetInstancesInstanceEcsListArrayOutput struct{ *pulumi.OutputState }
func (GetInstancesInstanceEcsListArrayOutput) ElementType ¶
func (GetInstancesInstanceEcsListArrayOutput) ElementType() reflect.Type
func (GetInstancesInstanceEcsListArrayOutput) ToGetInstancesInstanceEcsListArrayOutput ¶
func (o GetInstancesInstanceEcsListArrayOutput) ToGetInstancesInstanceEcsListArrayOutput() GetInstancesInstanceEcsListArrayOutput
func (GetInstancesInstanceEcsListArrayOutput) ToGetInstancesInstanceEcsListArrayOutputWithContext ¶
func (o GetInstancesInstanceEcsListArrayOutput) ToGetInstancesInstanceEcsListArrayOutputWithContext(ctx context.Context) GetInstancesInstanceEcsListArrayOutput
type GetInstancesInstanceEcsListInput ¶
type GetInstancesInstanceEcsListInput interface { pulumi.Input ToGetInstancesInstanceEcsListOutput() GetInstancesInstanceEcsListOutput ToGetInstancesInstanceEcsListOutputWithContext(context.Context) GetInstancesInstanceEcsListOutput }
GetInstancesInstanceEcsListInput is an input type that accepts GetInstancesInstanceEcsListArgs and GetInstancesInstanceEcsListOutput values. You can construct a concrete instance of `GetInstancesInstanceEcsListInput` via:
GetInstancesInstanceEcsListArgs{...}
type GetInstancesInstanceEcsListOutput ¶
type GetInstancesInstanceEcsListOutput struct{ *pulumi.OutputState }
func (GetInstancesInstanceEcsListOutput) EcsId ¶
func (o GetInstancesInstanceEcsListOutput) EcsId() pulumi.StringOutput
The ID of the ECS instance.
func (GetInstancesInstanceEcsListOutput) ElementType ¶
func (GetInstancesInstanceEcsListOutput) ElementType() reflect.Type
func (GetInstancesInstanceEcsListOutput) ToGetInstancesInstanceEcsListOutput ¶
func (o GetInstancesInstanceEcsListOutput) ToGetInstancesInstanceEcsListOutput() GetInstancesInstanceEcsListOutput
func (GetInstancesInstanceEcsListOutput) ToGetInstancesInstanceEcsListOutputWithContext ¶
func (o GetInstancesInstanceEcsListOutput) ToGetInstancesInstanceEcsListOutputWithContext(ctx context.Context) GetInstancesInstanceEcsListOutput
type GetInstancesInstanceInput ¶
type GetInstancesInstanceInput interface { pulumi.Input ToGetInstancesInstanceOutput() GetInstancesInstanceOutput ToGetInstancesInstanceOutputWithContext(context.Context) GetInstancesInstanceOutput }
GetInstancesInstanceInput is an input type that accepts GetInstancesInstanceArgs and GetInstancesInstanceOutput values. You can construct a concrete instance of `GetInstancesInstanceInput` via:
GetInstancesInstanceArgs{...}
type GetInstancesInstanceOutput ¶
type GetInstancesInstanceOutput struct{ *pulumi.OutputState }
func (GetInstancesInstanceOutput) AttachNodeNumber ¶
func (o GetInstancesInstanceOutput) AttachNodeNumber() pulumi.IntOutput
the number of nodes of the Database file system.
func (GetInstancesInstanceOutput) Category ¶
func (o GetInstancesInstanceOutput) Category() pulumi.StringOutput
The type of the Database file system. Valid values: `standard`.
func (GetInstancesInstanceOutput) CreateTime ¶
func (o GetInstancesInstanceOutput) CreateTime() pulumi.StringOutput
The create time of the Database file system.
func (GetInstancesInstanceOutput) DbfsClusterId ¶
func (o GetInstancesInstanceOutput) DbfsClusterId() pulumi.StringOutput
The cluster ID of the Database file system.
func (GetInstancesInstanceOutput) EcsLists ¶
func (o GetInstancesInstanceOutput) EcsLists() GetInstancesInstanceEcsListArrayOutput
The collection of ECS instances mounted to the Database file system.
func (GetInstancesInstanceOutput) ElementType ¶
func (GetInstancesInstanceOutput) ElementType() reflect.Type
func (GetInstancesInstanceOutput) EnableRaid ¶
func (o GetInstancesInstanceOutput) EnableRaid() pulumi.BoolOutput
Whether to create the Database file system in RAID way. Valid values : `true` anf `false`.
func (GetInstancesInstanceOutput) Encryption ¶
func (o GetInstancesInstanceOutput) Encryption() pulumi.BoolOutput
Whether to encrypt the Database file system. Valid values: `true` and `false`.
func (GetInstancesInstanceOutput) Id ¶
func (o GetInstancesInstanceOutput) Id() pulumi.StringOutput
The ID of the Instance.
func (GetInstancesInstanceOutput) InstanceId ¶
func (o GetInstancesInstanceOutput) InstanceId() pulumi.StringOutput
The ID of the Database File System
func (GetInstancesInstanceOutput) InstanceName ¶
func (o GetInstancesInstanceOutput) InstanceName() pulumi.StringOutput
The name of the Database file system.
func (GetInstancesInstanceOutput) KmsKeyId ¶
func (o GetInstancesInstanceOutput) KmsKeyId() pulumi.StringOutput
The KMS key ID of the Database file system used. This parameter is valid When `encryption` parameter is set to `true`.
func (GetInstancesInstanceOutput) PaymentType ¶
func (o GetInstancesInstanceOutput) PaymentType() pulumi.StringOutput
Thr payment type of the Database file system. Valid value: `PayAsYouGo`.
func (GetInstancesInstanceOutput) PerformanceLevel ¶
func (o GetInstancesInstanceOutput) PerformanceLevel() pulumi.StringOutput
The performance level of the Database file system. Valid values: `PL0`, `PL1`, `PL2`, `PL3`.
func (GetInstancesInstanceOutput) RaidStripeUnitNumber ¶
func (o GetInstancesInstanceOutput) RaidStripeUnitNumber() pulumi.StringOutput
The number of strip . When `enableRaid` parameter is set to `true` will transfer. This parameter is valid When `enableRaid` parameter is set to `true`.
func (GetInstancesInstanceOutput) Size ¶
func (o GetInstancesInstanceOutput) Size() pulumi.IntOutput
The size Of the Database file system. Unit: GiB.
func (GetInstancesInstanceOutput) Status ¶
func (o GetInstancesInstanceOutput) Status() pulumi.StringOutput
The status of the Database file system.
func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutput ¶
func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput
func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext ¶
func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput
func (GetInstancesInstanceOutput) ZoneId ¶
func (o GetInstancesInstanceOutput) ZoneId() pulumi.StringOutput
The Zone ID of the Database file system.
type GetInstancesOutputArgs ¶ added in v3.9.0
type GetInstancesOutputArgs struct { // A list of Instance IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Instance name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The status of the Database file system. Status pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getInstances.
func (GetInstancesOutputArgs) ElementType ¶ added in v3.9.0
func (GetInstancesOutputArgs) ElementType() reflect.Type
type GetInstancesResult ¶
type GetInstancesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` Instances []GetInstancesInstance `pulumi:"instances"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Status *string `pulumi:"status"` }
A collection of values returned by getInstances.
func GetInstances ¶
func GetInstances(ctx *pulumi.Context, args *GetInstancesArgs, opts ...pulumi.InvokeOption) (*GetInstancesResult, error)
This data source provides the DBFS Instances of the current Alibaba Cloud user.
> **NOTE:** Available in v1.136.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/databasefilesystem" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := databasefilesystem.GetInstances(ctx, &databasefilesystem.GetInstancesArgs{ Ids: []string{ "example_id", }, }, nil) if err != nil { return err } ctx.Export("dbfsInstanceId1", ids.Instances[0].Id) nameRegex, err := databasefilesystem.GetInstances(ctx, &databasefilesystem.GetInstancesArgs{ NameRegex: pulumi.StringRef("^my-Instance"), }, nil) if err != nil { return err } ctx.Export("dbfsInstanceId2", nameRegex.Instances[0].Id) return nil }) }
```
type GetInstancesResultOutput ¶ added in v3.9.0
type GetInstancesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInstances.
func GetInstancesOutput ¶ added in v3.9.0
func GetInstancesOutput(ctx *pulumi.Context, args GetInstancesOutputArgs, opts ...pulumi.InvokeOption) GetInstancesResultOutput
func (GetInstancesResultOutput) ElementType ¶ added in v3.9.0
func (GetInstancesResultOutput) ElementType() reflect.Type
func (GetInstancesResultOutput) Id ¶ added in v3.9.0
func (o GetInstancesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetInstancesResultOutput) Ids ¶ added in v3.9.0
func (o GetInstancesResultOutput) Ids() pulumi.StringArrayOutput
func (GetInstancesResultOutput) Instances ¶ added in v3.9.0
func (o GetInstancesResultOutput) Instances() GetInstancesInstanceArrayOutput
func (GetInstancesResultOutput) NameRegex ¶ added in v3.9.0
func (o GetInstancesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetInstancesResultOutput) Names ¶ added in v3.9.0
func (o GetInstancesResultOutput) Names() pulumi.StringArrayOutput
func (GetInstancesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetInstancesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetInstancesResultOutput) Status ¶ added in v3.9.0
func (o GetInstancesResultOutput) Status() pulumi.StringPtrOutput
func (GetInstancesResultOutput) ToGetInstancesResultOutput ¶ added in v3.9.0
func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput
func (GetInstancesResultOutput) ToGetInstancesResultOutputWithContext ¶ added in v3.9.0
func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput
type GetSnapshotsArgs ¶ added in v3.19.0
type GetSnapshotsArgs struct { // A list of Snapshot IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Snapshot name. NameRegex *string `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` // The status of the snapshot. Possible values: `progressing`, `accomplished`, `failed`. Status *string `pulumi:"status"` }
A collection of arguments for invoking getSnapshots.
type GetSnapshotsOutputArgs ¶ added in v3.19.0
type GetSnapshotsOutputArgs struct { // A list of Snapshot IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Snapshot name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The status of the snapshot. Possible values: `progressing`, `accomplished`, `failed`. Status pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getSnapshots.
func (GetSnapshotsOutputArgs) ElementType ¶ added in v3.19.0
func (GetSnapshotsOutputArgs) ElementType() reflect.Type
type GetSnapshotsResult ¶ added in v3.19.0
type GetSnapshotsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Snapshots []GetSnapshotsSnapshot `pulumi:"snapshots"` Status *string `pulumi:"status"` }
A collection of values returned by getSnapshots.
func GetSnapshots ¶ added in v3.19.0
func GetSnapshots(ctx *pulumi.Context, args *GetSnapshotsArgs, opts ...pulumi.InvokeOption) (*GetSnapshotsResult, error)
This data source provides the Dbfs Snapshots of the current Alibaba Cloud user.
> **NOTE:** Available in v1.156.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/databasefilesystem" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := databasefilesystem.GetSnapshots(ctx, &databasefilesystem.GetSnapshotsArgs{ Ids: []string{ "example_id", }, }, nil) if err != nil { return err } ctx.Export("dbfsSnapshotId1", ids.Snapshots[0].Id) nameRegex, err := databasefilesystem.GetSnapshots(ctx, &databasefilesystem.GetSnapshotsArgs{ NameRegex: pulumi.StringRef("^my-Snapshot"), }, nil) if err != nil { return err } ctx.Export("dbfsSnapshotId2", nameRegex.Snapshots[0].Id) status, err := databasefilesystem.GetSnapshots(ctx, &databasefilesystem.GetSnapshotsArgs{ Status: pulumi.StringRef("accomplished"), }, nil) if err != nil { return err } ctx.Export("dbfsSnapshotId3", status.Snapshots[0].Id) return nil }) }
```
type GetSnapshotsResultOutput ¶ added in v3.19.0
type GetSnapshotsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSnapshots.
func GetSnapshotsOutput ¶ added in v3.19.0
func GetSnapshotsOutput(ctx *pulumi.Context, args GetSnapshotsOutputArgs, opts ...pulumi.InvokeOption) GetSnapshotsResultOutput
func (GetSnapshotsResultOutput) ElementType ¶ added in v3.19.0
func (GetSnapshotsResultOutput) ElementType() reflect.Type
func (GetSnapshotsResultOutput) Id ¶ added in v3.19.0
func (o GetSnapshotsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSnapshotsResultOutput) Ids ¶ added in v3.19.0
func (o GetSnapshotsResultOutput) Ids() pulumi.StringArrayOutput
func (GetSnapshotsResultOutput) NameRegex ¶ added in v3.19.0
func (o GetSnapshotsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetSnapshotsResultOutput) Names ¶ added in v3.19.0
func (o GetSnapshotsResultOutput) Names() pulumi.StringArrayOutput
func (GetSnapshotsResultOutput) OutputFile ¶ added in v3.19.0
func (o GetSnapshotsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetSnapshotsResultOutput) Snapshots ¶ added in v3.19.0
func (o GetSnapshotsResultOutput) Snapshots() GetSnapshotsSnapshotArrayOutput
func (GetSnapshotsResultOutput) Status ¶ added in v3.19.0
func (o GetSnapshotsResultOutput) Status() pulumi.StringPtrOutput
func (GetSnapshotsResultOutput) ToGetSnapshotsResultOutput ¶ added in v3.19.0
func (o GetSnapshotsResultOutput) ToGetSnapshotsResultOutput() GetSnapshotsResultOutput
func (GetSnapshotsResultOutput) ToGetSnapshotsResultOutputWithContext ¶ added in v3.19.0
func (o GetSnapshotsResultOutput) ToGetSnapshotsResultOutputWithContext(ctx context.Context) GetSnapshotsResultOutput
type GetSnapshotsSnapshot ¶ added in v3.19.0
type GetSnapshotsSnapshot struct { // The type of the Snapshot. Category string `pulumi:"category"` // The creation time of the snapshot. CreateTime string `pulumi:"createTime"` // The description of the snapshot. Description string `pulumi:"description"` // The ID of the Snapshot. Id string `pulumi:"id"` // The ID of the database file system. InstanceId string `pulumi:"instanceId"` // The last modification time of the snapshot. LastModifiedTime string `pulumi:"lastModifiedTime"` // The progress of the snapshot. Progress string `pulumi:"progress"` // The remaining completion time of the snapshot being created, in seconds. RemainTime int `pulumi:"remainTime"` // The retention days of the snapshot. RetentionDays int `pulumi:"retentionDays"` // The ID of the snapshot. SnapshotId string `pulumi:"snapshotId"` // The name of the snapshot. SnapshotName string `pulumi:"snapshotName"` // The creation of the snapshot. SnapshotType string `pulumi:"snapshotType"` // Source database file system capacity. SourceFsSize int `pulumi:"sourceFsSize"` // The status of the snapshot. Possible values: `progressing`, `accomplished`, `failed`. Status string `pulumi:"status"` }
type GetSnapshotsSnapshotArgs ¶ added in v3.19.0
type GetSnapshotsSnapshotArgs struct { // The type of the Snapshot. Category pulumi.StringInput `pulumi:"category"` // The creation time of the snapshot. CreateTime pulumi.StringInput `pulumi:"createTime"` // The description of the snapshot. Description pulumi.StringInput `pulumi:"description"` // The ID of the Snapshot. Id pulumi.StringInput `pulumi:"id"` // The ID of the database file system. InstanceId pulumi.StringInput `pulumi:"instanceId"` // The last modification time of the snapshot. LastModifiedTime pulumi.StringInput `pulumi:"lastModifiedTime"` // The progress of the snapshot. Progress pulumi.StringInput `pulumi:"progress"` // The remaining completion time of the snapshot being created, in seconds. RemainTime pulumi.IntInput `pulumi:"remainTime"` // The retention days of the snapshot. RetentionDays pulumi.IntInput `pulumi:"retentionDays"` // The ID of the snapshot. SnapshotId pulumi.StringInput `pulumi:"snapshotId"` // The name of the snapshot. SnapshotName pulumi.StringInput `pulumi:"snapshotName"` // The creation of the snapshot. SnapshotType pulumi.StringInput `pulumi:"snapshotType"` // Source database file system capacity. SourceFsSize pulumi.IntInput `pulumi:"sourceFsSize"` // The status of the snapshot. Possible values: `progressing`, `accomplished`, `failed`. Status pulumi.StringInput `pulumi:"status"` }
func (GetSnapshotsSnapshotArgs) ElementType ¶ added in v3.19.0
func (GetSnapshotsSnapshotArgs) ElementType() reflect.Type
func (GetSnapshotsSnapshotArgs) ToGetSnapshotsSnapshotOutput ¶ added in v3.19.0
func (i GetSnapshotsSnapshotArgs) ToGetSnapshotsSnapshotOutput() GetSnapshotsSnapshotOutput
func (GetSnapshotsSnapshotArgs) ToGetSnapshotsSnapshotOutputWithContext ¶ added in v3.19.0
func (i GetSnapshotsSnapshotArgs) ToGetSnapshotsSnapshotOutputWithContext(ctx context.Context) GetSnapshotsSnapshotOutput
type GetSnapshotsSnapshotArray ¶ added in v3.19.0
type GetSnapshotsSnapshotArray []GetSnapshotsSnapshotInput
func (GetSnapshotsSnapshotArray) ElementType ¶ added in v3.19.0
func (GetSnapshotsSnapshotArray) ElementType() reflect.Type
func (GetSnapshotsSnapshotArray) ToGetSnapshotsSnapshotArrayOutput ¶ added in v3.19.0
func (i GetSnapshotsSnapshotArray) ToGetSnapshotsSnapshotArrayOutput() GetSnapshotsSnapshotArrayOutput
func (GetSnapshotsSnapshotArray) ToGetSnapshotsSnapshotArrayOutputWithContext ¶ added in v3.19.0
func (i GetSnapshotsSnapshotArray) ToGetSnapshotsSnapshotArrayOutputWithContext(ctx context.Context) GetSnapshotsSnapshotArrayOutput
type GetSnapshotsSnapshotArrayInput ¶ added in v3.19.0
type GetSnapshotsSnapshotArrayInput interface { pulumi.Input ToGetSnapshotsSnapshotArrayOutput() GetSnapshotsSnapshotArrayOutput ToGetSnapshotsSnapshotArrayOutputWithContext(context.Context) GetSnapshotsSnapshotArrayOutput }
GetSnapshotsSnapshotArrayInput is an input type that accepts GetSnapshotsSnapshotArray and GetSnapshotsSnapshotArrayOutput values. You can construct a concrete instance of `GetSnapshotsSnapshotArrayInput` via:
GetSnapshotsSnapshotArray{ GetSnapshotsSnapshotArgs{...} }
type GetSnapshotsSnapshotArrayOutput ¶ added in v3.19.0
type GetSnapshotsSnapshotArrayOutput struct{ *pulumi.OutputState }
func (GetSnapshotsSnapshotArrayOutput) ElementType ¶ added in v3.19.0
func (GetSnapshotsSnapshotArrayOutput) ElementType() reflect.Type
func (GetSnapshotsSnapshotArrayOutput) Index ¶ added in v3.19.0
func (o GetSnapshotsSnapshotArrayOutput) Index(i pulumi.IntInput) GetSnapshotsSnapshotOutput
func (GetSnapshotsSnapshotArrayOutput) ToGetSnapshotsSnapshotArrayOutput ¶ added in v3.19.0
func (o GetSnapshotsSnapshotArrayOutput) ToGetSnapshotsSnapshotArrayOutput() GetSnapshotsSnapshotArrayOutput
func (GetSnapshotsSnapshotArrayOutput) ToGetSnapshotsSnapshotArrayOutputWithContext ¶ added in v3.19.0
func (o GetSnapshotsSnapshotArrayOutput) ToGetSnapshotsSnapshotArrayOutputWithContext(ctx context.Context) GetSnapshotsSnapshotArrayOutput
type GetSnapshotsSnapshotInput ¶ added in v3.19.0
type GetSnapshotsSnapshotInput interface { pulumi.Input ToGetSnapshotsSnapshotOutput() GetSnapshotsSnapshotOutput ToGetSnapshotsSnapshotOutputWithContext(context.Context) GetSnapshotsSnapshotOutput }
GetSnapshotsSnapshotInput is an input type that accepts GetSnapshotsSnapshotArgs and GetSnapshotsSnapshotOutput values. You can construct a concrete instance of `GetSnapshotsSnapshotInput` via:
GetSnapshotsSnapshotArgs{...}
type GetSnapshotsSnapshotOutput ¶ added in v3.19.0
type GetSnapshotsSnapshotOutput struct{ *pulumi.OutputState }
func (GetSnapshotsSnapshotOutput) Category ¶ added in v3.19.0
func (o GetSnapshotsSnapshotOutput) Category() pulumi.StringOutput
The type of the Snapshot.
func (GetSnapshotsSnapshotOutput) CreateTime ¶ added in v3.19.0
func (o GetSnapshotsSnapshotOutput) CreateTime() pulumi.StringOutput
The creation time of the snapshot.
func (GetSnapshotsSnapshotOutput) Description ¶ added in v3.19.0
func (o GetSnapshotsSnapshotOutput) Description() pulumi.StringOutput
The description of the snapshot.
func (GetSnapshotsSnapshotOutput) ElementType ¶ added in v3.19.0
func (GetSnapshotsSnapshotOutput) ElementType() reflect.Type
func (GetSnapshotsSnapshotOutput) Id ¶ added in v3.19.0
func (o GetSnapshotsSnapshotOutput) Id() pulumi.StringOutput
The ID of the Snapshot.
func (GetSnapshotsSnapshotOutput) InstanceId ¶ added in v3.19.0
func (o GetSnapshotsSnapshotOutput) InstanceId() pulumi.StringOutput
The ID of the database file system.
func (GetSnapshotsSnapshotOutput) LastModifiedTime ¶ added in v3.19.0
func (o GetSnapshotsSnapshotOutput) LastModifiedTime() pulumi.StringOutput
The last modification time of the snapshot.
func (GetSnapshotsSnapshotOutput) Progress ¶ added in v3.19.0
func (o GetSnapshotsSnapshotOutput) Progress() pulumi.StringOutput
The progress of the snapshot.
func (GetSnapshotsSnapshotOutput) RemainTime ¶ added in v3.19.0
func (o GetSnapshotsSnapshotOutput) RemainTime() pulumi.IntOutput
The remaining completion time of the snapshot being created, in seconds.
func (GetSnapshotsSnapshotOutput) RetentionDays ¶ added in v3.19.0
func (o GetSnapshotsSnapshotOutput) RetentionDays() pulumi.IntOutput
The retention days of the snapshot.
func (GetSnapshotsSnapshotOutput) SnapshotId ¶ added in v3.19.0
func (o GetSnapshotsSnapshotOutput) SnapshotId() pulumi.StringOutput
The ID of the snapshot.
func (GetSnapshotsSnapshotOutput) SnapshotName ¶ added in v3.19.0
func (o GetSnapshotsSnapshotOutput) SnapshotName() pulumi.StringOutput
The name of the snapshot.
func (GetSnapshotsSnapshotOutput) SnapshotType ¶ added in v3.19.0
func (o GetSnapshotsSnapshotOutput) SnapshotType() pulumi.StringOutput
The creation of the snapshot.
func (GetSnapshotsSnapshotOutput) SourceFsSize ¶ added in v3.19.0
func (o GetSnapshotsSnapshotOutput) SourceFsSize() pulumi.IntOutput
Source database file system capacity.
func (GetSnapshotsSnapshotOutput) Status ¶ added in v3.19.0
func (o GetSnapshotsSnapshotOutput) Status() pulumi.StringOutput
The status of the snapshot. Possible values: `progressing`, `accomplished`, `failed`.
func (GetSnapshotsSnapshotOutput) ToGetSnapshotsSnapshotOutput ¶ added in v3.19.0
func (o GetSnapshotsSnapshotOutput) ToGetSnapshotsSnapshotOutput() GetSnapshotsSnapshotOutput
func (GetSnapshotsSnapshotOutput) ToGetSnapshotsSnapshotOutputWithContext ¶ added in v3.19.0
func (o GetSnapshotsSnapshotOutput) ToGetSnapshotsSnapshotOutputWithContext(ctx context.Context) GetSnapshotsSnapshotOutput
type Instance ¶
type Instance struct { pulumi.CustomResourceState // The type of the Database file system. Valid values: `standard`. Category pulumi.StringOutput `pulumi:"category"` // Whether to delete the original snapshot after the DBFS is created using the snapshot. Valid values : `true` anf `false`. DeleteSnapshot pulumi.BoolPtrOutput `pulumi:"deleteSnapshot"` // The collection of ECS instances mounted to the Database file system. See `ecsList` below. **NOTE:** Field 'ecs_list' has been deprecated from provider version 1.156.0 and it will be removed in the future version. Please use the new resource 'alicloud_dbfs_instance_attachment' to attach ECS and DBFS. // // Deprecated: Field 'ecs_list' has been deprecated from provider version 1.156.0 and it will be removed in the future version. Please use the new resource 'alicloud_dbfs_instance_attachment' to attach ECS and DBFS. EcsLists InstanceEcsListArrayOutput `pulumi:"ecsLists"` // Whether to create the Database file system in RAID way. Valid values : `true` anf `false`. EnableRaid pulumi.BoolPtrOutput `pulumi:"enableRaid"` // Whether to encrypt the database file system. Valid values: `true` and `false`. Encryption pulumi.BoolPtrOutput `pulumi:"encryption"` // The name of the Database file system. InstanceName pulumi.StringOutput `pulumi:"instanceName"` // The KMS key ID of the Database file system used. This parameter is valid When `encryption` parameter is set to `true`. KmsKeyId pulumi.StringPtrOutput `pulumi:"kmsKeyId"` // The performance level of the Database file system. Valid values: `PL0`, `PL1`, `PL2`, `PL3`. PerformanceLevel pulumi.StringOutput `pulumi:"performanceLevel"` // The number of strip. This parameter is valid When `enableRaid` parameter is set to `true`. RaidStripeUnitNumber pulumi.StringPtrOutput `pulumi:"raidStripeUnitNumber"` // The size Of the Database file system. Unit: GiB. Size pulumi.IntOutput `pulumi:"size"` // The snapshot id of the Database file system. SnapshotId pulumi.StringPtrOutput `pulumi:"snapshotId"` // The status of Database file system. Valid values: `attached`, `attaching`, `creating`, `deleted`, `deleting`, `detaching`, `resizing`, `snapshotting`, `unattached`, `upgrading`. Status pulumi.StringOutput `pulumi:"status"` // A mapping of tags to assign to the resource. Tags pulumi.MapOutput `pulumi:"tags"` // The Zone ID of the Database file system. ZoneId pulumi.StringOutput `pulumi:"zoneId"` }
Provides a DBFS Instance resource.
For information about DBFS Instance and how to use it.
> **NOTE:** Available since v1.136.0.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/databasefilesystem" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "tf-example" if param := cfg.Get("name"); param != "" { name = param } _, err := databasefilesystem.NewInstance(ctx, "example", &databasefilesystem.InstanceArgs{ Category: pulumi.String("standard"), ZoneId: pulumi.String("cn-hangzhou-i"), PerformanceLevel: pulumi.String("PL1"), InstanceName: pulumi.String(name), Size: pulumi.Int(100), }) if err != nil { return err } return nil }) }
```
## Import
DBFS Instance can be imported using the id, e.g.
```sh
$ pulumi import alicloud:databasefilesystem/instance:Instance example <id>
```
func GetInstance ¶
func GetInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)
GetInstance gets an existing Instance 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 NewInstance ¶
func NewInstance(ctx *pulumi.Context, name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)
NewInstance registers a new resource with the given unique name, arguments, and options.
func (*Instance) ElementType ¶
func (*Instance) ToInstanceOutput ¶
func (i *Instance) ToInstanceOutput() InstanceOutput
func (*Instance) ToInstanceOutputWithContext ¶
func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
type InstanceArgs ¶
type InstanceArgs struct { // The type of the Database file system. Valid values: `standard`. Category pulumi.StringPtrInput // Whether to delete the original snapshot after the DBFS is created using the snapshot. Valid values : `true` anf `false`. DeleteSnapshot pulumi.BoolPtrInput // The collection of ECS instances mounted to the Database file system. See `ecsList` below. **NOTE:** Field 'ecs_list' has been deprecated from provider version 1.156.0 and it will be removed in the future version. Please use the new resource 'alicloud_dbfs_instance_attachment' to attach ECS and DBFS. // // Deprecated: Field 'ecs_list' has been deprecated from provider version 1.156.0 and it will be removed in the future version. Please use the new resource 'alicloud_dbfs_instance_attachment' to attach ECS and DBFS. EcsLists InstanceEcsListArrayInput // Whether to create the Database file system in RAID way. Valid values : `true` anf `false`. EnableRaid pulumi.BoolPtrInput // Whether to encrypt the database file system. Valid values: `true` and `false`. Encryption pulumi.BoolPtrInput // The name of the Database file system. InstanceName pulumi.StringInput // The KMS key ID of the Database file system used. This parameter is valid When `encryption` parameter is set to `true`. KmsKeyId pulumi.StringPtrInput // The performance level of the Database file system. Valid values: `PL0`, `PL1`, `PL2`, `PL3`. PerformanceLevel pulumi.StringPtrInput // The number of strip. This parameter is valid When `enableRaid` parameter is set to `true`. RaidStripeUnitNumber pulumi.StringPtrInput // The size Of the Database file system. Unit: GiB. Size pulumi.IntInput // The snapshot id of the Database file system. SnapshotId pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // The Zone ID of the Database file system. ZoneId pulumi.StringInput }
The set of arguments for constructing a Instance resource.
func (InstanceArgs) ElementType ¶
func (InstanceArgs) ElementType() reflect.Type
type InstanceArray ¶
type InstanceArray []InstanceInput
func (InstanceArray) ElementType ¶
func (InstanceArray) ElementType() reflect.Type
func (InstanceArray) ToInstanceArrayOutput ¶
func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArray) ToInstanceArrayOutputWithContext ¶
func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceArrayInput ¶
type InstanceArrayInput interface { pulumi.Input ToInstanceArrayOutput() InstanceArrayOutput ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput }
InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:
InstanceArray{ InstanceArgs{...} }
type InstanceArrayOutput ¶
type InstanceArrayOutput struct{ *pulumi.OutputState }
func (InstanceArrayOutput) ElementType ¶
func (InstanceArrayOutput) ElementType() reflect.Type
func (InstanceArrayOutput) Index ¶
func (o InstanceArrayOutput) Index(i pulumi.IntInput) InstanceOutput
func (InstanceArrayOutput) ToInstanceArrayOutput ¶
func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArrayOutput) ToInstanceArrayOutputWithContext ¶
func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceAttachment ¶ added in v3.18.0
type InstanceAttachment struct { pulumi.CustomResourceState // The ID of the ECS instance. EcsId pulumi.StringOutput `pulumi:"ecsId"` // The ID of the database file system. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // The status of Database file system. Valid values: `attached`, `attaching`, `unattached`, `detaching`. Status pulumi.StringOutput `pulumi:"status"` }
Provides a DBFS Instance Attachment resource.
For information about DBFS Instance Attachment and how to use it.
> **NOTE:** Available since v1.156.0.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/databasefilesystem" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "tf-example" if param := cfg.Get("name"); param != "" { name = param } zoneId := "cn-hangzhou-i" exampleInstanceTypes, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{ AvailabilityZone: pulumi.StringRef(zoneId), InstanceTypeFamily: pulumi.StringRef("ecs.g7se"), }, nil) if err != nil { return err } exampleImages, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{ InstanceType: pulumi.StringRef(exampleInstanceTypes.InstanceTypes[len(exampleInstanceTypes.InstanceTypes)-1].Id), NameRegex: pulumi.StringRef("^aliyun_2"), Owners: pulumi.StringRef("system"), }, nil) if err != nil { return err } exampleNetwork, err := vpc.NewNetwork(ctx, "exampleNetwork", &vpc.NetworkArgs{ VpcName: pulumi.String(name), CidrBlock: pulumi.String("10.4.0.0/16"), }) if err != nil { return err } exampleSwitch, err := vpc.NewSwitch(ctx, "exampleSwitch", &vpc.SwitchArgs{ VswitchName: pulumi.String(name), CidrBlock: pulumi.String("10.4.0.0/24"), VpcId: exampleNetwork.ID(), ZoneId: pulumi.String(zoneId), }) if err != nil { return err } exampleSecurityGroup, err := ecs.NewSecurityGroup(ctx, "exampleSecurityGroup", &ecs.SecurityGroupArgs{ VpcId: exampleNetwork.ID(), }) if err != nil { return err } exampleInstance, err := ecs.NewInstance(ctx, "exampleInstance", &ecs.InstanceArgs{ AvailabilityZone: pulumi.String(zoneId), InstanceName: pulumi.String(name), ImageId: *pulumi.String(exampleImages.Images[1].Id), InstanceType: exampleInstanceTypes.InstanceTypes[len(exampleInstanceTypes.InstanceTypes)-1].Id, SecurityGroups: pulumi.StringArray{ exampleSecurityGroup.ID(), }, VswitchId: exampleSwitch.ID(), SystemDiskCategory: pulumi.String("cloud_essd"), }) if err != nil { return err } _, err = databasefilesystem.NewInstance(ctx, "exampleDatabasefilesystem/instanceInstance", &databasefilesystem.InstanceArgs{ Category: pulumi.String("standard"), ZoneId: pulumi.String(zoneId), PerformanceLevel: pulumi.String("PL1"), InstanceName: pulumi.String(name), Size: pulumi.Int(100), }) if err != nil { return err } _, err = databasefilesystem.NewInstanceAttachment(ctx, "exampleInstanceAttachment", &databasefilesystem.InstanceAttachmentArgs{ EcsId: exampleInstance.ID(), InstanceId: exampleDatabasefilesystem / instanceInstance.Id, }) if err != nil { return err } return nil }) }
```
## Import
DBFS Instance Attachment can be imported using the id, e.g.
```sh
$ pulumi import alicloud:databasefilesystem/instanceAttachment:InstanceAttachment example <instance_id>:<ecs_id>
```
func GetInstanceAttachment ¶ added in v3.18.0
func GetInstanceAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceAttachmentState, opts ...pulumi.ResourceOption) (*InstanceAttachment, error)
GetInstanceAttachment gets an existing InstanceAttachment 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 NewInstanceAttachment ¶ added in v3.18.0
func NewInstanceAttachment(ctx *pulumi.Context, name string, args *InstanceAttachmentArgs, opts ...pulumi.ResourceOption) (*InstanceAttachment, error)
NewInstanceAttachment registers a new resource with the given unique name, arguments, and options.
func (*InstanceAttachment) ElementType ¶ added in v3.18.0
func (*InstanceAttachment) ElementType() reflect.Type
func (*InstanceAttachment) ToInstanceAttachmentOutput ¶ added in v3.18.0
func (i *InstanceAttachment) ToInstanceAttachmentOutput() InstanceAttachmentOutput
func (*InstanceAttachment) ToInstanceAttachmentOutputWithContext ¶ added in v3.18.0
func (i *InstanceAttachment) ToInstanceAttachmentOutputWithContext(ctx context.Context) InstanceAttachmentOutput
type InstanceAttachmentArgs ¶ added in v3.18.0
type InstanceAttachmentArgs struct { // The ID of the ECS instance. EcsId pulumi.StringInput // The ID of the database file system. InstanceId pulumi.StringInput }
The set of arguments for constructing a InstanceAttachment resource.
func (InstanceAttachmentArgs) ElementType ¶ added in v3.18.0
func (InstanceAttachmentArgs) ElementType() reflect.Type
type InstanceAttachmentArray ¶ added in v3.18.0
type InstanceAttachmentArray []InstanceAttachmentInput
func (InstanceAttachmentArray) ElementType ¶ added in v3.18.0
func (InstanceAttachmentArray) ElementType() reflect.Type
func (InstanceAttachmentArray) ToInstanceAttachmentArrayOutput ¶ added in v3.18.0
func (i InstanceAttachmentArray) ToInstanceAttachmentArrayOutput() InstanceAttachmentArrayOutput
func (InstanceAttachmentArray) ToInstanceAttachmentArrayOutputWithContext ¶ added in v3.18.0
func (i InstanceAttachmentArray) ToInstanceAttachmentArrayOutputWithContext(ctx context.Context) InstanceAttachmentArrayOutput
type InstanceAttachmentArrayInput ¶ added in v3.18.0
type InstanceAttachmentArrayInput interface { pulumi.Input ToInstanceAttachmentArrayOutput() InstanceAttachmentArrayOutput ToInstanceAttachmentArrayOutputWithContext(context.Context) InstanceAttachmentArrayOutput }
InstanceAttachmentArrayInput is an input type that accepts InstanceAttachmentArray and InstanceAttachmentArrayOutput values. You can construct a concrete instance of `InstanceAttachmentArrayInput` via:
InstanceAttachmentArray{ InstanceAttachmentArgs{...} }
type InstanceAttachmentArrayOutput ¶ added in v3.18.0
type InstanceAttachmentArrayOutput struct{ *pulumi.OutputState }
func (InstanceAttachmentArrayOutput) ElementType ¶ added in v3.18.0
func (InstanceAttachmentArrayOutput) ElementType() reflect.Type
func (InstanceAttachmentArrayOutput) Index ¶ added in v3.18.0
func (o InstanceAttachmentArrayOutput) Index(i pulumi.IntInput) InstanceAttachmentOutput
func (InstanceAttachmentArrayOutput) ToInstanceAttachmentArrayOutput ¶ added in v3.18.0
func (o InstanceAttachmentArrayOutput) ToInstanceAttachmentArrayOutput() InstanceAttachmentArrayOutput
func (InstanceAttachmentArrayOutput) ToInstanceAttachmentArrayOutputWithContext ¶ added in v3.18.0
func (o InstanceAttachmentArrayOutput) ToInstanceAttachmentArrayOutputWithContext(ctx context.Context) InstanceAttachmentArrayOutput
type InstanceAttachmentInput ¶ added in v3.18.0
type InstanceAttachmentInput interface { pulumi.Input ToInstanceAttachmentOutput() InstanceAttachmentOutput ToInstanceAttachmentOutputWithContext(ctx context.Context) InstanceAttachmentOutput }
type InstanceAttachmentMap ¶ added in v3.18.0
type InstanceAttachmentMap map[string]InstanceAttachmentInput
func (InstanceAttachmentMap) ElementType ¶ added in v3.18.0
func (InstanceAttachmentMap) ElementType() reflect.Type
func (InstanceAttachmentMap) ToInstanceAttachmentMapOutput ¶ added in v3.18.0
func (i InstanceAttachmentMap) ToInstanceAttachmentMapOutput() InstanceAttachmentMapOutput
func (InstanceAttachmentMap) ToInstanceAttachmentMapOutputWithContext ¶ added in v3.18.0
func (i InstanceAttachmentMap) ToInstanceAttachmentMapOutputWithContext(ctx context.Context) InstanceAttachmentMapOutput
type InstanceAttachmentMapInput ¶ added in v3.18.0
type InstanceAttachmentMapInput interface { pulumi.Input ToInstanceAttachmentMapOutput() InstanceAttachmentMapOutput ToInstanceAttachmentMapOutputWithContext(context.Context) InstanceAttachmentMapOutput }
InstanceAttachmentMapInput is an input type that accepts InstanceAttachmentMap and InstanceAttachmentMapOutput values. You can construct a concrete instance of `InstanceAttachmentMapInput` via:
InstanceAttachmentMap{ "key": InstanceAttachmentArgs{...} }
type InstanceAttachmentMapOutput ¶ added in v3.18.0
type InstanceAttachmentMapOutput struct{ *pulumi.OutputState }
func (InstanceAttachmentMapOutput) ElementType ¶ added in v3.18.0
func (InstanceAttachmentMapOutput) ElementType() reflect.Type
func (InstanceAttachmentMapOutput) MapIndex ¶ added in v3.18.0
func (o InstanceAttachmentMapOutput) MapIndex(k pulumi.StringInput) InstanceAttachmentOutput
func (InstanceAttachmentMapOutput) ToInstanceAttachmentMapOutput ¶ added in v3.18.0
func (o InstanceAttachmentMapOutput) ToInstanceAttachmentMapOutput() InstanceAttachmentMapOutput
func (InstanceAttachmentMapOutput) ToInstanceAttachmentMapOutputWithContext ¶ added in v3.18.0
func (o InstanceAttachmentMapOutput) ToInstanceAttachmentMapOutputWithContext(ctx context.Context) InstanceAttachmentMapOutput
type InstanceAttachmentOutput ¶ added in v3.18.0
type InstanceAttachmentOutput struct{ *pulumi.OutputState }
func (InstanceAttachmentOutput) EcsId ¶ added in v3.27.0
func (o InstanceAttachmentOutput) EcsId() pulumi.StringOutput
The ID of the ECS instance.
func (InstanceAttachmentOutput) ElementType ¶ added in v3.18.0
func (InstanceAttachmentOutput) ElementType() reflect.Type
func (InstanceAttachmentOutput) InstanceId ¶ added in v3.27.0
func (o InstanceAttachmentOutput) InstanceId() pulumi.StringOutput
The ID of the database file system.
func (InstanceAttachmentOutput) Status ¶ added in v3.27.0
func (o InstanceAttachmentOutput) Status() pulumi.StringOutput
The status of Database file system. Valid values: `attached`, `attaching`, `unattached`, `detaching`.
func (InstanceAttachmentOutput) ToInstanceAttachmentOutput ¶ added in v3.18.0
func (o InstanceAttachmentOutput) ToInstanceAttachmentOutput() InstanceAttachmentOutput
func (InstanceAttachmentOutput) ToInstanceAttachmentOutputWithContext ¶ added in v3.18.0
func (o InstanceAttachmentOutput) ToInstanceAttachmentOutputWithContext(ctx context.Context) InstanceAttachmentOutput
type InstanceAttachmentState ¶ added in v3.18.0
type InstanceAttachmentState struct { // The ID of the ECS instance. EcsId pulumi.StringPtrInput // The ID of the database file system. InstanceId pulumi.StringPtrInput // The status of Database file system. Valid values: `attached`, `attaching`, `unattached`, `detaching`. Status pulumi.StringPtrInput }
func (InstanceAttachmentState) ElementType ¶ added in v3.18.0
func (InstanceAttachmentState) ElementType() reflect.Type
type InstanceEcsList ¶
type InstanceEcsList struct { // The ID of the ECS instance. EcsId *string `pulumi:"ecsId"` }
type InstanceEcsListArgs ¶
type InstanceEcsListArgs struct { // The ID of the ECS instance. EcsId pulumi.StringPtrInput `pulumi:"ecsId"` }
func (InstanceEcsListArgs) ElementType ¶
func (InstanceEcsListArgs) ElementType() reflect.Type
func (InstanceEcsListArgs) ToInstanceEcsListOutput ¶
func (i InstanceEcsListArgs) ToInstanceEcsListOutput() InstanceEcsListOutput
func (InstanceEcsListArgs) ToInstanceEcsListOutputWithContext ¶
func (i InstanceEcsListArgs) ToInstanceEcsListOutputWithContext(ctx context.Context) InstanceEcsListOutput
type InstanceEcsListArray ¶
type InstanceEcsListArray []InstanceEcsListInput
func (InstanceEcsListArray) ElementType ¶
func (InstanceEcsListArray) ElementType() reflect.Type
func (InstanceEcsListArray) ToInstanceEcsListArrayOutput ¶
func (i InstanceEcsListArray) ToInstanceEcsListArrayOutput() InstanceEcsListArrayOutput
func (InstanceEcsListArray) ToInstanceEcsListArrayOutputWithContext ¶
func (i InstanceEcsListArray) ToInstanceEcsListArrayOutputWithContext(ctx context.Context) InstanceEcsListArrayOutput
type InstanceEcsListArrayInput ¶
type InstanceEcsListArrayInput interface { pulumi.Input ToInstanceEcsListArrayOutput() InstanceEcsListArrayOutput ToInstanceEcsListArrayOutputWithContext(context.Context) InstanceEcsListArrayOutput }
InstanceEcsListArrayInput is an input type that accepts InstanceEcsListArray and InstanceEcsListArrayOutput values. You can construct a concrete instance of `InstanceEcsListArrayInput` via:
InstanceEcsListArray{ InstanceEcsListArgs{...} }
type InstanceEcsListArrayOutput ¶
type InstanceEcsListArrayOutput struct{ *pulumi.OutputState }
func (InstanceEcsListArrayOutput) ElementType ¶
func (InstanceEcsListArrayOutput) ElementType() reflect.Type
func (InstanceEcsListArrayOutput) Index ¶
func (o InstanceEcsListArrayOutput) Index(i pulumi.IntInput) InstanceEcsListOutput
func (InstanceEcsListArrayOutput) ToInstanceEcsListArrayOutput ¶
func (o InstanceEcsListArrayOutput) ToInstanceEcsListArrayOutput() InstanceEcsListArrayOutput
func (InstanceEcsListArrayOutput) ToInstanceEcsListArrayOutputWithContext ¶
func (o InstanceEcsListArrayOutput) ToInstanceEcsListArrayOutputWithContext(ctx context.Context) InstanceEcsListArrayOutput
type InstanceEcsListInput ¶
type InstanceEcsListInput interface { pulumi.Input ToInstanceEcsListOutput() InstanceEcsListOutput ToInstanceEcsListOutputWithContext(context.Context) InstanceEcsListOutput }
InstanceEcsListInput is an input type that accepts InstanceEcsListArgs and InstanceEcsListOutput values. You can construct a concrete instance of `InstanceEcsListInput` via:
InstanceEcsListArgs{...}
type InstanceEcsListOutput ¶
type InstanceEcsListOutput struct{ *pulumi.OutputState }
func (InstanceEcsListOutput) EcsId ¶
func (o InstanceEcsListOutput) EcsId() pulumi.StringPtrOutput
The ID of the ECS instance.
func (InstanceEcsListOutput) ElementType ¶
func (InstanceEcsListOutput) ElementType() reflect.Type
func (InstanceEcsListOutput) ToInstanceEcsListOutput ¶
func (o InstanceEcsListOutput) ToInstanceEcsListOutput() InstanceEcsListOutput
func (InstanceEcsListOutput) ToInstanceEcsListOutputWithContext ¶
func (o InstanceEcsListOutput) ToInstanceEcsListOutputWithContext(ctx context.Context) InstanceEcsListOutput
type InstanceInput ¶
type InstanceInput interface { pulumi.Input ToInstanceOutput() InstanceOutput ToInstanceOutputWithContext(ctx context.Context) InstanceOutput }
type InstanceMap ¶
type InstanceMap map[string]InstanceInput
func (InstanceMap) ElementType ¶
func (InstanceMap) ElementType() reflect.Type
func (InstanceMap) ToInstanceMapOutput ¶
func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMap) ToInstanceMapOutputWithContext ¶
func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceMapInput ¶
type InstanceMapInput interface { pulumi.Input ToInstanceMapOutput() InstanceMapOutput ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput }
InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:
InstanceMap{ "key": InstanceArgs{...} }
type InstanceMapOutput ¶
type InstanceMapOutput struct{ *pulumi.OutputState }
func (InstanceMapOutput) ElementType ¶
func (InstanceMapOutput) ElementType() reflect.Type
func (InstanceMapOutput) MapIndex ¶
func (o InstanceMapOutput) MapIndex(k pulumi.StringInput) InstanceOutput
func (InstanceMapOutput) ToInstanceMapOutput ¶
func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMapOutput) ToInstanceMapOutputWithContext ¶
func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceOutput ¶
type InstanceOutput struct{ *pulumi.OutputState }
func (InstanceOutput) Category ¶ added in v3.27.0
func (o InstanceOutput) Category() pulumi.StringOutput
The type of the Database file system. Valid values: `standard`.
func (InstanceOutput) DeleteSnapshot ¶ added in v3.27.0
func (o InstanceOutput) DeleteSnapshot() pulumi.BoolPtrOutput
Whether to delete the original snapshot after the DBFS is created using the snapshot. Valid values : `true` anf `false`.
func (InstanceOutput) EcsLists
deprecated
added in
v3.27.0
func (o InstanceOutput) EcsLists() InstanceEcsListArrayOutput
The collection of ECS instances mounted to the Database file system. See `ecsList` below. **NOTE:** Field 'ecs_list' has been deprecated from provider version 1.156.0 and it will be removed in the future version. Please use the new resource 'alicloud_dbfs_instance_attachment' to attach ECS and DBFS.
Deprecated: Field 'ecs_list' has been deprecated from provider version 1.156.0 and it will be removed in the future version. Please use the new resource 'alicloud_dbfs_instance_attachment' to attach ECS and DBFS.
func (InstanceOutput) ElementType ¶
func (InstanceOutput) ElementType() reflect.Type
func (InstanceOutput) EnableRaid ¶ added in v3.27.0
func (o InstanceOutput) EnableRaid() pulumi.BoolPtrOutput
Whether to create the Database file system in RAID way. Valid values : `true` anf `false`.
func (InstanceOutput) Encryption ¶ added in v3.27.0
func (o InstanceOutput) Encryption() pulumi.BoolPtrOutput
Whether to encrypt the database file system. Valid values: `true` and `false`.
func (InstanceOutput) InstanceName ¶ added in v3.27.0
func (o InstanceOutput) InstanceName() pulumi.StringOutput
The name of the Database file system.
func (InstanceOutput) KmsKeyId ¶ added in v3.27.0
func (o InstanceOutput) KmsKeyId() pulumi.StringPtrOutput
The KMS key ID of the Database file system used. This parameter is valid When `encryption` parameter is set to `true`.
func (InstanceOutput) PerformanceLevel ¶ added in v3.27.0
func (o InstanceOutput) PerformanceLevel() pulumi.StringOutput
The performance level of the Database file system. Valid values: `PL0`, `PL1`, `PL2`, `PL3`.
func (InstanceOutput) RaidStripeUnitNumber ¶ added in v3.27.0
func (o InstanceOutput) RaidStripeUnitNumber() pulumi.StringPtrOutput
The number of strip. This parameter is valid When `enableRaid` parameter is set to `true`.
func (InstanceOutput) Size ¶ added in v3.27.0
func (o InstanceOutput) Size() pulumi.IntOutput
The size Of the Database file system. Unit: GiB.
func (InstanceOutput) SnapshotId ¶ added in v3.27.0
func (o InstanceOutput) SnapshotId() pulumi.StringPtrOutput
The snapshot id of the Database file system.
func (InstanceOutput) Status ¶ added in v3.27.0
func (o InstanceOutput) Status() pulumi.StringOutput
The status of Database file system. Valid values: `attached`, `attaching`, `creating`, `deleted`, `deleting`, `detaching`, `resizing`, `snapshotting`, `unattached`, `upgrading`.
func (InstanceOutput) Tags ¶ added in v3.27.0
func (o InstanceOutput) Tags() pulumi.MapOutput
A mapping of tags to assign to the resource.
func (InstanceOutput) ToInstanceOutput ¶
func (o InstanceOutput) ToInstanceOutput() InstanceOutput
func (InstanceOutput) ToInstanceOutputWithContext ¶
func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
func (InstanceOutput) ZoneId ¶ added in v3.27.0
func (o InstanceOutput) ZoneId() pulumi.StringOutput
The Zone ID of the Database file system.
type InstanceState ¶
type InstanceState struct { // The type of the Database file system. Valid values: `standard`. Category pulumi.StringPtrInput // Whether to delete the original snapshot after the DBFS is created using the snapshot. Valid values : `true` anf `false`. DeleteSnapshot pulumi.BoolPtrInput // The collection of ECS instances mounted to the Database file system. See `ecsList` below. **NOTE:** Field 'ecs_list' has been deprecated from provider version 1.156.0 and it will be removed in the future version. Please use the new resource 'alicloud_dbfs_instance_attachment' to attach ECS and DBFS. // // Deprecated: Field 'ecs_list' has been deprecated from provider version 1.156.0 and it will be removed in the future version. Please use the new resource 'alicloud_dbfs_instance_attachment' to attach ECS and DBFS. EcsLists InstanceEcsListArrayInput // Whether to create the Database file system in RAID way. Valid values : `true` anf `false`. EnableRaid pulumi.BoolPtrInput // Whether to encrypt the database file system. Valid values: `true` and `false`. Encryption pulumi.BoolPtrInput // The name of the Database file system. InstanceName pulumi.StringPtrInput // The KMS key ID of the Database file system used. This parameter is valid When `encryption` parameter is set to `true`. KmsKeyId pulumi.StringPtrInput // The performance level of the Database file system. Valid values: `PL0`, `PL1`, `PL2`, `PL3`. PerformanceLevel pulumi.StringPtrInput // The number of strip. This parameter is valid When `enableRaid` parameter is set to `true`. RaidStripeUnitNumber pulumi.StringPtrInput // The size Of the Database file system. Unit: GiB. Size pulumi.IntPtrInput // The snapshot id of the Database file system. SnapshotId pulumi.StringPtrInput // The status of Database file system. Valid values: `attached`, `attaching`, `creating`, `deleted`, `deleting`, `detaching`, `resizing`, `snapshotting`, `unattached`, `upgrading`. Status pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // The Zone ID of the Database file system. ZoneId pulumi.StringPtrInput }
func (InstanceState) ElementType ¶
func (InstanceState) ElementType() reflect.Type
type ServiceLinkedRole ¶ added in v3.18.0
type ServiceLinkedRole struct { pulumi.CustomResourceState // The product name for SLR. Dbfs can automatically create the following service-linked roles: `AliyunServiceRoleForDbfs`. ProductName pulumi.StringOutput `pulumi:"productName"` // The status of the service Associated role. Valid Values: `true`: Created. `false`: not created. Status pulumi.BoolOutput `pulumi:"status"` }
Using this data source can create Dbfs service-linked roles(SLR). Dbfs may need to access another Alibaba Cloud service to implement a specific feature. In this case, Dbfs must assume a specific service-linked role, which is a Resource Access Management (RAM) role, to obtain permissions to access another Alibaba Cloud service.
For information about Dbfs service-linked roles(SLR) and how to use it, see [What is service-linked roles](https://www.alibabacloud.com/help/doc-detail/181425.htm).
> **NOTE:** Available since v1.157.0.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/databasefilesystem" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := databasefilesystem.NewServiceLinkedRole(ctx, "serviceLinkedRole", &databasefilesystem.ServiceLinkedRoleArgs{ ProductName: pulumi.String("AliyunServiceRoleForDbfs"), }) if err != nil { return err } return nil }) }
```
## Import
Dbfs service-linked roles(SLR) can be imported using the id, e.g.
```sh
$ pulumi import alicloud:databasefilesystem/serviceLinkedRole:ServiceLinkedRole example <product_name>
```
func GetServiceLinkedRole ¶ added in v3.18.0
func GetServiceLinkedRole(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServiceLinkedRoleState, opts ...pulumi.ResourceOption) (*ServiceLinkedRole, error)
GetServiceLinkedRole gets an existing ServiceLinkedRole 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 NewServiceLinkedRole ¶ added in v3.18.0
func NewServiceLinkedRole(ctx *pulumi.Context, name string, args *ServiceLinkedRoleArgs, opts ...pulumi.ResourceOption) (*ServiceLinkedRole, error)
NewServiceLinkedRole registers a new resource with the given unique name, arguments, and options.
func (*ServiceLinkedRole) ElementType ¶ added in v3.18.0
func (*ServiceLinkedRole) ElementType() reflect.Type
func (*ServiceLinkedRole) ToServiceLinkedRoleOutput ¶ added in v3.18.0
func (i *ServiceLinkedRole) ToServiceLinkedRoleOutput() ServiceLinkedRoleOutput
func (*ServiceLinkedRole) ToServiceLinkedRoleOutputWithContext ¶ added in v3.18.0
func (i *ServiceLinkedRole) ToServiceLinkedRoleOutputWithContext(ctx context.Context) ServiceLinkedRoleOutput
type ServiceLinkedRoleArgs ¶ added in v3.18.0
type ServiceLinkedRoleArgs struct { // The product name for SLR. Dbfs can automatically create the following service-linked roles: `AliyunServiceRoleForDbfs`. ProductName pulumi.StringInput }
The set of arguments for constructing a ServiceLinkedRole resource.
func (ServiceLinkedRoleArgs) ElementType ¶ added in v3.18.0
func (ServiceLinkedRoleArgs) ElementType() reflect.Type
type ServiceLinkedRoleArray ¶ added in v3.18.0
type ServiceLinkedRoleArray []ServiceLinkedRoleInput
func (ServiceLinkedRoleArray) ElementType ¶ added in v3.18.0
func (ServiceLinkedRoleArray) ElementType() reflect.Type
func (ServiceLinkedRoleArray) ToServiceLinkedRoleArrayOutput ¶ added in v3.18.0
func (i ServiceLinkedRoleArray) ToServiceLinkedRoleArrayOutput() ServiceLinkedRoleArrayOutput
func (ServiceLinkedRoleArray) ToServiceLinkedRoleArrayOutputWithContext ¶ added in v3.18.0
func (i ServiceLinkedRoleArray) ToServiceLinkedRoleArrayOutputWithContext(ctx context.Context) ServiceLinkedRoleArrayOutput
type ServiceLinkedRoleArrayInput ¶ added in v3.18.0
type ServiceLinkedRoleArrayInput interface { pulumi.Input ToServiceLinkedRoleArrayOutput() ServiceLinkedRoleArrayOutput ToServiceLinkedRoleArrayOutputWithContext(context.Context) ServiceLinkedRoleArrayOutput }
ServiceLinkedRoleArrayInput is an input type that accepts ServiceLinkedRoleArray and ServiceLinkedRoleArrayOutput values. You can construct a concrete instance of `ServiceLinkedRoleArrayInput` via:
ServiceLinkedRoleArray{ ServiceLinkedRoleArgs{...} }
type ServiceLinkedRoleArrayOutput ¶ added in v3.18.0
type ServiceLinkedRoleArrayOutput struct{ *pulumi.OutputState }
func (ServiceLinkedRoleArrayOutput) ElementType ¶ added in v3.18.0
func (ServiceLinkedRoleArrayOutput) ElementType() reflect.Type
func (ServiceLinkedRoleArrayOutput) Index ¶ added in v3.18.0
func (o ServiceLinkedRoleArrayOutput) Index(i pulumi.IntInput) ServiceLinkedRoleOutput
func (ServiceLinkedRoleArrayOutput) ToServiceLinkedRoleArrayOutput ¶ added in v3.18.0
func (o ServiceLinkedRoleArrayOutput) ToServiceLinkedRoleArrayOutput() ServiceLinkedRoleArrayOutput
func (ServiceLinkedRoleArrayOutput) ToServiceLinkedRoleArrayOutputWithContext ¶ added in v3.18.0
func (o ServiceLinkedRoleArrayOutput) ToServiceLinkedRoleArrayOutputWithContext(ctx context.Context) ServiceLinkedRoleArrayOutput
type ServiceLinkedRoleInput ¶ added in v3.18.0
type ServiceLinkedRoleInput interface { pulumi.Input ToServiceLinkedRoleOutput() ServiceLinkedRoleOutput ToServiceLinkedRoleOutputWithContext(ctx context.Context) ServiceLinkedRoleOutput }
type ServiceLinkedRoleMap ¶ added in v3.18.0
type ServiceLinkedRoleMap map[string]ServiceLinkedRoleInput
func (ServiceLinkedRoleMap) ElementType ¶ added in v3.18.0
func (ServiceLinkedRoleMap) ElementType() reflect.Type
func (ServiceLinkedRoleMap) ToServiceLinkedRoleMapOutput ¶ added in v3.18.0
func (i ServiceLinkedRoleMap) ToServiceLinkedRoleMapOutput() ServiceLinkedRoleMapOutput
func (ServiceLinkedRoleMap) ToServiceLinkedRoleMapOutputWithContext ¶ added in v3.18.0
func (i ServiceLinkedRoleMap) ToServiceLinkedRoleMapOutputWithContext(ctx context.Context) ServiceLinkedRoleMapOutput
type ServiceLinkedRoleMapInput ¶ added in v3.18.0
type ServiceLinkedRoleMapInput interface { pulumi.Input ToServiceLinkedRoleMapOutput() ServiceLinkedRoleMapOutput ToServiceLinkedRoleMapOutputWithContext(context.Context) ServiceLinkedRoleMapOutput }
ServiceLinkedRoleMapInput is an input type that accepts ServiceLinkedRoleMap and ServiceLinkedRoleMapOutput values. You can construct a concrete instance of `ServiceLinkedRoleMapInput` via:
ServiceLinkedRoleMap{ "key": ServiceLinkedRoleArgs{...} }
type ServiceLinkedRoleMapOutput ¶ added in v3.18.0
type ServiceLinkedRoleMapOutput struct{ *pulumi.OutputState }
func (ServiceLinkedRoleMapOutput) ElementType ¶ added in v3.18.0
func (ServiceLinkedRoleMapOutput) ElementType() reflect.Type
func (ServiceLinkedRoleMapOutput) MapIndex ¶ added in v3.18.0
func (o ServiceLinkedRoleMapOutput) MapIndex(k pulumi.StringInput) ServiceLinkedRoleOutput
func (ServiceLinkedRoleMapOutput) ToServiceLinkedRoleMapOutput ¶ added in v3.18.0
func (o ServiceLinkedRoleMapOutput) ToServiceLinkedRoleMapOutput() ServiceLinkedRoleMapOutput
func (ServiceLinkedRoleMapOutput) ToServiceLinkedRoleMapOutputWithContext ¶ added in v3.18.0
func (o ServiceLinkedRoleMapOutput) ToServiceLinkedRoleMapOutputWithContext(ctx context.Context) ServiceLinkedRoleMapOutput
type ServiceLinkedRoleOutput ¶ added in v3.18.0
type ServiceLinkedRoleOutput struct{ *pulumi.OutputState }
func (ServiceLinkedRoleOutput) ElementType ¶ added in v3.18.0
func (ServiceLinkedRoleOutput) ElementType() reflect.Type
func (ServiceLinkedRoleOutput) ProductName ¶ added in v3.27.0
func (o ServiceLinkedRoleOutput) ProductName() pulumi.StringOutput
The product name for SLR. Dbfs can automatically create the following service-linked roles: `AliyunServiceRoleForDbfs`.
func (ServiceLinkedRoleOutput) Status ¶ added in v3.27.0
func (o ServiceLinkedRoleOutput) Status() pulumi.BoolOutput
The status of the service Associated role. Valid Values: `true`: Created. `false`: not created.
func (ServiceLinkedRoleOutput) ToServiceLinkedRoleOutput ¶ added in v3.18.0
func (o ServiceLinkedRoleOutput) ToServiceLinkedRoleOutput() ServiceLinkedRoleOutput
func (ServiceLinkedRoleOutput) ToServiceLinkedRoleOutputWithContext ¶ added in v3.18.0
func (o ServiceLinkedRoleOutput) ToServiceLinkedRoleOutputWithContext(ctx context.Context) ServiceLinkedRoleOutput
type ServiceLinkedRoleState ¶ added in v3.18.0
type ServiceLinkedRoleState struct { // The product name for SLR. Dbfs can automatically create the following service-linked roles: `AliyunServiceRoleForDbfs`. ProductName pulumi.StringPtrInput // The status of the service Associated role. Valid Values: `true`: Created. `false`: not created. Status pulumi.BoolPtrInput }
func (ServiceLinkedRoleState) ElementType ¶ added in v3.18.0
func (ServiceLinkedRoleState) ElementType() reflect.Type
type Snapshot ¶ added in v3.18.0
type Snapshot struct { pulumi.CustomResourceState // Description of the snapshot. The description must be `2` to `256` characters in length. It must start with a letter, and cannot start with `http://` or `https://`. Description pulumi.StringPtrOutput `pulumi:"description"` // Whether to force deletion of snapshots. Force pulumi.BoolPtrOutput `pulumi:"force"` // The ID of the database file system. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // The retention time of the snapshot. Unit: days. Snapshots are automatically released after the retention time expires. Valid values: `1` to `65536`. RetentionDays pulumi.IntPtrOutput `pulumi:"retentionDays"` // The display name of the snapshot. The length is `2` to `128` characters. It must start with a large or small letter or Chinese, and cannot start with `http://` and `https://`. It can contain numbers, colons (:), underscores (_), or hyphens (-). To prevent name conflicts with automatic snapshots, you cannot start with `auto`. SnapshotName pulumi.StringPtrOutput `pulumi:"snapshotName"` // The status of the Snapshot. Status pulumi.StringOutput `pulumi:"status"` }
Provides a DBFS Snapshot resource.
For information about DBFS Snapshot and how to use it.
> **NOTE:** Available since v1.156.0.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/databasefilesystem" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "tf-example" if param := cfg.Get("name"); param != "" { name = param } zoneId := "cn-hangzhou-i" exampleInstanceTypes, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{ AvailabilityZone: pulumi.StringRef(zoneId), InstanceTypeFamily: pulumi.StringRef("ecs.g7se"), }, nil) if err != nil { return err } exampleImages, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{ InstanceType: pulumi.StringRef(exampleInstanceTypes.InstanceTypes[len(exampleInstanceTypes.InstanceTypes)-1].Id), NameRegex: pulumi.StringRef("^aliyun_2"), Owners: pulumi.StringRef("system"), }, nil) if err != nil { return err } exampleNetwork, err := vpc.NewNetwork(ctx, "exampleNetwork", &vpc.NetworkArgs{ VpcName: pulumi.String(name), CidrBlock: pulumi.String("10.4.0.0/16"), }) if err != nil { return err } exampleSwitch, err := vpc.NewSwitch(ctx, "exampleSwitch", &vpc.SwitchArgs{ VswitchName: pulumi.String(name), CidrBlock: pulumi.String("10.4.0.0/24"), VpcId: exampleNetwork.ID(), ZoneId: pulumi.String(zoneId), }) if err != nil { return err } exampleSecurityGroup, err := ecs.NewSecurityGroup(ctx, "exampleSecurityGroup", &ecs.SecurityGroupArgs{ VpcId: exampleNetwork.ID(), }) if err != nil { return err } exampleInstance, err := ecs.NewInstance(ctx, "exampleInstance", &ecs.InstanceArgs{ AvailabilityZone: pulumi.String(zoneId), InstanceName: pulumi.String(name), ImageId: *pulumi.String(exampleImages.Images[1].Id), InstanceType: exampleInstanceTypes.InstanceTypes[len(exampleInstanceTypes.InstanceTypes)-1].Id, SecurityGroups: pulumi.StringArray{ exampleSecurityGroup.ID(), }, VswitchId: exampleSwitch.ID(), SystemDiskCategory: pulumi.String("cloud_essd"), }) if err != nil { return err } _, err = databasefilesystem.NewInstance(ctx, "exampleDatabasefilesystem/instanceInstance", &databasefilesystem.InstanceArgs{ Category: pulumi.String("standard"), ZoneId: pulumi.String(zoneId), PerformanceLevel: pulumi.String("PL1"), InstanceName: pulumi.String(name), Size: pulumi.Int(100), }) if err != nil { return err } exampleInstanceAttachment, err := databasefilesystem.NewInstanceAttachment(ctx, "exampleInstanceAttachment", &databasefilesystem.InstanceAttachmentArgs{ EcsId: exampleInstance.ID(), InstanceId: exampleDatabasefilesystem / instanceInstance.Id, }) if err != nil { return err } _, err = databasefilesystem.NewSnapshot(ctx, "exampleSnapshot", &databasefilesystem.SnapshotArgs{ InstanceId: exampleInstanceAttachment.InstanceId, SnapshotName: pulumi.String(name), Description: pulumi.String(name), RetentionDays: pulumi.Int(30), }) if err != nil { return err } return nil }) }
```
## Import
DBFS Snapshot can be imported using the id, e.g.
```sh
$ pulumi import alicloud:databasefilesystem/snapshot:Snapshot example <id>
```
func GetSnapshot ¶ added in v3.18.0
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 v3.18.0
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 v3.18.0
func (*Snapshot) ToSnapshotOutput ¶ added in v3.18.0
func (i *Snapshot) ToSnapshotOutput() SnapshotOutput
func (*Snapshot) ToSnapshotOutputWithContext ¶ added in v3.18.0
func (i *Snapshot) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
type SnapshotArgs ¶ added in v3.18.0
type SnapshotArgs struct { // Description of the snapshot. The description must be `2` to `256` characters in length. It must start with a letter, and cannot start with `http://` or `https://`. Description pulumi.StringPtrInput // Whether to force deletion of snapshots. Force pulumi.BoolPtrInput // The ID of the database file system. InstanceId pulumi.StringInput // The retention time of the snapshot. Unit: days. Snapshots are automatically released after the retention time expires. Valid values: `1` to `65536`. RetentionDays pulumi.IntPtrInput // The display name of the snapshot. The length is `2` to `128` characters. It must start with a large or small letter or Chinese, and cannot start with `http://` and `https://`. It can contain numbers, colons (:), underscores (_), or hyphens (-). To prevent name conflicts with automatic snapshots, you cannot start with `auto`. SnapshotName pulumi.StringPtrInput }
The set of arguments for constructing a Snapshot resource.
func (SnapshotArgs) ElementType ¶ added in v3.18.0
func (SnapshotArgs) ElementType() reflect.Type
type SnapshotArray ¶ added in v3.18.0
type SnapshotArray []SnapshotInput
func (SnapshotArray) ElementType ¶ added in v3.18.0
func (SnapshotArray) ElementType() reflect.Type
func (SnapshotArray) ToSnapshotArrayOutput ¶ added in v3.18.0
func (i SnapshotArray) ToSnapshotArrayOutput() SnapshotArrayOutput
func (SnapshotArray) ToSnapshotArrayOutputWithContext ¶ added in v3.18.0
func (i SnapshotArray) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput
type SnapshotArrayInput ¶ added in v3.18.0
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 v3.18.0
type SnapshotArrayOutput struct{ *pulumi.OutputState }
func (SnapshotArrayOutput) ElementType ¶ added in v3.18.0
func (SnapshotArrayOutput) ElementType() reflect.Type
func (SnapshotArrayOutput) Index ¶ added in v3.18.0
func (o SnapshotArrayOutput) Index(i pulumi.IntInput) SnapshotOutput
func (SnapshotArrayOutput) ToSnapshotArrayOutput ¶ added in v3.18.0
func (o SnapshotArrayOutput) ToSnapshotArrayOutput() SnapshotArrayOutput
func (SnapshotArrayOutput) ToSnapshotArrayOutputWithContext ¶ added in v3.18.0
func (o SnapshotArrayOutput) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput
type SnapshotInput ¶ added in v3.18.0
type SnapshotInput interface { pulumi.Input ToSnapshotOutput() SnapshotOutput ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput }
type SnapshotMap ¶ added in v3.18.0
type SnapshotMap map[string]SnapshotInput
func (SnapshotMap) ElementType ¶ added in v3.18.0
func (SnapshotMap) ElementType() reflect.Type
func (SnapshotMap) ToSnapshotMapOutput ¶ added in v3.18.0
func (i SnapshotMap) ToSnapshotMapOutput() SnapshotMapOutput
func (SnapshotMap) ToSnapshotMapOutputWithContext ¶ added in v3.18.0
func (i SnapshotMap) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput
type SnapshotMapInput ¶ added in v3.18.0
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 v3.18.0
type SnapshotMapOutput struct{ *pulumi.OutputState }
func (SnapshotMapOutput) ElementType ¶ added in v3.18.0
func (SnapshotMapOutput) ElementType() reflect.Type
func (SnapshotMapOutput) MapIndex ¶ added in v3.18.0
func (o SnapshotMapOutput) MapIndex(k pulumi.StringInput) SnapshotOutput
func (SnapshotMapOutput) ToSnapshotMapOutput ¶ added in v3.18.0
func (o SnapshotMapOutput) ToSnapshotMapOutput() SnapshotMapOutput
func (SnapshotMapOutput) ToSnapshotMapOutputWithContext ¶ added in v3.18.0
func (o SnapshotMapOutput) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput
type SnapshotOutput ¶ added in v3.18.0
type SnapshotOutput struct{ *pulumi.OutputState }
func (SnapshotOutput) Description ¶ added in v3.27.0
func (o SnapshotOutput) Description() pulumi.StringPtrOutput
Description of the snapshot. The description must be `2` to `256` characters in length. It must start with a letter, and cannot start with `http://` or `https://`.
func (SnapshotOutput) ElementType ¶ added in v3.18.0
func (SnapshotOutput) ElementType() reflect.Type
func (SnapshotOutput) Force ¶ added in v3.27.0
func (o SnapshotOutput) Force() pulumi.BoolPtrOutput
Whether to force deletion of snapshots.
func (SnapshotOutput) InstanceId ¶ added in v3.27.0
func (o SnapshotOutput) InstanceId() pulumi.StringOutput
The ID of the database file system.
func (SnapshotOutput) RetentionDays ¶ added in v3.27.0
func (o SnapshotOutput) RetentionDays() pulumi.IntPtrOutput
The retention time of the snapshot. Unit: days. Snapshots are automatically released after the retention time expires. Valid values: `1` to `65536`.
func (SnapshotOutput) SnapshotName ¶ added in v3.27.0
func (o SnapshotOutput) SnapshotName() pulumi.StringPtrOutput
The display name of the snapshot. The length is `2` to `128` characters. It must start with a large or small letter or Chinese, and cannot start with `http://` and `https://`. It can contain numbers, colons (:), underscores (_), or hyphens (-). To prevent name conflicts with automatic snapshots, you cannot start with `auto`.
func (SnapshotOutput) Status ¶ added in v3.27.0
func (o SnapshotOutput) Status() pulumi.StringOutput
The status of the Snapshot.
func (SnapshotOutput) ToSnapshotOutput ¶ added in v3.18.0
func (o SnapshotOutput) ToSnapshotOutput() SnapshotOutput
func (SnapshotOutput) ToSnapshotOutputWithContext ¶ added in v3.18.0
func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
type SnapshotState ¶ added in v3.18.0
type SnapshotState struct { // Description of the snapshot. The description must be `2` to `256` characters in length. It must start with a letter, and cannot start with `http://` or `https://`. Description pulumi.StringPtrInput // Whether to force deletion of snapshots. Force pulumi.BoolPtrInput // The ID of the database file system. InstanceId pulumi.StringPtrInput // The retention time of the snapshot. Unit: days. Snapshots are automatically released after the retention time expires. Valid values: `1` to `65536`. RetentionDays pulumi.IntPtrInput // The display name of the snapshot. The length is `2` to `128` characters. It must start with a large or small letter or Chinese, and cannot start with `http://` and `https://`. It can contain numbers, colons (:), underscores (_), or hyphens (-). To prevent name conflicts with automatic snapshots, you cannot start with `auto`. SnapshotName pulumi.StringPtrInput // The status of the Snapshot. Status pulumi.StringPtrInput }
func (SnapshotState) ElementType ¶ added in v3.18.0
func (SnapshotState) ElementType() reflect.Type