dfs

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v0.0.1

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

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 in v1.133.0+.

## Example Usage

Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dfs.NewAccessGroup(ctx, "example", &dfs.AccessGroupArgs{
			AccessGroupName: pulumi.String("example_value"),
			NetworkType:     pulumi.String("VPC"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

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

```

func GetAccessGroup

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

GetAccessGroup gets an existing AccessGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAccessGroup

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

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

func (*AccessGroup) ElementType

func (*AccessGroup) ElementType() reflect.Type

func (*AccessGroup) ToAccessGroupOutput

func (i *AccessGroup) ToAccessGroupOutput() AccessGroupOutput

func (*AccessGroup) ToAccessGroupOutputWithContext

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

type AccessGroupArgs

type AccessGroupArgs struct {
	// The 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

type AccessGroupArrayInput

type AccessGroupArrayInput interface {
	pulumi.Input

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

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

AccessGroupArray{ AccessGroupArgs{...} }

type AccessGroupArrayOutput

type AccessGroupArrayOutput struct{ *pulumi.OutputState }

func (AccessGroupArrayOutput) ElementType

func (AccessGroupArrayOutput) ElementType() reflect.Type

func (AccessGroupArrayOutput) Index

func (AccessGroupArrayOutput) ToAccessGroupArrayOutput

func (o AccessGroupArrayOutput) ToAccessGroupArrayOutput() AccessGroupArrayOutput

func (AccessGroupArrayOutput) ToAccessGroupArrayOutputWithContext

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

type AccessGroupInput

type AccessGroupInput interface {
	pulumi.Input

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

type AccessGroupMap

type AccessGroupMap map[string]AccessGroupInput

func (AccessGroupMap) ElementType

func (AccessGroupMap) ElementType() reflect.Type

func (AccessGroupMap) ToAccessGroupMapOutput

func (i AccessGroupMap) ToAccessGroupMapOutput() AccessGroupMapOutput

func (AccessGroupMap) ToAccessGroupMapOutputWithContext

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

type AccessGroupMapInput

type AccessGroupMapInput interface {
	pulumi.Input

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

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

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

type AccessGroupMapOutput

type AccessGroupMapOutput struct{ *pulumi.OutputState }

func (AccessGroupMapOutput) ElementType

func (AccessGroupMapOutput) ElementType() reflect.Type

func (AccessGroupMapOutput) MapIndex

func (AccessGroupMapOutput) ToAccessGroupMapOutput

func (o AccessGroupMapOutput) ToAccessGroupMapOutput() AccessGroupMapOutput

func (AccessGroupMapOutput) ToAccessGroupMapOutputWithContext

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

type AccessGroupOutput

type AccessGroupOutput struct{ *pulumi.OutputState }

func (AccessGroupOutput) AccessGroupName

func (o AccessGroupOutput) AccessGroupName() pulumi.StringOutput

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

func (AccessGroupOutput) Description

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

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

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

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 in v1.140.0+.

## Example Usage

Basic Usage

```go package main

import (

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

)

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

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

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

func (*AccessRule) ElementType() reflect.Type

func (*AccessRule) ToAccessRuleOutput

func (i *AccessRule) ToAccessRuleOutput() AccessRuleOutput

func (*AccessRule) ToAccessRuleOutputWithContext

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

type AccessRuleArgs

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

func (AccessRuleArgs) ElementType() reflect.Type

type AccessRuleArray

type AccessRuleArray []AccessRuleInput

func (AccessRuleArray) ElementType

func (AccessRuleArray) ElementType() reflect.Type

func (AccessRuleArray) ToAccessRuleArrayOutput

func (i AccessRuleArray) ToAccessRuleArrayOutput() AccessRuleArrayOutput

func (AccessRuleArray) ToAccessRuleArrayOutputWithContext

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

type AccessRuleArrayInput

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

type AccessRuleArrayOutput struct{ *pulumi.OutputState }

func (AccessRuleArrayOutput) ElementType

func (AccessRuleArrayOutput) ElementType() reflect.Type

func (AccessRuleArrayOutput) Index

func (AccessRuleArrayOutput) ToAccessRuleArrayOutput

func (o AccessRuleArrayOutput) ToAccessRuleArrayOutput() AccessRuleArrayOutput

func (AccessRuleArrayOutput) ToAccessRuleArrayOutputWithContext

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

type AccessRuleInput

type AccessRuleInput interface {
	pulumi.Input

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

type AccessRuleMap

type AccessRuleMap map[string]AccessRuleInput

func (AccessRuleMap) ElementType

func (AccessRuleMap) ElementType() reflect.Type

func (AccessRuleMap) ToAccessRuleMapOutput

func (i AccessRuleMap) ToAccessRuleMapOutput() AccessRuleMapOutput

func (AccessRuleMap) ToAccessRuleMapOutputWithContext

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

type AccessRuleMapInput

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

type AccessRuleMapOutput struct{ *pulumi.OutputState }

func (AccessRuleMapOutput) ElementType

func (AccessRuleMapOutput) ElementType() reflect.Type

func (AccessRuleMapOutput) MapIndex

func (AccessRuleMapOutput) ToAccessRuleMapOutput

func (o AccessRuleMapOutput) ToAccessRuleMapOutput() AccessRuleMapOutput

func (AccessRuleMapOutput) ToAccessRuleMapOutputWithContext

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

type AccessRuleOutput

type AccessRuleOutput struct{ *pulumi.OutputState }

func (AccessRuleOutput) AccessGroupId

func (o AccessRuleOutput) AccessGroupId() pulumi.StringOutput

The resource ID of Access Group.

func (AccessRuleOutput) AccessRuleId

func (o AccessRuleOutput) AccessRuleId() pulumi.StringOutput

The ID of the Access Rule.

func (AccessRuleOutput) Description

func (o AccessRuleOutput) Description() pulumi.StringPtrOutput

The Description of the Access Rule.

func (AccessRuleOutput) ElementType

func (AccessRuleOutput) ElementType() reflect.Type

func (AccessRuleOutput) NetworkSegment

func (o AccessRuleOutput) NetworkSegment() pulumi.StringOutput

The NetworkSegment of the Access Rule.

func (AccessRuleOutput) Priority

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

func (o AccessRuleOutput) RwAccessType() pulumi.StringOutput

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

func (AccessRuleOutput) ToAccessRuleOutput

func (o AccessRuleOutput) ToAccessRuleOutput() AccessRuleOutput

func (AccessRuleOutput) ToAccessRuleOutputWithContext

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

type AccessRuleState

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

func (AccessRuleState) ElementType() reflect.Type

type FileSystem

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 in v1.140.0+.

## Example Usage

Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf-testAccFileSystem"
		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

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

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

func (*FileSystem) ElementType() reflect.Type

func (*FileSystem) ToFileSystemOutput

func (i *FileSystem) ToFileSystemOutput() FileSystemOutput

func (*FileSystem) ToFileSystemOutputWithContext

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

type FileSystemArgs

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

func (FileSystemArgs) ElementType() reflect.Type

type FileSystemArray

type FileSystemArray []FileSystemInput

func (FileSystemArray) ElementType

func (FileSystemArray) ElementType() reflect.Type

func (FileSystemArray) ToFileSystemArrayOutput

func (i FileSystemArray) ToFileSystemArrayOutput() FileSystemArrayOutput

func (FileSystemArray) ToFileSystemArrayOutputWithContext

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

type FileSystemArrayInput

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

type FileSystemArrayOutput struct{ *pulumi.OutputState }

func (FileSystemArrayOutput) ElementType

func (FileSystemArrayOutput) ElementType() reflect.Type

func (FileSystemArrayOutput) Index

func (FileSystemArrayOutput) ToFileSystemArrayOutput

func (o FileSystemArrayOutput) ToFileSystemArrayOutput() FileSystemArrayOutput

func (FileSystemArrayOutput) ToFileSystemArrayOutputWithContext

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

type FileSystemInput

type FileSystemInput interface {
	pulumi.Input

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

type FileSystemMap

type FileSystemMap map[string]FileSystemInput

func (FileSystemMap) ElementType

func (FileSystemMap) ElementType() reflect.Type

func (FileSystemMap) ToFileSystemMapOutput

func (i FileSystemMap) ToFileSystemMapOutput() FileSystemMapOutput

func (FileSystemMap) ToFileSystemMapOutputWithContext

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

type FileSystemMapInput

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

type FileSystemMapOutput struct{ *pulumi.OutputState }

func (FileSystemMapOutput) ElementType

func (FileSystemMapOutput) ElementType() reflect.Type

func (FileSystemMapOutput) MapIndex

func (FileSystemMapOutput) ToFileSystemMapOutput

func (o FileSystemMapOutput) ToFileSystemMapOutput() FileSystemMapOutput

func (FileSystemMapOutput) ToFileSystemMapOutputWithContext

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

type FileSystemOutput

type FileSystemOutput struct{ *pulumi.OutputState }

func (FileSystemOutput) Description

func (o FileSystemOutput) Description() pulumi.StringPtrOutput

The description of the File system.

func (FileSystemOutput) ElementType

func (FileSystemOutput) ElementType() reflect.Type

func (FileSystemOutput) FileSystemName

func (o FileSystemOutput) FileSystemName() pulumi.StringOutput

The name of the File system.

func (FileSystemOutput) ProtocolType

func (o FileSystemOutput) ProtocolType() pulumi.StringOutput

The protocol type. Valid values: `HDFS`.

func (FileSystemOutput) ProvisionedThroughputInMiBps

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

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

func (o FileSystemOutput) StorageType() pulumi.StringOutput

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

func (FileSystemOutput) ThroughputMode

func (o FileSystemOutput) ThroughputMode() pulumi.StringPtrOutput

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

func (FileSystemOutput) ToFileSystemOutput

func (o FileSystemOutput) ToFileSystemOutput() FileSystemOutput

func (FileSystemOutput) ToFileSystemOutputWithContext

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

func (FileSystemOutput) ZoneId

The zone ID of the File system.

type FileSystemState

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

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"`
	OutputFile  *string `pulumi:"outputFile"`
	StartOffset *int    `pulumi:"startOffset"`
}

A collection of arguments for invoking getAccessGroups.

type GetAccessGroupsGroup

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

type GetAccessGroupsGroupArgs

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

func (GetAccessGroupsGroupArgs) ElementType

func (GetAccessGroupsGroupArgs) ElementType() reflect.Type

func (GetAccessGroupsGroupArgs) ToGetAccessGroupsGroupOutput

func (i GetAccessGroupsGroupArgs) ToGetAccessGroupsGroupOutput() GetAccessGroupsGroupOutput

func (GetAccessGroupsGroupArgs) ToGetAccessGroupsGroupOutputWithContext

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

type GetAccessGroupsGroupArray

type GetAccessGroupsGroupArray []GetAccessGroupsGroupInput

func (GetAccessGroupsGroupArray) ElementType

func (GetAccessGroupsGroupArray) ElementType() reflect.Type

func (GetAccessGroupsGroupArray) ToGetAccessGroupsGroupArrayOutput

func (i GetAccessGroupsGroupArray) ToGetAccessGroupsGroupArrayOutput() GetAccessGroupsGroupArrayOutput

func (GetAccessGroupsGroupArray) ToGetAccessGroupsGroupArrayOutputWithContext

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

type GetAccessGroupsGroupArrayInput

type GetAccessGroupsGroupArrayInput interface {
	pulumi.Input

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

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

GetAccessGroupsGroupArray{ GetAccessGroupsGroupArgs{...} }

type GetAccessGroupsGroupArrayOutput

type GetAccessGroupsGroupArrayOutput struct{ *pulumi.OutputState }

func (GetAccessGroupsGroupArrayOutput) ElementType

func (GetAccessGroupsGroupArrayOutput) Index

func (GetAccessGroupsGroupArrayOutput) ToGetAccessGroupsGroupArrayOutput

func (o GetAccessGroupsGroupArrayOutput) ToGetAccessGroupsGroupArrayOutput() GetAccessGroupsGroupArrayOutput

func (GetAccessGroupsGroupArrayOutput) ToGetAccessGroupsGroupArrayOutputWithContext

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

type GetAccessGroupsGroupInput

type GetAccessGroupsGroupInput interface {
	pulumi.Input

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

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

GetAccessGroupsGroupArgs{...}

type GetAccessGroupsGroupOutput

type GetAccessGroupsGroupOutput struct{ *pulumi.OutputState }

func (GetAccessGroupsGroupOutput) AccessGroupId

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

func (GetAccessGroupsGroupOutput) AccessGroupName

func (o GetAccessGroupsGroupOutput) AccessGroupName() pulumi.StringOutput

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

func (GetAccessGroupsGroupOutput) CreateTime

The CreateTime of Access Group.

func (GetAccessGroupsGroupOutput) Description

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

func (GetAccessGroupsGroupOutput) ElementType

func (GetAccessGroupsGroupOutput) ElementType() reflect.Type

func (GetAccessGroupsGroupOutput) Id

The ID of the Access Group.

func (GetAccessGroupsGroupOutput) MountPointCount

func (o GetAccessGroupsGroupOutput) MountPointCount() pulumi.IntOutput

The Number of attached mountpoint.

func (GetAccessGroupsGroupOutput) NetworkType

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

func (GetAccessGroupsGroupOutput) RuleCount

The Number of access rule.

func (GetAccessGroupsGroupOutput) ToGetAccessGroupsGroupOutput

func (o GetAccessGroupsGroupOutput) ToGetAccessGroupsGroupOutput() GetAccessGroupsGroupOutput

func (GetAccessGroupsGroupOutput) ToGetAccessGroupsGroupOutputWithContext

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

type GetAccessGroupsOutputArgs

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"`
	OutputFile  pulumi.StringPtrInput `pulumi:"outputFile"`
	StartOffset pulumi.IntPtrInput    `pulumi:"startOffset"`
}

A collection of arguments for invoking getAccessGroups.

func (GetAccessGroupsOutputArgs) ElementType

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/go/alicloud/dfs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dfs"

)

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

type GetAccessGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAccessGroups.

func (GetAccessGroupsResultOutput) ElementType

func (GetAccessGroupsResultOutput) Groups

func (GetAccessGroupsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAccessGroupsResultOutput) Ids

func (GetAccessGroupsResultOutput) Limit

func (GetAccessGroupsResultOutput) NameRegex

func (GetAccessGroupsResultOutput) Names

func (GetAccessGroupsResultOutput) OrderBy

func (GetAccessGroupsResultOutput) OrderType

func (GetAccessGroupsResultOutput) OutputFile

func (GetAccessGroupsResultOutput) StartOffset

func (GetAccessGroupsResultOutput) ToGetAccessGroupsResultOutput

func (o GetAccessGroupsResultOutput) ToGetAccessGroupsResultOutput() GetAccessGroupsResultOutput

func (GetAccessGroupsResultOutput) ToGetAccessGroupsResultOutputWithContext

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

type GetAccessRulesArgs

type GetAccessRulesArgs struct {
	// The resource ID of the Access Group.
	AccessGroupId string `pulumi:"accessGroupId"`
	// A list of Access Rule IDs.
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of arguments for invoking getAccessRules.

type GetAccessRulesOutputArgs

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"`
	OutputFile pulumi.StringPtrInput   `pulumi:"outputFile"`
}

A collection of arguments for invoking getAccessRules.

func (GetAccessRulesOutputArgs) ElementType

func (GetAccessRulesOutputArgs) ElementType() reflect.Type

type GetAccessRulesResult

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

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/go/alicloud/dfs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dfs"

)

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

type GetAccessRulesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAccessRules.

func (GetAccessRulesResultOutput) AccessGroupId

func (GetAccessRulesResultOutput) ElementType

func (GetAccessRulesResultOutput) ElementType() reflect.Type

func (GetAccessRulesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAccessRulesResultOutput) Ids

func (GetAccessRulesResultOutput) OutputFile

func (GetAccessRulesResultOutput) Rules

func (GetAccessRulesResultOutput) ToGetAccessRulesResultOutput

func (o GetAccessRulesResultOutput) ToGetAccessRulesResultOutput() GetAccessRulesResultOutput

func (GetAccessRulesResultOutput) ToGetAccessRulesResultOutputWithContext

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

type GetAccessRulesRule

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

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

func (GetAccessRulesRuleArgs) ElementType() reflect.Type

func (GetAccessRulesRuleArgs) ToGetAccessRulesRuleOutput

func (i GetAccessRulesRuleArgs) ToGetAccessRulesRuleOutput() GetAccessRulesRuleOutput

func (GetAccessRulesRuleArgs) ToGetAccessRulesRuleOutputWithContext

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

type GetAccessRulesRuleArray

type GetAccessRulesRuleArray []GetAccessRulesRuleInput

func (GetAccessRulesRuleArray) ElementType

func (GetAccessRulesRuleArray) ElementType() reflect.Type

func (GetAccessRulesRuleArray) ToGetAccessRulesRuleArrayOutput

func (i GetAccessRulesRuleArray) ToGetAccessRulesRuleArrayOutput() GetAccessRulesRuleArrayOutput

func (GetAccessRulesRuleArray) ToGetAccessRulesRuleArrayOutputWithContext

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

type GetAccessRulesRuleArrayInput

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

type GetAccessRulesRuleArrayOutput struct{ *pulumi.OutputState }

func (GetAccessRulesRuleArrayOutput) ElementType

func (GetAccessRulesRuleArrayOutput) Index

func (GetAccessRulesRuleArrayOutput) ToGetAccessRulesRuleArrayOutput

func (o GetAccessRulesRuleArrayOutput) ToGetAccessRulesRuleArrayOutput() GetAccessRulesRuleArrayOutput

func (GetAccessRulesRuleArrayOutput) ToGetAccessRulesRuleArrayOutputWithContext

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

type GetAccessRulesRuleInput

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

type GetAccessRulesRuleOutput struct{ *pulumi.OutputState }

func (GetAccessRulesRuleOutput) AccessGroupId

func (o GetAccessRulesRuleOutput) AccessGroupId() pulumi.StringOutput

The resource ID of the Access Group.

func (GetAccessRulesRuleOutput) AccessRuleId

func (o GetAccessRulesRuleOutput) AccessRuleId() pulumi.StringOutput

The ID of the Access Rule.

func (GetAccessRulesRuleOutput) CreateTime

The created time of the Access Rule.

func (GetAccessRulesRuleOutput) Description

The description of the Access Rule.

func (GetAccessRulesRuleOutput) ElementType

func (GetAccessRulesRuleOutput) ElementType() reflect.Type

func (GetAccessRulesRuleOutput) Id

The resource ID of Access Rule.

func (GetAccessRulesRuleOutput) NetworkSegment

func (o GetAccessRulesRuleOutput) NetworkSegment() pulumi.StringOutput

The NetworkSegment of the Access Rule.

func (GetAccessRulesRuleOutput) Priority

The priority of the Access Rule.

func (GetAccessRulesRuleOutput) RwAccessType

func (o GetAccessRulesRuleOutput) RwAccessType() pulumi.StringOutput

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

func (GetAccessRulesRuleOutput) ToGetAccessRulesRuleOutput

func (o GetAccessRulesRuleOutput) ToGetAccessRulesRuleOutput() GetAccessRulesRuleOutput

func (GetAccessRulesRuleOutput) ToGetAccessRulesRuleOutputWithContext

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

type GetFileSystemsArgs

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"`
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getFileSystems.

type GetFileSystemsOutputArgs

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"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getFileSystems.

func (GetFileSystemsOutputArgs) ElementType

func (GetFileSystemsOutputArgs) ElementType() reflect.Type

type GetFileSystemsResult

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

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/go/alicloud/dfs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dfs"

)

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

type GetFileSystemsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getFileSystems.

func (GetFileSystemsResultOutput) ElementType

func (GetFileSystemsResultOutput) ElementType() reflect.Type

func (GetFileSystemsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetFileSystemsResultOutput) Ids

func (GetFileSystemsResultOutput) NameRegex

func (GetFileSystemsResultOutput) Names

func (GetFileSystemsResultOutput) OutputFile

func (GetFileSystemsResultOutput) Systems

func (GetFileSystemsResultOutput) ToGetFileSystemsResultOutput

func (o GetFileSystemsResultOutput) ToGetFileSystemsResultOutput() GetFileSystemsResultOutput

func (GetFileSystemsResultOutput) ToGetFileSystemsResultOutputWithContext

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

type GetFileSystemsSystem

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

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

func (GetFileSystemsSystemArgs) ElementType() reflect.Type

func (GetFileSystemsSystemArgs) ToGetFileSystemsSystemOutput

func (i GetFileSystemsSystemArgs) ToGetFileSystemsSystemOutput() GetFileSystemsSystemOutput

func (GetFileSystemsSystemArgs) ToGetFileSystemsSystemOutputWithContext

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

type GetFileSystemsSystemArray

type GetFileSystemsSystemArray []GetFileSystemsSystemInput

func (GetFileSystemsSystemArray) ElementType

func (GetFileSystemsSystemArray) ElementType() reflect.Type

func (GetFileSystemsSystemArray) ToGetFileSystemsSystemArrayOutput

func (i GetFileSystemsSystemArray) ToGetFileSystemsSystemArrayOutput() GetFileSystemsSystemArrayOutput

func (GetFileSystemsSystemArray) ToGetFileSystemsSystemArrayOutputWithContext

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

type GetFileSystemsSystemArrayInput

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

type GetFileSystemsSystemArrayOutput struct{ *pulumi.OutputState }

func (GetFileSystemsSystemArrayOutput) ElementType

func (GetFileSystemsSystemArrayOutput) Index

func (GetFileSystemsSystemArrayOutput) ToGetFileSystemsSystemArrayOutput

func (o GetFileSystemsSystemArrayOutput) ToGetFileSystemsSystemArrayOutput() GetFileSystemsSystemArrayOutput

func (GetFileSystemsSystemArrayOutput) ToGetFileSystemsSystemArrayOutputWithContext

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

type GetFileSystemsSystemInput

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

type GetFileSystemsSystemOutput struct{ *pulumi.OutputState }

func (GetFileSystemsSystemOutput) CreateTime

The creation time of the File system.

func (GetFileSystemsSystemOutput) Description

The description of the File system.

func (GetFileSystemsSystemOutput) ElementType

func (GetFileSystemsSystemOutput) ElementType() reflect.Type

func (GetFileSystemsSystemOutput) FileSystemId

The ID of the File System.

func (GetFileSystemsSystemOutput) FileSystemName

func (o GetFileSystemsSystemOutput) FileSystemName() pulumi.StringOutput

The name of the File system.

func (GetFileSystemsSystemOutput) Id

The ID of the File System.

func (GetFileSystemsSystemOutput) MountPointCount

func (o GetFileSystemsSystemOutput) MountPointCount() pulumi.IntOutput

The number of Mount points.

func (GetFileSystemsSystemOutput) NumberOfDirectories

func (o GetFileSystemsSystemOutput) NumberOfDirectories() pulumi.IntOutput

The number of directories.

func (GetFileSystemsSystemOutput) NumberOfFiles

func (o GetFileSystemsSystemOutput) NumberOfFiles() pulumi.IntOutput

The number of files.

func (GetFileSystemsSystemOutput) ProtocolType

The protocol type. Valid values: `HDFS`.

func (GetFileSystemsSystemOutput) ProvisionedThroughputInMiBps

func (o GetFileSystemsSystemOutput) ProvisionedThroughputInMiBps() pulumi.IntOutput

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

func (GetFileSystemsSystemOutput) SpaceCapacity

func (o GetFileSystemsSystemOutput) SpaceCapacity() pulumi.IntOutput

The capacity budget of the File system.

func (GetFileSystemsSystemOutput) StoragePackageId

func (o GetFileSystemsSystemOutput) StoragePackageId() pulumi.StringOutput

Storage package Id.

func (GetFileSystemsSystemOutput) StorageType

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

func (GetFileSystemsSystemOutput) ThroughputMode

func (o GetFileSystemsSystemOutput) ThroughputMode() pulumi.StringOutput

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

func (GetFileSystemsSystemOutput) ToGetFileSystemsSystemOutput

func (o GetFileSystemsSystemOutput) ToGetFileSystemsSystemOutput() GetFileSystemsSystemOutput

func (GetFileSystemsSystemOutput) ToGetFileSystemsSystemOutputWithContext

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

func (GetFileSystemsSystemOutput) UsedSpaceSize

The used space of the File system.

func (GetFileSystemsSystemOutput) ZoneId

The zone ID of the File system.

type GetMountPointsArgs

type GetMountPointsArgs struct {
	// The ID of the File System.
	FileSystemId string `pulumi:"fileSystemId"`
	// A list of Mount Point IDs.
	Ids        []string `pulumi:"ids"`
	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

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"`
	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

func (GetMountPointsOutputArgs) ElementType() reflect.Type

type GetMountPointsPoint

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

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

func (GetMountPointsPointArgs) ElementType() reflect.Type

func (GetMountPointsPointArgs) ToGetMountPointsPointOutput

func (i GetMountPointsPointArgs) ToGetMountPointsPointOutput() GetMountPointsPointOutput

func (GetMountPointsPointArgs) ToGetMountPointsPointOutputWithContext

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

type GetMountPointsPointArray

type GetMountPointsPointArray []GetMountPointsPointInput

func (GetMountPointsPointArray) ElementType

func (GetMountPointsPointArray) ElementType() reflect.Type

func (GetMountPointsPointArray) ToGetMountPointsPointArrayOutput

func (i GetMountPointsPointArray) ToGetMountPointsPointArrayOutput() GetMountPointsPointArrayOutput

func (GetMountPointsPointArray) ToGetMountPointsPointArrayOutputWithContext

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

type GetMountPointsPointArrayInput

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

type GetMountPointsPointArrayOutput struct{ *pulumi.OutputState }

func (GetMountPointsPointArrayOutput) ElementType

func (GetMountPointsPointArrayOutput) Index

func (GetMountPointsPointArrayOutput) ToGetMountPointsPointArrayOutput

func (o GetMountPointsPointArrayOutput) ToGetMountPointsPointArrayOutput() GetMountPointsPointArrayOutput

func (GetMountPointsPointArrayOutput) ToGetMountPointsPointArrayOutputWithContext

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

type GetMountPointsPointInput

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

type GetMountPointsPointOutput struct{ *pulumi.OutputState }

func (GetMountPointsPointOutput) AccessGroupId

func (o GetMountPointsPointOutput) AccessGroupId() pulumi.StringOutput

The ID of the Access Group.

func (GetMountPointsPointOutput) CreateTime

The created time of the Mount Point.

func (GetMountPointsPointOutput) Description

The description of the Mount Point.

func (GetMountPointsPointOutput) ElementType

func (GetMountPointsPointOutput) ElementType() reflect.Type

func (GetMountPointsPointOutput) FileSystemId

The ID of the File System.

func (GetMountPointsPointOutput) Id

The ID of the Mount Point.

func (GetMountPointsPointOutput) MountPointDomain

func (o GetMountPointsPointOutput) MountPointDomain() pulumi.StringOutput

The domain name of the Mount Point.

func (GetMountPointsPointOutput) MountPointId

The ID of the Mount Point.

func (GetMountPointsPointOutput) NetworkType

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

func (GetMountPointsPointOutput) Status

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

func (GetMountPointsPointOutput) ToGetMountPointsPointOutput

func (o GetMountPointsPointOutput) ToGetMountPointsPointOutput() GetMountPointsPointOutput

func (GetMountPointsPointOutput) ToGetMountPointsPointOutputWithContext

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

func (GetMountPointsPointOutput) VpcId

The ID of the VPC network.

func (GetMountPointsPointOutput) VswitchId

The vswitch id.

type GetMountPointsResult

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

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/go/alicloud/dfs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dfs"

)

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

type GetMountPointsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getMountPoints.

func (GetMountPointsResultOutput) ElementType

func (GetMountPointsResultOutput) ElementType() reflect.Type

func (GetMountPointsResultOutput) FileSystemId

func (GetMountPointsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetMountPointsResultOutput) Ids

func (GetMountPointsResultOutput) OutputFile

func (GetMountPointsResultOutput) Points

func (GetMountPointsResultOutput) Status

func (GetMountPointsResultOutput) ToGetMountPointsResultOutput

func (o GetMountPointsResultOutput) ToGetMountPointsResultOutput() GetMountPointsResultOutput

func (GetMountPointsResultOutput) ToGetMountPointsResultOutputWithContext

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

type GetZonesArgs

type GetZonesArgs struct {
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getZones.

type GetZonesOutputArgs

type GetZonesOutputArgs struct {
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getZones.

func (GetZonesOutputArgs) ElementType

func (GetZonesOutputArgs) ElementType() reflect.Type

type GetZonesResult

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

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/go/alicloud/dfs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dfs"

)

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

```

type GetZonesResultOutput

type GetZonesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getZones.

func (GetZonesResultOutput) ElementType

func (GetZonesResultOutput) ElementType() reflect.Type

func (GetZonesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetZonesResultOutput) OutputFile

func (GetZonesResultOutput) ToGetZonesResultOutput

func (o GetZonesResultOutput) ToGetZonesResultOutput() GetZonesResultOutput

func (GetZonesResultOutput) ToGetZonesResultOutputWithContext

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

func (GetZonesResultOutput) Zones

type GetZonesZone

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

type GetZonesZoneArgs

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

func (GetZonesZoneArgs) ElementType() reflect.Type

func (GetZonesZoneArgs) ToGetZonesZoneOutput

func (i GetZonesZoneArgs) ToGetZonesZoneOutput() GetZonesZoneOutput

func (GetZonesZoneArgs) ToGetZonesZoneOutputWithContext

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

type GetZonesZoneArray

type GetZonesZoneArray []GetZonesZoneInput

func (GetZonesZoneArray) ElementType

func (GetZonesZoneArray) ElementType() reflect.Type

func (GetZonesZoneArray) ToGetZonesZoneArrayOutput

func (i GetZonesZoneArray) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput

func (GetZonesZoneArray) ToGetZonesZoneArrayOutputWithContext

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

type GetZonesZoneArrayInput

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

type GetZonesZoneArrayOutput struct{ *pulumi.OutputState }

func (GetZonesZoneArrayOutput) ElementType

func (GetZonesZoneArrayOutput) ElementType() reflect.Type

func (GetZonesZoneArrayOutput) Index

func (GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput

func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput

func (GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutputWithContext

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

type GetZonesZoneInput

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

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

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

func (GetZonesZoneOptionArgs) ElementType() reflect.Type

func (GetZonesZoneOptionArgs) ToGetZonesZoneOptionOutput

func (i GetZonesZoneOptionArgs) ToGetZonesZoneOptionOutput() GetZonesZoneOptionOutput

func (GetZonesZoneOptionArgs) ToGetZonesZoneOptionOutputWithContext

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

type GetZonesZoneOptionArray

type GetZonesZoneOptionArray []GetZonesZoneOptionInput

func (GetZonesZoneOptionArray) ElementType

func (GetZonesZoneOptionArray) ElementType() reflect.Type

func (GetZonesZoneOptionArray) ToGetZonesZoneOptionArrayOutput

func (i GetZonesZoneOptionArray) ToGetZonesZoneOptionArrayOutput() GetZonesZoneOptionArrayOutput

func (GetZonesZoneOptionArray) ToGetZonesZoneOptionArrayOutputWithContext

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

type GetZonesZoneOptionArrayInput

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

type GetZonesZoneOptionArrayOutput struct{ *pulumi.OutputState }

func (GetZonesZoneOptionArrayOutput) ElementType

func (GetZonesZoneOptionArrayOutput) Index

func (GetZonesZoneOptionArrayOutput) ToGetZonesZoneOptionArrayOutput

func (o GetZonesZoneOptionArrayOutput) ToGetZonesZoneOptionArrayOutput() GetZonesZoneOptionArrayOutput

func (GetZonesZoneOptionArrayOutput) ToGetZonesZoneOptionArrayOutputWithContext

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

type GetZonesZoneOptionInput

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

type GetZonesZoneOptionOutput struct{ *pulumi.OutputState }

func (GetZonesZoneOptionOutput) ElementType

func (GetZonesZoneOptionOutput) ElementType() reflect.Type

func (GetZonesZoneOptionOutput) ProtocolType

func (o GetZonesZoneOptionOutput) ProtocolType() pulumi.StringOutput

The protocol type. Valid values: `HDFS`.

func (GetZonesZoneOptionOutput) StorageType

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

func (GetZonesZoneOptionOutput) ToGetZonesZoneOptionOutput

func (o GetZonesZoneOptionOutput) ToGetZonesZoneOptionOutput() GetZonesZoneOptionOutput

func (GetZonesZoneOptionOutput) ToGetZonesZoneOptionOutputWithContext

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

type GetZonesZoneOutput

type GetZonesZoneOutput struct{ *pulumi.OutputState }

func (GetZonesZoneOutput) ElementType

func (GetZonesZoneOutput) ElementType() reflect.Type

func (GetZonesZoneOutput) Options

A list of available configurations of the Zone.

func (GetZonesZoneOutput) ToGetZonesZoneOutput

func (o GetZonesZoneOutput) ToGetZonesZoneOutput() GetZonesZoneOutput

func (GetZonesZoneOutput) ToGetZonesZoneOutputWithContext

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

func (GetZonesZoneOutput) ZoneId

The zone ID.

type MountPoint

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 in v1.140.0+.

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

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

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

func (*MountPoint) ElementType() reflect.Type

func (*MountPoint) ToMountPointOutput

func (i *MountPoint) ToMountPointOutput() MountPointOutput

func (*MountPoint) ToMountPointOutputWithContext

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

type MountPointArgs

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

func (MountPointArgs) ElementType() reflect.Type

type MountPointArray

type MountPointArray []MountPointInput

func (MountPointArray) ElementType

func (MountPointArray) ElementType() reflect.Type

func (MountPointArray) ToMountPointArrayOutput

func (i MountPointArray) ToMountPointArrayOutput() MountPointArrayOutput

func (MountPointArray) ToMountPointArrayOutputWithContext

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

type MountPointArrayInput

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

type MountPointArrayOutput struct{ *pulumi.OutputState }

func (MountPointArrayOutput) ElementType

func (MountPointArrayOutput) ElementType() reflect.Type

func (MountPointArrayOutput) Index

func (MountPointArrayOutput) ToMountPointArrayOutput

func (o MountPointArrayOutput) ToMountPointArrayOutput() MountPointArrayOutput

func (MountPointArrayOutput) ToMountPointArrayOutputWithContext

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

type MountPointInput

type MountPointInput interface {
	pulumi.Input

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

type MountPointMap

type MountPointMap map[string]MountPointInput

func (MountPointMap) ElementType

func (MountPointMap) ElementType() reflect.Type

func (MountPointMap) ToMountPointMapOutput

func (i MountPointMap) ToMountPointMapOutput() MountPointMapOutput

func (MountPointMap) ToMountPointMapOutputWithContext

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

type MountPointMapInput

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

type MountPointMapOutput struct{ *pulumi.OutputState }

func (MountPointMapOutput) ElementType

func (MountPointMapOutput) ElementType() reflect.Type

func (MountPointMapOutput) MapIndex

func (MountPointMapOutput) ToMountPointMapOutput

func (o MountPointMapOutput) ToMountPointMapOutput() MountPointMapOutput

func (MountPointMapOutput) ToMountPointMapOutputWithContext

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

type MountPointOutput

type MountPointOutput struct{ *pulumi.OutputState }

func (MountPointOutput) AccessGroupId

func (o MountPointOutput) AccessGroupId() pulumi.StringOutput

The ID of the Access Group.

func (MountPointOutput) Description

func (o MountPointOutput) Description() pulumi.StringPtrOutput

The description of the Mount Point.

func (MountPointOutput) ElementType

func (MountPointOutput) ElementType() reflect.Type

func (MountPointOutput) FileSystemId

func (o MountPointOutput) FileSystemId() pulumi.StringOutput

The ID of the File System.

func (MountPointOutput) MountPointId

func (o MountPointOutput) MountPointId() pulumi.StringOutput

The ID of the Mount Point.

func (MountPointOutput) NetworkType

func (o MountPointOutput) NetworkType() pulumi.StringOutput

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

func (MountPointOutput) Status

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

func (MountPointOutput) ToMountPointOutput

func (o MountPointOutput) ToMountPointOutput() MountPointOutput

func (MountPointOutput) ToMountPointOutputWithContext

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

func (MountPointOutput) VpcId

The vpc id.

func (MountPointOutput) VswitchId

func (o MountPointOutput) VswitchId() pulumi.StringOutput

The vswitch id.

type MountPointState

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

func (MountPointState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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