dfs

package
v3.44.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2023 License: Apache-2.0 Imports: 8 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 Name of Access Group.The length of `accessGroupName` does not exceed 100 bytes.
	AccessGroupName pulumi.StringOutput `pulumi:"accessGroupName"`
	// The Description of Access Group. The length of `description` does not exceed 100 bytes.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The NetworkType of Access Group. Valid values: `VPC`.
	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/doc-detail/207144.htm).

> **NOTE:** Available since 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"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_, err := dfs.NewAccessGroup(ctx, "default", &dfs.AccessGroupArgs{
			AccessGroupName: pulumi.String(name),
			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

func (*AccessGroup) ToOutput added in v3.43.1

func (i *AccessGroup) ToOutput(ctx context.Context) pulumix.Output[*AccessGroup]

type AccessGroupArgs

type AccessGroupArgs struct {
	// The Name of Access Group.The length of `accessGroupName` does not exceed 100 bytes.
	AccessGroupName pulumi.StringInput
	// The Description of Access Group. The length of `description` does not exceed 100 bytes.
	Description pulumi.StringPtrInput
	// The NetworkType of Access Group. Valid values: `VPC`.
	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

func (AccessGroupArray) ToOutput added in v3.43.1

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

func (AccessGroupArrayOutput) ToOutput added in v3.43.1

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

func (AccessGroupMap) ToOutput added in v3.43.1

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

func (AccessGroupMapOutput) ToOutput added in v3.43.1

type AccessGroupOutput

type AccessGroupOutput struct{ *pulumi.OutputState }

func (AccessGroupOutput) AccessGroupName added in v3.27.0

func (o AccessGroupOutput) AccessGroupName() pulumi.StringOutput

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

func (AccessGroupOutput) Description added in v3.27.0

func (o AccessGroupOutput) Description() pulumi.StringPtrOutput

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

func (AccessGroupOutput) ElementType

func (AccessGroupOutput) ElementType() reflect.Type

func (AccessGroupOutput) NetworkType added in v3.27.0

func (o AccessGroupOutput) NetworkType() pulumi.StringOutput

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

func (AccessGroupOutput) ToAccessGroupOutput

func (o AccessGroupOutput) ToAccessGroupOutput() AccessGroupOutput

func (AccessGroupOutput) ToAccessGroupOutputWithContext

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

func (AccessGroupOutput) ToOutput added in v3.43.1

type AccessGroupState

type AccessGroupState struct {
	// The Name of Access Group.The length of `accessGroupName` does not exceed 100 bytes.
	AccessGroupName pulumi.StringPtrInput
	// The Description of Access Group. The length of `description` does not exceed 100 bytes.
	Description pulumi.StringPtrInput
	// The NetworkType of Access Group. Valid values: `VPC`.
	NetworkType pulumi.StringPtrInput
}

func (AccessGroupState) ElementType

func (AccessGroupState) ElementType() reflect.Type

type AccessRule added in v3.9.0

type AccessRule struct {
	pulumi.CustomResourceState

	// The resource ID of Access Group.
	AccessGroupId pulumi.StringOutput `pulumi:"accessGroupId"`
	// The ID of the Access Rule.
	AccessRuleId pulumi.StringOutput `pulumi:"accessRuleId"`
	// The Description of the Access Rule.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The NetworkSegment of the Access Rule.
	NetworkSegment pulumi.StringOutput `pulumi:"networkSegment"`
	// The Priority of the Access Rule. Valid values: `1` to `100`. **NOTE:** When multiple rules are matched by the same authorized object, the high-priority rule takes effect. `1` is the highest priority.
	Priority pulumi.IntOutput `pulumi:"priority"`
	// The RWAccessType of the Access Rule. Valid values: `RDONLY`, `RDWR`.
	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/doc-detail/207144.htm).

> **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
		}
		defaultAccessGroup, err := dfs.NewAccessGroup(ctx, "defaultAccessGroup", &dfs.AccessGroupArgs{
			NetworkType:     pulumi.String("VPC"),
			AccessGroupName: pulumi.String(name),
			Description:     pulumi.String(name),
		})
		if err != nil {
			return err
		}
		_, err = dfs.NewAccessRule(ctx, "defaultAccessRule", &dfs.AccessRuleArgs{
			NetworkSegment: pulumi.String("192.0.2.0/24"),
			AccessGroupId:  defaultAccessGroup.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

func (*AccessRule) ToOutput added in v3.43.1

func (i *AccessRule) ToOutput(ctx context.Context) pulumix.Output[*AccessRule]

type AccessRuleArgs added in v3.9.0

type AccessRuleArgs struct {
	// The resource ID of Access Group.
	AccessGroupId pulumi.StringInput
	// The Description of the Access Rule.
	Description pulumi.StringPtrInput
	// The NetworkSegment of the Access Rule.
	NetworkSegment pulumi.StringInput
	// The Priority of the Access Rule. Valid values: `1` to `100`. **NOTE:** When multiple rules are matched by the same authorized object, the high-priority rule takes effect. `1` is the highest priority.
	Priority pulumi.IntInput
	// The RWAccessType of the Access Rule. Valid values: `RDONLY`, `RDWR`.
	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

func (AccessRuleArray) ToOutput added in v3.43.1

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

func (AccessRuleArrayOutput) ToOutput added in v3.43.1

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

func (AccessRuleMap) ToOutput added in v3.43.1

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

func (AccessRuleMapOutput) ToOutput added in v3.43.1

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

The resource ID of Access Group.

func (AccessRuleOutput) AccessRuleId added in v3.27.0

func (o AccessRuleOutput) AccessRuleId() pulumi.StringOutput

The ID of the Access Rule.

func (AccessRuleOutput) Description added in v3.27.0

func (o AccessRuleOutput) Description() pulumi.StringPtrOutput

The Description of the Access Rule.

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 NetworkSegment of the Access Rule.

func (AccessRuleOutput) Priority added in v3.27.0

func (o AccessRuleOutput) Priority() pulumi.IntOutput

The Priority of the Access Rule. Valid values: `1` to `100`. **NOTE:** When multiple rules are matched by the same authorized object, the high-priority rule takes effect. `1` is the highest priority.

func (AccessRuleOutput) RwAccessType added in v3.27.0

func (o AccessRuleOutput) RwAccessType() pulumi.StringOutput

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

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

func (AccessRuleOutput) ToOutput added in v3.43.1

type AccessRuleState added in v3.9.0

type AccessRuleState struct {
	// The resource ID of Access Group.
	AccessGroupId pulumi.StringPtrInput
	// The ID of the Access Rule.
	AccessRuleId pulumi.StringPtrInput
	// The Description of the Access Rule.
	Description pulumi.StringPtrInput
	// The NetworkSegment of the Access Rule.
	NetworkSegment pulumi.StringPtrInput
	// The Priority of the Access Rule. Valid values: `1` to `100`. **NOTE:** When multiple rules are matched by the same authorized object, the high-priority rule takes effect. `1` is the highest priority.
	Priority pulumi.IntPtrInput
	// The RWAccessType of the Access Rule. Valid values: `RDONLY`, `RDWR`.
	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 description of the File system.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of the File system.
	FileSystemName pulumi.StringOutput `pulumi:"fileSystemName"`
	// The protocol type. Valid values: `HDFS`.
	ProtocolType pulumi.StringOutput `pulumi:"protocolType"`
	// The preset throughput of the File system. Valid values: `1` to `1024`, Unit: MB/s. **NOTE:** Only when `throughputMode` is `Provisioned`, this param is valid.
	ProvisionedThroughputInMiBps pulumi.IntPtrOutput `pulumi:"provisionedThroughputInMiBps"`
	// The capacity budget of the File system. **NOTE:** When the actual data storage reaches the file system capacity budget, the data cannot be written. The file system capacity budget does not support shrinking.
	SpaceCapacity pulumi.IntOutput `pulumi:"spaceCapacity"`
	// The storage specifications of the File system. Valid values: `PERFORMANCE`, `STANDARD`.
	StorageType pulumi.StringOutput `pulumi:"storageType"`
	// The throughput mode of the File system. Valid values: `Provisioned`, `Standard`.
	ThroughputMode pulumi.StringPtrOutput `pulumi:"throughputMode"`
	// The zone ID of the File system.
	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/doc-detail/207144.htm).

> **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
		}
		defaultZones, err := dfs.GetZones(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = dfs.NewFileSystem(ctx, "defaultFileSystem", &dfs.FileSystemArgs{
			StorageType:    *pulumi.String(defaultZones.Zones[0].Options[0].StorageType),
			ZoneId:         *pulumi.String(defaultZones.Zones[0].ZoneId),
			ProtocolType:   pulumi.String("HDFS"),
			Description:    pulumi.String(name),
			FileSystemName: pulumi.String(name),
			ThroughputMode: pulumi.String("Standard"),
			SpaceCapacity:  pulumi.Int(1024),
		})
		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

func (*FileSystem) ToOutput added in v3.43.1

func (i *FileSystem) ToOutput(ctx context.Context) pulumix.Output[*FileSystem]

type FileSystemArgs added in v3.9.0

type FileSystemArgs struct {
	// The description of the File system.
	Description pulumi.StringPtrInput
	// The name of the File system.
	FileSystemName pulumi.StringInput
	// The protocol type. Valid values: `HDFS`.
	ProtocolType pulumi.StringInput
	// The preset throughput of the File system. Valid values: `1` to `1024`, Unit: MB/s. **NOTE:** Only when `throughputMode` is `Provisioned`, this param is valid.
	ProvisionedThroughputInMiBps pulumi.IntPtrInput
	// The capacity budget of the File system. **NOTE:** When the actual data storage reaches the file system capacity budget, the data cannot be written. The file system capacity budget does not support shrinking.
	SpaceCapacity pulumi.IntInput
	// The storage specifications of the File system. Valid values: `PERFORMANCE`, `STANDARD`.
	StorageType pulumi.StringInput
	// The throughput mode of the File system. Valid values: `Provisioned`, `Standard`.
	ThroughputMode pulumi.StringPtrInput
	// The zone ID of the File system.
	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

func (FileSystemArray) ToOutput added in v3.43.1

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

func (FileSystemArrayOutput) ToOutput added in v3.43.1

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

func (FileSystemMap) ToOutput added in v3.43.1

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

func (FileSystemMapOutput) ToOutput added in v3.43.1

type FileSystemOutput added in v3.9.0

type FileSystemOutput struct{ *pulumi.OutputState }

func (FileSystemOutput) Description added in v3.27.0

func (o FileSystemOutput) Description() pulumi.StringPtrOutput

The description of the File system.

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 name of the File system.

func (FileSystemOutput) ProtocolType added in v3.27.0

func (o FileSystemOutput) ProtocolType() pulumi.StringOutput

The protocol type. Valid values: `HDFS`.

func (FileSystemOutput) ProvisionedThroughputInMiBps added in v3.27.0

func (o FileSystemOutput) ProvisionedThroughputInMiBps() pulumi.IntPtrOutput

The preset throughput of the File system. Valid values: `1` to `1024`, Unit: MB/s. **NOTE:** Only when `throughputMode` is `Provisioned`, this param is valid.

func (FileSystemOutput) SpaceCapacity added in v3.27.0

func (o FileSystemOutput) SpaceCapacity() pulumi.IntOutput

The capacity budget of the File system. **NOTE:** When the actual data storage reaches the file system capacity budget, the data cannot be written. The file system capacity budget does not support shrinking.

func (FileSystemOutput) StorageType added in v3.27.0

func (o FileSystemOutput) StorageType() pulumi.StringOutput

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

func (FileSystemOutput) ThroughputMode added in v3.27.0

func (o FileSystemOutput) ThroughputMode() pulumi.StringPtrOutput

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

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) ToOutput added in v3.43.1

func (FileSystemOutput) ZoneId added in v3.27.0

The zone ID of the File system.

type FileSystemState added in v3.9.0

type FileSystemState struct {
	// The description of the File system.
	Description pulumi.StringPtrInput
	// The name of the File system.
	FileSystemName pulumi.StringPtrInput
	// The protocol type. Valid values: `HDFS`.
	ProtocolType pulumi.StringPtrInput
	// The preset throughput of the File system. Valid values: `1` to `1024`, Unit: MB/s. **NOTE:** Only when `throughputMode` is `Provisioned`, this param is valid.
	ProvisionedThroughputInMiBps pulumi.IntPtrInput
	// The capacity budget of the File system. **NOTE:** When the actual data storage reaches the file system capacity budget, the data cannot be written. The file system capacity budget does not support shrinking.
	SpaceCapacity pulumi.IntPtrInput
	// The storage specifications of the File system. Valid values: `PERFORMANCE`, `STANDARD`.
	StorageType pulumi.StringPtrInput
	// The throughput mode of the File system. Valid values: `Provisioned`, `Standard`.
	ThroughputMode pulumi.StringPtrInput
	// The zone ID of the File system.
	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

func (GetAccessGroupsGroupArgs) ToOutput added in v3.43.1

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

func (GetAccessGroupsGroupArray) ToOutput added in v3.43.1

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

func (GetAccessGroupsGroupArrayOutput) ToOutput added in v3.43.1

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

func (GetAccessGroupsGroupOutput) ToOutput added in v3.43.1

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

func (GetAccessGroupsResultOutput) ToOutput added in v3.43.1

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

func (GetAccessRulesResultOutput) ToOutput added in v3.43.1

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

func (GetAccessRulesRuleArgs) ToOutput added in v3.43.1

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

func (GetAccessRulesRuleArray) ToOutput added in v3.43.1

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

func (GetAccessRulesRuleArrayOutput) ToOutput added in v3.43.1

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

func (GetAccessRulesRuleOutput) ToOutput added in v3.43.1

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

func (GetFileSystemsResultOutput) ToOutput added in v3.43.1

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

func (GetFileSystemsSystemArgs) ToOutput added in v3.43.1

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

func (GetFileSystemsSystemArray) ToOutput added in v3.43.1

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

func (GetFileSystemsSystemArrayOutput) ToOutput added in v3.43.1

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) ToOutput added in v3.43.1

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

func (GetMountPointsPointArgs) ToOutput added in v3.43.1

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

func (GetMountPointsPointArray) ToOutput added in v3.43.1

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

func (GetMountPointsPointArrayOutput) ToOutput added in v3.43.1

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) ToOutput added in v3.43.1

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

func (GetMountPointsResultOutput) ToOutput added in v3.43.1

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) ToOutput added in v3.43.1

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

func (GetZonesZoneArgs) ToOutput added in v3.43.1

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

func (GetZonesZoneArray) ToOutput added in v3.43.1

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

func (GetZonesZoneArrayOutput) ToOutput added in v3.43.1

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

func (GetZonesZoneOptionArgs) ToOutput added in v3.43.1

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

func (GetZonesZoneOptionArray) ToOutput added in v3.43.1

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

func (GetZonesZoneOptionArrayOutput) ToOutput added in v3.43.1

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

func (GetZonesZoneOptionOutput) ToOutput added in v3.43.1

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) ToOutput added in v3.43.1

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 Access Group.
	AccessGroupId pulumi.StringOutput `pulumi:"accessGroupId"`
	// The description of the Mount Point.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The ID of the File System.
	FileSystemId pulumi.StringOutput `pulumi:"fileSystemId"`
	// The ID of the Mount Point.
	MountPointId pulumi.StringOutput `pulumi:"mountPointId"`
	// The network type of the Mount Point. Valid values: `VPC`.
	NetworkType pulumi.StringOutput `pulumi:"networkType"`
	// The status of the Mount Point. Valid values: `Active`, `Inactive`.
	Status pulumi.StringOutput `pulumi:"status"`
	// The vpc id.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// The vswitch id.
	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/doc-detail/207144.htm).

> **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
		}
		defaultZones, err := dfs.GetZones(ctx, nil, nil)
		if err != nil {
			return err
		}
		defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{
			VpcName:   pulumi.String(name),
			CidrBlock: pulumi.String("10.4.0.0/16"),
		})
		if err != nil {
			return err
		}
		defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{
			VswitchName: pulumi.String(name),
			CidrBlock:   pulumi.String("10.4.0.0/24"),
			VpcId:       defaultNetwork.ID(),
			ZoneId:      *pulumi.String(defaultZones.Zones[0].ZoneId),
		})
		if err != nil {
			return err
		}
		defaultFileSystem, err := dfs.NewFileSystem(ctx, "defaultFileSystem", &dfs.FileSystemArgs{
			StorageType:    *pulumi.String(defaultZones.Zones[0].Options[0].StorageType),
			ZoneId:         *pulumi.String(defaultZones.Zones[0].ZoneId),
			ProtocolType:   pulumi.String("HDFS"),
			Description:    pulumi.String(name),
			FileSystemName: pulumi.String(name),
			ThroughputMode: pulumi.String("Standard"),
			SpaceCapacity:  pulumi.Int(1024),
		})
		if err != nil {
			return err
		}
		defaultAccessGroup, err := dfs.NewAccessGroup(ctx, "defaultAccessGroup", &dfs.AccessGroupArgs{
			AccessGroupName: pulumi.String(name),
			Description:     pulumi.String(name),
			NetworkType:     pulumi.String("VPC"),
		})
		if err != nil {
			return err
		}
		_, err = dfs.NewMountPoint(ctx, "defaultMountPoint", &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

func (*MountPoint) ToOutput added in v3.43.1

func (i *MountPoint) ToOutput(ctx context.Context) pulumix.Output[*MountPoint]

type MountPointArgs added in v3.9.0

type MountPointArgs struct {
	// The ID of the Access Group.
	AccessGroupId pulumi.StringInput
	// The description of the Mount Point.
	Description pulumi.StringPtrInput
	// The ID of the File System.
	FileSystemId pulumi.StringInput
	// The network type of the Mount Point. Valid values: `VPC`.
	NetworkType pulumi.StringInput
	// The status of the Mount Point. Valid values: `Active`, `Inactive`.
	Status pulumi.StringPtrInput
	// The vpc id.
	VpcId pulumi.StringInput
	// The vswitch id.
	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

func (MountPointArray) ToOutput added in v3.43.1

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

func (MountPointArrayOutput) ToOutput added in v3.43.1

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

func (MountPointMap) ToOutput added in v3.43.1

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

func (MountPointMapOutput) ToOutput added in v3.43.1

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 Access Group.

func (MountPointOutput) Description added in v3.27.0

func (o MountPointOutput) Description() pulumi.StringPtrOutput

The description of the Mount Point.

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

The ID of the File System.

func (MountPointOutput) MountPointId added in v3.27.0

func (o MountPointOutput) MountPointId() pulumi.StringOutput

The ID of the Mount Point.

func (MountPointOutput) NetworkType added in v3.27.0

func (o MountPointOutput) NetworkType() pulumi.StringOutput

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

func (MountPointOutput) Status added in v3.27.0

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

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) ToOutput added in v3.43.1

func (MountPointOutput) VpcId added in v3.27.0

The vpc id.

func (MountPointOutput) VswitchId added in v3.27.0

func (o MountPointOutput) VswitchId() pulumi.StringOutput

The vswitch id.

type MountPointState added in v3.9.0

type MountPointState struct {
	// The ID of the Access Group.
	AccessGroupId pulumi.StringPtrInput
	// The description of the Mount Point.
	Description pulumi.StringPtrInput
	// The ID of the File System.
	FileSystemId pulumi.StringPtrInput
	// The ID of the Mount Point.
	MountPointId pulumi.StringPtrInput
	// The network type of the Mount Point. Valid values: `VPC`.
	NetworkType pulumi.StringPtrInput
	// The status of the Mount Point. Valid values: `Active`, `Inactive`.
	Status pulumi.StringPtrInput
	// The vpc id.
	VpcId pulumi.StringPtrInput
	// The vswitch id.
	VswitchId pulumi.StringPtrInput
}

func (MountPointState) ElementType added in v3.9.0

func (MountPointState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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