ALIYUN::NAS::MountTarget类型用于创建挂载点。

语法

{
  "Type": "ALIYUN::NAS::MountTarget",
  "Properties": {
    "Status": String,
    "VpcId": String,
    "FileSystemId": String,
    "VSwitchId": String,
    "NetworkType": String,
    "AccessGroupName": String
  }
}

属性

属性名称 类型 必须 允许更新 描述 约束
Status String 状态。 可用值:Active 、Inactive。
VpcId String VPC 网络 ID。 无。
FileSystemId String 文件系统 ID。 无。
VSwitchId String 交换机 ID。 无。
NetworkType String 网络类型。 可用值:Vpc、Classic。
AccessGroupName String 权限组名称。 无。

返回值

Fn::GetAtt

MountTargetDomain:挂载点域名。

示例

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Resources": {
    "MountTarget": {
      "Type": "ALIYUN::NAS::MountTarget",
      "Properties": {
        "Status": {
          "Ref": "Status"
        },
        "VpcId": {
          "Ref": "VpcId"
        },
        "FileSystemId": {
          "Ref": "FileSystemId"
        },
        "VSwitchId": {
          "Ref": "VSwitchId"
        },
        "NetworkType": {
          "Ref": "NetworkType"
        },
        "AccessGroupName": {
          "Ref": "AccessGroupName"
        }
      }
    }
  },
  "Parameters": {
    "Status": {
      "Type": "String",
      "Description": "Status, including Active and Inactive",
      "AllowedValues": ["Active", "Inactive"]
    },
    "VpcId": {
      "Type": "String",
      "Description": "VPC network ID"
    },
    "FileSystemId": {
      "Type": "String",
      "Description": "File system ID"
    },
    "VSwitchId": {
      "Type": "String",
      "Description": "VSwitch ID."
    },
    "NetworkType": {
      "Type": "String",
      "Description": "Network type, including Vpc and Classic networks.",
      "AllowedValues": ["Vpc", "Classic"]
    },
    "AccessGroupName": {
      "Type": "String",
      "Description": "Permission group name"
    }
  },
  "Outputs": {
    "MountTargetDomain": {
      "Description": "Mount point domain name",
      "Value": {
        "Fn::GetAtt": ["MountTarget", "MountTargetDomain"]
      }
    }
  }
}