1. Packages
  2. Volcengine
  3. API Docs
  4. nas
  5. MountPoint
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

volcengine.nas.MountPoint

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

    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

    The MountPoint resource accepts the following input properties:

    FileSystemId string
    The file system id.
    MountPointName string
    The mount point name.
    PermissionGroupId string
    The permission group id.
    SubnetId string
    The subnet id.
    FileSystemId string
    The file system id.
    MountPointName string
    The mount point name.
    PermissionGroupId string
    The permission group id.
    SubnetId string
    The subnet id.
    fileSystemId String
    The file system id.
    mountPointName String
    The mount point name.
    permissionGroupId String
    The permission group id.
    subnetId String
    The subnet id.
    fileSystemId string
    The file system id.
    mountPointName string
    The mount point name.
    permissionGroupId string
    The permission group id.
    subnetId string
    The subnet id.
    file_system_id str
    The file system id.
    mount_point_name str
    The mount point name.
    permission_group_id str
    The permission group id.
    subnet_id str
    The subnet id.
    fileSystemId String
    The file system id.
    mountPointName String
    The mount point name.
    permissionGroupId String
    The permission group id.
    subnetId 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.
    MountPointId string
    The mount point id.
    Id string
    The provider-assigned unique ID for this managed resource.
    MountPointId string
    The mount point id.
    id String
    The provider-assigned unique ID for this managed resource.
    mountPointId String
    The mount point id.
    id string
    The provider-assigned unique ID for this managed resource.
    mountPointId string
    The mount point id.
    id str
    The provider-assigned unique ID for this managed resource.
    mount_point_id str
    The mount point id.
    id String
    The provider-assigned unique ID for this managed resource.
    mountPointId String
    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.
    The following state arguments are supported:
    FileSystemId string
    The file system id.
    MountPointId string
    The mount point id.
    MountPointName string
    The mount point name.
    PermissionGroupId string
    The permission group id.
    SubnetId string
    The subnet id.
    FileSystemId string
    The file system id.
    MountPointId string
    The mount point id.
    MountPointName string
    The mount point name.
    PermissionGroupId string
    The permission group id.
    SubnetId string
    The subnet id.
    fileSystemId String
    The file system id.
    mountPointId String
    The mount point id.
    mountPointName String
    The mount point name.
    permissionGroupId String
    The permission group id.
    subnetId String
    The subnet id.
    fileSystemId string
    The file system id.
    mountPointId string
    The mount point id.
    mountPointName string
    The mount point name.
    permissionGroupId string
    The permission group id.
    subnetId string
    The subnet id.
    file_system_id str
    The file system id.
    mount_point_id str
    The mount point id.
    mount_point_name str
    The mount point name.
    permission_group_id str
    The permission group id.
    subnet_id str
    The subnet id.
    fileSystemId String
    The file system id.
    mountPointId String
    The mount point id.
    mountPointName String
    The mount point name.
    permissionGroupId String
    The permission group id.
    subnetId 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.
    volcengine logo
    Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine