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:
- Access
Group stringId The ID of the Access Group.
- File
System stringId The ID of the File System.
- Network
Type string The network type of the Mount Point. Valid values:
VPC
.- Vpc
Id string The vpc id.
- Vswitch
Id 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 stringId The ID of the Access Group.
- File
System stringId The ID of the File System.
- Network
Type string The network type of the Mount Point. Valid values:
VPC
.- Vpc
Id string The vpc id.
- Vswitch
Id 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 StringId The ID of the Access Group.
- file
System StringId The ID of the File System.
- network
Type String The network type of the Mount Point. Valid values:
VPC
.- vpc
Id String The vpc id.
- vswitch
Id 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 stringId The ID of the Access Group.
- file
System stringId The ID of the File System.
- network
Type string The network type of the Mount Point. Valid values:
VPC
.- vpc
Id string The vpc id.
- vswitch
Id 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_ strid The ID of the Access Group.
- file_
system_ strid 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
.
- access
Group StringId The ID of the Access Group.
- file
System StringId The ID of the File System.
- network
Type String The network type of the Mount Point. Valid values:
VPC
.- vpc
Id String The vpc id.
- vswitch
Id 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.
- Mount
Point stringId The ID of the Mount Point.
- Id string
The provider-assigned unique ID for this managed resource.
- Mount
Point stringId The ID of the Mount Point.
- id String
The provider-assigned unique ID for this managed resource.
- mount
Point StringId The ID of the Mount Point.
- id string
The provider-assigned unique ID for this managed resource.
- mount
Point stringId The ID of the Mount Point.
- id str
The provider-assigned unique ID for this managed resource.
- mount_
point_ strid The ID of the Mount Point.
- id String
The provider-assigned unique ID for this managed resource.
- mount
Point StringId 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.
- Access
Group stringId The ID of the Access Group.
- Description string
The description of the Mount Point.
- File
System stringId The ID of the File System.
- Mount
Point stringId The ID of the Mount Point.
- Network
Type string The network type of the Mount Point. Valid values:
VPC
.- Status string
The status of the Mount Point. Valid values:
Active
,Inactive
.- Vpc
Id string The vpc id.
- Vswitch
Id string The vswitch id.
- Access
Group stringId The ID of the Access Group.
- Description string
The description of the Mount Point.
- File
System stringId The ID of the File System.
- Mount
Point stringId The ID of the Mount Point.
- Network
Type string The network type of the Mount Point. Valid values:
VPC
.- Status string
The status of the Mount Point. Valid values:
Active
,Inactive
.- Vpc
Id string The vpc id.
- Vswitch
Id string The vswitch id.
- access
Group StringId The ID of the Access Group.
- description String
The description of the Mount Point.
- file
System StringId The ID of the File System.
- mount
Point StringId The ID of the Mount Point.
- network
Type String The network type of the Mount Point. Valid values:
VPC
.- status String
The status of the Mount Point. Valid values:
Active
,Inactive
.- vpc
Id String The vpc id.
- vswitch
Id String The vswitch id.
- access
Group stringId The ID of the Access Group.
- description string
The description of the Mount Point.
- file
System stringId The ID of the File System.
- mount
Point stringId The ID of the Mount Point.
- network
Type string The network type of the Mount Point. Valid values:
VPC
.- status string
The status of the Mount Point. Valid values:
Active
,Inactive
.- vpc
Id string The vpc id.
- vswitch
Id string The vswitch id.
- access_
group_ strid The ID of the Access Group.
- description str
The description of the Mount Point.
- file_
system_ strid The ID of the File System.
- mount_
point_ strid 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.
- access
Group StringId The ID of the Access Group.
- description String
The description of the Mount Point.
- file
System StringId The ID of the File System.
- mount
Point StringId The ID of the Mount Point.
- network
Type String The network type of the Mount Point. Valid values:
VPC
.- status String
The status of the Mount Point. Valid values:
Active
,Inactive
.- vpc
Id String The vpc id.
- vswitch
Id 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.