alicloud logo
Alibaba Cloud v3.30.0, Feb 1 23

alicloud.dfs.MountPoint

Provides a DFS Mount Point resource.

For information about DFS Mount Point and how to use it, see What is Mount Point.

NOTE: Available in v1.140.0+.

Create MountPoint Resource

new MountPoint(name: string, args: MountPointArgs, opts?: CustomResourceOptions);
@overload
def MountPoint(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               access_group_id: Optional[str] = None,
               description: Optional[str] = None,
               file_system_id: Optional[str] = None,
               network_type: Optional[str] = None,
               status: Optional[str] = None,
               vpc_id: Optional[str] = None,
               vswitch_id: Optional[str] = None)
@overload
def MountPoint(resource_name: str,
               args: MountPointArgs,
               opts: Optional[ResourceOptions] = None)
func NewMountPoint(ctx *Context, name string, args MountPointArgs, opts ...ResourceOption) (*MountPoint, error)
public MountPoint(string name, MountPointArgs args, CustomResourceOptions? opts = null)
public MountPoint(String name, MountPointArgs args)
public MountPoint(String name, MountPointArgs args, CustomResourceOptions options)
type: alicloud:dfs:MountPoint
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args MountPointArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args MountPointArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args MountPointArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args MountPointArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args MountPointArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

MountPoint Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The MountPoint resource accepts the following input properties:

AccessGroupId string

The ID of the Access Group.

FileSystemId string

The ID of the File System.

NetworkType string

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

VpcId string

The vpc id.

VswitchId string

The vswitch id.

Description string

The description of the Mount Point.

Status string

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

AccessGroupId string

The ID of the Access Group.

FileSystemId string

The ID of the File System.

NetworkType string

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

VpcId string

The vpc id.

VswitchId string

The vswitch id.

Description string

The description of the Mount Point.

Status string

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

accessGroupId String

The ID of the Access Group.

fileSystemId String

The ID of the File System.

networkType String

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

vpcId String

The vpc id.

vswitchId String

The vswitch id.

description String

The description of the Mount Point.

status String

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

accessGroupId string

The ID of the Access Group.

fileSystemId string

The ID of the File System.

networkType string

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

vpcId string

The vpc id.

vswitchId string

The vswitch id.

description string

The description of the Mount Point.

status string

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

access_group_id str

The ID of the Access Group.

file_system_id str

The ID of the File System.

network_type str

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

vpc_id str

The vpc id.

vswitch_id str

The vswitch id.

description str

The description of the Mount Point.

status str

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

accessGroupId String

The ID of the Access Group.

fileSystemId String

The ID of the File System.

networkType String

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

vpcId String

The vpc id.

vswitchId String

The vswitch id.

description String

The description of the Mount Point.

status String

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

Outputs

All input properties are implicitly available as output properties. Additionally, the MountPoint resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

MountPointId string

The ID of the Mount Point.

Id string

The provider-assigned unique ID for this managed resource.

MountPointId string

The ID of the Mount Point.

id String

The provider-assigned unique ID for this managed resource.

mountPointId String

The ID of the Mount Point.

id string

The provider-assigned unique ID for this managed resource.

mountPointId string

The ID of the Mount Point.

id str

The provider-assigned unique ID for this managed resource.

mount_point_id str

The ID of the Mount Point.

id String

The provider-assigned unique ID for this managed resource.

mountPointId String

The ID of the Mount Point.

Look up Existing MountPoint Resource

Get an existing MountPoint resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: MountPointState, opts?: CustomResourceOptions): MountPoint
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        access_group_id: Optional[str] = None,
        description: Optional[str] = None,
        file_system_id: Optional[str] = None,
        mount_point_id: Optional[str] = None,
        network_type: Optional[str] = None,
        status: Optional[str] = None,
        vpc_id: Optional[str] = None,
        vswitch_id: Optional[str] = None) -> MountPoint
func GetMountPoint(ctx *Context, name string, id IDInput, state *MountPointState, opts ...ResourceOption) (*MountPoint, error)
public static MountPoint Get(string name, Input<string> id, MountPointState? state, CustomResourceOptions? opts = null)
public static MountPoint get(String name, Output<String> id, MountPointState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AccessGroupId string

The ID of the Access Group.

Description string

The description of the Mount Point.

FileSystemId string

The ID of the File System.

MountPointId string

The ID of the Mount Point.

NetworkType string

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

Status string

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

VpcId string

The vpc id.

VswitchId string

The vswitch id.

AccessGroupId string

The ID of the Access Group.

Description string

The description of the Mount Point.

FileSystemId string

The ID of the File System.

MountPointId string

The ID of the Mount Point.

NetworkType string

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

Status string

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

VpcId string

The vpc id.

VswitchId string

The vswitch id.

accessGroupId String

The ID of the Access Group.

description String

The description of the Mount Point.

fileSystemId String

The ID of the File System.

mountPointId String

The ID of the Mount Point.

networkType String

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

status String

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

vpcId String

The vpc id.

vswitchId String

The vswitch id.

accessGroupId string

The ID of the Access Group.

description string

The description of the Mount Point.

fileSystemId string

The ID of the File System.

mountPointId string

The ID of the Mount Point.

networkType string

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

status string

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

vpcId string

The vpc id.

vswitchId string

The vswitch id.

access_group_id str

The ID of the Access Group.

description str

The description of the Mount Point.

file_system_id str

The ID of the File System.

mount_point_id str

The ID of the Mount Point.

network_type str

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

status str

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

vpc_id str

The vpc id.

vswitch_id str

The vswitch id.

accessGroupId String

The ID of the Access Group.

description String

The description of the Mount Point.

fileSystemId String

The ID of the File System.

mountPointId String

The ID of the Mount Point.

networkType String

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

status String

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

vpcId String

The vpc id.

vswitchId String

The vswitch id.

Import

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

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

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.