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

Property Type Required Editable Description Constraint
Status String No Yes The state of the mount target. Valid values:
  • Inactive: The mount target is disabled.
  • Active: The mount target is enabled.
Description String No Yes The description of the mount target. None.
VpcId String Yes No The ID of the virtual private cloud (VPC). None.
NetworkType String Yes No The network type of the mount target. Valid values:
  • VPC
  • Classic
VSwitchId String Yes No The ID of the vSwitch. None.
FileSystemId String Yes No The ID of the file system. None.
AccessGroupId String Yes Yes The 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