published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
The mount service is the connection point for the file system in a network environment. The file system must be mounted on compute nodes to enable data access and storage.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
vEPFSMountServiceDemo:
type: volcenginecc:vepfs:MountService
name: VEPFSMountServiceDemo
properties:
mountServiceName: test
project: default
nodeType: ecs.g4i.large
subnetId: subnet-1a185dj3sh1q8*****
vpcId: vpc-1a17v350xa8lc8n*****
zoneId: cn-beijing-a
attachFileSystems:
- file_system_id: vepfs-cnbj607*****
customer_path: /vepfs-cnbj*****
Create MountService Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MountService(name: string, args: MountServiceArgs, opts?: CustomResourceOptions);@overload
def MountService(resource_name: str,
args: MountServiceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MountService(resource_name: str,
opts: Optional[ResourceOptions] = None,
mount_service_name: Optional[str] = None,
node_type: Optional[str] = None,
subnet_id: Optional[str] = None,
vpc_id: Optional[str] = None,
zone_id: Optional[str] = None,
attach_file_systems: Optional[Sequence[MountServiceAttachFileSystemArgs]] = None,
project: Optional[str] = None)func NewMountService(ctx *Context, name string, args MountServiceArgs, opts ...ResourceOption) (*MountService, error)public MountService(string name, MountServiceArgs args, CustomResourceOptions? opts = null)
public MountService(String name, MountServiceArgs args)
public MountService(String name, MountServiceArgs args, CustomResourceOptions options)
type: volcenginecc:vepfs:MountService
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 MountServiceArgs
- 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 MountServiceArgs
- 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 MountServiceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MountServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MountServiceArgs
- 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 mountServiceResource = new Volcenginecc.Vepfs.MountService("mountServiceResource", new()
{
MountServiceName = "string",
NodeType = "string",
SubnetId = "string",
VpcId = "string",
ZoneId = "string",
AttachFileSystems = new[]
{
new Volcenginecc.Vepfs.Inputs.MountServiceAttachFileSystemArgs
{
AccountId = "string",
CustomerPath = "string",
FileSystemId = "string",
FileSystemName = "string",
Status = "string",
},
},
Project = "string",
});
example, err := vepfs.NewMountService(ctx, "mountServiceResource", &vepfs.MountServiceArgs{
MountServiceName: pulumi.String("string"),
NodeType: pulumi.String("string"),
SubnetId: pulumi.String("string"),
VpcId: pulumi.String("string"),
ZoneId: pulumi.String("string"),
AttachFileSystems: vepfs.MountServiceAttachFileSystemArray{
&vepfs.MountServiceAttachFileSystemArgs{
AccountId: pulumi.String("string"),
CustomerPath: pulumi.String("string"),
FileSystemId: pulumi.String("string"),
FileSystemName: pulumi.String("string"),
Status: pulumi.String("string"),
},
},
Project: pulumi.String("string"),
})
var mountServiceResource = new MountService("mountServiceResource", MountServiceArgs.builder()
.mountServiceName("string")
.nodeType("string")
.subnetId("string")
.vpcId("string")
.zoneId("string")
.attachFileSystems(MountServiceAttachFileSystemArgs.builder()
.accountId("string")
.customerPath("string")
.fileSystemId("string")
.fileSystemName("string")
.status("string")
.build())
.project("string")
.build());
mount_service_resource = volcenginecc.vepfs.MountService("mountServiceResource",
mount_service_name="string",
node_type="string",
subnet_id="string",
vpc_id="string",
zone_id="string",
attach_file_systems=[{
"account_id": "string",
"customer_path": "string",
"file_system_id": "string",
"file_system_name": "string",
"status": "string",
}],
project="string")
const mountServiceResource = new volcenginecc.vepfs.MountService("mountServiceResource", {
mountServiceName: "string",
nodeType: "string",
subnetId: "string",
vpcId: "string",
zoneId: "string",
attachFileSystems: [{
accountId: "string",
customerPath: "string",
fileSystemId: "string",
fileSystemName: "string",
status: "string",
}],
project: "string",
});
type: volcenginecc:vepfs:MountService
properties:
attachFileSystems:
- accountId: string
customerPath: string
fileSystemId: string
fileSystemName: string
status: string
mountServiceName: string
nodeType: string
project: string
subnetId: string
vpcId: string
zoneId: string
MountService 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 MountService resource accepts the following input properties:
- Mount
Service stringName - Mount service name. Naming rules: Must start with a Chinese or English character. Only Chinese characters, letters, numbers, periods (.), underscores (_), or hyphens (-) are allowed. Length must be between 1 and 128 characters. The mount service name must be unique within each region and account; duplicates are not allowed.
- Node
Type string - Client management node type.
- Subnet
Id string - Subnet ID.
- Vpc
Id string - Private network ID.
- Zone
Id string - Availability zone ID.
- Attach
File List<Volcengine.Systems Mount Service Attach File System> - Project string
- Project.
- Mount
Service stringName - Mount service name. Naming rules: Must start with a Chinese or English character. Only Chinese characters, letters, numbers, periods (.), underscores (_), or hyphens (-) are allowed. Length must be between 1 and 128 characters. The mount service name must be unique within each region and account; duplicates are not allowed.
- Node
Type string - Client management node type.
- Subnet
Id string - Subnet ID.
- Vpc
Id string - Private network ID.
- Zone
Id string - Availability zone ID.
- Attach
File []MountSystems Service Attach File System Args - Project string
- Project.
- mount
Service StringName - Mount service name. Naming rules: Must start with a Chinese or English character. Only Chinese characters, letters, numbers, periods (.), underscores (_), or hyphens (-) are allowed. Length must be between 1 and 128 characters. The mount service name must be unique within each region and account; duplicates are not allowed.
- node
Type String - Client management node type.
- subnet
Id String - Subnet ID.
- vpc
Id String - Private network ID.
- zone
Id String - Availability zone ID.
- attach
File List<MountSystems Service Attach File System> - project String
- Project.
- mount
Service stringName - Mount service name. Naming rules: Must start with a Chinese or English character. Only Chinese characters, letters, numbers, periods (.), underscores (_), or hyphens (-) are allowed. Length must be between 1 and 128 characters. The mount service name must be unique within each region and account; duplicates are not allowed.
- node
Type string - Client management node type.
- subnet
Id string - Subnet ID.
- vpc
Id string - Private network ID.
- zone
Id string - Availability zone ID.
- attach
File MountSystems Service Attach File System[] - project string
- Project.
- mount_
service_ strname - Mount service name. Naming rules: Must start with a Chinese or English character. Only Chinese characters, letters, numbers, periods (.), underscores (_), or hyphens (-) are allowed. Length must be between 1 and 128 characters. The mount service name must be unique within each region and account; duplicates are not allowed.
- node_
type str - Client management node type.
- subnet_
id str - Subnet ID.
- vpc_
id str - Private network ID.
- zone_
id str - Availability zone ID.
- attach_
file_ Sequence[Mountsystems Service Attach File System Args] - project str
- Project.
- mount
Service StringName - Mount service name. Naming rules: Must start with a Chinese or English character. Only Chinese characters, letters, numbers, periods (.), underscores (_), or hyphens (-) are allowed. Length must be between 1 and 128 characters. The mount service name must be unique within each region and account; duplicates are not allowed.
- node
Type String - Client management node type.
- subnet
Id String - Subnet ID.
- vpc
Id String - Private network ID.
- zone
Id String - Availability zone ID.
- attach
File List<Property Map>Systems - project String
- Project.
Outputs
All input properties are implicitly available as output properties. Additionally, the MountService resource produces the following output properties:
- Create
Time string - Creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Mount
Service stringId - Mount service ID.
- Nodes
List<Volcengine.
Mount Service Node> - Security
Group stringId - Client NIC security group ID.
- Status string
- Mount service status. Details: Creating: Creating. CreateError: Creation failed. Running: Running. Updating: Updating. UpdateError: Update failed. Deleting: Deleting. DeleteError: Deletion failed. Deleted: Deleted. Attaching: Attaching. AttachError: Attachment failed. Detaching: Detaching. DetachError: Detachment failed. Stopped: Stopped. Error: Error.
- Version
Number string - Mount service version.
- Zone
Name string - Availability zone name.
- Create
Time string - Creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Mount
Service stringId - Mount service ID.
- Nodes
[]Mount
Service Node - Security
Group stringId - Client NIC security group ID.
- Status string
- Mount service status. Details: Creating: Creating. CreateError: Creation failed. Running: Running. Updating: Updating. UpdateError: Update failed. Deleting: Deleting. DeleteError: Deletion failed. Deleted: Deleted. Attaching: Attaching. AttachError: Attachment failed. Detaching: Detaching. DetachError: Detachment failed. Stopped: Stopped. Error: Error.
- Version
Number string - Mount service version.
- Zone
Name string - Availability zone name.
- create
Time String - Creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- mount
Service StringId - Mount service ID.
- nodes
List<Mount
Service Node> - security
Group StringId - Client NIC security group ID.
- status String
- Mount service status. Details: Creating: Creating. CreateError: Creation failed. Running: Running. Updating: Updating. UpdateError: Update failed. Deleting: Deleting. DeleteError: Deletion failed. Deleted: Deleted. Attaching: Attaching. AttachError: Attachment failed. Detaching: Detaching. DetachError: Detachment failed. Stopped: Stopped. Error: Error.
- version
Number String - Mount service version.
- zone
Name String - Availability zone name.
- create
Time string - Creation time.
- id string
- The provider-assigned unique ID for this managed resource.
- mount
Service stringId - Mount service ID.
- nodes
Mount
Service Node[] - security
Group stringId - Client NIC security group ID.
- status string
- Mount service status. Details: Creating: Creating. CreateError: Creation failed. Running: Running. Updating: Updating. UpdateError: Update failed. Deleting: Deleting. DeleteError: Deletion failed. Deleted: Deleted. Attaching: Attaching. AttachError: Attachment failed. Detaching: Detaching. DetachError: Detachment failed. Stopped: Stopped. Error: Error.
- version
Number string - Mount service version.
- zone
Name string - Availability zone name.
- create_
time str - Creation time.
- id str
- The provider-assigned unique ID for this managed resource.
- mount_
service_ strid - Mount service ID.
- nodes
Sequence[Mount
Service Node] - security_
group_ strid - Client NIC security group ID.
- status str
- Mount service status. Details: Creating: Creating. CreateError: Creation failed. Running: Running. Updating: Updating. UpdateError: Update failed. Deleting: Deleting. DeleteError: Deletion failed. Deleted: Deleted. Attaching: Attaching. AttachError: Attachment failed. Detaching: Detaching. DetachError: Detachment failed. Stopped: Stopped. Error: Error.
- version_
number str - Mount service version.
- zone_
name str - Availability zone name.
- create
Time String - Creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- mount
Service StringId - Mount service ID.
- nodes List<Property Map>
- security
Group StringId - Client NIC security group ID.
- status String
- Mount service status. Details: Creating: Creating. CreateError: Creation failed. Running: Running. Updating: Updating. UpdateError: Update failed. Deleting: Deleting. DeleteError: Deletion failed. Deleted: Deleted. Attaching: Attaching. AttachError: Attachment failed. Detaching: Detaching. DetachError: Detachment failed. Stopped: Stopped. Error: Error.
- version
Number String - Mount service version.
- zone
Name String - Availability zone name.
Look up Existing MountService Resource
Get an existing MountService 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?: MountServiceState, opts?: CustomResourceOptions): MountService@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
attach_file_systems: Optional[Sequence[MountServiceAttachFileSystemArgs]] = None,
create_time: Optional[str] = None,
mount_service_id: Optional[str] = None,
mount_service_name: Optional[str] = None,
node_type: Optional[str] = None,
nodes: Optional[Sequence[MountServiceNodeArgs]] = None,
project: Optional[str] = None,
security_group_id: Optional[str] = None,
status: Optional[str] = None,
subnet_id: Optional[str] = None,
version_number: Optional[str] = None,
vpc_id: Optional[str] = None,
zone_id: Optional[str] = None,
zone_name: Optional[str] = None) -> MountServicefunc GetMountService(ctx *Context, name string, id IDInput, state *MountServiceState, opts ...ResourceOption) (*MountService, error)public static MountService Get(string name, Input<string> id, MountServiceState? state, CustomResourceOptions? opts = null)public static MountService get(String name, Output<String> id, MountServiceState state, CustomResourceOptions options)resources: _: type: volcenginecc:vepfs:MountService get: id: ${id}- 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.
- Attach
File List<Volcengine.Systems Mount Service Attach File System> - Create
Time string - Creation time.
- Mount
Service stringId - Mount service ID.
- Mount
Service stringName - Mount service name. Naming rules: Must start with a Chinese or English character. Only Chinese characters, letters, numbers, periods (.), underscores (_), or hyphens (-) are allowed. Length must be between 1 and 128 characters. The mount service name must be unique within each region and account; duplicates are not allowed.
- Node
Type string - Client management node type.
- Nodes
List<Volcengine.
Mount Service Node> - Project string
- Project.
- Security
Group stringId - Client NIC security group ID.
- Status string
- Mount service status. Details: Creating: Creating. CreateError: Creation failed. Running: Running. Updating: Updating. UpdateError: Update failed. Deleting: Deleting. DeleteError: Deletion failed. Deleted: Deleted. Attaching: Attaching. AttachError: Attachment failed. Detaching: Detaching. DetachError: Detachment failed. Stopped: Stopped. Error: Error.
- Subnet
Id string - Subnet ID.
- Version
Number string - Mount service version.
- Vpc
Id string - Private network ID.
- Zone
Id string - Availability zone ID.
- Zone
Name string - Availability zone name.
- Attach
File []MountSystems Service Attach File System Args - Create
Time string - Creation time.
- Mount
Service stringId - Mount service ID.
- Mount
Service stringName - Mount service name. Naming rules: Must start with a Chinese or English character. Only Chinese characters, letters, numbers, periods (.), underscores (_), or hyphens (-) are allowed. Length must be between 1 and 128 characters. The mount service name must be unique within each region and account; duplicates are not allowed.
- Node
Type string - Client management node type.
- Nodes
[]Mount
Service Node Args - Project string
- Project.
- Security
Group stringId - Client NIC security group ID.
- Status string
- Mount service status. Details: Creating: Creating. CreateError: Creation failed. Running: Running. Updating: Updating. UpdateError: Update failed. Deleting: Deleting. DeleteError: Deletion failed. Deleted: Deleted. Attaching: Attaching. AttachError: Attachment failed. Detaching: Detaching. DetachError: Detachment failed. Stopped: Stopped. Error: Error.
- Subnet
Id string - Subnet ID.
- Version
Number string - Mount service version.
- Vpc
Id string - Private network ID.
- Zone
Id string - Availability zone ID.
- Zone
Name string - Availability zone name.
- attach
File List<MountSystems Service Attach File System> - create
Time String - Creation time.
- mount
Service StringId - Mount service ID.
- mount
Service StringName - Mount service name. Naming rules: Must start with a Chinese or English character. Only Chinese characters, letters, numbers, periods (.), underscores (_), or hyphens (-) are allowed. Length must be between 1 and 128 characters. The mount service name must be unique within each region and account; duplicates are not allowed.
- node
Type String - Client management node type.
- nodes
List<Mount
Service Node> - project String
- Project.
- security
Group StringId - Client NIC security group ID.
- status String
- Mount service status. Details: Creating: Creating. CreateError: Creation failed. Running: Running. Updating: Updating. UpdateError: Update failed. Deleting: Deleting. DeleteError: Deletion failed. Deleted: Deleted. Attaching: Attaching. AttachError: Attachment failed. Detaching: Detaching. DetachError: Detachment failed. Stopped: Stopped. Error: Error.
- subnet
Id String - Subnet ID.
- version
Number String - Mount service version.
- vpc
Id String - Private network ID.
- zone
Id String - Availability zone ID.
- zone
Name String - Availability zone name.
- attach
File MountSystems Service Attach File System[] - create
Time string - Creation time.
- mount
Service stringId - Mount service ID.
- mount
Service stringName - Mount service name. Naming rules: Must start with a Chinese or English character. Only Chinese characters, letters, numbers, periods (.), underscores (_), or hyphens (-) are allowed. Length must be between 1 and 128 characters. The mount service name must be unique within each region and account; duplicates are not allowed.
- node
Type string - Client management node type.
- nodes
Mount
Service Node[] - project string
- Project.
- security
Group stringId - Client NIC security group ID.
- status string
- Mount service status. Details: Creating: Creating. CreateError: Creation failed. Running: Running. Updating: Updating. UpdateError: Update failed. Deleting: Deleting. DeleteError: Deletion failed. Deleted: Deleted. Attaching: Attaching. AttachError: Attachment failed. Detaching: Detaching. DetachError: Detachment failed. Stopped: Stopped. Error: Error.
- subnet
Id string - Subnet ID.
- version
Number string - Mount service version.
- vpc
Id string - Private network ID.
- zone
Id string - Availability zone ID.
- zone
Name string - Availability zone name.
- attach_
file_ Sequence[Mountsystems Service Attach File System Args] - create_
time str - Creation time.
- mount_
service_ strid - Mount service ID.
- mount_
service_ strname - Mount service name. Naming rules: Must start with a Chinese or English character. Only Chinese characters, letters, numbers, periods (.), underscores (_), or hyphens (-) are allowed. Length must be between 1 and 128 characters. The mount service name must be unique within each region and account; duplicates are not allowed.
- node_
type str - Client management node type.
- nodes
Sequence[Mount
Service Node Args] - project str
- Project.
- security_
group_ strid - Client NIC security group ID.
- status str
- Mount service status. Details: Creating: Creating. CreateError: Creation failed. Running: Running. Updating: Updating. UpdateError: Update failed. Deleting: Deleting. DeleteError: Deletion failed. Deleted: Deleted. Attaching: Attaching. AttachError: Attachment failed. Detaching: Detaching. DetachError: Detachment failed. Stopped: Stopped. Error: Error.
- subnet_
id str - Subnet ID.
- version_
number str - Mount service version.
- vpc_
id str - Private network ID.
- zone_
id str - Availability zone ID.
- zone_
name str - Availability zone name.
- attach
File List<Property Map>Systems - create
Time String - Creation time.
- mount
Service StringId - Mount service ID.
- mount
Service StringName - Mount service name. Naming rules: Must start with a Chinese or English character. Only Chinese characters, letters, numbers, periods (.), underscores (_), or hyphens (-) are allowed. Length must be between 1 and 128 characters. The mount service name must be unique within each region and account; duplicates are not allowed.
- node
Type String - Client management node type.
- nodes List<Property Map>
- project String
- Project.
- security
Group StringId - Client NIC security group ID.
- status String
- Mount service status. Details: Creating: Creating. CreateError: Creation failed. Running: Running. Updating: Updating. UpdateError: Update failed. Deleting: Deleting. DeleteError: Deletion failed. Deleted: Deleted. Attaching: Attaching. AttachError: Attachment failed. Detaching: Detaching. DetachError: Detachment failed. Stopped: Stopped. Error: Error.
- subnet
Id String - Subnet ID.
- version
Number String - Mount service version.
- vpc
Id String - Private network ID.
- zone
Id String - Availability zone ID.
- zone
Name String - Availability zone name.
Supporting Types
MountServiceAttachFileSystem, MountServiceAttachFileSystemArgs
- Account
Id string - Account ID.
- Customer
Path string - User mount path.
- File
System stringId - File system ID.
- File
System stringName - File system name.
- Status string
- Binding status. Details: Attaching: Attaching. AttachError: Attachment failed. Attached: Attached. Detaching: Detaching. DetachError: Detachment failed.
- Account
Id string - Account ID.
- Customer
Path string - User mount path.
- File
System stringId - File system ID.
- File
System stringName - File system name.
- Status string
- Binding status. Details: Attaching: Attaching. AttachError: Attachment failed. Attached: Attached. Detaching: Detaching. DetachError: Detachment failed.
- account
Id String - Account ID.
- customer
Path String - User mount path.
- file
System StringId - File system ID.
- file
System StringName - File system name.
- status String
- Binding status. Details: Attaching: Attaching. AttachError: Attachment failed. Attached: Attached. Detaching: Detaching. DetachError: Detachment failed.
- account
Id string - Account ID.
- customer
Path string - User mount path.
- file
System stringId - File system ID.
- file
System stringName - File system name.
- status string
- Binding status. Details: Attaching: Attaching. AttachError: Attachment failed. Attached: Attached. Detaching: Detaching. DetachError: Detachment failed.
- account_
id str - Account ID.
- customer_
path str - User mount path.
- file_
system_ strid - File system ID.
- file_
system_ strname - File system name.
- status str
- Binding status. Details: Attaching: Attaching. AttachError: Attachment failed. Attached: Attached. Detaching: Detaching. DetachError: Detachment failed.
- account
Id String - Account ID.
- customer
Path String - User mount path.
- file
System StringId - File system ID.
- file
System StringName - File system name.
- status String
- Binding status. Details: Attaching: Attaching. AttachError: Attachment failed. Attached: Attached. Detaching: Detaching. DetachError: Detachment failed.
MountServiceNode, MountServiceNodeArgs
- Default
Password string - Node initial password.
- Node
Id string - Node instance ID.
- Default
Password string - Node initial password.
- Node
Id string - Node instance ID.
- default
Password String - Node initial password.
- node
Id String - Node instance ID.
- default
Password string - Node initial password.
- node
Id string - Node instance ID.
- default_
password str - Node initial password.
- node_
id str - Node instance ID.
- default
Password String - Node initial password.
- node
Id String - Node instance ID.
Import
$ pulumi import volcenginecc:vepfs/mountService:MountService example "mount_service_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, Apr 23, 2026 by Volcengine
