volcengine.nas.MountPoint
Explore with Pulumi AI
Provides a resource to manage nas mount point
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,
file_system_id: Optional[str] = None,
mount_point_name: Optional[str] = None,
permission_group_id: Optional[str] = None,
subnet_id: 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: volcengine:nas: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 Volcengine.Nas.MountPoint("mountPointResource", new()
{
FileSystemId = "string",
MountPointName = "string",
PermissionGroupId = "string",
SubnetId = "string",
});
example, err := nas.NewMountPoint(ctx, "mountPointResource", &nas.MountPointArgs{
FileSystemId: pulumi.String("string"),
MountPointName: pulumi.String("string"),
PermissionGroupId: pulumi.String("string"),
SubnetId: pulumi.String("string"),
})
var mountPointResource = new MountPoint("mountPointResource", MountPointArgs.builder()
.fileSystemId("string")
.mountPointName("string")
.permissionGroupId("string")
.subnetId("string")
.build());
mount_point_resource = volcengine.nas.MountPoint("mountPointResource",
file_system_id="string",
mount_point_name="string",
permission_group_id="string",
subnet_id="string")
const mountPointResource = new volcengine.nas.MountPoint("mountPointResource", {
fileSystemId: "string",
mountPointName: "string",
permissionGroupId: "string",
subnetId: "string",
});
type: volcengine:nas:MountPoint
properties:
fileSystemId: string
mountPointName: string
permissionGroupId: string
subnetId: 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:
- File
System stringId - The file system id.
- Mount
Point stringName - The mount point name.
- Permission
Group stringId - The permission group id.
- Subnet
Id string - The subnet id.
- File
System stringId - The file system id.
- Mount
Point stringName - The mount point name.
- Permission
Group stringId - The permission group id.
- Subnet
Id string - The subnet id.
- file
System StringId - The file system id.
- mount
Point StringName - The mount point name.
- permission
Group StringId - The permission group id.
- subnet
Id String - The subnet id.
- file
System stringId - The file system id.
- mount
Point stringName - The mount point name.
- permission
Group stringId - The permission group id.
- subnet
Id string - The subnet id.
- file_
system_ strid - The file system id.
- mount_
point_ strname - The mount point name.
- permission_
group_ strid - The permission group id.
- subnet_
id str - The subnet id.
- file
System StringId - The file system id.
- mount
Point StringName - The mount point name.
- permission
Group StringId - The permission group id.
- subnet
Id String - The subnet id.
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 mount point id.
- Id string
- The provider-assigned unique ID for this managed resource.
- Mount
Point stringId - The mount point id.
- id String
- The provider-assigned unique ID for this managed resource.
- mount
Point StringId - The mount point id.
- id string
- The provider-assigned unique ID for this managed resource.
- mount
Point stringId - The mount point id.
- id str
- The provider-assigned unique ID for this managed resource.
- mount_
point_ strid - The mount point id.
- id String
- The provider-assigned unique ID for this managed resource.
- mount
Point StringId - The mount point id.
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,
file_system_id: Optional[str] = None,
mount_point_id: Optional[str] = None,
mount_point_name: Optional[str] = None,
permission_group_id: Optional[str] = None,
subnet_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.
- File
System stringId - The file system id.
- Mount
Point stringId - The mount point id.
- Mount
Point stringName - The mount point name.
- Permission
Group stringId - The permission group id.
- Subnet
Id string - The subnet id.
- File
System stringId - The file system id.
- Mount
Point stringId - The mount point id.
- Mount
Point stringName - The mount point name.
- Permission
Group stringId - The permission group id.
- Subnet
Id string - The subnet id.
- file
System StringId - The file system id.
- mount
Point StringId - The mount point id.
- mount
Point StringName - The mount point name.
- permission
Group StringId - The permission group id.
- subnet
Id String - The subnet id.
- file
System stringId - The file system id.
- mount
Point stringId - The mount point id.
- mount
Point stringName - The mount point name.
- permission
Group stringId - The permission group id.
- subnet
Id string - The subnet id.
- file_
system_ strid - The file system id.
- mount_
point_ strid - The mount point id.
- mount_
point_ strname - The mount point name.
- permission_
group_ strid - The permission group id.
- subnet_
id str - The subnet id.
- file
System StringId - The file system id.
- mount
Point StringId - The mount point id.
- mount
Point StringName - The mount point name.
- permission
Group StringId - The permission group id.
- subnet
Id String - The subnet id.
Import
Nas Mount Point can be imported using the file system id and mount point id, e.g.
$ pulumi import volcengine:nas/mountPoint:MountPoint default enas-cnbj18bcb923****:mount-a6ee****
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.