databasefilesystem

package
v3.54.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type 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{
			TimePoints: pulumi.StringArray{
				pulumi.String("01"),
			},
			PolicyName:    pulumi.String("tf-example"),
			RetentionDays: pulumi.Int(1),
			RepeatWeekdays: pulumi.StringArray{
				pulumi.String("2"),
			},
		})
		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) Index added in v3.35.0

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) MapIndex added in v3.35.0

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

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

Automatic snapshot policy ID

func (AutoSnapShotPolicyOutput) PolicyName added in v3.35.0

Automatic snapshot policy name

func (AutoSnapShotPolicyOutput) RepeatWeekdays added in v3.35.0

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

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

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) 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) 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) Index added in v3.35.0

func (GetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput) ToGetAutoSnapShotPoliciesAutoSnapShotPolicyArrayOutput added in v3.35.0

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

The number of database file systems set by the automatic snapshot policy.

func (GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) CreateTime added in v3.35.0

The creation time of the resource

func (GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) ElementType added in v3.35.0

func (GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) Id added in v3.35.0

The ID of the policy.

func (GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) LastModified added in v3.35.0

Last modification time of automatic snapshot policy

func (GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) PolicyId added in v3.35.0

Automatic snapshot policy ID

func (GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) PolicyName added in v3.35.0

Automatic snapshot policy name

func (GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) RepeatWeekdays added in v3.35.0

A collection of automatic snapshots performed on several days of the week.

func (GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) RetentionDays added in v3.35.0

Automatic snapshot retention days

func (GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) Status added in v3.35.0

Automatic snapshot policy status

func (GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) StatusDetail added in v3.35.0

Automatic snapshot policy status details

func (GetAutoSnapShotPoliciesAutoSnapShotPolicyOutput) TimePoints added in v3.35.0

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

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{}{ defaultAlicloudDbfsAutoSnapShotPolicy.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 (GetAutoSnapShotPoliciesResultOutput) AutoSnapShotPolicies added in v3.35.0

A list of Auto Snap Shot Policy Entries. Each element contains the following attributes:

func (GetAutoSnapShotPoliciesResultOutput) ElementType added in v3.35.0

func (GetAutoSnapShotPoliciesResultOutput) Id added in v3.35.0

The provider-assigned unique ID for this managed resource.

func (GetAutoSnapShotPoliciesResultOutput) Ids added in v3.35.0

A list of Auto Snap Shot Policy IDs.

func (GetAutoSnapShotPoliciesResultOutput) NameRegex added in v3.35.0

func (GetAutoSnapShotPoliciesResultOutput) Names added in v3.35.0

A list of Auto Snap Shot Policy names.

func (GetAutoSnapShotPoliciesResultOutput) OutputFile added in v3.35.0

func (GetAutoSnapShotPoliciesResultOutput) PageNumber added in v3.35.0

func (GetAutoSnapShotPoliciesResultOutput) PageSize added in v3.35.0

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"`
	// Database file system state. Valid values: `attached`, `attaching`, `creating`, `deleted`, `deleting`, `detaching`, `resizing`, `snapshotting`, `unattached`, `upgrading`.
	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) Index

func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput

func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput

func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext

func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput

type GetInstancesInstanceEcsList

type GetInstancesInstanceEcsList struct {
	EcsId string `pulumi:"ecsId"`
}

type GetInstancesInstanceEcsListArgs

type GetInstancesInstanceEcsListArgs struct {
	EcsId pulumi.StringInput `pulumi:"ecsId"`
}

func (GetInstancesInstanceEcsListArgs) ElementType

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) 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) Index

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 (GetInstancesInstanceEcsListOutput) ElementType

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

The type of the Database file system. Valid values: `standard`.

func (GetInstancesInstanceOutput) CreateTime

The create time of the Database file system.

func (GetInstancesInstanceOutput) DbfsClusterId

The cluster ID of the Database file system.

func (GetInstancesInstanceOutput) EcsLists

The collection of ECS instances mounted to the Database file system.

func (GetInstancesInstanceOutput) ElementType

func (GetInstancesInstanceOutput) ElementType() reflect.Type

func (GetInstancesInstanceOutput) EnableRaid

Whether to create the Database file system in RAID way. Valid values : `true` anf `false`.

func (GetInstancesInstanceOutput) Encryption

Whether to encrypt the Database file system. Valid values: `true` and `false`.

func (GetInstancesInstanceOutput) Id

The ID of the Instance.

func (GetInstancesInstanceOutput) InstanceId

The ID of the Database File System

func (GetInstancesInstanceOutput) InstanceName

The name of the Database file system.

func (GetInstancesInstanceOutput) KmsKeyId

The KMS key ID of the Database file system used. This parameter is valid When `encryption` parameter is set to `true`.

func (GetInstancesInstanceOutput) PaymentType

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

The size Of the Database file system. Unit: GiB.

func (GetInstancesInstanceOutput) Status

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

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"`
	// Database file system state. Valid values: `attached`, `attaching`, `creating`, `deleted`, `deleting`, `detaching`, `resizing`, `snapshotting`, `unattached`, `upgrading`.
	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

The provider-assigned unique ID for this managed resource.

func (GetInstancesResultOutput) Ids added in v3.9.0

func (GetInstancesResultOutput) Instances added in v3.9.0

func (GetInstancesResultOutput) NameRegex added in v3.9.0

func (GetInstancesResultOutput) Names added in v3.9.0

func (GetInstancesResultOutput) OutputFile added in v3.9.0

func (GetInstancesResultOutput) Status added in v3.9.0

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

The provider-assigned unique ID for this managed resource.

func (GetSnapshotsResultOutput) Ids added in v3.19.0

func (GetSnapshotsResultOutput) NameRegex added in v3.19.0

func (GetSnapshotsResultOutput) Names added in v3.19.0

func (GetSnapshotsResultOutput) OutputFile added in v3.19.0

func (GetSnapshotsResultOutput) Snapshots added in v3.19.0

func (GetSnapshotsResultOutput) Status added in v3.19.0

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) Index added in v3.19.0

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

The type of the Snapshot.

func (GetSnapshotsSnapshotOutput) CreateTime added in v3.19.0

The creation time of the snapshot.

func (GetSnapshotsSnapshotOutput) Description added in v3.19.0

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

The ID of the Snapshot.

func (GetSnapshotsSnapshotOutput) InstanceId added in v3.19.0

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

The progress of the snapshot.

func (GetSnapshotsSnapshotOutput) RemainTime added in v3.19.0

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

The ID of the snapshot.

func (GetSnapshotsSnapshotOutput) SnapshotName added in v3.19.0

The name of the snapshot.

func (GetSnapshotsSnapshotOutput) SnapshotType added in v3.19.0

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

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 number of CPU cores and the upper limit of memory used by the database file storage instance.
	AdvancedFeatures pulumi.StringOutput `pulumi:"advancedFeatures"`
	// Category of database file system.
	Category pulumi.StringOutput `pulumi:"category"`
	// The creation time of the resource.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Whether to delete the original snapshot after creating DBFS using the snapshot.
	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. See `ecsList` below.
	//
	// 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 DBFS in RAID mode. If created in RAID mode, the capacity is at least 66GB.Valid values: true or false. Default value: false.
	EnableRaid pulumi.BoolPtrOutput `pulumi:"enableRaid"`
	// Whether to encrypt DBFS.Valid values: true or false. Default value: false.
	Encryption pulumi.BoolPtrOutput `pulumi:"encryption"`
	// Database file system name.
	FsName pulumi.StringOutput `pulumi:"fsName"`
	// Deprecated: Field 'instance_name' has been deprecated since provider version 1.212.0. New field 'fs_name' instead.
	InstanceName pulumi.StringOutput `pulumi:"instanceName"`
	// Instance type. Value range:
	// - dbfs.small
	// - dbfs.medium
	// - dbfs.large (default)
	InstanceType pulumi.StringPtrOutput `pulumi:"instanceType"`
	// The ID of the KMS key used by DBFS.
	KmsKeyId pulumi.StringPtrOutput `pulumi:"kmsKeyId"`
	// When you create a DBFS instance, set the performance level of the DBFS instance. Value range:
	// - PL0: single disk maximum random read-write IOPS 10000
	// - PL1: highest random read-write IOPS 50000 per disk (default)
	// - PL2: single disk maximum random read-write IOPS 100000
	// - PL3: single disk maximum random read-write IOPS 1 million.
	PerformanceLevel pulumi.StringOutput `pulumi:"performanceLevel"`
	// Number of strips. Required when the EnableRaid parameter is true.Value range: Currently, only 8 stripes are supported.
	RaidStripeUnitNumber pulumi.IntPtrOutput `pulumi:"raidStripeUnitNumber"`
	// Size of database file system, unit GiB.
	Size pulumi.IntOutput `pulumi:"size"`
	// The ID of the snapshot used to create the DBFS instance.
	SnapshotId pulumi.StringOutput `pulumi:"snapshotId"`
	// The status of the resource.
	Status pulumi.StringOutput `pulumi:"status"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The usage scenario of DBFS. Value range:
	// - MySQL 5.7
	// - PostgreSQL
	// - MongoDB.
	UsedScene pulumi.StringPtrOutput `pulumi:"usedScene"`
	// The ID of the zone to which the database file system belongs.
	ZoneId pulumi.StringOutput `pulumi:"zoneId"`
}

Provides a DBFS Dbfs Instance resource. An instance of a database file system is equivalent to a file system and can store data of file types.

For information about DBFS Dbfs Instance and how to use it, see [What is Dbfs Instance](https://next.api.alibabacloud.com/document/DBFS/2020-04-18/CreateDbfs).

> **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 := "terraform-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 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) ElementType() reflect.Type

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 number of CPU cores and the upper limit of memory used by the database file storage instance.
	AdvancedFeatures pulumi.StringPtrInput
	// Category of database file system.
	Category pulumi.StringInput
	// Whether to delete the original snapshot after creating DBFS using the snapshot.
	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. See `ecsList` below.
	//
	// 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 DBFS in RAID mode. If created in RAID mode, the capacity is at least 66GB.Valid values: true or false. Default value: false.
	EnableRaid pulumi.BoolPtrInput
	// Whether to encrypt DBFS.Valid values: true or false. Default value: false.
	Encryption pulumi.BoolPtrInput
	// Database file system name.
	FsName pulumi.StringPtrInput
	// Deprecated: Field 'instance_name' has been deprecated since provider version 1.212.0. New field 'fs_name' instead.
	InstanceName pulumi.StringPtrInput
	// Instance type. Value range:
	// - dbfs.small
	// - dbfs.medium
	// - dbfs.large (default)
	InstanceType pulumi.StringPtrInput
	// The ID of the KMS key used by DBFS.
	KmsKeyId pulumi.StringPtrInput
	// When you create a DBFS instance, set the performance level of the DBFS instance. Value range:
	// - PL0: single disk maximum random read-write IOPS 10000
	// - PL1: highest random read-write IOPS 50000 per disk (default)
	// - PL2: single disk maximum random read-write IOPS 100000
	// - PL3: single disk maximum random read-write IOPS 1 million.
	PerformanceLevel pulumi.StringPtrInput
	// Number of strips. Required when the EnableRaid parameter is true.Value range: Currently, only 8 stripes are supported.
	RaidStripeUnitNumber pulumi.IntPtrInput
	// Size of database file system, unit GiB.
	Size pulumi.IntInput
	// The ID of the snapshot used to create the DBFS instance.
	SnapshotId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The usage scenario of DBFS. Value range:
	// - MySQL 5.7
	// - PostgreSQL
	// - MongoDB.
	UsedScene pulumi.StringPtrInput
	// The ID of the zone to which the database file system belongs.
	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 (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"
		example, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{
			AvailabilityZone:   pulumi.StringRef(zoneId),
			InstanceTypeFamily: pulumi.StringRef("ecs.g7se"),
		}, nil)
		if err != nil {
			return err
		}
		exampleGetImages, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{
			InstanceType: pulumi.StringRef(example.InstanceTypes[len(example.InstanceTypes)-1].Id),
			NameRegex:    pulumi.StringRef("^aliyun_2_1903_x64_20G_alibase_20231221.vhd"),
			Owners:       pulumi.StringRef("system"),
		}, nil)
		if err != nil {
			return err
		}
		_default, err := vpc.GetNetworks(ctx, &vpc.GetNetworksArgs{
			NameRegex: pulumi.StringRef("^default-NODELETING$"),
		}, nil)
		if err != nil {
			return err
		}
		defaultGetSwitches, err := vpc.GetSwitches(ctx, &vpc.GetSwitchesArgs{
			VpcId:  pulumi.StringRef(_default.Ids[0]),
			ZoneId: pulumi.StringRef(zoneId),
		}, nil)
		if err != nil {
			return err
		}
		exampleSecurityGroup, err := ecs.NewSecurityGroup(ctx, "example", &ecs.SecurityGroupArgs{
			Name:  pulumi.String(name),
			VpcId: pulumi.String(_default.Ids[0]),
		})
		if err != nil {
			return err
		}
		defaultInstance, err := ecs.NewInstance(ctx, "default", &ecs.InstanceArgs{
			AvailabilityZone: pulumi.String(zoneId),
			InstanceName:     pulumi.String(name),
			ImageId:          pulumi.String(exampleGetImages.Images[0].Id),
			InstanceType:     example.InstanceTypes[len(example.InstanceTypes)-1].Id,
			SecurityGroups: pulumi.StringArray{
				exampleSecurityGroup.ID(),
			},
			VswitchId:          pulumi.String(defaultGetSwitches.Ids[0]),
			SystemDiskCategory: pulumi.String("cloud_essd"),
		})
		if err != nil {
			return err
		}
		defaultInstance2, err := databasefilesystem.NewInstance(ctx, "default", &databasefilesystem.InstanceArgs{
			Category:         pulumi.String("enterprise"),
			ZoneId:           defaultInstance.AvailabilityZone,
			PerformanceLevel: pulumi.String("PL1"),
			FsName:           pulumi.String(name),
			Size:             pulumi.Int(100),
		})
		if err != nil {
			return err
		}
		_, err = databasefilesystem.NewInstanceAttachment(ctx, "example", &databasefilesystem.InstanceAttachmentArgs{
			EcsId:      defaultInstance.ID(),
			InstanceId: defaultInstance2.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) Index added in v3.18.0

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) MapIndex added in v3.18.0

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

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

The ID of the database file system.

func (InstanceAttachmentOutput) Status added in v3.27.0

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.
	//
	// The following arguments will be discarded. Please use new fields as soon as possible:
	EcsId *string `pulumi:"ecsId"`
}

type InstanceEcsListArgs

type InstanceEcsListArgs struct {
	// The ID of the ECS instance.
	//
	// The following arguments will be discarded. Please use new fields as soon as possible:
	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 (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

The ID of the ECS instance.

The following arguments will be discarded. Please use new fields as soon as possible:

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 (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) AdvancedFeatures added in v3.45.0

func (o InstanceOutput) AdvancedFeatures() pulumi.StringOutput

The number of CPU cores and the upper limit of memory used by the database file storage instance.

func (InstanceOutput) Category added in v3.27.0

func (o InstanceOutput) Category() pulumi.StringOutput

Category of database file system.

func (InstanceOutput) CreateTime added in v3.45.0

func (o InstanceOutput) CreateTime() pulumi.StringOutput

The creation time of the resource.

func (InstanceOutput) DeleteSnapshot added in v3.27.0

func (o InstanceOutput) DeleteSnapshot() pulumi.BoolPtrOutput

Whether to delete the original snapshot after creating DBFS using the snapshot.

func (InstanceOutput) EcsLists deprecated added in v3.27.0

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. See `ecsList` below.

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 DBFS in RAID mode. If created in RAID mode, the capacity is at least 66GB.Valid values: true or false. Default value: false.

func (InstanceOutput) Encryption added in v3.27.0

func (o InstanceOutput) Encryption() pulumi.BoolPtrOutput

Whether to encrypt DBFS.Valid values: true or false. Default value: false.

func (InstanceOutput) FsName added in v3.45.0

func (o InstanceOutput) FsName() pulumi.StringOutput

Database file system name.

func (InstanceOutput) InstanceName deprecated added in v3.27.0

func (o InstanceOutput) InstanceName() pulumi.StringOutput

Deprecated: Field 'instance_name' has been deprecated since provider version 1.212.0. New field 'fs_name' instead.

func (InstanceOutput) InstanceType added in v3.45.0

func (o InstanceOutput) InstanceType() pulumi.StringPtrOutput

Instance type. Value range: - dbfs.small - dbfs.medium - dbfs.large (default)

func (InstanceOutput) KmsKeyId added in v3.27.0

func (o InstanceOutput) KmsKeyId() pulumi.StringPtrOutput

The ID of the KMS key used by DBFS.

func (InstanceOutput) PerformanceLevel added in v3.27.0

func (o InstanceOutput) PerformanceLevel() pulumi.StringOutput

When you create a DBFS instance, set the performance level of the DBFS instance. Value range: - PL0: single disk maximum random read-write IOPS 10000 - PL1: highest random read-write IOPS 50000 per disk (default) - PL2: single disk maximum random read-write IOPS 100000 - PL3: single disk maximum random read-write IOPS 1 million.

func (InstanceOutput) RaidStripeUnitNumber added in v3.27.0

func (o InstanceOutput) RaidStripeUnitNumber() pulumi.IntPtrOutput

Number of strips. Required when the EnableRaid parameter is true.Value range: Currently, only 8 stripes are supported.

func (InstanceOutput) Size added in v3.27.0

func (o InstanceOutput) Size() pulumi.IntOutput

Size of database file system, unit GiB.

func (InstanceOutput) SnapshotId added in v3.27.0

func (o InstanceOutput) SnapshotId() pulumi.StringOutput

The ID of the snapshot used to create the DBFS instance.

func (InstanceOutput) Status added in v3.27.0

func (o InstanceOutput) Status() pulumi.StringOutput

The status of the resource.

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) UsedScene added in v3.45.0

func (o InstanceOutput) UsedScene() pulumi.StringPtrOutput

The usage scenario of DBFS. Value range: - MySQL 5.7 - PostgreSQL - MongoDB.

func (InstanceOutput) ZoneId added in v3.27.0

func (o InstanceOutput) ZoneId() pulumi.StringOutput

The ID of the zone to which the database file system belongs.

type InstanceState

type InstanceState struct {
	// The number of CPU cores and the upper limit of memory used by the database file storage instance.
	AdvancedFeatures pulumi.StringPtrInput
	// Category of database file system.
	Category pulumi.StringPtrInput
	// The creation time of the resource.
	CreateTime pulumi.StringPtrInput
	// Whether to delete the original snapshot after creating DBFS using the snapshot.
	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. See `ecsList` below.
	//
	// 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 DBFS in RAID mode. If created in RAID mode, the capacity is at least 66GB.Valid values: true or false. Default value: false.
	EnableRaid pulumi.BoolPtrInput
	// Whether to encrypt DBFS.Valid values: true or false. Default value: false.
	Encryption pulumi.BoolPtrInput
	// Database file system name.
	FsName pulumi.StringPtrInput
	// Deprecated: Field 'instance_name' has been deprecated since provider version 1.212.0. New field 'fs_name' instead.
	InstanceName pulumi.StringPtrInput
	// Instance type. Value range:
	// - dbfs.small
	// - dbfs.medium
	// - dbfs.large (default)
	InstanceType pulumi.StringPtrInput
	// The ID of the KMS key used by DBFS.
	KmsKeyId pulumi.StringPtrInput
	// When you create a DBFS instance, set the performance level of the DBFS instance. Value range:
	// - PL0: single disk maximum random read-write IOPS 10000
	// - PL1: highest random read-write IOPS 50000 per disk (default)
	// - PL2: single disk maximum random read-write IOPS 100000
	// - PL3: single disk maximum random read-write IOPS 1 million.
	PerformanceLevel pulumi.StringPtrInput
	// Number of strips. Required when the EnableRaid parameter is true.Value range: Currently, only 8 stripes are supported.
	RaidStripeUnitNumber pulumi.IntPtrInput
	// Size of database file system, unit GiB.
	Size pulumi.IntPtrInput
	// The ID of the snapshot used to create the DBFS instance.
	SnapshotId pulumi.StringPtrInput
	// The status of the resource.
	Status pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The usage scenario of DBFS. Value range:
	// - MySQL 5.7
	// - PostgreSQL
	// - MongoDB.
	UsedScene pulumi.StringPtrInput
	// The ID of the zone to which the database file system belongs.
	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, "service_linked_role", &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) Index added in v3.18.0

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 (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

The product name for SLR. Dbfs can automatically create the following service-linked roles: `AliyunServiceRoleForDbfs`.

func (ServiceLinkedRoleOutput) Status added in v3.27.0

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"
		example, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{
			AvailabilityZone:   pulumi.StringRef(zoneId),
			InstanceTypeFamily: pulumi.StringRef("ecs.g7se"),
		}, nil)
		if err != nil {
			return err
		}
		exampleGetImages, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{
			InstanceType: pulumi.StringRef(example.InstanceTypes[len(example.InstanceTypes)-1].Id),
			NameRegex:    pulumi.StringRef("^aliyun_2_1903_x64_20G_alibase_20231221.vhd"),
			Owners:       pulumi.StringRef("system"),
		}, nil)
		if err != nil {
			return err
		}
		_default, err := vpc.GetNetworks(ctx, &vpc.GetNetworksArgs{
			NameRegex: pulumi.StringRef("^default-NODELETING$"),
		}, nil)
		if err != nil {
			return err
		}
		defaultGetSwitches, err := vpc.GetSwitches(ctx, &vpc.GetSwitchesArgs{
			VpcId:  pulumi.StringRef(_default.Ids[0]),
			ZoneId: pulumi.StringRef(zoneId),
		}, nil)
		if err != nil {
			return err
		}
		exampleSecurityGroup, err := ecs.NewSecurityGroup(ctx, "example", &ecs.SecurityGroupArgs{
			Name:  pulumi.String(name),
			VpcId: pulumi.String(_default.Ids[0]),
		})
		if err != nil {
			return err
		}
		defaultInstance, err := ecs.NewInstance(ctx, "default", &ecs.InstanceArgs{
			AvailabilityZone: pulumi.String(zoneId),
			InstanceName:     pulumi.String(name),
			ImageId:          pulumi.String(exampleGetImages.Images[0].Id),
			InstanceType:     example.InstanceTypes[len(example.InstanceTypes)-1].Id,
			SecurityGroups: pulumi.StringArray{
				exampleSecurityGroup.ID(),
			},
			VswitchId:          pulumi.String(defaultGetSwitches.Ids[0]),
			SystemDiskCategory: pulumi.String("cloud_essd"),
		})
		if err != nil {
			return err
		}
		defaultInstance2, err := databasefilesystem.NewInstance(ctx, "default", &databasefilesystem.InstanceArgs{
			Category:         pulumi.String("enterprise"),
			ZoneId:           defaultInstance.AvailabilityZone,
			PerformanceLevel: pulumi.String("PL1"),
			FsName:           pulumi.String(name),
			Size:             pulumi.Int(100),
		})
		if err != nil {
			return err
		}
		defaultInstanceAttachment, err := databasefilesystem.NewInstanceAttachment(ctx, "default", &databasefilesystem.InstanceAttachmentArgs{
			EcsId:      defaultInstance.ID(),
			InstanceId: defaultInstance2.ID(),
		})
		if err != nil {
			return err
		}
		_, err = databasefilesystem.NewSnapshot(ctx, "example", &databasefilesystem.SnapshotArgs{
			InstanceId:    defaultInstanceAttachment.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) ElementType() reflect.Type

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 (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 (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

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

Jump to

Keyboard shortcuts

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