1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. dfs
  5. MountPoint
Alibaba Cloud v3.75.0 published on Friday, Mar 7, 2025 by Pulumi

alicloud.dfs.MountPoint

Explore with Pulumi AI

Provides a Apsara File Storage for HDFS (DFS) Mount Point resource.

For information about Apsara File Storage for HDFS (DFS) Mount Point and how to use it, see What is Mount Point.

NOTE: Available since v1.140.0.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const config = new pulumi.Config();
const name = config.get("name") || "tf-example";
const _default = new alicloud.vpc.Network("default", {
    vpcName: name,
    cidrBlock: "10.4.0.0/16",
});
const defaultSwitch = new alicloud.vpc.Switch("default", {
    vswitchName: name,
    cidrBlock: "10.4.0.0/24",
    vpcId: _default.id,
    zoneId: "cn-hangzhou-e",
});
const defaultFileSystem = new alicloud.dfs.FileSystem("default", {
    storageType: "STANDARD",
    zoneId: "cn-hangzhou-e",
    protocolType: "PANGU",
    description: name,
    fileSystemName: name,
    throughputMode: "Provisioned",
    spaceCapacity: 1024,
    provisionedThroughputInMiBps: 512,
});
const defaultAccessGroup = new alicloud.dfs.AccessGroup("default", {
    accessGroupName: name,
    description: name,
    networkType: "VPC",
});
const defaultMountPoint = new alicloud.dfs.MountPoint("default", {
    description: name,
    vpcId: _default.id,
    fileSystemId: defaultFileSystem.id,
    accessGroupId: defaultAccessGroup.id,
    networkType: "VPC",
    vswitchId: defaultSwitch.id,
});
Copy
import pulumi
import pulumi_alicloud as alicloud

config = pulumi.Config()
name = config.get("name")
if name is None:
    name = "tf-example"
default = alicloud.vpc.Network("default",
    vpc_name=name,
    cidr_block="10.4.0.0/16")
default_switch = alicloud.vpc.Switch("default",
    vswitch_name=name,
    cidr_block="10.4.0.0/24",
    vpc_id=default.id,
    zone_id="cn-hangzhou-e")
default_file_system = alicloud.dfs.FileSystem("default",
    storage_type="STANDARD",
    zone_id="cn-hangzhou-e",
    protocol_type="PANGU",
    description=name,
    file_system_name=name,
    throughput_mode="Provisioned",
    space_capacity=1024,
    provisioned_throughput_in_mi_bps=512)
default_access_group = alicloud.dfs.AccessGroup("default",
    access_group_name=name,
    description=name,
    network_type="VPC")
default_mount_point = alicloud.dfs.MountPoint("default",
    description=name,
    vpc_id=default.id,
    file_system_id=default_file_system.id,
    access_group_id=default_access_group.id,
    network_type="VPC",
    vswitch_id=default_switch.id)
Copy
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/dfs"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_default, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
			VpcName:   pulumi.String(name),
			CidrBlock: pulumi.String("10.4.0.0/16"),
		})
		if err != nil {
			return err
		}
		defaultSwitch, err := vpc.NewSwitch(ctx, "default", &vpc.SwitchArgs{
			VswitchName: pulumi.String(name),
			CidrBlock:   pulumi.String("10.4.0.0/24"),
			VpcId:       _default.ID(),
			ZoneId:      pulumi.String("cn-hangzhou-e"),
		})
		if err != nil {
			return err
		}
		defaultFileSystem, err := dfs.NewFileSystem(ctx, "default", &dfs.FileSystemArgs{
			StorageType:                  pulumi.String("STANDARD"),
			ZoneId:                       pulumi.String("cn-hangzhou-e"),
			ProtocolType:                 pulumi.String("PANGU"),
			Description:                  pulumi.String(name),
			FileSystemName:               pulumi.String(name),
			ThroughputMode:               pulumi.String("Provisioned"),
			SpaceCapacity:                pulumi.Int(1024),
			ProvisionedThroughputInMiBps: pulumi.Int(512),
		})
		if err != nil {
			return err
		}
		defaultAccessGroup, err := dfs.NewAccessGroup(ctx, "default", &dfs.AccessGroupArgs{
			AccessGroupName: pulumi.String(name),
			Description:     pulumi.String(name),
			NetworkType:     pulumi.String("VPC"),
		})
		if err != nil {
			return err
		}
		_, err = dfs.NewMountPoint(ctx, "default", &dfs.MountPointArgs{
			Description:   pulumi.String(name),
			VpcId:         _default.ID(),
			FileSystemId:  defaultFileSystem.ID(),
			AccessGroupId: defaultAccessGroup.ID(),
			NetworkType:   pulumi.String("VPC"),
			VswitchId:     defaultSwitch.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var name = config.Get("name") ?? "tf-example";
    var @default = new AliCloud.Vpc.Network("default", new()
    {
        VpcName = name,
        CidrBlock = "10.4.0.0/16",
    });

    var defaultSwitch = new AliCloud.Vpc.Switch("default", new()
    {
        VswitchName = name,
        CidrBlock = "10.4.0.0/24",
        VpcId = @default.Id,
        ZoneId = "cn-hangzhou-e",
    });

    var defaultFileSystem = new AliCloud.Dfs.FileSystem("default", new()
    {
        StorageType = "STANDARD",
        ZoneId = "cn-hangzhou-e",
        ProtocolType = "PANGU",
        Description = name,
        FileSystemName = name,
        ThroughputMode = "Provisioned",
        SpaceCapacity = 1024,
        ProvisionedThroughputInMiBps = 512,
    });

    var defaultAccessGroup = new AliCloud.Dfs.AccessGroup("default", new()
    {
        AccessGroupName = name,
        Description = name,
        NetworkType = "VPC",
    });

    var defaultMountPoint = new AliCloud.Dfs.MountPoint("default", new()
    {
        Description = name,
        VpcId = @default.Id,
        FileSystemId = defaultFileSystem.Id,
        AccessGroupId = defaultAccessGroup.Id,
        NetworkType = "VPC",
        VswitchId = defaultSwitch.Id,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.vpc.Switch;
import com.pulumi.alicloud.vpc.SwitchArgs;
import com.pulumi.alicloud.dfs.FileSystem;
import com.pulumi.alicloud.dfs.FileSystemArgs;
import com.pulumi.alicloud.dfs.AccessGroup;
import com.pulumi.alicloud.dfs.AccessGroupArgs;
import com.pulumi.alicloud.dfs.MountPoint;
import com.pulumi.alicloud.dfs.MountPointArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var config = ctx.config();
        final var name = config.get("name").orElse("tf-example");
        var default_ = new Network("default", NetworkArgs.builder()
            .vpcName(name)
            .cidrBlock("10.4.0.0/16")
            .build());

        var defaultSwitch = new Switch("defaultSwitch", SwitchArgs.builder()
            .vswitchName(name)
            .cidrBlock("10.4.0.0/24")
            .vpcId(default_.id())
            .zoneId("cn-hangzhou-e")
            .build());

        var defaultFileSystem = new FileSystem("defaultFileSystem", FileSystemArgs.builder()
            .storageType("STANDARD")
            .zoneId("cn-hangzhou-e")
            .protocolType("PANGU")
            .description(name)
            .fileSystemName(name)
            .throughputMode("Provisioned")
            .spaceCapacity("1024")
            .provisionedThroughputInMiBps("512")
            .build());

        var defaultAccessGroup = new AccessGroup("defaultAccessGroup", AccessGroupArgs.builder()
            .accessGroupName(name)
            .description(name)
            .networkType("VPC")
            .build());

        var defaultMountPoint = new MountPoint("defaultMountPoint", MountPointArgs.builder()
            .description(name)
            .vpcId(default_.id())
            .fileSystemId(defaultFileSystem.id())
            .accessGroupId(defaultAccessGroup.id())
            .networkType("VPC")
            .vswitchId(defaultSwitch.id())
            .build());

    }
}
Copy
configuration:
  name:
    type: string
    default: tf-example
resources:
  default:
    type: alicloud:vpc:Network
    properties:
      vpcName: ${name}
      cidrBlock: 10.4.0.0/16
  defaultSwitch:
    type: alicloud:vpc:Switch
    name: default
    properties:
      vswitchName: ${name}
      cidrBlock: 10.4.0.0/24
      vpcId: ${default.id}
      zoneId: cn-hangzhou-e
  defaultFileSystem:
    type: alicloud:dfs:FileSystem
    name: default
    properties:
      storageType: STANDARD
      zoneId: cn-hangzhou-e
      protocolType: PANGU
      description: ${name}
      fileSystemName: ${name}
      throughputMode: Provisioned
      spaceCapacity: '1024'
      provisionedThroughputInMiBps: '512'
  defaultAccessGroup:
    type: alicloud:dfs:AccessGroup
    name: default
    properties:
      accessGroupName: ${name}
      description: ${name}
      networkType: VPC
  defaultMountPoint:
    type: alicloud:dfs:MountPoint
    name: default
    properties:
      description: ${name}
      vpcId: ${default.id}
      fileSystemId: ${defaultFileSystem.id}
      accessGroupId: ${defaultAccessGroup.id}
      networkType: VPC
      vswitchId: ${defaultSwitch.id}
Copy

Create MountPoint Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new MountPoint(name: string, args: MountPointArgs, opts?: CustomResourceOptions);
@overload
def MountPoint(resource_name: str,
               args: MountPointArgs,
               opts: Optional[ResourceOptions] = None)

@overload
def MountPoint(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               access_group_id: Optional[str] = None,
               file_system_id: Optional[str] = None,
               network_type: Optional[str] = None,
               vpc_id: Optional[str] = None,
               vswitch_id: Optional[str] = None,
               alias_prefix: Optional[str] = None,
               description: Optional[str] = None,
               status: Optional[str] = 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.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. MountPointArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. MountPointArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. MountPointArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. MountPointArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var mountPointResource = new AliCloud.Dfs.MountPoint("mountPointResource", new()
{
    AccessGroupId = "string",
    FileSystemId = "string",
    NetworkType = "string",
    VpcId = "string",
    VswitchId = "string",
    AliasPrefix = "string",
    Description = "string",
    Status = "string",
});
Copy
example, err := dfs.NewMountPoint(ctx, "mountPointResource", &dfs.MountPointArgs{
	AccessGroupId: pulumi.String("string"),
	FileSystemId:  pulumi.String("string"),
	NetworkType:   pulumi.String("string"),
	VpcId:         pulumi.String("string"),
	VswitchId:     pulumi.String("string"),
	AliasPrefix:   pulumi.String("string"),
	Description:   pulumi.String("string"),
	Status:        pulumi.String("string"),
})
Copy
var mountPointResource = new MountPoint("mountPointResource", MountPointArgs.builder()
    .accessGroupId("string")
    .fileSystemId("string")
    .networkType("string")
    .vpcId("string")
    .vswitchId("string")
    .aliasPrefix("string")
    .description("string")
    .status("string")
    .build());
Copy
mount_point_resource = alicloud.dfs.MountPoint("mountPointResource",
    access_group_id="string",
    file_system_id="string",
    network_type="string",
    vpc_id="string",
    vswitch_id="string",
    alias_prefix="string",
    description="string",
    status="string")
Copy
const mountPointResource = new alicloud.dfs.MountPoint("mountPointResource", {
    accessGroupId: "string",
    fileSystemId: "string",
    networkType: "string",
    vpcId: "string",
    vswitchId: "string",
    aliasPrefix: "string",
    description: "string",
    status: "string",
});
Copy
type: alicloud:dfs:MountPoint
properties:
    accessGroupId: string
    aliasPrefix: string
    description: string
    fileSystemId: string
    networkType: string
    status: string
    vpcId: string
    vswitchId: string
Copy

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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The MountPoint resource accepts the following input properties:

AccessGroupId This property is required. string
The id of the permission group associated with the Mount point, which is used to set the access permissions of the Mount point.
FileSystemId
This property is required.
Changes to this property will trigger replacement.
string
Unique file system identifier, used to retrieve specified file system resources.
NetworkType
This property is required.
Changes to this property will trigger replacement.
string
The network type of the Mount point. Only VPC (VPC) is supported.
VpcId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
VswitchId
This property is required.
Changes to this property will trigger replacement.
string
VSwitch ID, which specifies the VSwitch resource used to create the mount point.
AliasPrefix string
The mount point alias prefix, which specifies the mount point alias prefix.
Description string
The description of the Mount point. No more than 32 characters in length.
Status string
Mount point status. Value: Inactive: Disable mount points Active: Activate the mount point.
AccessGroupId This property is required. string
The id of the permission group associated with the Mount point, which is used to set the access permissions of the Mount point.
FileSystemId
This property is required.
Changes to this property will trigger replacement.
string
Unique file system identifier, used to retrieve specified file system resources.
NetworkType
This property is required.
Changes to this property will trigger replacement.
string
The network type of the Mount point. Only VPC (VPC) is supported.
VpcId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
VswitchId
This property is required.
Changes to this property will trigger replacement.
string
VSwitch ID, which specifies the VSwitch resource used to create the mount point.
AliasPrefix string
The mount point alias prefix, which specifies the mount point alias prefix.
Description string
The description of the Mount point. No more than 32 characters in length.
Status string
Mount point status. Value: Inactive: Disable mount points Active: Activate the mount point.
accessGroupId This property is required. String
The id of the permission group associated with the Mount point, which is used to set the access permissions of the Mount point.
fileSystemId
This property is required.
Changes to this property will trigger replacement.
String
Unique file system identifier, used to retrieve specified file system resources.
networkType
This property is required.
Changes to this property will trigger replacement.
String
The network type of the Mount point. Only VPC (VPC) is supported.
vpcId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
vswitchId
This property is required.
Changes to this property will trigger replacement.
String
VSwitch ID, which specifies the VSwitch resource used to create the mount point.
aliasPrefix String
The mount point alias prefix, which specifies the mount point alias prefix.
description String
The description of the Mount point. No more than 32 characters in length.
status String
Mount point status. Value: Inactive: Disable mount points Active: Activate the mount point.
accessGroupId This property is required. string
The id of the permission group associated with the Mount point, which is used to set the access permissions of the Mount point.
fileSystemId
This property is required.
Changes to this property will trigger replacement.
string
Unique file system identifier, used to retrieve specified file system resources.
networkType
This property is required.
Changes to this property will trigger replacement.
string
The network type of the Mount point. Only VPC (VPC) is supported.
vpcId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
vswitchId
This property is required.
Changes to this property will trigger replacement.
string
VSwitch ID, which specifies the VSwitch resource used to create the mount point.
aliasPrefix string
The mount point alias prefix, which specifies the mount point alias prefix.
description string
The description of the Mount point. No more than 32 characters in length.
status string
Mount point status. Value: Inactive: Disable mount points Active: Activate the mount point.
access_group_id This property is required. str
The id of the permission group associated with the Mount point, which is used to set the access permissions of the Mount point.
file_system_id
This property is required.
Changes to this property will trigger replacement.
str
Unique file system identifier, used to retrieve specified file system resources.
network_type
This property is required.
Changes to this property will trigger replacement.
str
The network type of the Mount point. Only VPC (VPC) is supported.
vpc_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
vswitch_id
This property is required.
Changes to this property will trigger replacement.
str
VSwitch ID, which specifies the VSwitch resource used to create the mount point.
alias_prefix str
The mount point alias prefix, which specifies the mount point alias prefix.
description str
The description of the Mount point. No more than 32 characters in length.
status str
Mount point status. Value: Inactive: Disable mount points Active: Activate the mount point.
accessGroupId This property is required. String
The id of the permission group associated with the Mount point, which is used to set the access permissions of the Mount point.
fileSystemId
This property is required.
Changes to this property will trigger replacement.
String
Unique file system identifier, used to retrieve specified file system resources.
networkType
This property is required.
Changes to this property will trigger replacement.
String
The network type of the Mount point. Only VPC (VPC) is supported.
vpcId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
vswitchId
This property is required.
Changes to this property will trigger replacement.
String
VSwitch ID, which specifies the VSwitch resource used to create the mount point.
aliasPrefix String
The mount point alias prefix, which specifies the mount point alias prefix.
description String
The description of the Mount point. No more than 32 characters in length.
status String
Mount point status. Value: Inactive: Disable mount points Active: Activate the mount point.

Outputs

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

CreateTime string
The creation time of the Mount point resource.
Id string
The provider-assigned unique ID for this managed resource.
MountPointId string
The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
RegionId string
(Available since v1.242.0) The region ID of the Mount Point.
CreateTime string
The creation time of the Mount point resource.
Id string
The provider-assigned unique ID for this managed resource.
MountPointId string
The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
RegionId string
(Available since v1.242.0) The region ID of the Mount Point.
createTime String
The creation time of the Mount point resource.
id String
The provider-assigned unique ID for this managed resource.
mountPointId String
The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
regionId String
(Available since v1.242.0) The region ID of the Mount Point.
createTime string
The creation time of the Mount point resource.
id string
The provider-assigned unique ID for this managed resource.
mountPointId string
The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
regionId string
(Available since v1.242.0) The region ID of the Mount Point.
create_time str
The creation time of the Mount point resource.
id str
The provider-assigned unique ID for this managed resource.
mount_point_id str
The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
region_id str
(Available since v1.242.0) The region ID of the Mount Point.
createTime String
The creation time of the Mount point resource.
id String
The provider-assigned unique ID for this managed resource.
mountPointId String
The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
regionId String
(Available since v1.242.0) The region 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,
        alias_prefix: Optional[str] = None,
        create_time: Optional[str] = None,
        description: Optional[str] = None,
        file_system_id: Optional[str] = None,
        mount_point_id: Optional[str] = None,
        network_type: Optional[str] = None,
        region_id: 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)
resources:  _:    type: alicloud:dfs:MountPoint    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 permission group associated with the Mount point, which is used to set the access permissions of the Mount point.
AliasPrefix string
The mount point alias prefix, which specifies the mount point alias prefix.
CreateTime string
The creation time of the Mount point resource.
Description string
The description of the Mount point. No more than 32 characters in length.
FileSystemId Changes to this property will trigger replacement. string
Unique file system identifier, used to retrieve specified file system resources.
MountPointId string
The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
NetworkType Changes to this property will trigger replacement. string
The network type of the Mount point. Only VPC (VPC) is supported.
RegionId string
(Available since v1.242.0) The region ID of the Mount Point.
Status string
Mount point status. Value: Inactive: Disable mount points Active: Activate the mount point.
VpcId Changes to this property will trigger replacement. string
The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
VswitchId Changes to this property will trigger replacement. string
VSwitch ID, which specifies the VSwitch resource used to create the mount point.
AccessGroupId string
The id of the permission group associated with the Mount point, which is used to set the access permissions of the Mount point.
AliasPrefix string
The mount point alias prefix, which specifies the mount point alias prefix.
CreateTime string
The creation time of the Mount point resource.
Description string
The description of the Mount point. No more than 32 characters in length.
FileSystemId Changes to this property will trigger replacement. string
Unique file system identifier, used to retrieve specified file system resources.
MountPointId string
The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
NetworkType Changes to this property will trigger replacement. string
The network type of the Mount point. Only VPC (VPC) is supported.
RegionId string
(Available since v1.242.0) The region ID of the Mount Point.
Status string
Mount point status. Value: Inactive: Disable mount points Active: Activate the mount point.
VpcId Changes to this property will trigger replacement. string
The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
VswitchId Changes to this property will trigger replacement. string
VSwitch ID, which specifies the VSwitch resource used to create the mount point.
accessGroupId String
The id of the permission group associated with the Mount point, which is used to set the access permissions of the Mount point.
aliasPrefix String
The mount point alias prefix, which specifies the mount point alias prefix.
createTime String
The creation time of the Mount point resource.
description String
The description of the Mount point. No more than 32 characters in length.
fileSystemId Changes to this property will trigger replacement. String
Unique file system identifier, used to retrieve specified file system resources.
mountPointId String
The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
networkType Changes to this property will trigger replacement. String
The network type of the Mount point. Only VPC (VPC) is supported.
regionId String
(Available since v1.242.0) The region ID of the Mount Point.
status String
Mount point status. Value: Inactive: Disable mount points Active: Activate the mount point.
vpcId Changes to this property will trigger replacement. String
The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
vswitchId Changes to this property will trigger replacement. String
VSwitch ID, which specifies the VSwitch resource used to create the mount point.
accessGroupId string
The id of the permission group associated with the Mount point, which is used to set the access permissions of the Mount point.
aliasPrefix string
The mount point alias prefix, which specifies the mount point alias prefix.
createTime string
The creation time of the Mount point resource.
description string
The description of the Mount point. No more than 32 characters in length.
fileSystemId Changes to this property will trigger replacement. string
Unique file system identifier, used to retrieve specified file system resources.
mountPointId string
The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
networkType Changes to this property will trigger replacement. string
The network type of the Mount point. Only VPC (VPC) is supported.
regionId string
(Available since v1.242.0) The region ID of the Mount Point.
status string
Mount point status. Value: Inactive: Disable mount points Active: Activate the mount point.
vpcId Changes to this property will trigger replacement. string
The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
vswitchId Changes to this property will trigger replacement. string
VSwitch ID, which specifies the VSwitch resource used to create the mount point.
access_group_id str
The id of the permission group associated with the Mount point, which is used to set the access permissions of the Mount point.
alias_prefix str
The mount point alias prefix, which specifies the mount point alias prefix.
create_time str
The creation time of the Mount point resource.
description str
The description of the Mount point. No more than 32 characters in length.
file_system_id Changes to this property will trigger replacement. str
Unique file system identifier, used to retrieve specified file system resources.
mount_point_id str
The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
network_type Changes to this property will trigger replacement. str
The network type of the Mount point. Only VPC (VPC) is supported.
region_id str
(Available since v1.242.0) The region ID of the Mount Point.
status str
Mount point status. Value: Inactive: Disable mount points Active: Activate the mount point.
vpc_id Changes to this property will trigger replacement. str
The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
vswitch_id Changes to this property will trigger replacement. str
VSwitch ID, which specifies the VSwitch resource used to create the mount point.
accessGroupId String
The id of the permission group associated with the Mount point, which is used to set the access permissions of the Mount point.
aliasPrefix String
The mount point alias prefix, which specifies the mount point alias prefix.
createTime String
The creation time of the Mount point resource.
description String
The description of the Mount point. No more than 32 characters in length.
fileSystemId Changes to this property will trigger replacement. String
Unique file system identifier, used to retrieve specified file system resources.
mountPointId String
The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
networkType Changes to this property will trigger replacement. String
The network type of the Mount point. Only VPC (VPC) is supported.
regionId String
(Available since v1.242.0) The region ID of the Mount Point.
status String
Mount point status. Value: Inactive: Disable mount points Active: Activate the mount point.
vpcId Changes to this property will trigger replacement. String
The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
vswitchId Changes to this property will trigger replacement. String
VSwitch ID, which specifies the VSwitch resource used to create the mount point.

Import

Apsara File Storage for HDFS (DFS) Mount Point can be imported using the id, e.g.

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

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.