alicloud.dfs.MountPoint
Explore with Pulumi AI
Provides a DFS Mount Point resource.
For information about 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 = alicloud.dfs.getZones({});
const defaultNetwork = 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: defaultNetwork.id,
zoneId: _default.then(_default => _default.zones?.[0]?.zoneId),
});
const defaultFileSystem = new alicloud.dfs.FileSystem("default", {
storageType: _default.then(_default => _default.zones?.[0]?.options?.[0]?.storageType),
zoneId: _default.then(_default => _default.zones?.[0]?.zoneId),
protocolType: "HDFS",
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: defaultNetwork.id,
fileSystemId: defaultFileSystem.id,
accessGroupId: defaultAccessGroup.id,
networkType: "VPC",
vswitchId: defaultSwitch.id,
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "tf-example"
default = alicloud.dfs.get_zones()
default_network = 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_network.id,
zone_id=default.zones[0].zone_id)
default_file_system = alicloud.dfs.FileSystem("default",
storage_type=default.zones[0].options[0].storage_type,
zone_id=default.zones[0].zone_id,
protocol_type="HDFS",
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_network.id,
file_system_id=default_file_system.id,
access_group_id=default_access_group.id,
network_type="VPC",
vswitch_id=default_switch.id)
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 := dfs.GetZones(ctx, &dfs.GetZonesArgs{}, nil)
if err != nil {
return err
}
defaultNetwork, 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: defaultNetwork.ID(),
ZoneId: pulumi.String(_default.Zones[0].ZoneId),
})
if err != nil {
return err
}
defaultFileSystem, err := dfs.NewFileSystem(ctx, "default", &dfs.FileSystemArgs{
StorageType: pulumi.String(_default.Zones[0].Options[0].StorageType),
ZoneId: pulumi.String(_default.Zones[0].ZoneId),
ProtocolType: pulumi.String("HDFS"),
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: defaultNetwork.ID(),
FileSystemId: defaultFileSystem.ID(),
AccessGroupId: defaultAccessGroup.ID(),
NetworkType: pulumi.String("VPC"),
VswitchId: defaultSwitch.ID(),
})
if err != nil {
return err
}
return nil
})
}
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 = AliCloud.Dfs.GetZones.Invoke();
var defaultNetwork = 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 = defaultNetwork.Id,
ZoneId = @default.Apply(@default => @default.Apply(getZonesResult => getZonesResult.Zones[0]?.ZoneId)),
});
var defaultFileSystem = new AliCloud.Dfs.FileSystem("default", new()
{
StorageType = @default.Apply(@default => @default.Apply(getZonesResult => getZonesResult.Zones[0]?.Options[0]?.StorageType)),
ZoneId = @default.Apply(@default => @default.Apply(getZonesResult => getZonesResult.Zones[0]?.ZoneId)),
ProtocolType = "HDFS",
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 = defaultNetwork.Id,
FileSystemId = defaultFileSystem.Id,
AccessGroupId = defaultAccessGroup.Id,
NetworkType = "VPC",
VswitchId = defaultSwitch.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.dfs.DfsFunctions;
import com.pulumi.alicloud.dfs.inputs.GetZonesArgs;
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");
final var default = DfsFunctions.getZones();
var defaultNetwork = new Network("defaultNetwork", 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(defaultNetwork.id())
.zoneId(default_.zones()[0].zoneId())
.build());
var defaultFileSystem = new FileSystem("defaultFileSystem", FileSystemArgs.builder()
.storageType(default_.zones()[0].options()[0].storageType())
.zoneId(default_.zones()[0].zoneId())
.protocolType("HDFS")
.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(defaultNetwork.id())
.fileSystemId(defaultFileSystem.id())
.accessGroupId(defaultAccessGroup.id())
.networkType("VPC")
.vswitchId(defaultSwitch.id())
.build());
}
}
configuration:
name:
type: string
default: tf-example
resources:
defaultNetwork:
type: alicloud:vpc:Network
name: default
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: ${defaultNetwork.id}
zoneId: ${default.zones[0].zoneId}
defaultFileSystem:
type: alicloud:dfs:FileSystem
name: default
properties:
storageType: ${default.zones[0].options[0].storageType}
zoneId: ${default.zones[0].zoneId}
protocolType: HDFS
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: ${defaultNetwork.id}
fileSystemId: ${defaultFileSystem.id}
accessGroupId: ${defaultAccessGroup.id}
networkType: VPC
vswitchId: ${defaultSwitch.id}
variables:
default:
fn::invoke:
Function: alicloud:dfs:getZones
Arguments: {}
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 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.
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",
});
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"),
})
var mountPointResource = new MountPoint("mountPointResource", MountPointArgs.builder()
.accessGroupId("string")
.fileSystemId("string")
.networkType("string")
.vpcId("string")
.vswitchId("string")
.aliasPrefix("string")
.description("string")
.status("string")
.build());
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")
const mountPointResource = new alicloud.dfs.MountPoint("mountPointResource", {
accessGroupId: "string",
fileSystemId: "string",
networkType: "string",
vpcId: "string",
vswitchId: "string",
aliasPrefix: "string",
description: "string",
status: "string",
});
type: alicloud:dfs:MountPoint
properties:
accessGroupId: string
aliasPrefix: string
description: string
fileSystemId: string
networkType: string
status: string
vpcId: string
vswitchId: string
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:
- Access
Group stringId - 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 stringId - Unique file system identifier, used to retrieve specified file system resources.
- Network
Type string - The network type of the Mount point. Only VPC (VPC) is supported.
- Vpc
Id string - The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
- Vswitch
Id string - VSwitch ID, which specifies the VSwitch resource used to create the mount point.
- Alias
Prefix 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 stringId - 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 stringId - Unique file system identifier, used to retrieve specified file system resources.
- Network
Type string - The network type of the Mount point. Only VPC (VPC) is supported.
- Vpc
Id string - The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
- Vswitch
Id string - VSwitch ID, which specifies the VSwitch resource used to create the mount point.
- Alias
Prefix 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 StringId - 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 StringId - Unique file system identifier, used to retrieve specified file system resources.
- network
Type String - The network type of the Mount point. Only VPC (VPC) is supported.
- vpc
Id String - The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
- vswitch
Id String - VSwitch ID, which specifies the VSwitch resource used to create the mount point.
- alias
Prefix 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 stringId - 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 stringId - Unique file system identifier, used to retrieve specified file system resources.
- network
Type string - The network type of the Mount point. Only VPC (VPC) is supported.
- vpc
Id string - The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
- vswitch
Id string - VSwitch ID, which specifies the VSwitch resource used to create the mount point.
- alias
Prefix 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_ strid - 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_ strid - Unique file system identifier, used to retrieve specified file system resources.
- network_
type str - The network type of the Mount point. Only VPC (VPC) is supported.
- vpc_
id str - The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
- vswitch_
id 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.
- access
Group StringId - 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 StringId - Unique file system identifier, used to retrieve specified file system resources.
- network
Type String - The network type of the Mount point. Only VPC (VPC) is supported.
- vpc
Id String - The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
- vswitch
Id String - VSwitch ID, which specifies the VSwitch resource used to create the mount point.
- alias
Prefix 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:
- Create
Time string - The creation time of the Mount point resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Mount
Point stringId - The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
- Create
Time string - The creation time of the Mount point resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Mount
Point stringId - The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
- create
Time String - The creation time of the Mount point resource.
- id String
- The provider-assigned unique ID for this managed resource.
- mount
Point StringId - The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
- create
Time string - The creation time of the Mount point resource.
- id string
- The provider-assigned unique ID for this managed resource.
- mount
Point stringId - The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
- create_
time str - The creation time of the Mount point resource.
- id str
- The provider-assigned unique ID for this managed resource.
- mount_
point_ strid - The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
- create
Time String - The creation time of the Mount point resource.
- id String
- The provider-assigned unique ID for this managed resource.
- mount
Point StringId - The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
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,
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 permission group associated with the Mount point, which is used to set the access permissions of the Mount point.
- Alias
Prefix string - The mount point alias prefix, which specifies the mount point alias prefix.
- Create
Time string - The creation time of the Mount point resource.
- Description string
- The description of the Mount point. No more than 32 characters in length.
- File
System stringId - Unique file system identifier, used to retrieve specified file system resources.
- Mount
Point stringId - The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
- Network
Type string - The network type of the Mount point. Only VPC (VPC) is supported.
- Status string
- Mount point status. Value: Inactive: Disable mount points Active: Activate the mount point.
- Vpc
Id string - The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
- Vswitch
Id string - VSwitch ID, which specifies the VSwitch resource used to create the mount point.
- Access
Group stringId - 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 string - The mount point alias prefix, which specifies the mount point alias prefix.
- Create
Time string - The creation time of the Mount point resource.
- Description string
- The description of the Mount point. No more than 32 characters in length.
- File
System stringId - Unique file system identifier, used to retrieve specified file system resources.
- Mount
Point stringId - The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
- Network
Type string - The network type of the Mount point. Only VPC (VPC) is supported.
- Status string
- Mount point status. Value: Inactive: Disable mount points Active: Activate the mount point.
- Vpc
Id string - The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
- Vswitch
Id string - VSwitch ID, which specifies the VSwitch resource used to create the mount point.
- access
Group StringId - 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 String - The mount point alias prefix, which specifies the mount point alias prefix.
- create
Time String - The creation time of the Mount point resource.
- description String
- The description of the Mount point. No more than 32 characters in length.
- file
System StringId - Unique file system identifier, used to retrieve specified file system resources.
- mount
Point StringId - The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
- network
Type String - The network type of the Mount point. Only VPC (VPC) is supported.
- status String
- Mount point status. Value: Inactive: Disable mount points Active: Activate the mount point.
- vpc
Id String - The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
- vswitch
Id String - VSwitch ID, which specifies the VSwitch resource used to create the mount point.
- access
Group stringId - 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 string - The mount point alias prefix, which specifies the mount point alias prefix.
- create
Time string - The creation time of the Mount point resource.
- description string
- The description of the Mount point. No more than 32 characters in length.
- file
System stringId - Unique file system identifier, used to retrieve specified file system resources.
- mount
Point stringId - The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
- network
Type string - The network type of the Mount point. Only VPC (VPC) is supported.
- status string
- Mount point status. Value: Inactive: Disable mount points Active: Activate the mount point.
- vpc
Id string - The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
- vswitch
Id string - VSwitch ID, which specifies the VSwitch resource used to create the mount point.
- access_
group_ strid - 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_ strid - Unique file system identifier, used to retrieve specified file system resources.
- mount_
point_ strid - The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
- network_
type str - The network type of the Mount point. Only VPC (VPC) is supported.
- status str
- Mount point status. Value: Inactive: Disable mount points Active: Activate the mount point.
- vpc_
id str - The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
- vswitch_
id str - VSwitch ID, which specifies the VSwitch resource used to create the mount point.
- access
Group StringId - 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 String - The mount point alias prefix, which specifies the mount point alias prefix.
- create
Time String - The creation time of the Mount point resource.
- description String
- The description of the Mount point. No more than 32 characters in length.
- file
System StringId - Unique file system identifier, used to retrieve specified file system resources.
- mount
Point StringId - The unique identifier of the Mount point, which is used to retrieve the specified mount point resources.
- network
Type String - The network type of the Mount point. Only VPC (VPC) is supported.
- status String
- Mount point status. Value: Inactive: Disable mount points Active: Activate the mount point.
- vpc
Id String - The ID of the VPC. Specifies the VPC environment to which the mount point belongs.
- vswitch
Id String - VSwitch ID, which specifies the VSwitch resource used to create the mount point.
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>
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.