Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::DFS::MountPoint

Última atualização: Jun 27, 2026

O recurso ALIYUN::DFS::MountPoint crie um ponto de montagem.

Sintaxe

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

Propriedades

PropriedadeTipoObrigatóriaEditávelDescriçãoRestrição
StatusStringNãoSimEstado do ponto de montagem. Valores válidos:
  • Inactive: o ponto de montagem está desativado.
  • Active: o ponto de montagem está ativado.
DescriptionStringNãoSimDescrição do ponto de montagem. Nenhuma.
VpcIdStringSimNãoID da Virtual Private Cloud (VPC). Nenhuma.
NetworkTypeStringSimNãoTipo de rede do ponto de montagem. Valores válidos:
  • VPC
  • Classic
VSwitchIdStringSimNãoID do vSwitch. Nenhuma.
FileSystemIdStringSimNãoID do sistema de arquivos. Nenhuma.
AccessGroupIdStringSimSimID do grupo de permissões. Nenhuma.

Valores de retorno

Fn::GetAtt

MountPointId: ID do ponto de montagem.

Exemplos

  • Formato JSON

    {
      "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"
            ]
          }
        }
      }
    }
  • Formato YAML

    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