dfs

package
v3.56.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 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 AccessGroup

type AccessGroup struct {
	pulumi.CustomResourceState

	// The permission group name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
	AccessGroupName pulumi.StringOutput `pulumi:"accessGroupName"`
	// The creation time of the permission group resource.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The permission group description.  No more than 32 characters in length.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The permission group type. Only VPC (VPC) is supported.
	NetworkType pulumi.StringOutput `pulumi:"networkType"`
}

Provides a DFS Access Group resource.

For information about DFS Access Group and how to use it, see [What is Access Group](https://www.alibabacloud.com/help/en/aibaba-cloud-storage-services/latest/apsara-file-storage-for-hdfs).

> **NOTE:** Available since v1.133.0.

## Example Usage

Basic Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/dfs"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
			Min: 10000,
			Max: 99999,
		})
		if err != nil {
			return err
		}
		_, err = dfs.NewAccessGroup(ctx, "default", &dfs.AccessGroupArgs{
			AccessGroupName: pulumi.String(fmt.Sprintf("tf-example-%v", _default.Result)),
			NetworkType:     pulumi.String("VPC"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

DFS Access Group can be imported using the id, e.g.

```sh $ pulumi import alicloud:dfs/accessGroup:AccessGroup example <id> ```

func GetAccessGroup

func GetAccessGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AccessGroupState, opts ...pulumi.ResourceOption) (*AccessGroup, error)

GetAccessGroup gets an existing AccessGroup 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 NewAccessGroup

func NewAccessGroup(ctx *pulumi.Context,
	name string, args *AccessGroupArgs, opts ...pulumi.ResourceOption) (*AccessGroup, error)

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

func (*AccessGroup) ElementType

func (*AccessGroup) ElementType() reflect.Type

func (*AccessGroup) ToAccessGroupOutput

func (i *AccessGroup) ToAccessGroupOutput() AccessGroupOutput

func (*AccessGroup) ToAccessGroupOutputWithContext

func (i *AccessGroup) ToAccessGroupOutputWithContext(ctx context.Context) AccessGroupOutput

type AccessGroupArgs

type AccessGroupArgs struct {
	// The permission group name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
	AccessGroupName pulumi.StringInput
	// The permission group description.  No more than 32 characters in length.
	Description pulumi.StringPtrInput
	// The permission group type. Only VPC (VPC) is supported.
	NetworkType pulumi.StringInput
}

The set of arguments for constructing a AccessGroup resource.

func (AccessGroupArgs) ElementType

func (AccessGroupArgs) ElementType() reflect.Type

type AccessGroupArray

type AccessGroupArray []AccessGroupInput

func (AccessGroupArray) ElementType

func (AccessGroupArray) ElementType() reflect.Type

func (AccessGroupArray) ToAccessGroupArrayOutput

func (i AccessGroupArray) ToAccessGroupArrayOutput() AccessGroupArrayOutput

func (AccessGroupArray) ToAccessGroupArrayOutputWithContext

func (i AccessGroupArray) ToAccessGroupArrayOutputWithContext(ctx context.Context) AccessGroupArrayOutput

type AccessGroupArrayInput

type AccessGroupArrayInput interface {
	pulumi.Input

	ToAccessGroupArrayOutput() AccessGroupArrayOutput
	ToAccessGroupArrayOutputWithContext(context.Context) AccessGroupArrayOutput
}

AccessGroupArrayInput is an input type that accepts AccessGroupArray and AccessGroupArrayOutput values. You can construct a concrete instance of `AccessGroupArrayInput` via:

AccessGroupArray{ AccessGroupArgs{...} }

type AccessGroupArrayOutput

type AccessGroupArrayOutput struct{ *pulumi.OutputState }

func (AccessGroupArrayOutput) ElementType

func (AccessGroupArrayOutput) ElementType() reflect.Type

func (AccessGroupArrayOutput) Index

func (AccessGroupArrayOutput) ToAccessGroupArrayOutput

func (o AccessGroupArrayOutput) ToAccessGroupArrayOutput() AccessGroupArrayOutput

func (AccessGroupArrayOutput) ToAccessGroupArrayOutputWithContext

func (o AccessGroupArrayOutput) ToAccessGroupArrayOutputWithContext(ctx context.Context) AccessGroupArrayOutput

type AccessGroupInput

type AccessGroupInput interface {
	pulumi.Input

	ToAccessGroupOutput() AccessGroupOutput
	ToAccessGroupOutputWithContext(ctx context.Context) AccessGroupOutput
}

type AccessGroupMap

type AccessGroupMap map[string]AccessGroupInput

func (AccessGroupMap) ElementType

func (AccessGroupMap) ElementType() reflect.Type

func (AccessGroupMap) ToAccessGroupMapOutput

func (i AccessGroupMap) ToAccessGroupMapOutput() AccessGroupMapOutput

func (AccessGroupMap) ToAccessGroupMapOutputWithContext

func (i AccessGroupMap) ToAccessGroupMapOutputWithContext(ctx context.Context) AccessGroupMapOutput

type AccessGroupMapInput

type AccessGroupMapInput interface {
	pulumi.Input

	ToAccessGroupMapOutput() AccessGroupMapOutput
	ToAccessGroupMapOutputWithContext(context.Context) AccessGroupMapOutput
}

AccessGroupMapInput is an input type that accepts AccessGroupMap and AccessGroupMapOutput values. You can construct a concrete instance of `AccessGroupMapInput` via:

AccessGroupMap{ "key": AccessGroupArgs{...} }

type AccessGroupMapOutput

type AccessGroupMapOutput struct{ *pulumi.OutputState }

func (AccessGroupMapOutput) ElementType

func (AccessGroupMapOutput) ElementType() reflect.Type

func (AccessGroupMapOutput) MapIndex

func (AccessGroupMapOutput) ToAccessGroupMapOutput

func (o AccessGroupMapOutput) ToAccessGroupMapOutput() AccessGroupMapOutput

func (AccessGroupMapOutput) ToAccessGroupMapOutputWithContext

func (o AccessGroupMapOutput) ToAccessGroupMapOutputWithContext(ctx context.Context) AccessGroupMapOutput

type AccessGroupOutput

type AccessGroupOutput struct{ *pulumi.OutputState }

func (AccessGroupOutput) AccessGroupName added in v3.27.0

func (o AccessGroupOutput) AccessGroupName() pulumi.StringOutput

The permission group name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).

func (AccessGroupOutput) CreateTime added in v3.50.0

func (o AccessGroupOutput) CreateTime() pulumi.StringOutput

The creation time of the permission group resource.

func (AccessGroupOutput) Description added in v3.27.0

func (o AccessGroupOutput) Description() pulumi.StringPtrOutput

The permission group description. No more than 32 characters in length.

func (AccessGroupOutput) ElementType

func (AccessGroupOutput) ElementType() reflect.Type

func (AccessGroupOutput) NetworkType added in v3.27.0

func (o AccessGroupOutput) NetworkType() pulumi.StringOutput

The permission group type. Only VPC (VPC) is supported.

func (AccessGroupOutput) ToAccessGroupOutput

func (o AccessGroupOutput) ToAccessGroupOutput() AccessGroupOutput

func (AccessGroupOutput) ToAccessGroupOutputWithContext

func (o AccessGroupOutput) ToAccessGroupOutputWithContext(ctx context.Context) AccessGroupOutput

type AccessGroupState

type AccessGroupState struct {
	// The permission group name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
	AccessGroupName pulumi.StringPtrInput
	// The creation time of the permission group resource.
	CreateTime pulumi.StringPtrInput
	// The permission group description.  No more than 32 characters in length.
	Description pulumi.StringPtrInput
	// The permission group type. Only VPC (VPC) is supported.
	NetworkType pulumi.StringPtrInput
}

func (AccessGroupState) ElementType

func (AccessGroupState) ElementType() reflect.Type

type AccessRule added in v3.9.0

type AccessRule struct {
	pulumi.CustomResourceState

	// Permission group resource ID. You must specify the permission group ID when creating a permission rule.
	AccessGroupId pulumi.StringOutput `pulumi:"accessGroupId"`
	// The unique identity of the permission rule, which is used to retrieve the permission rule for a specific day in the permission group.
	AccessRuleId pulumi.StringOutput `pulumi:"accessRuleId"`
	// Permission rule resource creation time.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Permission rule description.  No more than 32 characters in length.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The IP address or network segment of the authorized object.
	NetworkSegment pulumi.StringOutput `pulumi:"networkSegment"`
	// Permission rule priority. When the same authorization object matches multiple rules, the high-priority rule takes effect. Value range: 1~100,1 is the highest priority.
	Priority pulumi.IntOutput `pulumi:"priority"`
	// The read and write permissions of the authorized object on the file system. Value: RDWR: readable and writable RDONLY: Read only.
	RwAccessType pulumi.StringOutput `pulumi:"rwAccessType"`
}

Provides a DFS Access Rule resource.

For information about DFS Access Rule and how to use it, see [What is Access Rule](https://www.alibabacloud.com/help/en/aibaba-cloud-storage-services/latest/apsara-file-storage-for-hdfs).

> **NOTE:** Available since v1.140.0.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/dfs"
"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 := "example_name"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_, err := dfs.NewAccessGroup(ctx, "default", &dfs.AccessGroupArgs{
			NetworkType:     pulumi.String("VPC"),
			AccessGroupName: pulumi.String(name),
			Description:     pulumi.String(name),
		})
		if err != nil {
			return err
		}
		_, err = dfs.NewAccessRule(ctx, "default", &dfs.AccessRuleArgs{
			NetworkSegment: pulumi.String("192.0.2.0/24"),
			AccessGroupId:  _default.ID(),
			Description:    pulumi.String(name),
			RwAccessType:   pulumi.String("RDWR"),
			Priority:       pulumi.Int(10),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

DFS Access Rule can be imported using the id, e.g.

```sh $ pulumi import alicloud:dfs/accessRule:AccessRule example <access_group_id>:<access_rule_id> ```

func GetAccessRule added in v3.9.0

func GetAccessRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AccessRuleState, opts ...pulumi.ResourceOption) (*AccessRule, error)

GetAccessRule gets an existing AccessRule 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 NewAccessRule added in v3.9.0

func NewAccessRule(ctx *pulumi.Context,
	name string, args *AccessRuleArgs, opts ...pulumi.ResourceOption) (*AccessRule, error)

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

func (*AccessRule) ElementType added in v3.9.0

func (*AccessRule) ElementType() reflect.Type

func (*AccessRule) ToAccessRuleOutput added in v3.9.0

func (i *AccessRule) ToAccessRuleOutput() AccessRuleOutput

func (*AccessRule) ToAccessRuleOutputWithContext added in v3.9.0

func (i *AccessRule) ToAccessRuleOutputWithContext(ctx context.Context) AccessRuleOutput

type AccessRuleArgs added in v3.9.0

type AccessRuleArgs struct {
	// Permission group resource ID. You must specify the permission group ID when creating a permission rule.
	AccessGroupId pulumi.StringInput
	// Permission rule description.  No more than 32 characters in length.
	Description pulumi.StringPtrInput
	// The IP address or network segment of the authorized object.
	NetworkSegment pulumi.StringInput
	// Permission rule priority. When the same authorization object matches multiple rules, the high-priority rule takes effect. Value range: 1~100,1 is the highest priority.
	Priority pulumi.IntInput
	// The read and write permissions of the authorized object on the file system. Value: RDWR: readable and writable RDONLY: Read only.
	RwAccessType pulumi.StringInput
}

The set of arguments for constructing a AccessRule resource.

func (AccessRuleArgs) ElementType added in v3.9.0

func (AccessRuleArgs) ElementType() reflect.Type

type AccessRuleArray added in v3.9.0

type AccessRuleArray []AccessRuleInput

func (AccessRuleArray) ElementType added in v3.9.0

func (AccessRuleArray) ElementType() reflect.Type

func (AccessRuleArray) ToAccessRuleArrayOutput added in v3.9.0

func (i AccessRuleArray) ToAccessRuleArrayOutput() AccessRuleArrayOutput

func (AccessRuleArray) ToAccessRuleArrayOutputWithContext added in v3.9.0

func (i AccessRuleArray) ToAccessRuleArrayOutputWithContext(ctx context.Context) AccessRuleArrayOutput

type AccessRuleArrayInput added in v3.9.0

type AccessRuleArrayInput interface {
	pulumi.Input

	ToAccessRuleArrayOutput() AccessRuleArrayOutput
	ToAccessRuleArrayOutputWithContext(context.Context) AccessRuleArrayOutput
}

AccessRuleArrayInput is an input type that accepts AccessRuleArray and AccessRuleArrayOutput values. You can construct a concrete instance of `AccessRuleArrayInput` via:

AccessRuleArray{ AccessRuleArgs{...} }

type AccessRuleArrayOutput added in v3.9.0

type AccessRuleArrayOutput struct{ *pulumi.OutputState }

func (AccessRuleArrayOutput) ElementType added in v3.9.0

func (AccessRuleArrayOutput) ElementType() reflect.Type

func (AccessRuleArrayOutput) Index added in v3.9.0

func (AccessRuleArrayOutput) ToAccessRuleArrayOutput added in v3.9.0

func (o AccessRuleArrayOutput) ToAccessRuleArrayOutput() AccessRuleArrayOutput

func (AccessRuleArrayOutput) ToAccessRuleArrayOutputWithContext added in v3.9.0

func (o AccessRuleArrayOutput) ToAccessRuleArrayOutputWithContext(ctx context.Context) AccessRuleArrayOutput

type AccessRuleInput added in v3.9.0

type AccessRuleInput interface {
	pulumi.Input

	ToAccessRuleOutput() AccessRuleOutput
	ToAccessRuleOutputWithContext(ctx context.Context) AccessRuleOutput
}

type AccessRuleMap added in v3.9.0

type AccessRuleMap map[string]AccessRuleInput

func (AccessRuleMap) ElementType added in v3.9.0

func (AccessRuleMap) ElementType() reflect.Type

func (AccessRuleMap) ToAccessRuleMapOutput added in v3.9.0

func (i AccessRuleMap) ToAccessRuleMapOutput() AccessRuleMapOutput

func (AccessRuleMap) ToAccessRuleMapOutputWithContext added in v3.9.0

func (i AccessRuleMap) ToAccessRuleMapOutputWithContext(ctx context.Context) AccessRuleMapOutput

type AccessRuleMapInput added in v3.9.0

type AccessRuleMapInput interface {
	pulumi.Input

	ToAccessRuleMapOutput() AccessRuleMapOutput
	ToAccessRuleMapOutputWithContext(context.Context) AccessRuleMapOutput
}

AccessRuleMapInput is an input type that accepts AccessRuleMap and AccessRuleMapOutput values. You can construct a concrete instance of `AccessRuleMapInput` via:

AccessRuleMap{ "key": AccessRuleArgs{...} }

type AccessRuleMapOutput added in v3.9.0

type AccessRuleMapOutput struct{ *pulumi.OutputState }

func (AccessRuleMapOutput) ElementType added in v3.9.0

func (AccessRuleMapOutput) ElementType() reflect.Type

func (AccessRuleMapOutput) MapIndex added in v3.9.0

func (AccessRuleMapOutput) ToAccessRuleMapOutput added in v3.9.0

func (o AccessRuleMapOutput) ToAccessRuleMapOutput() AccessRuleMapOutput

func (AccessRuleMapOutput) ToAccessRuleMapOutputWithContext added in v3.9.0

func (o AccessRuleMapOutput) ToAccessRuleMapOutputWithContext(ctx context.Context) AccessRuleMapOutput

type AccessRuleOutput added in v3.9.0

type AccessRuleOutput struct{ *pulumi.OutputState }

func (AccessRuleOutput) AccessGroupId added in v3.27.0

func (o AccessRuleOutput) AccessGroupId() pulumi.StringOutput

Permission group resource ID. You must specify the permission group ID when creating a permission rule.

func (AccessRuleOutput) AccessRuleId added in v3.27.0

func (o AccessRuleOutput) AccessRuleId() pulumi.StringOutput

The unique identity of the permission rule, which is used to retrieve the permission rule for a specific day in the permission group.

func (AccessRuleOutput) CreateTime added in v3.50.0

func (o AccessRuleOutput) CreateTime() pulumi.StringOutput

Permission rule resource creation time.

func (AccessRuleOutput) Description added in v3.27.0

func (o AccessRuleOutput) Description() pulumi.StringPtrOutput

Permission rule description. No more than 32 characters in length.

func (AccessRuleOutput) ElementType added in v3.9.0

func (AccessRuleOutput) ElementType() reflect.Type

func (AccessRuleOutput) NetworkSegment added in v3.27.0

func (o AccessRuleOutput) NetworkSegment() pulumi.StringOutput

The IP address or network segment of the authorized object.

func (AccessRuleOutput) Priority added in v3.27.0

func (o AccessRuleOutput) Priority() pulumi.IntOutput

Permission rule priority. When the same authorization object matches multiple rules, the high-priority rule takes effect. Value range: 1~100,1 is the highest priority.

func (AccessRuleOutput) RwAccessType added in v3.27.0

func (o AccessRuleOutput) RwAccessType() pulumi.StringOutput

The read and write permissions of the authorized object on the file system. Value: RDWR: readable and writable RDONLY: Read only.

func (AccessRuleOutput) ToAccessRuleOutput added in v3.9.0

func (o AccessRuleOutput) ToAccessRuleOutput() AccessRuleOutput

func (AccessRuleOutput) ToAccessRuleOutputWithContext added in v3.9.0

func (o AccessRuleOutput) ToAccessRuleOutputWithContext(ctx context.Context) AccessRuleOutput

type AccessRuleState added in v3.9.0

type AccessRuleState struct {
	// Permission group resource ID. You must specify the permission group ID when creating a permission rule.
	AccessGroupId pulumi.StringPtrInput
	// The unique identity of the permission rule, which is used to retrieve the permission rule for a specific day in the permission group.
	AccessRuleId pulumi.StringPtrInput
	// Permission rule resource creation time.
	CreateTime pulumi.StringPtrInput
	// Permission rule description.  No more than 32 characters in length.
	Description pulumi.StringPtrInput
	// The IP address or network segment of the authorized object.
	NetworkSegment pulumi.StringPtrInput
	// Permission rule priority. When the same authorization object matches multiple rules, the high-priority rule takes effect. Value range: 1~100,1 is the highest priority.
	Priority pulumi.IntPtrInput
	// The read and write permissions of the authorized object on the file system. Value: RDWR: readable and writable RDONLY: Read only.
	RwAccessType pulumi.StringPtrInput
}

func (AccessRuleState) ElementType added in v3.9.0

func (AccessRuleState) ElementType() reflect.Type

type FileSystem added in v3.9.0

type FileSystem struct {
	pulumi.CustomResourceState

	// The creation time of the file system instance.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Redundancy mode of the file system. Value:
	// - LRS (default): Local redundancy.
	// - ZRS: Same-City redundancy. When ZRS is selected, zoneId is a string consisting of multiple zones that are expected to be redundant in the same city, for example,  'zoneId1,zoneId2 '.
	DataRedundancyType pulumi.StringPtrOutput `pulumi:"dataRedundancyType"`
	// The description of the file system resource. No more than 32 characters in length.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The file system name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
	FileSystemName pulumi.StringOutput `pulumi:"fileSystemName"`
	// Save set sequence number, the user selects the content of the specified sequence number in the Save set.
	PartitionNumber pulumi.IntPtrOutput `pulumi:"partitionNumber"`
	// The protocol type.  Only HDFS(Hadoop Distributed File System) is supported.
	ProtocolType pulumi.StringOutput `pulumi:"protocolType"`
	// Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
	ProvisionedThroughputInMiBps pulumi.IntPtrOutput `pulumi:"provisionedThroughputInMiBps"`
	// File system capacity.  When the actual amount of data stored reaches the capacity of the file system, data cannot be written.  Unit: GiB.
	SpaceCapacity pulumi.IntOutput `pulumi:"spaceCapacity"`
	// Save set identity, used to select a user-specified save set.
	StorageSetName pulumi.StringPtrOutput `pulumi:"storageSetName"`
	// The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
	StorageType pulumi.StringOutput `pulumi:"storageType"`
	// The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.
	ThroughputMode pulumi.StringOutput `pulumi:"throughputMode"`
	// Zone Id, which is used to create file system resources to the specified zone.
	ZoneId pulumi.StringOutput `pulumi:"zoneId"`
}

Provides a DFS File System resource.

For information about DFS File System and how to use it, see [What is File System](https://www.alibabacloud.com/help/en/aibaba-cloud-storage-services/latest/apsara-file-storage-for-hdfs).

> **NOTE:** Available since v1.140.0.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/dfs"
"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
		}
		_default, err := dfs.GetZones(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = dfs.NewFileSystem(ctx, "default", &dfs.FileSystemArgs{
			StorageType:                  pulumi.String(_default.Zones[0].Options[0].StorageType),
			ZoneId:                       pulumi.String(_default.Zones[0].ZoneId),
			ProtocolType:                 pulumi.String("HDFS"),
			Description:                  pulumi.String(name),
			FileSystemName:               pulumi.String(name),
			ThroughputMode:               pulumi.String("Provisioned"),
			SpaceCapacity:                pulumi.Int(1024),
			ProvisionedThroughputInMiBps: pulumi.Int(512),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

DFS File System can be imported using the id, e.g.

```sh $ pulumi import alicloud:dfs/fileSystem:FileSystem example <id> ```

func GetFileSystem added in v3.9.0

func GetFileSystem(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FileSystemState, opts ...pulumi.ResourceOption) (*FileSystem, error)

GetFileSystem gets an existing FileSystem 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 NewFileSystem added in v3.9.0

func NewFileSystem(ctx *pulumi.Context,
	name string, args *FileSystemArgs, opts ...pulumi.ResourceOption) (*FileSystem, error)

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

func (*FileSystem) ElementType added in v3.9.0

func (*FileSystem) ElementType() reflect.Type

func (*FileSystem) ToFileSystemOutput added in v3.9.0

func (i *FileSystem) ToFileSystemOutput() FileSystemOutput

func (*FileSystem) ToFileSystemOutputWithContext added in v3.9.0

func (i *FileSystem) ToFileSystemOutputWithContext(ctx context.Context) FileSystemOutput

type FileSystemArgs added in v3.9.0

type FileSystemArgs struct {
	// Redundancy mode of the file system. Value:
	// - LRS (default): Local redundancy.
	// - ZRS: Same-City redundancy. When ZRS is selected, zoneId is a string consisting of multiple zones that are expected to be redundant in the same city, for example,  'zoneId1,zoneId2 '.
	DataRedundancyType pulumi.StringPtrInput
	// The description of the file system resource. No more than 32 characters in length.
	Description pulumi.StringPtrInput
	// The file system name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
	FileSystemName pulumi.StringInput
	// Save set sequence number, the user selects the content of the specified sequence number in the Save set.
	PartitionNumber pulumi.IntPtrInput
	// The protocol type.  Only HDFS(Hadoop Distributed File System) is supported.
	ProtocolType pulumi.StringInput
	// Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
	ProvisionedThroughputInMiBps pulumi.IntPtrInput
	// File system capacity.  When the actual amount of data stored reaches the capacity of the file system, data cannot be written.  Unit: GiB.
	SpaceCapacity pulumi.IntInput
	// Save set identity, used to select a user-specified save set.
	StorageSetName pulumi.StringPtrInput
	// The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
	StorageType pulumi.StringInput
	// The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.
	ThroughputMode pulumi.StringPtrInput
	// Zone Id, which is used to create file system resources to the specified zone.
	ZoneId pulumi.StringInput
}

The set of arguments for constructing a FileSystem resource.

func (FileSystemArgs) ElementType added in v3.9.0

func (FileSystemArgs) ElementType() reflect.Type

type FileSystemArray added in v3.9.0

type FileSystemArray []FileSystemInput

func (FileSystemArray) ElementType added in v3.9.0

func (FileSystemArray) ElementType() reflect.Type

func (FileSystemArray) ToFileSystemArrayOutput added in v3.9.0

func (i FileSystemArray) ToFileSystemArrayOutput() FileSystemArrayOutput

func (FileSystemArray) ToFileSystemArrayOutputWithContext added in v3.9.0

func (i FileSystemArray) ToFileSystemArrayOutputWithContext(ctx context.Context) FileSystemArrayOutput

type FileSystemArrayInput added in v3.9.0

type FileSystemArrayInput interface {
	pulumi.Input

	ToFileSystemArrayOutput() FileSystemArrayOutput
	ToFileSystemArrayOutputWithContext(context.Context) FileSystemArrayOutput
}

FileSystemArrayInput is an input type that accepts FileSystemArray and FileSystemArrayOutput values. You can construct a concrete instance of `FileSystemArrayInput` via:

FileSystemArray{ FileSystemArgs{...} }

type FileSystemArrayOutput added in v3.9.0

type FileSystemArrayOutput struct{ *pulumi.OutputState }

func (FileSystemArrayOutput) ElementType added in v3.9.0

func (FileSystemArrayOutput) ElementType() reflect.Type

func (FileSystemArrayOutput) Index added in v3.9.0

func (FileSystemArrayOutput) ToFileSystemArrayOutput added in v3.9.0

func (o FileSystemArrayOutput) ToFileSystemArrayOutput() FileSystemArrayOutput

func (FileSystemArrayOutput) ToFileSystemArrayOutputWithContext added in v3.9.0

func (o FileSystemArrayOutput) ToFileSystemArrayOutputWithContext(ctx context.Context) FileSystemArrayOutput

type FileSystemInput added in v3.9.0

type FileSystemInput interface {
	pulumi.Input

	ToFileSystemOutput() FileSystemOutput
	ToFileSystemOutputWithContext(ctx context.Context) FileSystemOutput
}

type FileSystemMap added in v3.9.0

type FileSystemMap map[string]FileSystemInput

func (FileSystemMap) ElementType added in v3.9.0

func (FileSystemMap) ElementType() reflect.Type

func (FileSystemMap) ToFileSystemMapOutput added in v3.9.0

func (i FileSystemMap) ToFileSystemMapOutput() FileSystemMapOutput

func (FileSystemMap) ToFileSystemMapOutputWithContext added in v3.9.0

func (i FileSystemMap) ToFileSystemMapOutputWithContext(ctx context.Context) FileSystemMapOutput

type FileSystemMapInput added in v3.9.0

type FileSystemMapInput interface {
	pulumi.Input

	ToFileSystemMapOutput() FileSystemMapOutput
	ToFileSystemMapOutputWithContext(context.Context) FileSystemMapOutput
}

FileSystemMapInput is an input type that accepts FileSystemMap and FileSystemMapOutput values. You can construct a concrete instance of `FileSystemMapInput` via:

FileSystemMap{ "key": FileSystemArgs{...} }

type FileSystemMapOutput added in v3.9.0

type FileSystemMapOutput struct{ *pulumi.OutputState }

func (FileSystemMapOutput) ElementType added in v3.9.0

func (FileSystemMapOutput) ElementType() reflect.Type

func (FileSystemMapOutput) MapIndex added in v3.9.0

func (FileSystemMapOutput) ToFileSystemMapOutput added in v3.9.0

func (o FileSystemMapOutput) ToFileSystemMapOutput() FileSystemMapOutput

func (FileSystemMapOutput) ToFileSystemMapOutputWithContext added in v3.9.0

func (o FileSystemMapOutput) ToFileSystemMapOutputWithContext(ctx context.Context) FileSystemMapOutput

type FileSystemOutput added in v3.9.0

type FileSystemOutput struct{ *pulumi.OutputState }

func (FileSystemOutput) CreateTime added in v3.50.0

func (o FileSystemOutput) CreateTime() pulumi.StringOutput

The creation time of the file system instance.

func (FileSystemOutput) DataRedundancyType added in v3.50.0

func (o FileSystemOutput) DataRedundancyType() pulumi.StringPtrOutput

Redundancy mode of the file system. Value: - LRS (default): Local redundancy. - ZRS: Same-City redundancy. When ZRS is selected, zoneId is a string consisting of multiple zones that are expected to be redundant in the same city, for example, 'zoneId1,zoneId2 '.

func (FileSystemOutput) Description added in v3.27.0

func (o FileSystemOutput) Description() pulumi.StringPtrOutput

The description of the file system resource. No more than 32 characters in length.

func (FileSystemOutput) ElementType added in v3.9.0

func (FileSystemOutput) ElementType() reflect.Type

func (FileSystemOutput) FileSystemName added in v3.27.0

func (o FileSystemOutput) FileSystemName() pulumi.StringOutput

The file system name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).

func (FileSystemOutput) PartitionNumber added in v3.50.0

func (o FileSystemOutput) PartitionNumber() pulumi.IntPtrOutput

Save set sequence number, the user selects the content of the specified sequence number in the Save set.

func (FileSystemOutput) ProtocolType added in v3.27.0

func (o FileSystemOutput) ProtocolType() pulumi.StringOutput

The protocol type. Only HDFS(Hadoop Distributed File System) is supported.

func (FileSystemOutput) ProvisionedThroughputInMiBps added in v3.27.0

func (o FileSystemOutput) ProvisionedThroughputInMiBps() pulumi.IntPtrOutput

Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.

func (FileSystemOutput) SpaceCapacity added in v3.27.0

func (o FileSystemOutput) SpaceCapacity() pulumi.IntOutput

File system capacity. When the actual amount of data stored reaches the capacity of the file system, data cannot be written. Unit: GiB.

func (FileSystemOutput) StorageSetName added in v3.50.0

func (o FileSystemOutput) StorageSetName() pulumi.StringPtrOutput

Save set identity, used to select a user-specified save set.

func (FileSystemOutput) StorageType added in v3.27.0

func (o FileSystemOutput) StorageType() pulumi.StringOutput

The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.

func (FileSystemOutput) ThroughputMode added in v3.27.0

func (o FileSystemOutput) ThroughputMode() pulumi.StringOutput

The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.

func (FileSystemOutput) ToFileSystemOutput added in v3.9.0

func (o FileSystemOutput) ToFileSystemOutput() FileSystemOutput

func (FileSystemOutput) ToFileSystemOutputWithContext added in v3.9.0

func (o FileSystemOutput) ToFileSystemOutputWithContext(ctx context.Context) FileSystemOutput

func (FileSystemOutput) ZoneId added in v3.27.0

Zone Id, which is used to create file system resources to the specified zone.

type FileSystemState added in v3.9.0

type FileSystemState struct {
	// The creation time of the file system instance.
	CreateTime pulumi.StringPtrInput
	// Redundancy mode of the file system. Value:
	// - LRS (default): Local redundancy.
	// - ZRS: Same-City redundancy. When ZRS is selected, zoneId is a string consisting of multiple zones that are expected to be redundant in the same city, for example,  'zoneId1,zoneId2 '.
	DataRedundancyType pulumi.StringPtrInput
	// The description of the file system resource. No more than 32 characters in length.
	Description pulumi.StringPtrInput
	// The file system name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
	FileSystemName pulumi.StringPtrInput
	// Save set sequence number, the user selects the content of the specified sequence number in the Save set.
	PartitionNumber pulumi.IntPtrInput
	// The protocol type.  Only HDFS(Hadoop Distributed File System) is supported.
	ProtocolType pulumi.StringPtrInput
	// Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
	ProvisionedThroughputInMiBps pulumi.IntPtrInput
	// File system capacity.  When the actual amount of data stored reaches the capacity of the file system, data cannot be written.  Unit: GiB.
	SpaceCapacity pulumi.IntPtrInput
	// Save set identity, used to select a user-specified save set.
	StorageSetName pulumi.StringPtrInput
	// The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
	StorageType pulumi.StringPtrInput
	// The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.
	ThroughputMode pulumi.StringPtrInput
	// Zone Id, which is used to create file system resources to the specified zone.
	ZoneId pulumi.StringPtrInput
}

func (FileSystemState) ElementType added in v3.9.0

func (FileSystemState) ElementType() reflect.Type

type GetAccessGroupsArgs

type GetAccessGroupsArgs struct {
	// A list of Access Group IDs.
	Ids   []string `pulumi:"ids"`
	Limit *int     `pulumi:"limit"`
	// A regex string to filter results by Access Group name.
	NameRegex *string `pulumi:"nameRegex"`
	OrderBy   *string `pulumi:"orderBy"`
	OrderType *string `pulumi:"orderType"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile  *string `pulumi:"outputFile"`
	StartOffset *int    `pulumi:"startOffset"`
}

A collection of arguments for invoking getAccessGroups.

type GetAccessGroupsGroup

type GetAccessGroupsGroup struct {
	// The length of `description` does not exceed 100 bytes.
	AccessGroupId string `pulumi:"accessGroupId"`
	// The Name of Access Group. The length Of `accessGroupName` does not exceed 100 bytes.
	AccessGroupName string `pulumi:"accessGroupName"`
	// The CreateTime of Access Group.
	CreateTime string `pulumi:"createTime"`
	// The Description of Access Group. The length Of `description` does not exceed 100 bytes.
	Description string `pulumi:"description"`
	// The ID of the Access Group.
	Id string `pulumi:"id"`
	// The Number of attached mountpoint.
	MountPointCount int `pulumi:"mountPointCount"`
	// The NetworkType of Access Group. Valid values: `VPC`.
	NetworkType string `pulumi:"networkType"`
	// The Number of access rule.
	RuleCount int `pulumi:"ruleCount"`
}

type GetAccessGroupsGroupArgs

type GetAccessGroupsGroupArgs struct {
	// The length of `description` does not exceed 100 bytes.
	AccessGroupId pulumi.StringInput `pulumi:"accessGroupId"`
	// The Name of Access Group. The length Of `accessGroupName` does not exceed 100 bytes.
	AccessGroupName pulumi.StringInput `pulumi:"accessGroupName"`
	// The CreateTime of Access Group.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The Description of Access Group. The length Of `description` does not exceed 100 bytes.
	Description pulumi.StringInput `pulumi:"description"`
	// The ID of the Access Group.
	Id pulumi.StringInput `pulumi:"id"`
	// The Number of attached mountpoint.
	MountPointCount pulumi.IntInput `pulumi:"mountPointCount"`
	// The NetworkType of Access Group. Valid values: `VPC`.
	NetworkType pulumi.StringInput `pulumi:"networkType"`
	// The Number of access rule.
	RuleCount pulumi.IntInput `pulumi:"ruleCount"`
}

func (GetAccessGroupsGroupArgs) ElementType

func (GetAccessGroupsGroupArgs) ElementType() reflect.Type

func (GetAccessGroupsGroupArgs) ToGetAccessGroupsGroupOutput

func (i GetAccessGroupsGroupArgs) ToGetAccessGroupsGroupOutput() GetAccessGroupsGroupOutput

func (GetAccessGroupsGroupArgs) ToGetAccessGroupsGroupOutputWithContext

func (i GetAccessGroupsGroupArgs) ToGetAccessGroupsGroupOutputWithContext(ctx context.Context) GetAccessGroupsGroupOutput

type GetAccessGroupsGroupArray

type GetAccessGroupsGroupArray []GetAccessGroupsGroupInput

func (GetAccessGroupsGroupArray) ElementType

func (GetAccessGroupsGroupArray) ElementType() reflect.Type

func (GetAccessGroupsGroupArray) ToGetAccessGroupsGroupArrayOutput

func (i GetAccessGroupsGroupArray) ToGetAccessGroupsGroupArrayOutput() GetAccessGroupsGroupArrayOutput

func (GetAccessGroupsGroupArray) ToGetAccessGroupsGroupArrayOutputWithContext

func (i GetAccessGroupsGroupArray) ToGetAccessGroupsGroupArrayOutputWithContext(ctx context.Context) GetAccessGroupsGroupArrayOutput

type GetAccessGroupsGroupArrayInput

type GetAccessGroupsGroupArrayInput interface {
	pulumi.Input

	ToGetAccessGroupsGroupArrayOutput() GetAccessGroupsGroupArrayOutput
	ToGetAccessGroupsGroupArrayOutputWithContext(context.Context) GetAccessGroupsGroupArrayOutput
}

GetAccessGroupsGroupArrayInput is an input type that accepts GetAccessGroupsGroupArray and GetAccessGroupsGroupArrayOutput values. You can construct a concrete instance of `GetAccessGroupsGroupArrayInput` via:

GetAccessGroupsGroupArray{ GetAccessGroupsGroupArgs{...} }

type GetAccessGroupsGroupArrayOutput

type GetAccessGroupsGroupArrayOutput struct{ *pulumi.OutputState }

func (GetAccessGroupsGroupArrayOutput) ElementType

func (GetAccessGroupsGroupArrayOutput) Index

func (GetAccessGroupsGroupArrayOutput) ToGetAccessGroupsGroupArrayOutput

func (o GetAccessGroupsGroupArrayOutput) ToGetAccessGroupsGroupArrayOutput() GetAccessGroupsGroupArrayOutput

func (GetAccessGroupsGroupArrayOutput) ToGetAccessGroupsGroupArrayOutputWithContext

func (o GetAccessGroupsGroupArrayOutput) ToGetAccessGroupsGroupArrayOutputWithContext(ctx context.Context) GetAccessGroupsGroupArrayOutput

type GetAccessGroupsGroupInput

type GetAccessGroupsGroupInput interface {
	pulumi.Input

	ToGetAccessGroupsGroupOutput() GetAccessGroupsGroupOutput
	ToGetAccessGroupsGroupOutputWithContext(context.Context) GetAccessGroupsGroupOutput
}

GetAccessGroupsGroupInput is an input type that accepts GetAccessGroupsGroupArgs and GetAccessGroupsGroupOutput values. You can construct a concrete instance of `GetAccessGroupsGroupInput` via:

GetAccessGroupsGroupArgs{...}

type GetAccessGroupsGroupOutput

type GetAccessGroupsGroupOutput struct{ *pulumi.OutputState }

func (GetAccessGroupsGroupOutput) AccessGroupId

The length of `description` does not exceed 100 bytes.

func (GetAccessGroupsGroupOutput) AccessGroupName

func (o GetAccessGroupsGroupOutput) AccessGroupName() pulumi.StringOutput

The Name of Access Group. The length Of `accessGroupName` does not exceed 100 bytes.

func (GetAccessGroupsGroupOutput) CreateTime

The CreateTime of Access Group.

func (GetAccessGroupsGroupOutput) Description

The Description of Access Group. The length Of `description` does not exceed 100 bytes.

func (GetAccessGroupsGroupOutput) ElementType

func (GetAccessGroupsGroupOutput) ElementType() reflect.Type

func (GetAccessGroupsGroupOutput) Id

The ID of the Access Group.

func (GetAccessGroupsGroupOutput) MountPointCount

func (o GetAccessGroupsGroupOutput) MountPointCount() pulumi.IntOutput

The Number of attached mountpoint.

func (GetAccessGroupsGroupOutput) NetworkType

The NetworkType of Access Group. Valid values: `VPC`.

func (GetAccessGroupsGroupOutput) RuleCount

The Number of access rule.

func (GetAccessGroupsGroupOutput) ToGetAccessGroupsGroupOutput

func (o GetAccessGroupsGroupOutput) ToGetAccessGroupsGroupOutput() GetAccessGroupsGroupOutput

func (GetAccessGroupsGroupOutput) ToGetAccessGroupsGroupOutputWithContext

func (o GetAccessGroupsGroupOutput) ToGetAccessGroupsGroupOutputWithContext(ctx context.Context) GetAccessGroupsGroupOutput

type GetAccessGroupsOutputArgs added in v3.9.0

type GetAccessGroupsOutputArgs struct {
	// A list of Access Group IDs.
	Ids   pulumi.StringArrayInput `pulumi:"ids"`
	Limit pulumi.IntPtrInput      `pulumi:"limit"`
	// A regex string to filter results by Access Group name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	OrderBy   pulumi.StringPtrInput `pulumi:"orderBy"`
	OrderType pulumi.StringPtrInput `pulumi:"orderType"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile  pulumi.StringPtrInput `pulumi:"outputFile"`
	StartOffset pulumi.IntPtrInput    `pulumi:"startOffset"`
}

A collection of arguments for invoking getAccessGroups.

func (GetAccessGroupsOutputArgs) ElementType added in v3.9.0

func (GetAccessGroupsOutputArgs) ElementType() reflect.Type

type GetAccessGroupsResult

type GetAccessGroupsResult struct {
	Groups []GetAccessGroupsGroup `pulumi:"groups"`
	// The provider-assigned unique ID for this managed resource.
	Id          string   `pulumi:"id"`
	Ids         []string `pulumi:"ids"`
	Limit       *int     `pulumi:"limit"`
	NameRegex   *string  `pulumi:"nameRegex"`
	Names       []string `pulumi:"names"`
	OrderBy     *string  `pulumi:"orderBy"`
	OrderType   *string  `pulumi:"orderType"`
	OutputFile  *string  `pulumi:"outputFile"`
	StartOffset *int     `pulumi:"startOffset"`
}

A collection of values returned by getAccessGroups.

func GetAccessGroups

func GetAccessGroups(ctx *pulumi.Context, args *GetAccessGroupsArgs, opts ...pulumi.InvokeOption) (*GetAccessGroupsResult, error)

This data source provides the Apsara File Storage for HDFS Access Groups of the current Alibaba Cloud user.

> **NOTE:** Available in v1.133.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/dfs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := dfs.GetAccessGroups(ctx, &dfs.GetAccessGroupsArgs{
			Ids: []string{
				"example_id",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("dfsAccessGroupId1", ids.Groups[0].Id)
		nameRegex, err := dfs.GetAccessGroups(ctx, &dfs.GetAccessGroupsArgs{
			NameRegex: pulumi.StringRef("^my-AccessGroup"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("dfsAccessGroupId2", nameRegex.Groups[0].Id)
		return nil
	})
}

```

type GetAccessGroupsResultOutput added in v3.9.0

type GetAccessGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAccessGroups.

func GetAccessGroupsOutput added in v3.9.0

func (GetAccessGroupsResultOutput) ElementType added in v3.9.0

func (GetAccessGroupsResultOutput) Groups added in v3.9.0

func (GetAccessGroupsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetAccessGroupsResultOutput) Ids added in v3.9.0

func (GetAccessGroupsResultOutput) Limit added in v3.9.0

func (GetAccessGroupsResultOutput) NameRegex added in v3.9.0

func (GetAccessGroupsResultOutput) Names added in v3.9.0

func (GetAccessGroupsResultOutput) OrderBy added in v3.9.0

func (GetAccessGroupsResultOutput) OrderType added in v3.9.0

func (GetAccessGroupsResultOutput) OutputFile added in v3.9.0

func (GetAccessGroupsResultOutput) StartOffset added in v3.9.0

func (GetAccessGroupsResultOutput) ToGetAccessGroupsResultOutput added in v3.9.0

func (o GetAccessGroupsResultOutput) ToGetAccessGroupsResultOutput() GetAccessGroupsResultOutput

func (GetAccessGroupsResultOutput) ToGetAccessGroupsResultOutputWithContext added in v3.9.0

func (o GetAccessGroupsResultOutput) ToGetAccessGroupsResultOutputWithContext(ctx context.Context) GetAccessGroupsResultOutput

type GetAccessRulesArgs added in v3.9.0

type GetAccessRulesArgs struct {
	// The resource ID of the Access Group.
	AccessGroupId string `pulumi:"accessGroupId"`
	// A list of Access Rule IDs.
	Ids []string `pulumi:"ids"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getAccessRules.

type GetAccessRulesOutputArgs added in v3.9.0

type GetAccessRulesOutputArgs struct {
	// The resource ID of the Access Group.
	AccessGroupId pulumi.StringInput `pulumi:"accessGroupId"`
	// A list of Access Rule IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getAccessRules.

func (GetAccessRulesOutputArgs) ElementType added in v3.9.0

func (GetAccessRulesOutputArgs) ElementType() reflect.Type

type GetAccessRulesResult added in v3.9.0

type GetAccessRulesResult struct {
	AccessGroupId string `pulumi:"accessGroupId"`
	// The provider-assigned unique ID for this managed resource.
	Id         string               `pulumi:"id"`
	Ids        []string             `pulumi:"ids"`
	OutputFile *string              `pulumi:"outputFile"`
	Rules      []GetAccessRulesRule `pulumi:"rules"`
}

A collection of values returned by getAccessRules.

func GetAccessRules added in v3.9.0

func GetAccessRules(ctx *pulumi.Context, args *GetAccessRulesArgs, opts ...pulumi.InvokeOption) (*GetAccessRulesResult, error)

This data source provides the Dfs Access Rules of the current Alibaba Cloud user.

> **NOTE:** Available in v1.140.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/dfs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := dfs.GetAccessRules(ctx, &dfs.GetAccessRulesArgs{
			AccessGroupId: "example_value",
			Ids: []string{
				"example_value-1",
				"example_value-2",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("dfsAccessRuleId1", ids.Rules[0].Id)
		return nil
	})
}

```

type GetAccessRulesResultOutput added in v3.9.0

type GetAccessRulesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAccessRules.

func GetAccessRulesOutput added in v3.9.0

func GetAccessRulesOutput(ctx *pulumi.Context, args GetAccessRulesOutputArgs, opts ...pulumi.InvokeOption) GetAccessRulesResultOutput

func (GetAccessRulesResultOutput) AccessGroupId added in v3.9.0

func (GetAccessRulesResultOutput) ElementType added in v3.9.0

func (GetAccessRulesResultOutput) ElementType() reflect.Type

func (GetAccessRulesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetAccessRulesResultOutput) Ids added in v3.9.0

func (GetAccessRulesResultOutput) OutputFile added in v3.9.0

func (GetAccessRulesResultOutput) Rules added in v3.9.0

func (GetAccessRulesResultOutput) ToGetAccessRulesResultOutput added in v3.9.0

func (o GetAccessRulesResultOutput) ToGetAccessRulesResultOutput() GetAccessRulesResultOutput

func (GetAccessRulesResultOutput) ToGetAccessRulesResultOutputWithContext added in v3.9.0

func (o GetAccessRulesResultOutput) ToGetAccessRulesResultOutputWithContext(ctx context.Context) GetAccessRulesResultOutput

type GetAccessRulesRule added in v3.9.0

type GetAccessRulesRule struct {
	// The resource ID of the Access Group.
	AccessGroupId string `pulumi:"accessGroupId"`
	// The ID of the Access Rule.
	AccessRuleId string `pulumi:"accessRuleId"`
	// The created time of the Access Rule.
	CreateTime string `pulumi:"createTime"`
	// The description of the Access Rule.
	Description string `pulumi:"description"`
	// The resource ID of Access Rule.
	Id string `pulumi:"id"`
	// The NetworkSegment of the Access Rule.
	NetworkSegment string `pulumi:"networkSegment"`
	// The priority of the Access Rule.
	Priority int `pulumi:"priority"`
	// RWAccessType of the Access Rule. Valid values: `RDONLY`, `RDWR`.
	RwAccessType string `pulumi:"rwAccessType"`
}

type GetAccessRulesRuleArgs added in v3.9.0

type GetAccessRulesRuleArgs struct {
	// The resource ID of the Access Group.
	AccessGroupId pulumi.StringInput `pulumi:"accessGroupId"`
	// The ID of the Access Rule.
	AccessRuleId pulumi.StringInput `pulumi:"accessRuleId"`
	// The created time of the Access Rule.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The description of the Access Rule.
	Description pulumi.StringInput `pulumi:"description"`
	// The resource ID of Access Rule.
	Id pulumi.StringInput `pulumi:"id"`
	// The NetworkSegment of the Access Rule.
	NetworkSegment pulumi.StringInput `pulumi:"networkSegment"`
	// The priority of the Access Rule.
	Priority pulumi.IntInput `pulumi:"priority"`
	// RWAccessType of the Access Rule. Valid values: `RDONLY`, `RDWR`.
	RwAccessType pulumi.StringInput `pulumi:"rwAccessType"`
}

func (GetAccessRulesRuleArgs) ElementType added in v3.9.0

func (GetAccessRulesRuleArgs) ElementType() reflect.Type

func (GetAccessRulesRuleArgs) ToGetAccessRulesRuleOutput added in v3.9.0

func (i GetAccessRulesRuleArgs) ToGetAccessRulesRuleOutput() GetAccessRulesRuleOutput

func (GetAccessRulesRuleArgs) ToGetAccessRulesRuleOutputWithContext added in v3.9.0

func (i GetAccessRulesRuleArgs) ToGetAccessRulesRuleOutputWithContext(ctx context.Context) GetAccessRulesRuleOutput

type GetAccessRulesRuleArray added in v3.9.0

type GetAccessRulesRuleArray []GetAccessRulesRuleInput

func (GetAccessRulesRuleArray) ElementType added in v3.9.0

func (GetAccessRulesRuleArray) ElementType() reflect.Type

func (GetAccessRulesRuleArray) ToGetAccessRulesRuleArrayOutput added in v3.9.0

func (i GetAccessRulesRuleArray) ToGetAccessRulesRuleArrayOutput() GetAccessRulesRuleArrayOutput

func (GetAccessRulesRuleArray) ToGetAccessRulesRuleArrayOutputWithContext added in v3.9.0

func (i GetAccessRulesRuleArray) ToGetAccessRulesRuleArrayOutputWithContext(ctx context.Context) GetAccessRulesRuleArrayOutput

type GetAccessRulesRuleArrayInput added in v3.9.0

type GetAccessRulesRuleArrayInput interface {
	pulumi.Input

	ToGetAccessRulesRuleArrayOutput() GetAccessRulesRuleArrayOutput
	ToGetAccessRulesRuleArrayOutputWithContext(context.Context) GetAccessRulesRuleArrayOutput
}

GetAccessRulesRuleArrayInput is an input type that accepts GetAccessRulesRuleArray and GetAccessRulesRuleArrayOutput values. You can construct a concrete instance of `GetAccessRulesRuleArrayInput` via:

GetAccessRulesRuleArray{ GetAccessRulesRuleArgs{...} }

type GetAccessRulesRuleArrayOutput added in v3.9.0

type GetAccessRulesRuleArrayOutput struct{ *pulumi.OutputState }

func (GetAccessRulesRuleArrayOutput) ElementType added in v3.9.0

func (GetAccessRulesRuleArrayOutput) Index added in v3.9.0

func (GetAccessRulesRuleArrayOutput) ToGetAccessRulesRuleArrayOutput added in v3.9.0

func (o GetAccessRulesRuleArrayOutput) ToGetAccessRulesRuleArrayOutput() GetAccessRulesRuleArrayOutput

func (GetAccessRulesRuleArrayOutput) ToGetAccessRulesRuleArrayOutputWithContext added in v3.9.0

func (o GetAccessRulesRuleArrayOutput) ToGetAccessRulesRuleArrayOutputWithContext(ctx context.Context) GetAccessRulesRuleArrayOutput

type GetAccessRulesRuleInput added in v3.9.0

type GetAccessRulesRuleInput interface {
	pulumi.Input

	ToGetAccessRulesRuleOutput() GetAccessRulesRuleOutput
	ToGetAccessRulesRuleOutputWithContext(context.Context) GetAccessRulesRuleOutput
}

GetAccessRulesRuleInput is an input type that accepts GetAccessRulesRuleArgs and GetAccessRulesRuleOutput values. You can construct a concrete instance of `GetAccessRulesRuleInput` via:

GetAccessRulesRuleArgs{...}

type GetAccessRulesRuleOutput added in v3.9.0

type GetAccessRulesRuleOutput struct{ *pulumi.OutputState }

func (GetAccessRulesRuleOutput) AccessGroupId added in v3.9.0

func (o GetAccessRulesRuleOutput) AccessGroupId() pulumi.StringOutput

The resource ID of the Access Group.

func (GetAccessRulesRuleOutput) AccessRuleId added in v3.9.0

func (o GetAccessRulesRuleOutput) AccessRuleId() pulumi.StringOutput

The ID of the Access Rule.

func (GetAccessRulesRuleOutput) CreateTime added in v3.9.0

The created time of the Access Rule.

func (GetAccessRulesRuleOutput) Description added in v3.9.0

The description of the Access Rule.

func (GetAccessRulesRuleOutput) ElementType added in v3.9.0

func (GetAccessRulesRuleOutput) ElementType() reflect.Type

func (GetAccessRulesRuleOutput) Id added in v3.9.0

The resource ID of Access Rule.

func (GetAccessRulesRuleOutput) NetworkSegment added in v3.9.0

func (o GetAccessRulesRuleOutput) NetworkSegment() pulumi.StringOutput

The NetworkSegment of the Access Rule.

func (GetAccessRulesRuleOutput) Priority added in v3.9.0

The priority of the Access Rule.

func (GetAccessRulesRuleOutput) RwAccessType added in v3.9.0

func (o GetAccessRulesRuleOutput) RwAccessType() pulumi.StringOutput

RWAccessType of the Access Rule. Valid values: `RDONLY`, `RDWR`.

func (GetAccessRulesRuleOutput) ToGetAccessRulesRuleOutput added in v3.9.0

func (o GetAccessRulesRuleOutput) ToGetAccessRulesRuleOutput() GetAccessRulesRuleOutput

func (GetAccessRulesRuleOutput) ToGetAccessRulesRuleOutputWithContext added in v3.9.0

func (o GetAccessRulesRuleOutput) ToGetAccessRulesRuleOutputWithContext(ctx context.Context) GetAccessRulesRuleOutput

type GetFileSystemsArgs added in v3.9.0

type GetFileSystemsArgs struct {
	// A list of File System IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by File System name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getFileSystems.

type GetFileSystemsOutputArgs added in v3.9.0

type GetFileSystemsOutputArgs struct {
	// A list of File System IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by File System name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getFileSystems.

func (GetFileSystemsOutputArgs) ElementType added in v3.9.0

func (GetFileSystemsOutputArgs) ElementType() reflect.Type

type GetFileSystemsResult added in v3.9.0

type GetFileSystemsResult 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"`
	Systems    []GetFileSystemsSystem `pulumi:"systems"`
}

A collection of values returned by getFileSystems.

func GetFileSystems added in v3.9.0

func GetFileSystems(ctx *pulumi.Context, args *GetFileSystemsArgs, opts ...pulumi.InvokeOption) (*GetFileSystemsResult, error)

This data source provides the Dfs File Systems of the current Alibaba Cloud user.

> **NOTE:** Available in v1.140.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/dfs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := dfs.GetFileSystems(ctx, &dfs.GetFileSystemsArgs{
			Ids: []string{
				"example_id",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("dfsFileSystemId1", ids.Systems[0].Id)
		nameRegex, err := dfs.GetFileSystems(ctx, &dfs.GetFileSystemsArgs{
			NameRegex: pulumi.StringRef("^my-FileSystem"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("dfsFileSystemId2", nameRegex.Systems[0].Id)
		return nil
	})
}

```

type GetFileSystemsResultOutput added in v3.9.0

type GetFileSystemsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getFileSystems.

func GetFileSystemsOutput added in v3.9.0

func GetFileSystemsOutput(ctx *pulumi.Context, args GetFileSystemsOutputArgs, opts ...pulumi.InvokeOption) GetFileSystemsResultOutput

func (GetFileSystemsResultOutput) ElementType added in v3.9.0

func (GetFileSystemsResultOutput) ElementType() reflect.Type

func (GetFileSystemsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetFileSystemsResultOutput) Ids added in v3.9.0

func (GetFileSystemsResultOutput) NameRegex added in v3.9.0

func (GetFileSystemsResultOutput) Names added in v3.9.0

func (GetFileSystemsResultOutput) OutputFile added in v3.9.0

func (GetFileSystemsResultOutput) Systems added in v3.9.0

func (GetFileSystemsResultOutput) ToGetFileSystemsResultOutput added in v3.9.0

func (o GetFileSystemsResultOutput) ToGetFileSystemsResultOutput() GetFileSystemsResultOutput

func (GetFileSystemsResultOutput) ToGetFileSystemsResultOutputWithContext added in v3.9.0

func (o GetFileSystemsResultOutput) ToGetFileSystemsResultOutputWithContext(ctx context.Context) GetFileSystemsResultOutput

type GetFileSystemsSystem added in v3.9.0

type GetFileSystemsSystem struct {
	// The creation time of the File system.
	CreateTime string `pulumi:"createTime"`
	// The description of the File system.
	Description string `pulumi:"description"`
	// The ID of the File System.
	FileSystemId string `pulumi:"fileSystemId"`
	// The name of the File system.
	FileSystemName string `pulumi:"fileSystemName"`
	// The ID of the File System.
	Id string `pulumi:"id"`
	// The number of Mount points.
	MountPointCount int `pulumi:"mountPointCount"`
	// The number of directories.
	NumberOfDirectories int `pulumi:"numberOfDirectories"`
	// The number of files.
	NumberOfFiles int `pulumi:"numberOfFiles"`
	// The protocol type. Valid values: `HDFS`.
	ProtocolType string `pulumi:"protocolType"`
	// The preset throughput of the File system. Valid values: `1` to `1024`, Unit: MB/s.
	ProvisionedThroughputInMiBps int `pulumi:"provisionedThroughputInMiBps"`
	// The capacity budget of the File system.
	SpaceCapacity int `pulumi:"spaceCapacity"`
	// Storage package Id.
	StoragePackageId string `pulumi:"storagePackageId"`
	// The storage specifications of the File system. Valid values: `PERFORMANCE`, `STANDARD`.
	StorageType string `pulumi:"storageType"`
	// The throughput mode of the File system. Valid values: `Provisioned`, `Standard`.
	ThroughputMode string `pulumi:"throughputMode"`
	// The used space of the File system.
	UsedSpaceSize float64 `pulumi:"usedSpaceSize"`
	// The zone ID of the File system.
	ZoneId string `pulumi:"zoneId"`
}

type GetFileSystemsSystemArgs added in v3.9.0

type GetFileSystemsSystemArgs struct {
	// The creation time of the File system.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The description of the File system.
	Description pulumi.StringInput `pulumi:"description"`
	// The ID of the File System.
	FileSystemId pulumi.StringInput `pulumi:"fileSystemId"`
	// The name of the File system.
	FileSystemName pulumi.StringInput `pulumi:"fileSystemName"`
	// The ID of the File System.
	Id pulumi.StringInput `pulumi:"id"`
	// The number of Mount points.
	MountPointCount pulumi.IntInput `pulumi:"mountPointCount"`
	// The number of directories.
	NumberOfDirectories pulumi.IntInput `pulumi:"numberOfDirectories"`
	// The number of files.
	NumberOfFiles pulumi.IntInput `pulumi:"numberOfFiles"`
	// The protocol type. Valid values: `HDFS`.
	ProtocolType pulumi.StringInput `pulumi:"protocolType"`
	// The preset throughput of the File system. Valid values: `1` to `1024`, Unit: MB/s.
	ProvisionedThroughputInMiBps pulumi.IntInput `pulumi:"provisionedThroughputInMiBps"`
	// The capacity budget of the File system.
	SpaceCapacity pulumi.IntInput `pulumi:"spaceCapacity"`
	// Storage package Id.
	StoragePackageId pulumi.StringInput `pulumi:"storagePackageId"`
	// The storage specifications of the File system. Valid values: `PERFORMANCE`, `STANDARD`.
	StorageType pulumi.StringInput `pulumi:"storageType"`
	// The throughput mode of the File system. Valid values: `Provisioned`, `Standard`.
	ThroughputMode pulumi.StringInput `pulumi:"throughputMode"`
	// The used space of the File system.
	UsedSpaceSize pulumi.Float64Input `pulumi:"usedSpaceSize"`
	// The zone ID of the File system.
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (GetFileSystemsSystemArgs) ElementType added in v3.9.0

func (GetFileSystemsSystemArgs) ElementType() reflect.Type

func (GetFileSystemsSystemArgs) ToGetFileSystemsSystemOutput added in v3.9.0

func (i GetFileSystemsSystemArgs) ToGetFileSystemsSystemOutput() GetFileSystemsSystemOutput

func (GetFileSystemsSystemArgs) ToGetFileSystemsSystemOutputWithContext added in v3.9.0

func (i GetFileSystemsSystemArgs) ToGetFileSystemsSystemOutputWithContext(ctx context.Context) GetFileSystemsSystemOutput

type GetFileSystemsSystemArray added in v3.9.0

type GetFileSystemsSystemArray []GetFileSystemsSystemInput

func (GetFileSystemsSystemArray) ElementType added in v3.9.0

func (GetFileSystemsSystemArray) ElementType() reflect.Type

func (GetFileSystemsSystemArray) ToGetFileSystemsSystemArrayOutput added in v3.9.0

func (i GetFileSystemsSystemArray) ToGetFileSystemsSystemArrayOutput() GetFileSystemsSystemArrayOutput

func (GetFileSystemsSystemArray) ToGetFileSystemsSystemArrayOutputWithContext added in v3.9.0

func (i GetFileSystemsSystemArray) ToGetFileSystemsSystemArrayOutputWithContext(ctx context.Context) GetFileSystemsSystemArrayOutput

type GetFileSystemsSystemArrayInput added in v3.9.0

type GetFileSystemsSystemArrayInput interface {
	pulumi.Input

	ToGetFileSystemsSystemArrayOutput() GetFileSystemsSystemArrayOutput
	ToGetFileSystemsSystemArrayOutputWithContext(context.Context) GetFileSystemsSystemArrayOutput
}

GetFileSystemsSystemArrayInput is an input type that accepts GetFileSystemsSystemArray and GetFileSystemsSystemArrayOutput values. You can construct a concrete instance of `GetFileSystemsSystemArrayInput` via:

GetFileSystemsSystemArray{ GetFileSystemsSystemArgs{...} }

type GetFileSystemsSystemArrayOutput added in v3.9.0

type GetFileSystemsSystemArrayOutput struct{ *pulumi.OutputState }

func (GetFileSystemsSystemArrayOutput) ElementType added in v3.9.0

func (GetFileSystemsSystemArrayOutput) Index added in v3.9.0

func (GetFileSystemsSystemArrayOutput) ToGetFileSystemsSystemArrayOutput added in v3.9.0

func (o GetFileSystemsSystemArrayOutput) ToGetFileSystemsSystemArrayOutput() GetFileSystemsSystemArrayOutput

func (GetFileSystemsSystemArrayOutput) ToGetFileSystemsSystemArrayOutputWithContext added in v3.9.0

func (o GetFileSystemsSystemArrayOutput) ToGetFileSystemsSystemArrayOutputWithContext(ctx context.Context) GetFileSystemsSystemArrayOutput

type GetFileSystemsSystemInput added in v3.9.0

type GetFileSystemsSystemInput interface {
	pulumi.Input

	ToGetFileSystemsSystemOutput() GetFileSystemsSystemOutput
	ToGetFileSystemsSystemOutputWithContext(context.Context) GetFileSystemsSystemOutput
}

GetFileSystemsSystemInput is an input type that accepts GetFileSystemsSystemArgs and GetFileSystemsSystemOutput values. You can construct a concrete instance of `GetFileSystemsSystemInput` via:

GetFileSystemsSystemArgs{...}

type GetFileSystemsSystemOutput added in v3.9.0

type GetFileSystemsSystemOutput struct{ *pulumi.OutputState }

func (GetFileSystemsSystemOutput) CreateTime added in v3.9.0

The creation time of the File system.

func (GetFileSystemsSystemOutput) Description added in v3.9.0

The description of the File system.

func (GetFileSystemsSystemOutput) ElementType added in v3.9.0

func (GetFileSystemsSystemOutput) ElementType() reflect.Type

func (GetFileSystemsSystemOutput) FileSystemId added in v3.9.0

The ID of the File System.

func (GetFileSystemsSystemOutput) FileSystemName added in v3.9.0

func (o GetFileSystemsSystemOutput) FileSystemName() pulumi.StringOutput

The name of the File system.

func (GetFileSystemsSystemOutput) Id added in v3.9.0

The ID of the File System.

func (GetFileSystemsSystemOutput) MountPointCount added in v3.9.0

func (o GetFileSystemsSystemOutput) MountPointCount() pulumi.IntOutput

The number of Mount points.

func (GetFileSystemsSystemOutput) NumberOfDirectories added in v3.9.0

func (o GetFileSystemsSystemOutput) NumberOfDirectories() pulumi.IntOutput

The number of directories.

func (GetFileSystemsSystemOutput) NumberOfFiles added in v3.9.0

func (o GetFileSystemsSystemOutput) NumberOfFiles() pulumi.IntOutput

The number of files.

func (GetFileSystemsSystemOutput) ProtocolType added in v3.9.0

The protocol type. Valid values: `HDFS`.

func (GetFileSystemsSystemOutput) ProvisionedThroughputInMiBps added in v3.9.0

func (o GetFileSystemsSystemOutput) ProvisionedThroughputInMiBps() pulumi.IntOutput

The preset throughput of the File system. Valid values: `1` to `1024`, Unit: MB/s.

func (GetFileSystemsSystemOutput) SpaceCapacity added in v3.9.0

func (o GetFileSystemsSystemOutput) SpaceCapacity() pulumi.IntOutput

The capacity budget of the File system.

func (GetFileSystemsSystemOutput) StoragePackageId added in v3.9.0

func (o GetFileSystemsSystemOutput) StoragePackageId() pulumi.StringOutput

Storage package Id.

func (GetFileSystemsSystemOutput) StorageType added in v3.9.0

The storage specifications of the File system. Valid values: `PERFORMANCE`, `STANDARD`.

func (GetFileSystemsSystemOutput) ThroughputMode added in v3.9.0

func (o GetFileSystemsSystemOutput) ThroughputMode() pulumi.StringOutput

The throughput mode of the File system. Valid values: `Provisioned`, `Standard`.

func (GetFileSystemsSystemOutput) ToGetFileSystemsSystemOutput added in v3.9.0

func (o GetFileSystemsSystemOutput) ToGetFileSystemsSystemOutput() GetFileSystemsSystemOutput

func (GetFileSystemsSystemOutput) ToGetFileSystemsSystemOutputWithContext added in v3.9.0

func (o GetFileSystemsSystemOutput) ToGetFileSystemsSystemOutputWithContext(ctx context.Context) GetFileSystemsSystemOutput

func (GetFileSystemsSystemOutput) UsedSpaceSize added in v3.9.0

The used space of the File system.

func (GetFileSystemsSystemOutput) ZoneId added in v3.9.0

The zone ID of the File system.

type GetMountPointsArgs added in v3.9.0

type GetMountPointsArgs struct {
	// The ID of the File System.
	FileSystemId string `pulumi:"fileSystemId"`
	// A list of Mount Point IDs.
	Ids []string `pulumi:"ids"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The status of the Mount Point. Valid values: `Active`, `Inactive`.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getMountPoints.

type GetMountPointsOutputArgs added in v3.9.0

type GetMountPointsOutputArgs struct {
	// The ID of the File System.
	FileSystemId pulumi.StringInput `pulumi:"fileSystemId"`
	// A list of Mount Point IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of the Mount Point. Valid values: `Active`, `Inactive`.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getMountPoints.

func (GetMountPointsOutputArgs) ElementType added in v3.9.0

func (GetMountPointsOutputArgs) ElementType() reflect.Type

type GetMountPointsPoint added in v3.9.0

type GetMountPointsPoint struct {
	// The ID of the Access Group.
	AccessGroupId string `pulumi:"accessGroupId"`
	// The created time of the Mount Point.
	CreateTime string `pulumi:"createTime"`
	// The description of the Mount Point.
	Description string `pulumi:"description"`
	// The ID of the File System.
	FileSystemId string `pulumi:"fileSystemId"`
	// The ID of the Mount Point.
	Id string `pulumi:"id"`
	// The domain name of the Mount Point.
	MountPointDomain string `pulumi:"mountPointDomain"`
	// The ID of the Mount Point.
	MountPointId string `pulumi:"mountPointId"`
	// The network type of the Mount Point. Valid values: `VPC`.
	NetworkType string `pulumi:"networkType"`
	// The status of the Mount Point. Valid values: `Active`, `Inactive`.
	Status string `pulumi:"status"`
	// The ID of the VPC network.
	VpcId string `pulumi:"vpcId"`
	// The vswitch id.
	VswitchId string `pulumi:"vswitchId"`
}

type GetMountPointsPointArgs added in v3.9.0

type GetMountPointsPointArgs struct {
	// The ID of the Access Group.
	AccessGroupId pulumi.StringInput `pulumi:"accessGroupId"`
	// The created time of the Mount Point.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The description of the Mount Point.
	Description pulumi.StringInput `pulumi:"description"`
	// The ID of the File System.
	FileSystemId pulumi.StringInput `pulumi:"fileSystemId"`
	// The ID of the Mount Point.
	Id pulumi.StringInput `pulumi:"id"`
	// The domain name of the Mount Point.
	MountPointDomain pulumi.StringInput `pulumi:"mountPointDomain"`
	// The ID of the Mount Point.
	MountPointId pulumi.StringInput `pulumi:"mountPointId"`
	// The network type of the Mount Point. Valid values: `VPC`.
	NetworkType pulumi.StringInput `pulumi:"networkType"`
	// The status of the Mount Point. Valid values: `Active`, `Inactive`.
	Status pulumi.StringInput `pulumi:"status"`
	// The ID of the VPC network.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// The vswitch id.
	VswitchId pulumi.StringInput `pulumi:"vswitchId"`
}

func (GetMountPointsPointArgs) ElementType added in v3.9.0

func (GetMountPointsPointArgs) ElementType() reflect.Type

func (GetMountPointsPointArgs) ToGetMountPointsPointOutput added in v3.9.0

func (i GetMountPointsPointArgs) ToGetMountPointsPointOutput() GetMountPointsPointOutput

func (GetMountPointsPointArgs) ToGetMountPointsPointOutputWithContext added in v3.9.0

func (i GetMountPointsPointArgs) ToGetMountPointsPointOutputWithContext(ctx context.Context) GetMountPointsPointOutput

type GetMountPointsPointArray added in v3.9.0

type GetMountPointsPointArray []GetMountPointsPointInput

func (GetMountPointsPointArray) ElementType added in v3.9.0

func (GetMountPointsPointArray) ElementType() reflect.Type

func (GetMountPointsPointArray) ToGetMountPointsPointArrayOutput added in v3.9.0

func (i GetMountPointsPointArray) ToGetMountPointsPointArrayOutput() GetMountPointsPointArrayOutput

func (GetMountPointsPointArray) ToGetMountPointsPointArrayOutputWithContext added in v3.9.0

func (i GetMountPointsPointArray) ToGetMountPointsPointArrayOutputWithContext(ctx context.Context) GetMountPointsPointArrayOutput

type GetMountPointsPointArrayInput added in v3.9.0

type GetMountPointsPointArrayInput interface {
	pulumi.Input

	ToGetMountPointsPointArrayOutput() GetMountPointsPointArrayOutput
	ToGetMountPointsPointArrayOutputWithContext(context.Context) GetMountPointsPointArrayOutput
}

GetMountPointsPointArrayInput is an input type that accepts GetMountPointsPointArray and GetMountPointsPointArrayOutput values. You can construct a concrete instance of `GetMountPointsPointArrayInput` via:

GetMountPointsPointArray{ GetMountPointsPointArgs{...} }

type GetMountPointsPointArrayOutput added in v3.9.0

type GetMountPointsPointArrayOutput struct{ *pulumi.OutputState }

func (GetMountPointsPointArrayOutput) ElementType added in v3.9.0

func (GetMountPointsPointArrayOutput) Index added in v3.9.0

func (GetMountPointsPointArrayOutput) ToGetMountPointsPointArrayOutput added in v3.9.0

func (o GetMountPointsPointArrayOutput) ToGetMountPointsPointArrayOutput() GetMountPointsPointArrayOutput

func (GetMountPointsPointArrayOutput) ToGetMountPointsPointArrayOutputWithContext added in v3.9.0

func (o GetMountPointsPointArrayOutput) ToGetMountPointsPointArrayOutputWithContext(ctx context.Context) GetMountPointsPointArrayOutput

type GetMountPointsPointInput added in v3.9.0

type GetMountPointsPointInput interface {
	pulumi.Input

	ToGetMountPointsPointOutput() GetMountPointsPointOutput
	ToGetMountPointsPointOutputWithContext(context.Context) GetMountPointsPointOutput
}

GetMountPointsPointInput is an input type that accepts GetMountPointsPointArgs and GetMountPointsPointOutput values. You can construct a concrete instance of `GetMountPointsPointInput` via:

GetMountPointsPointArgs{...}

type GetMountPointsPointOutput added in v3.9.0

type GetMountPointsPointOutput struct{ *pulumi.OutputState }

func (GetMountPointsPointOutput) AccessGroupId added in v3.9.0

func (o GetMountPointsPointOutput) AccessGroupId() pulumi.StringOutput

The ID of the Access Group.

func (GetMountPointsPointOutput) CreateTime added in v3.9.0

The created time of the Mount Point.

func (GetMountPointsPointOutput) Description added in v3.9.0

The description of the Mount Point.

func (GetMountPointsPointOutput) ElementType added in v3.9.0

func (GetMountPointsPointOutput) ElementType() reflect.Type

func (GetMountPointsPointOutput) FileSystemId added in v3.9.0

The ID of the File System.

func (GetMountPointsPointOutput) Id added in v3.9.0

The ID of the Mount Point.

func (GetMountPointsPointOutput) MountPointDomain added in v3.9.0

func (o GetMountPointsPointOutput) MountPointDomain() pulumi.StringOutput

The domain name of the Mount Point.

func (GetMountPointsPointOutput) MountPointId added in v3.9.0

The ID of the Mount Point.

func (GetMountPointsPointOutput) NetworkType added in v3.9.0

The network type of the Mount Point. Valid values: `VPC`.

func (GetMountPointsPointOutput) Status added in v3.9.0

The status of the Mount Point. Valid values: `Active`, `Inactive`.

func (GetMountPointsPointOutput) ToGetMountPointsPointOutput added in v3.9.0

func (o GetMountPointsPointOutput) ToGetMountPointsPointOutput() GetMountPointsPointOutput

func (GetMountPointsPointOutput) ToGetMountPointsPointOutputWithContext added in v3.9.0

func (o GetMountPointsPointOutput) ToGetMountPointsPointOutputWithContext(ctx context.Context) GetMountPointsPointOutput

func (GetMountPointsPointOutput) VpcId added in v3.9.0

The ID of the VPC network.

func (GetMountPointsPointOutput) VswitchId added in v3.9.0

The vswitch id.

type GetMountPointsResult added in v3.9.0

type GetMountPointsResult struct {
	FileSystemId string `pulumi:"fileSystemId"`
	// The provider-assigned unique ID for this managed resource.
	Id         string                `pulumi:"id"`
	Ids        []string              `pulumi:"ids"`
	OutputFile *string               `pulumi:"outputFile"`
	Points     []GetMountPointsPoint `pulumi:"points"`
	Status     *string               `pulumi:"status"`
}

A collection of values returned by getMountPoints.

func GetMountPoints added in v3.9.0

func GetMountPoints(ctx *pulumi.Context, args *GetMountPointsArgs, opts ...pulumi.InvokeOption) (*GetMountPointsResult, error)

This data source provides the Dfs Mount Points of the current Alibaba Cloud user.

> **NOTE:** Available in v1.140.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/dfs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := dfs.GetMountPoints(ctx, &dfs.GetMountPointsArgs{
			FileSystemId: "example_value",
			Ids: []string{
				"example_value-1",
				"example_value-2",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("dfsMountPointId1", ids.Points[0].Id)
		return nil
	})
}

```

type GetMountPointsResultOutput added in v3.9.0

type GetMountPointsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getMountPoints.

func GetMountPointsOutput added in v3.9.0

func GetMountPointsOutput(ctx *pulumi.Context, args GetMountPointsOutputArgs, opts ...pulumi.InvokeOption) GetMountPointsResultOutput

func (GetMountPointsResultOutput) ElementType added in v3.9.0

func (GetMountPointsResultOutput) ElementType() reflect.Type

func (GetMountPointsResultOutput) FileSystemId added in v3.9.0

func (GetMountPointsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetMountPointsResultOutput) Ids added in v3.9.0

func (GetMountPointsResultOutput) OutputFile added in v3.9.0

func (GetMountPointsResultOutput) Points added in v3.9.0

func (GetMountPointsResultOutput) Status added in v3.9.0

func (GetMountPointsResultOutput) ToGetMountPointsResultOutput added in v3.9.0

func (o GetMountPointsResultOutput) ToGetMountPointsResultOutput() GetMountPointsResultOutput

func (GetMountPointsResultOutput) ToGetMountPointsResultOutputWithContext added in v3.9.0

func (o GetMountPointsResultOutput) ToGetMountPointsResultOutputWithContext(ctx context.Context) GetMountPointsResultOutput

type GetZonesArgs added in v3.9.0

type GetZonesArgs struct {
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getZones.

type GetZonesOutputArgs added in v3.9.0

type GetZonesOutputArgs struct {
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getZones.

func (GetZonesOutputArgs) ElementType added in v3.9.0

func (GetZonesOutputArgs) ElementType() reflect.Type

type GetZonesResult added in v3.9.0

type GetZonesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string         `pulumi:"id"`
	OutputFile *string        `pulumi:"outputFile"`
	Zones      []GetZonesZone `pulumi:"zones"`
}

A collection of values returned by getZones.

func GetZones added in v3.9.0

func GetZones(ctx *pulumi.Context, args *GetZonesArgs, opts ...pulumi.InvokeOption) (*GetZonesResult, error)

This data source provides the DFS Zones And Configurations of the current Alibaba Cloud user.

> **NOTE:** Available in v1.140.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/dfs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dfs.GetZones(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetZonesResultOutput added in v3.9.0

type GetZonesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getZones.

func GetZonesOutput added in v3.9.0

func GetZonesOutput(ctx *pulumi.Context, args GetZonesOutputArgs, opts ...pulumi.InvokeOption) GetZonesResultOutput

func (GetZonesResultOutput) ElementType added in v3.9.0

func (GetZonesResultOutput) ElementType() reflect.Type

func (GetZonesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetZonesResultOutput) OutputFile added in v3.9.0

func (GetZonesResultOutput) ToGetZonesResultOutput added in v3.9.0

func (o GetZonesResultOutput) ToGetZonesResultOutput() GetZonesResultOutput

func (GetZonesResultOutput) ToGetZonesResultOutputWithContext added in v3.9.0

func (o GetZonesResultOutput) ToGetZonesResultOutputWithContext(ctx context.Context) GetZonesResultOutput

func (GetZonesResultOutput) Zones added in v3.9.0

type GetZonesZone added in v3.9.0

type GetZonesZone struct {
	// A list of available configurations of the Zone.
	Options []GetZonesZoneOption `pulumi:"options"`
	// The zone ID.
	ZoneId string `pulumi:"zoneId"`
}

type GetZonesZoneArgs added in v3.9.0

type GetZonesZoneArgs struct {
	// A list of available configurations of the Zone.
	Options GetZonesZoneOptionArrayInput `pulumi:"options"`
	// The zone ID.
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (GetZonesZoneArgs) ElementType added in v3.9.0

func (GetZonesZoneArgs) ElementType() reflect.Type

func (GetZonesZoneArgs) ToGetZonesZoneOutput added in v3.9.0

func (i GetZonesZoneArgs) ToGetZonesZoneOutput() GetZonesZoneOutput

func (GetZonesZoneArgs) ToGetZonesZoneOutputWithContext added in v3.9.0

func (i GetZonesZoneArgs) ToGetZonesZoneOutputWithContext(ctx context.Context) GetZonesZoneOutput

type GetZonesZoneArray added in v3.9.0

type GetZonesZoneArray []GetZonesZoneInput

func (GetZonesZoneArray) ElementType added in v3.9.0

func (GetZonesZoneArray) ElementType() reflect.Type

func (GetZonesZoneArray) ToGetZonesZoneArrayOutput added in v3.9.0

func (i GetZonesZoneArray) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput

func (GetZonesZoneArray) ToGetZonesZoneArrayOutputWithContext added in v3.9.0

func (i GetZonesZoneArray) ToGetZonesZoneArrayOutputWithContext(ctx context.Context) GetZonesZoneArrayOutput

type GetZonesZoneArrayInput added in v3.9.0

type GetZonesZoneArrayInput interface {
	pulumi.Input

	ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput
	ToGetZonesZoneArrayOutputWithContext(context.Context) GetZonesZoneArrayOutput
}

GetZonesZoneArrayInput is an input type that accepts GetZonesZoneArray and GetZonesZoneArrayOutput values. You can construct a concrete instance of `GetZonesZoneArrayInput` via:

GetZonesZoneArray{ GetZonesZoneArgs{...} }

type GetZonesZoneArrayOutput added in v3.9.0

type GetZonesZoneArrayOutput struct{ *pulumi.OutputState }

func (GetZonesZoneArrayOutput) ElementType added in v3.9.0

func (GetZonesZoneArrayOutput) ElementType() reflect.Type

func (GetZonesZoneArrayOutput) Index added in v3.9.0

func (GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput added in v3.9.0

func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput

func (GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutputWithContext added in v3.9.0

func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutputWithContext(ctx context.Context) GetZonesZoneArrayOutput

type GetZonesZoneInput added in v3.9.0

type GetZonesZoneInput interface {
	pulumi.Input

	ToGetZonesZoneOutput() GetZonesZoneOutput
	ToGetZonesZoneOutputWithContext(context.Context) GetZonesZoneOutput
}

GetZonesZoneInput is an input type that accepts GetZonesZoneArgs and GetZonesZoneOutput values. You can construct a concrete instance of `GetZonesZoneInput` via:

GetZonesZoneArgs{...}

type GetZonesZoneOption added in v3.9.0

type GetZonesZoneOption struct {
	// The protocol type. Valid values: `HDFS`.
	ProtocolType string `pulumi:"protocolType"`
	// The storage specifications of the File system. Valid values: `PERFORMANCE`, `STANDARD`.
	StorageType string `pulumi:"storageType"`
}

type GetZonesZoneOptionArgs added in v3.9.0

type GetZonesZoneOptionArgs struct {
	// The protocol type. Valid values: `HDFS`.
	ProtocolType pulumi.StringInput `pulumi:"protocolType"`
	// The storage specifications of the File system. Valid values: `PERFORMANCE`, `STANDARD`.
	StorageType pulumi.StringInput `pulumi:"storageType"`
}

func (GetZonesZoneOptionArgs) ElementType added in v3.9.0

func (GetZonesZoneOptionArgs) ElementType() reflect.Type

func (GetZonesZoneOptionArgs) ToGetZonesZoneOptionOutput added in v3.9.0

func (i GetZonesZoneOptionArgs) ToGetZonesZoneOptionOutput() GetZonesZoneOptionOutput

func (GetZonesZoneOptionArgs) ToGetZonesZoneOptionOutputWithContext added in v3.9.0

func (i GetZonesZoneOptionArgs) ToGetZonesZoneOptionOutputWithContext(ctx context.Context) GetZonesZoneOptionOutput

type GetZonesZoneOptionArray added in v3.9.0

type GetZonesZoneOptionArray []GetZonesZoneOptionInput

func (GetZonesZoneOptionArray) ElementType added in v3.9.0

func (GetZonesZoneOptionArray) ElementType() reflect.Type

func (GetZonesZoneOptionArray) ToGetZonesZoneOptionArrayOutput added in v3.9.0

func (i GetZonesZoneOptionArray) ToGetZonesZoneOptionArrayOutput() GetZonesZoneOptionArrayOutput

func (GetZonesZoneOptionArray) ToGetZonesZoneOptionArrayOutputWithContext added in v3.9.0

func (i GetZonesZoneOptionArray) ToGetZonesZoneOptionArrayOutputWithContext(ctx context.Context) GetZonesZoneOptionArrayOutput

type GetZonesZoneOptionArrayInput added in v3.9.0

type GetZonesZoneOptionArrayInput interface {
	pulumi.Input

	ToGetZonesZoneOptionArrayOutput() GetZonesZoneOptionArrayOutput
	ToGetZonesZoneOptionArrayOutputWithContext(context.Context) GetZonesZoneOptionArrayOutput
}

GetZonesZoneOptionArrayInput is an input type that accepts GetZonesZoneOptionArray and GetZonesZoneOptionArrayOutput values. You can construct a concrete instance of `GetZonesZoneOptionArrayInput` via:

GetZonesZoneOptionArray{ GetZonesZoneOptionArgs{...} }

type GetZonesZoneOptionArrayOutput added in v3.9.0

type GetZonesZoneOptionArrayOutput struct{ *pulumi.OutputState }

func (GetZonesZoneOptionArrayOutput) ElementType added in v3.9.0

func (GetZonesZoneOptionArrayOutput) Index added in v3.9.0

func (GetZonesZoneOptionArrayOutput) ToGetZonesZoneOptionArrayOutput added in v3.9.0

func (o GetZonesZoneOptionArrayOutput) ToGetZonesZoneOptionArrayOutput() GetZonesZoneOptionArrayOutput

func (GetZonesZoneOptionArrayOutput) ToGetZonesZoneOptionArrayOutputWithContext added in v3.9.0

func (o GetZonesZoneOptionArrayOutput) ToGetZonesZoneOptionArrayOutputWithContext(ctx context.Context) GetZonesZoneOptionArrayOutput

type GetZonesZoneOptionInput added in v3.9.0

type GetZonesZoneOptionInput interface {
	pulumi.Input

	ToGetZonesZoneOptionOutput() GetZonesZoneOptionOutput
	ToGetZonesZoneOptionOutputWithContext(context.Context) GetZonesZoneOptionOutput
}

GetZonesZoneOptionInput is an input type that accepts GetZonesZoneOptionArgs and GetZonesZoneOptionOutput values. You can construct a concrete instance of `GetZonesZoneOptionInput` via:

GetZonesZoneOptionArgs{...}

type GetZonesZoneOptionOutput added in v3.9.0

type GetZonesZoneOptionOutput struct{ *pulumi.OutputState }

func (GetZonesZoneOptionOutput) ElementType added in v3.9.0

func (GetZonesZoneOptionOutput) ElementType() reflect.Type

func (GetZonesZoneOptionOutput) ProtocolType added in v3.9.0

func (o GetZonesZoneOptionOutput) ProtocolType() pulumi.StringOutput

The protocol type. Valid values: `HDFS`.

func (GetZonesZoneOptionOutput) StorageType added in v3.9.0

The storage specifications of the File system. Valid values: `PERFORMANCE`, `STANDARD`.

func (GetZonesZoneOptionOutput) ToGetZonesZoneOptionOutput added in v3.9.0

func (o GetZonesZoneOptionOutput) ToGetZonesZoneOptionOutput() GetZonesZoneOptionOutput

func (GetZonesZoneOptionOutput) ToGetZonesZoneOptionOutputWithContext added in v3.9.0

func (o GetZonesZoneOptionOutput) ToGetZonesZoneOptionOutputWithContext(ctx context.Context) GetZonesZoneOptionOutput

type GetZonesZoneOutput added in v3.9.0

type GetZonesZoneOutput struct{ *pulumi.OutputState }

func (GetZonesZoneOutput) ElementType added in v3.9.0

func (GetZonesZoneOutput) ElementType() reflect.Type

func (GetZonesZoneOutput) Options added in v3.9.0

A list of available configurations of the Zone.

func (GetZonesZoneOutput) ToGetZonesZoneOutput added in v3.9.0

func (o GetZonesZoneOutput) ToGetZonesZoneOutput() GetZonesZoneOutput

func (GetZonesZoneOutput) ToGetZonesZoneOutputWithContext added in v3.9.0

func (o GetZonesZoneOutput) ToGetZonesZoneOutputWithContext(ctx context.Context) GetZonesZoneOutput

func (GetZonesZoneOutput) ZoneId added in v3.9.0

The zone ID.

type MountPoint added in v3.9.0

type MountPoint struct {
	pulumi.CustomResourceState

	// The id of the permission group associated with the Mount point, which is used to set the access permissions of the Mount point.
	AccessGroupId pulumi.StringOutput `pulumi:"accessGroupId"`
	// The mount point alias prefix, which specifies the mount point alias prefix.
	AliasPrefix pulumi.StringPtrOutput `pulumi:"aliasPrefix"`
	// The creation time of the Mount point resource.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The description of the Mount point.  No more than 32 characters in length.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Unique file system identifier, used to retrieve specified file system resources.
	FileSystemId pulumi.StringOutput `pulumi:"fileSystemId"`
	// The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
	MountPointId pulumi.StringOutput `pulumi:"mountPointId"`
	// The network type of the Mount point.  Only VPC (VPC) is supported.
	NetworkType pulumi.StringOutput `pulumi:"networkType"`
	// Mount point status. Value: Inactive: Disable mount points Active: Activate the mount point.
	Status pulumi.StringOutput `pulumi:"status"`
	// The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// VSwitch ID, which specifies the VSwitch resource used to create the mount point.
	VswitchId pulumi.StringOutput `pulumi:"vswitchId"`
}

Provides a DFS Mount Point resource.

For information about DFS Mount Point and how to use it, see [What is Mount Point](https://www.alibabacloud.com/help/en/aibaba-cloud-storage-services/latest/apsara-file-storage-for-hdfs).

> **NOTE:** Available since v1.140.0.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/dfs"
"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
		}
		_default, err := dfs.GetZones(ctx, nil, nil)
		if err != nil {
			return err
		}
		defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
			VpcName:   pulumi.String(name),
			CidrBlock: pulumi.String("10.4.0.0/16"),
		})
		if err != nil {
			return err
		}
		defaultSwitch, err := vpc.NewSwitch(ctx, "default", &vpc.SwitchArgs{
			VswitchName: pulumi.String(name),
			CidrBlock:   pulumi.String("10.4.0.0/24"),
			VpcId:       defaultNetwork.ID(),
			ZoneId:      pulumi.String(_default.Zones[0].ZoneId),
		})
		if err != nil {
			return err
		}
		defaultFileSystem, err := dfs.NewFileSystem(ctx, "default", &dfs.FileSystemArgs{
			StorageType:                  pulumi.String(_default.Zones[0].Options[0].StorageType),
			ZoneId:                       pulumi.String(_default.Zones[0].ZoneId),
			ProtocolType:                 pulumi.String("HDFS"),
			Description:                  pulumi.String(name),
			FileSystemName:               pulumi.String(name),
			ThroughputMode:               pulumi.String("Provisioned"),
			SpaceCapacity:                pulumi.Int(1024),
			ProvisionedThroughputInMiBps: pulumi.Int(512),
		})
		if err != nil {
			return err
		}
		defaultAccessGroup, err := dfs.NewAccessGroup(ctx, "default", &dfs.AccessGroupArgs{
			AccessGroupName: pulumi.String(name),
			Description:     pulumi.String(name),
			NetworkType:     pulumi.String("VPC"),
		})
		if err != nil {
			return err
		}
		_, err = dfs.NewMountPoint(ctx, "default", &dfs.MountPointArgs{
			Description:   pulumi.String(name),
			VpcId:         defaultNetwork.ID(),
			FileSystemId:  defaultFileSystem.ID(),
			AccessGroupId: defaultAccessGroup.ID(),
			NetworkType:   pulumi.String("VPC"),
			VswitchId:     defaultSwitch.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

DFS Mount Point can be imported using the id, e.g.

```sh $ pulumi import alicloud:dfs/mountPoint:MountPoint example <file_system_id>:<mount_point_id> ```

func GetMountPoint added in v3.9.0

func GetMountPoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MountPointState, opts ...pulumi.ResourceOption) (*MountPoint, error)

GetMountPoint gets an existing MountPoint 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 NewMountPoint added in v3.9.0

func NewMountPoint(ctx *pulumi.Context,
	name string, args *MountPointArgs, opts ...pulumi.ResourceOption) (*MountPoint, error)

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

func (*MountPoint) ElementType added in v3.9.0

func (*MountPoint) ElementType() reflect.Type

func (*MountPoint) ToMountPointOutput added in v3.9.0

func (i *MountPoint) ToMountPointOutput() MountPointOutput

func (*MountPoint) ToMountPointOutputWithContext added in v3.9.0

func (i *MountPoint) ToMountPointOutputWithContext(ctx context.Context) MountPointOutput

type MountPointArgs added in v3.9.0

type MountPointArgs struct {
	// The id of the permission group associated with the Mount point, which is used to set the access permissions of the Mount point.
	AccessGroupId pulumi.StringInput
	// The mount point alias prefix, which specifies the mount point alias prefix.
	AliasPrefix pulumi.StringPtrInput
	// The description of the Mount point.  No more than 32 characters in length.
	Description pulumi.StringPtrInput
	// Unique file system identifier, used to retrieve specified file system resources.
	FileSystemId pulumi.StringInput
	// The network type of the Mount point.  Only VPC (VPC) is supported.
	NetworkType pulumi.StringInput
	// Mount point status. Value: Inactive: Disable mount points Active: Activate the mount point.
	Status pulumi.StringPtrInput
	// The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
	VpcId pulumi.StringInput
	// VSwitch ID, which specifies the VSwitch resource used to create the mount point.
	VswitchId pulumi.StringInput
}

The set of arguments for constructing a MountPoint resource.

func (MountPointArgs) ElementType added in v3.9.0

func (MountPointArgs) ElementType() reflect.Type

type MountPointArray added in v3.9.0

type MountPointArray []MountPointInput

func (MountPointArray) ElementType added in v3.9.0

func (MountPointArray) ElementType() reflect.Type

func (MountPointArray) ToMountPointArrayOutput added in v3.9.0

func (i MountPointArray) ToMountPointArrayOutput() MountPointArrayOutput

func (MountPointArray) ToMountPointArrayOutputWithContext added in v3.9.0

func (i MountPointArray) ToMountPointArrayOutputWithContext(ctx context.Context) MountPointArrayOutput

type MountPointArrayInput added in v3.9.0

type MountPointArrayInput interface {
	pulumi.Input

	ToMountPointArrayOutput() MountPointArrayOutput
	ToMountPointArrayOutputWithContext(context.Context) MountPointArrayOutput
}

MountPointArrayInput is an input type that accepts MountPointArray and MountPointArrayOutput values. You can construct a concrete instance of `MountPointArrayInput` via:

MountPointArray{ MountPointArgs{...} }

type MountPointArrayOutput added in v3.9.0

type MountPointArrayOutput struct{ *pulumi.OutputState }

func (MountPointArrayOutput) ElementType added in v3.9.0

func (MountPointArrayOutput) ElementType() reflect.Type

func (MountPointArrayOutput) Index added in v3.9.0

func (MountPointArrayOutput) ToMountPointArrayOutput added in v3.9.0

func (o MountPointArrayOutput) ToMountPointArrayOutput() MountPointArrayOutput

func (MountPointArrayOutput) ToMountPointArrayOutputWithContext added in v3.9.0

func (o MountPointArrayOutput) ToMountPointArrayOutputWithContext(ctx context.Context) MountPointArrayOutput

type MountPointInput added in v3.9.0

type MountPointInput interface {
	pulumi.Input

	ToMountPointOutput() MountPointOutput
	ToMountPointOutputWithContext(ctx context.Context) MountPointOutput
}

type MountPointMap added in v3.9.0

type MountPointMap map[string]MountPointInput

func (MountPointMap) ElementType added in v3.9.0

func (MountPointMap) ElementType() reflect.Type

func (MountPointMap) ToMountPointMapOutput added in v3.9.0

func (i MountPointMap) ToMountPointMapOutput() MountPointMapOutput

func (MountPointMap) ToMountPointMapOutputWithContext added in v3.9.0

func (i MountPointMap) ToMountPointMapOutputWithContext(ctx context.Context) MountPointMapOutput

type MountPointMapInput added in v3.9.0

type MountPointMapInput interface {
	pulumi.Input

	ToMountPointMapOutput() MountPointMapOutput
	ToMountPointMapOutputWithContext(context.Context) MountPointMapOutput
}

MountPointMapInput is an input type that accepts MountPointMap and MountPointMapOutput values. You can construct a concrete instance of `MountPointMapInput` via:

MountPointMap{ "key": MountPointArgs{...} }

type MountPointMapOutput added in v3.9.0

type MountPointMapOutput struct{ *pulumi.OutputState }

func (MountPointMapOutput) ElementType added in v3.9.0

func (MountPointMapOutput) ElementType() reflect.Type

func (MountPointMapOutput) MapIndex added in v3.9.0

func (MountPointMapOutput) ToMountPointMapOutput added in v3.9.0

func (o MountPointMapOutput) ToMountPointMapOutput() MountPointMapOutput

func (MountPointMapOutput) ToMountPointMapOutputWithContext added in v3.9.0

func (o MountPointMapOutput) ToMountPointMapOutputWithContext(ctx context.Context) MountPointMapOutput

type MountPointOutput added in v3.9.0

type MountPointOutput struct{ *pulumi.OutputState }

func (MountPointOutput) AccessGroupId added in v3.27.0

func (o MountPointOutput) AccessGroupId() pulumi.StringOutput

The id of the permission group associated with the Mount point, which is used to set the access permissions of the Mount point.

func (MountPointOutput) AliasPrefix added in v3.50.0

func (o MountPointOutput) AliasPrefix() pulumi.StringPtrOutput

The mount point alias prefix, which specifies the mount point alias prefix.

func (MountPointOutput) CreateTime added in v3.50.0

func (o MountPointOutput) CreateTime() pulumi.StringOutput

The creation time of the Mount point resource.

func (MountPointOutput) Description added in v3.27.0

func (o MountPointOutput) Description() pulumi.StringPtrOutput

The description of the Mount point. No more than 32 characters in length.

func (MountPointOutput) ElementType added in v3.9.0

func (MountPointOutput) ElementType() reflect.Type

func (MountPointOutput) FileSystemId added in v3.27.0

func (o MountPointOutput) FileSystemId() pulumi.StringOutput

Unique file system identifier, used to retrieve specified file system resources.

func (MountPointOutput) MountPointId added in v3.27.0

func (o MountPointOutput) MountPointId() pulumi.StringOutput

The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.

func (MountPointOutput) NetworkType added in v3.27.0

func (o MountPointOutput) NetworkType() pulumi.StringOutput

The network type of the Mount point. Only VPC (VPC) is supported.

func (MountPointOutput) Status added in v3.27.0

Mount point status. Value: Inactive: Disable mount points Active: Activate the mount point.

func (MountPointOutput) ToMountPointOutput added in v3.9.0

func (o MountPointOutput) ToMountPointOutput() MountPointOutput

func (MountPointOutput) ToMountPointOutputWithContext added in v3.9.0

func (o MountPointOutput) ToMountPointOutputWithContext(ctx context.Context) MountPointOutput

func (MountPointOutput) VpcId added in v3.27.0

The ID of the VPC. Specifies the VPC environment to which the mount point belongs.

func (MountPointOutput) VswitchId added in v3.27.0

func (o MountPointOutput) VswitchId() pulumi.StringOutput

VSwitch ID, which specifies the VSwitch resource used to create the mount point.

type MountPointState added in v3.9.0

type MountPointState struct {
	// The id of the permission group associated with the Mount point, which is used to set the access permissions of the Mount point.
	AccessGroupId pulumi.StringPtrInput
	// The mount point alias prefix, which specifies the mount point alias prefix.
	AliasPrefix pulumi.StringPtrInput
	// The creation time of the Mount point resource.
	CreateTime pulumi.StringPtrInput
	// The description of the Mount point.  No more than 32 characters in length.
	Description pulumi.StringPtrInput
	// Unique file system identifier, used to retrieve specified file system resources.
	FileSystemId pulumi.StringPtrInput
	// The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
	MountPointId pulumi.StringPtrInput
	// The network type of the Mount point.  Only VPC (VPC) is supported.
	NetworkType pulumi.StringPtrInput
	// Mount point status. Value: Inactive: Disable mount points Active: Activate the mount point.
	Status pulumi.StringPtrInput
	// The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
	VpcId pulumi.StringPtrInput
	// VSwitch ID, which specifies the VSwitch resource used to create the mount point.
	VswitchId pulumi.StringPtrInput
}

func (MountPointState) ElementType added in v3.9.0

func (MountPointState) ElementType() reflect.Type

type VscMountPoint added in v3.50.0

type VscMountPoint struct {
	pulumi.CustomResourceState

	// Mount point alias prefix, which is used as the prefix for generating VSC mount point aliases.
	AliasPrefix pulumi.StringPtrOutput `pulumi:"aliasPrefix"`
	// The description of the Mount point.  The length is 0 to 100 characters.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The ID of the HDFS file system resource associated with the VSC mount point.
	FileSystemId pulumi.StringOutput `pulumi:"fileSystemId"`
	// The collection of ECS instances on which the HDFS file system is mounted.
	Instances VscMountPointInstanceArrayOutput `pulumi:"instances"`
	// VSC mount point ID, which is the unique identifier of the vsc mount point and is used to access the associated HDFS file system.
	MountPointId pulumi.StringOutput `pulumi:"mountPointId"`
}

Provides a DFS Vsc Mount Point resource. VSC mount point.

For information about DFS Vsc Mount Point and how to use it, see [What is Vsc Mount Point](https://www.alibabacloud.com/help/en/aibaba-cloud-storage-services/latest/apsara-file-storage-for-hdfs).

> **NOTE:** Available since v1.218.0.

## Example Usage

Basic Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/dfs"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"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
		}
		defaultInteger, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
			Min: 10000,
			Max: 99999,
		})
		if err != nil {
			return err
		}
		_default, err := dfs.GetZones(ctx, nil, nil)
		if err != nil {
			return err
		}
		zoneId := _default.Zones[0].ZoneId
		storageType := _default.Zones[0].Options[0].StorageType
		_, err = dfs.NewFileSystem(ctx, "default", &dfs.FileSystemArgs{
			ProtocolType:                 pulumi.String("HDFS"),
			Description:                  pulumi.String(name),
			FileSystemName:               pulumi.String(fmt.Sprintf("%v-%v", name, defaultInteger.Result)),
			SpaceCapacity:                pulumi.Int(1024),
			ThroughputMode:               pulumi.String("Provisioned"),
			ProvisionedThroughputInMiBps: pulumi.Int(512),
			StorageType:                  pulumi.String(storageType),
			ZoneId:                       pulumi.String(zoneId),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

DFS Vsc Mount Point can be imported using the id, e.g.

```sh $ pulumi import alicloud:dfs/vscMountPoint:VscMountPoint example <file_system_id>:<mount_point_id> ```

func GetVscMountPoint added in v3.50.0

func GetVscMountPoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VscMountPointState, opts ...pulumi.ResourceOption) (*VscMountPoint, error)

GetVscMountPoint gets an existing VscMountPoint 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 NewVscMountPoint added in v3.50.0

func NewVscMountPoint(ctx *pulumi.Context,
	name string, args *VscMountPointArgs, opts ...pulumi.ResourceOption) (*VscMountPoint, error)

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

func (*VscMountPoint) ElementType added in v3.50.0

func (*VscMountPoint) ElementType() reflect.Type

func (*VscMountPoint) ToVscMountPointOutput added in v3.50.0

func (i *VscMountPoint) ToVscMountPointOutput() VscMountPointOutput

func (*VscMountPoint) ToVscMountPointOutputWithContext added in v3.50.0

func (i *VscMountPoint) ToVscMountPointOutputWithContext(ctx context.Context) VscMountPointOutput

type VscMountPointArgs added in v3.50.0

type VscMountPointArgs struct {
	// Mount point alias prefix, which is used as the prefix for generating VSC mount point aliases.
	AliasPrefix pulumi.StringPtrInput
	// The description of the Mount point.  The length is 0 to 100 characters.
	Description pulumi.StringPtrInput
	// The ID of the HDFS file system resource associated with the VSC mount point.
	FileSystemId pulumi.StringInput
}

The set of arguments for constructing a VscMountPoint resource.

func (VscMountPointArgs) ElementType added in v3.50.0

func (VscMountPointArgs) ElementType() reflect.Type

type VscMountPointArray added in v3.50.0

type VscMountPointArray []VscMountPointInput

func (VscMountPointArray) ElementType added in v3.50.0

func (VscMountPointArray) ElementType() reflect.Type

func (VscMountPointArray) ToVscMountPointArrayOutput added in v3.50.0

func (i VscMountPointArray) ToVscMountPointArrayOutput() VscMountPointArrayOutput

func (VscMountPointArray) ToVscMountPointArrayOutputWithContext added in v3.50.0

func (i VscMountPointArray) ToVscMountPointArrayOutputWithContext(ctx context.Context) VscMountPointArrayOutput

type VscMountPointArrayInput added in v3.50.0

type VscMountPointArrayInput interface {
	pulumi.Input

	ToVscMountPointArrayOutput() VscMountPointArrayOutput
	ToVscMountPointArrayOutputWithContext(context.Context) VscMountPointArrayOutput
}

VscMountPointArrayInput is an input type that accepts VscMountPointArray and VscMountPointArrayOutput values. You can construct a concrete instance of `VscMountPointArrayInput` via:

VscMountPointArray{ VscMountPointArgs{...} }

type VscMountPointArrayOutput added in v3.50.0

type VscMountPointArrayOutput struct{ *pulumi.OutputState }

func (VscMountPointArrayOutput) ElementType added in v3.50.0

func (VscMountPointArrayOutput) ElementType() reflect.Type

func (VscMountPointArrayOutput) Index added in v3.50.0

func (VscMountPointArrayOutput) ToVscMountPointArrayOutput added in v3.50.0

func (o VscMountPointArrayOutput) ToVscMountPointArrayOutput() VscMountPointArrayOutput

func (VscMountPointArrayOutput) ToVscMountPointArrayOutputWithContext added in v3.50.0

func (o VscMountPointArrayOutput) ToVscMountPointArrayOutputWithContext(ctx context.Context) VscMountPointArrayOutput

type VscMountPointInput added in v3.50.0

type VscMountPointInput interface {
	pulumi.Input

	ToVscMountPointOutput() VscMountPointOutput
	ToVscMountPointOutputWithContext(ctx context.Context) VscMountPointOutput
}

type VscMountPointInstance added in v3.50.0

type VscMountPointInstance struct {
	// The ID of the ECS instance to which the HDFS file system is mounted.
	InstanceId *string `pulumi:"instanceId"`
	// The status of the ECS instance on which the HDFS file system is mounted.
	Status *string `pulumi:"status"`
	// The VSC list of mounted HDFS file systems.
	Vscs []VscMountPointInstanceVsc `pulumi:"vscs"`
}

type VscMountPointInstanceArgs added in v3.50.0

type VscMountPointInstanceArgs struct {
	// The ID of the ECS instance to which the HDFS file system is mounted.
	InstanceId pulumi.StringPtrInput `pulumi:"instanceId"`
	// The status of the ECS instance on which the HDFS file system is mounted.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// The VSC list of mounted HDFS file systems.
	Vscs VscMountPointInstanceVscArrayInput `pulumi:"vscs"`
}

func (VscMountPointInstanceArgs) ElementType added in v3.50.0

func (VscMountPointInstanceArgs) ElementType() reflect.Type

func (VscMountPointInstanceArgs) ToVscMountPointInstanceOutput added in v3.50.0

func (i VscMountPointInstanceArgs) ToVscMountPointInstanceOutput() VscMountPointInstanceOutput

func (VscMountPointInstanceArgs) ToVscMountPointInstanceOutputWithContext added in v3.50.0

func (i VscMountPointInstanceArgs) ToVscMountPointInstanceOutputWithContext(ctx context.Context) VscMountPointInstanceOutput

type VscMountPointInstanceArray added in v3.50.0

type VscMountPointInstanceArray []VscMountPointInstanceInput

func (VscMountPointInstanceArray) ElementType added in v3.50.0

func (VscMountPointInstanceArray) ElementType() reflect.Type

func (VscMountPointInstanceArray) ToVscMountPointInstanceArrayOutput added in v3.50.0

func (i VscMountPointInstanceArray) ToVscMountPointInstanceArrayOutput() VscMountPointInstanceArrayOutput

func (VscMountPointInstanceArray) ToVscMountPointInstanceArrayOutputWithContext added in v3.50.0

func (i VscMountPointInstanceArray) ToVscMountPointInstanceArrayOutputWithContext(ctx context.Context) VscMountPointInstanceArrayOutput

type VscMountPointInstanceArrayInput added in v3.50.0

type VscMountPointInstanceArrayInput interface {
	pulumi.Input

	ToVscMountPointInstanceArrayOutput() VscMountPointInstanceArrayOutput
	ToVscMountPointInstanceArrayOutputWithContext(context.Context) VscMountPointInstanceArrayOutput
}

VscMountPointInstanceArrayInput is an input type that accepts VscMountPointInstanceArray and VscMountPointInstanceArrayOutput values. You can construct a concrete instance of `VscMountPointInstanceArrayInput` via:

VscMountPointInstanceArray{ VscMountPointInstanceArgs{...} }

type VscMountPointInstanceArrayOutput added in v3.50.0

type VscMountPointInstanceArrayOutput struct{ *pulumi.OutputState }

func (VscMountPointInstanceArrayOutput) ElementType added in v3.50.0

func (VscMountPointInstanceArrayOutput) Index added in v3.50.0

func (VscMountPointInstanceArrayOutput) ToVscMountPointInstanceArrayOutput added in v3.50.0

func (o VscMountPointInstanceArrayOutput) ToVscMountPointInstanceArrayOutput() VscMountPointInstanceArrayOutput

func (VscMountPointInstanceArrayOutput) ToVscMountPointInstanceArrayOutputWithContext added in v3.50.0

func (o VscMountPointInstanceArrayOutput) ToVscMountPointInstanceArrayOutputWithContext(ctx context.Context) VscMountPointInstanceArrayOutput

type VscMountPointInstanceInput added in v3.50.0

type VscMountPointInstanceInput interface {
	pulumi.Input

	ToVscMountPointInstanceOutput() VscMountPointInstanceOutput
	ToVscMountPointInstanceOutputWithContext(context.Context) VscMountPointInstanceOutput
}

VscMountPointInstanceInput is an input type that accepts VscMountPointInstanceArgs and VscMountPointInstanceOutput values. You can construct a concrete instance of `VscMountPointInstanceInput` via:

VscMountPointInstanceArgs{...}

type VscMountPointInstanceOutput added in v3.50.0

type VscMountPointInstanceOutput struct{ *pulumi.OutputState }

func (VscMountPointInstanceOutput) ElementType added in v3.50.0

func (VscMountPointInstanceOutput) InstanceId added in v3.50.0

The ID of the ECS instance to which the HDFS file system is mounted.

func (VscMountPointInstanceOutput) Status added in v3.50.0

The status of the ECS instance on which the HDFS file system is mounted.

func (VscMountPointInstanceOutput) ToVscMountPointInstanceOutput added in v3.50.0

func (o VscMountPointInstanceOutput) ToVscMountPointInstanceOutput() VscMountPointInstanceOutput

func (VscMountPointInstanceOutput) ToVscMountPointInstanceOutputWithContext added in v3.50.0

func (o VscMountPointInstanceOutput) ToVscMountPointInstanceOutputWithContext(ctx context.Context) VscMountPointInstanceOutput

func (VscMountPointInstanceOutput) Vscs added in v3.50.0

The VSC list of mounted HDFS file systems.

type VscMountPointInstanceVsc added in v3.50.0

type VscMountPointInstanceVsc struct {
	// VSC Channel primary key representation, used to retrieve the specified VSC Channel.
	VscId *string `pulumi:"vscId"`
	// VSC Mount status.
	VscStatus *string `pulumi:"vscStatus"`
	// The VSC type.
	VscType *string `pulumi:"vscType"`
}

type VscMountPointInstanceVscArgs added in v3.50.0

type VscMountPointInstanceVscArgs struct {
	// VSC Channel primary key representation, used to retrieve the specified VSC Channel.
	VscId pulumi.StringPtrInput `pulumi:"vscId"`
	// VSC Mount status.
	VscStatus pulumi.StringPtrInput `pulumi:"vscStatus"`
	// The VSC type.
	VscType pulumi.StringPtrInput `pulumi:"vscType"`
}

func (VscMountPointInstanceVscArgs) ElementType added in v3.50.0

func (VscMountPointInstanceVscArgs) ToVscMountPointInstanceVscOutput added in v3.50.0

func (i VscMountPointInstanceVscArgs) ToVscMountPointInstanceVscOutput() VscMountPointInstanceVscOutput

func (VscMountPointInstanceVscArgs) ToVscMountPointInstanceVscOutputWithContext added in v3.50.0

func (i VscMountPointInstanceVscArgs) ToVscMountPointInstanceVscOutputWithContext(ctx context.Context) VscMountPointInstanceVscOutput

type VscMountPointInstanceVscArray added in v3.50.0

type VscMountPointInstanceVscArray []VscMountPointInstanceVscInput

func (VscMountPointInstanceVscArray) ElementType added in v3.50.0

func (VscMountPointInstanceVscArray) ToVscMountPointInstanceVscArrayOutput added in v3.50.0

func (i VscMountPointInstanceVscArray) ToVscMountPointInstanceVscArrayOutput() VscMountPointInstanceVscArrayOutput

func (VscMountPointInstanceVscArray) ToVscMountPointInstanceVscArrayOutputWithContext added in v3.50.0

func (i VscMountPointInstanceVscArray) ToVscMountPointInstanceVscArrayOutputWithContext(ctx context.Context) VscMountPointInstanceVscArrayOutput

type VscMountPointInstanceVscArrayInput added in v3.50.0

type VscMountPointInstanceVscArrayInput interface {
	pulumi.Input

	ToVscMountPointInstanceVscArrayOutput() VscMountPointInstanceVscArrayOutput
	ToVscMountPointInstanceVscArrayOutputWithContext(context.Context) VscMountPointInstanceVscArrayOutput
}

VscMountPointInstanceVscArrayInput is an input type that accepts VscMountPointInstanceVscArray and VscMountPointInstanceVscArrayOutput values. You can construct a concrete instance of `VscMountPointInstanceVscArrayInput` via:

VscMountPointInstanceVscArray{ VscMountPointInstanceVscArgs{...} }

type VscMountPointInstanceVscArrayOutput added in v3.50.0

type VscMountPointInstanceVscArrayOutput struct{ *pulumi.OutputState }

func (VscMountPointInstanceVscArrayOutput) ElementType added in v3.50.0

func (VscMountPointInstanceVscArrayOutput) Index added in v3.50.0

func (VscMountPointInstanceVscArrayOutput) ToVscMountPointInstanceVscArrayOutput added in v3.50.0

func (o VscMountPointInstanceVscArrayOutput) ToVscMountPointInstanceVscArrayOutput() VscMountPointInstanceVscArrayOutput

func (VscMountPointInstanceVscArrayOutput) ToVscMountPointInstanceVscArrayOutputWithContext added in v3.50.0

func (o VscMountPointInstanceVscArrayOutput) ToVscMountPointInstanceVscArrayOutputWithContext(ctx context.Context) VscMountPointInstanceVscArrayOutput

type VscMountPointInstanceVscInput added in v3.50.0

type VscMountPointInstanceVscInput interface {
	pulumi.Input

	ToVscMountPointInstanceVscOutput() VscMountPointInstanceVscOutput
	ToVscMountPointInstanceVscOutputWithContext(context.Context) VscMountPointInstanceVscOutput
}

VscMountPointInstanceVscInput is an input type that accepts VscMountPointInstanceVscArgs and VscMountPointInstanceVscOutput values. You can construct a concrete instance of `VscMountPointInstanceVscInput` via:

VscMountPointInstanceVscArgs{...}

type VscMountPointInstanceVscOutput added in v3.50.0

type VscMountPointInstanceVscOutput struct{ *pulumi.OutputState }

func (VscMountPointInstanceVscOutput) ElementType added in v3.50.0

func (VscMountPointInstanceVscOutput) ToVscMountPointInstanceVscOutput added in v3.50.0

func (o VscMountPointInstanceVscOutput) ToVscMountPointInstanceVscOutput() VscMountPointInstanceVscOutput

func (VscMountPointInstanceVscOutput) ToVscMountPointInstanceVscOutputWithContext added in v3.50.0

func (o VscMountPointInstanceVscOutput) ToVscMountPointInstanceVscOutputWithContext(ctx context.Context) VscMountPointInstanceVscOutput

func (VscMountPointInstanceVscOutput) VscId added in v3.50.0

VSC Channel primary key representation, used to retrieve the specified VSC Channel.

func (VscMountPointInstanceVscOutput) VscStatus added in v3.50.0

VSC Mount status.

func (VscMountPointInstanceVscOutput) VscType added in v3.50.0

The VSC type.

type VscMountPointMap added in v3.50.0

type VscMountPointMap map[string]VscMountPointInput

func (VscMountPointMap) ElementType added in v3.50.0

func (VscMountPointMap) ElementType() reflect.Type

func (VscMountPointMap) ToVscMountPointMapOutput added in v3.50.0

func (i VscMountPointMap) ToVscMountPointMapOutput() VscMountPointMapOutput

func (VscMountPointMap) ToVscMountPointMapOutputWithContext added in v3.50.0

func (i VscMountPointMap) ToVscMountPointMapOutputWithContext(ctx context.Context) VscMountPointMapOutput

type VscMountPointMapInput added in v3.50.0

type VscMountPointMapInput interface {
	pulumi.Input

	ToVscMountPointMapOutput() VscMountPointMapOutput
	ToVscMountPointMapOutputWithContext(context.Context) VscMountPointMapOutput
}

VscMountPointMapInput is an input type that accepts VscMountPointMap and VscMountPointMapOutput values. You can construct a concrete instance of `VscMountPointMapInput` via:

VscMountPointMap{ "key": VscMountPointArgs{...} }

type VscMountPointMapOutput added in v3.50.0

type VscMountPointMapOutput struct{ *pulumi.OutputState }

func (VscMountPointMapOutput) ElementType added in v3.50.0

func (VscMountPointMapOutput) ElementType() reflect.Type

func (VscMountPointMapOutput) MapIndex added in v3.50.0

func (VscMountPointMapOutput) ToVscMountPointMapOutput added in v3.50.0

func (o VscMountPointMapOutput) ToVscMountPointMapOutput() VscMountPointMapOutput

func (VscMountPointMapOutput) ToVscMountPointMapOutputWithContext added in v3.50.0

func (o VscMountPointMapOutput) ToVscMountPointMapOutputWithContext(ctx context.Context) VscMountPointMapOutput

type VscMountPointOutput added in v3.50.0

type VscMountPointOutput struct{ *pulumi.OutputState }

func (VscMountPointOutput) AliasPrefix added in v3.50.0

func (o VscMountPointOutput) AliasPrefix() pulumi.StringPtrOutput

Mount point alias prefix, which is used as the prefix for generating VSC mount point aliases.

func (VscMountPointOutput) Description added in v3.50.0

func (o VscMountPointOutput) Description() pulumi.StringPtrOutput

The description of the Mount point. The length is 0 to 100 characters.

func (VscMountPointOutput) ElementType added in v3.50.0

func (VscMountPointOutput) ElementType() reflect.Type

func (VscMountPointOutput) FileSystemId added in v3.50.0

func (o VscMountPointOutput) FileSystemId() pulumi.StringOutput

The ID of the HDFS file system resource associated with the VSC mount point.

func (VscMountPointOutput) Instances added in v3.50.0

The collection of ECS instances on which the HDFS file system is mounted.

func (VscMountPointOutput) MountPointId added in v3.50.0

func (o VscMountPointOutput) MountPointId() pulumi.StringOutput

VSC mount point ID, which is the unique identifier of the vsc mount point and is used to access the associated HDFS file system.

func (VscMountPointOutput) ToVscMountPointOutput added in v3.50.0

func (o VscMountPointOutput) ToVscMountPointOutput() VscMountPointOutput

func (VscMountPointOutput) ToVscMountPointOutputWithContext added in v3.50.0

func (o VscMountPointOutput) ToVscMountPointOutputWithContext(ctx context.Context) VscMountPointOutput

type VscMountPointState added in v3.50.0

type VscMountPointState struct {
	// Mount point alias prefix, which is used as the prefix for generating VSC mount point aliases.
	AliasPrefix pulumi.StringPtrInput
	// The description of the Mount point.  The length is 0 to 100 characters.
	Description pulumi.StringPtrInput
	// The ID of the HDFS file system resource associated with the VSC mount point.
	FileSystemId pulumi.StringPtrInput
	// The collection of ECS instances on which the HDFS file system is mounted.
	Instances VscMountPointInstanceArrayInput
	// VSC mount point ID, which is the unique identifier of the vsc mount point and is used to access the associated HDFS file system.
	MountPointId pulumi.StringPtrInput
}

func (VscMountPointState) ElementType added in v3.50.0

func (VscMountPointState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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