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
| Propriedade | Tipo | Obrigatória | Editável | Descrição | Restrição |
| Status | String | Não | Sim | Estado do ponto de montagem. | Valores válidos:
|
| Description | String | Não | Sim | Descrição do ponto de montagem. | Nenhuma. |
| VpcId | String | Sim | Não | ID da Virtual Private Cloud (VPC). | Nenhuma. |
| NetworkType | String | Sim | Não | Tipo de rede do ponto de montagem. | Valores válidos:
|
| VSwitchId | String | Sim | Não | ID do vSwitch. | Nenhuma. |
| FileSystemId | String | Sim | Não | ID do sistema de arquivos. | Nenhuma. |
| AccessGroupId | String | Sim | Sim | ID 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
YAMLROSTemplateFormatVersion: '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