All Products
Search
Document Center

Resource Orchestration Service:ALIYUN::DFS::MountPoint

Last Updated:Aug 12, 2024

ALIYUN::DFS::MountPoint is used to create a mount target.

Syntax

{
  "Type": "ALIYUN::DFS::MountPoint",
  "Properties": {
    "Status": String,
    "Description": String,
    "VpcId": String,
    "NetworkType": String,
    "VSwitchId": String,
    "FileSystemId": String,
    "AccessGroupId": String
  }
}

Properties

PropertyTypeRequiredEditableDescriptionConstraint
StatusStringNoYesThe state of the mount target. Valid values:
  • Inactive: The mount target is disabled.
  • Active: The mount target is enabled.
DescriptionStringNoYesThe description of the mount target. None.
VpcIdStringYesNoThe ID of the virtual private cloud (VPC). None.
NetworkTypeStringYesNoThe network type of the mount target. Valid values:
  • VPC
  • Classic
VSwitchIdStringYesNoThe ID of the vSwitch. None.
FileSystemIdStringYesNoThe ID of the file system. None.
AccessGroupIdStringYesYesThe ID of the permission group. None.

Return values

Fn::GetAtt

MountPointId: the ID of the mount target.

Examples

  • JSON format

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "VpcId": {
          "Type": "String",
          "Description": "The vpc id."
        },
        "NetworkType": {
          "Type": "String",
          "Description": "The network type of the Mount Point. Valid values: VPC.",
          "AllowedValues": [
            "VPC"
          ]
        },
        "VSwitchId": {
          "Type": "String",
          "Description": "The vswitch id."
        },
        "FileSystemId": {
          "Type": "String",
          "Description": "The ID of the File System."
        },
        "AccessGroupId": {
          "Type": "String",
          "Description": "The ID of the Access Group."
        }
      },
      "Resources": {
        "MountPoint": {
          "Type": "ALIYUN::DFS::MountPoint",
          "Properties": {
            "VpcId": {
              "Ref": "VpcId"
            },
            "NetworkType": {
              "Ref": "NetworkType"
            },
            "VSwitchId": {
              "Ref": "VSwitchId"
            },
            "FileSystemId": {
              "Ref": "FileSystemId"
            },
            "AccessGroupId": {
              "Ref": "AccessGroupId"
            }
          }
        }
      },
      "Outputs": {
        "MountPointId": {
          "Description": "The ID of the mount point.",
          "Value": {
            "Fn::GetAtt": [
              "MountPoint",
              "MountPointId"
            ]
          }
        }
      }
    }
  • YAML format

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      VpcId:
        Type: String
        Description: The vpc id.
      NetworkType:
        Type: String
        Description: 'The network type of the Mount Point. Valid values: VPC.'
        AllowedValues:
          - VPC
      VSwitchId:
        Type: String
        Description: The vswitch id.
      FileSystemId:
        Type: String
        Description: The ID of the File System.
      AccessGroupId:
        Type: String
        Description: The ID of the Access Group.
    Resources:
      MountPoint:
        Type: ALIYUN::DFS::MountPoint
        Properties:
          VpcId:
            Ref: VpcId
          NetworkType:
            Ref: NetworkType
          VSwitchId:
            Ref: VSwitchId
          FileSystemId:
            Ref: FileSystemId
          AccessGroupId:
            Ref: AccessGroupId
    Outputs:
      MountPointId:
        Description: The ID of the mount point.
        Value:
          Fn::GetAtt:
            - MountPoint
            - MountPointId