Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::DNS::RecoveryPlan

Última atualização: Jun 27, 2026

O recurso ALIYUN::DNS::RecoveryPlan cria um plano de recuperação de DNS.

Sintaxe

{
  "Type": "ALIYUN::DNS::RecoveryPlan",
  "Properties": {
    "FaultAddrPool": List,
    "Name": String,
    "Lang": String,
    "Remark": String
  }
}

Propriedades

Parâmetro

Tipo

Obrigatório

Atualize permitida

Descrição

Restrições

FaultAddrPool

List

Sim

Sim

Pool de endereços com falha do plano de recuperação.

Codificação UTF-8 obrigatória.

Name

String

Sim

Sim

Nome do plano de recuperação.

String codificada em UTF-8. Tamanho máximo: 128 bytes.

Lang

String

Não

Não

Idioma da solicitação.

Nenhuma

Remark

String

Não

Sim

Observação do plano de recuperação.

String codificada em UTF-8. Tamanho máximo: 256 bytes.

Valores de retorno

Fn::GetAtt

RecoveryPlanId: ID do plano de recuperação.

Exemplos

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  FaultAddrPool:
    AssociationPropertyMetadata:
      Parameter:
        Type: String
        Required: false
    AssociationProperty: List[Parameter]
    Type: Json
    Description: The fault address pool of the recovery plan. The value must be encoded in UTF-8.
    Required: true
  Name:
    Type: String
    Description: The name of the recovery plan. The value can be up to 128 bytes in length. The value must be encoded in UTF-8.
    Required: true
Resources:
  RecoveryPlan:
    Type: ALIYUN::DNS::RecoveryPlan
    Properties:
      FaultAddrPool:
        Ref: FaultAddrPool
      Name:
        Ref: Name
Outputs:
  RecoveryPlanId:
    Description: The ID of the recovery plan.
    Value:
      Fn::GetAtt:
        - RecoveryPlan
        - RecoveryPlanId
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "FaultAddrPool": {
      "AssociationPropertyMetadata": {
        "Parameter": {
          "Type": "String",
          "Required": false
        }
      },
      "AssociationProperty": "List[Parameter]",
      "Type": "Json",
      "Description": "The fault address pool of the recovery plan. The value must be encoded in UTF-8.",
      "Required": true
    },
    "Name": {
      "Type": "String",
      "Description": "The name of the recovery plan. The value can be up to 128 bytes in length. The value must be encoded in UTF-8.",
      "Required": true
    }
  },
  "Resources": {
    "RecoveryPlan": {
      "Type": "ALIYUN::DNS::RecoveryPlan",
      "Properties": {
        "FaultAddrPool": {
          "Ref": "FaultAddrPool"
        },
        "Name": {
          "Ref": "Name"
        }
      }
    }
  },
  "Outputs": {
    "RecoveryPlanId": {
      "Description": "The ID of the recovery plan.",
      "Value": {
        "Fn::GetAtt": [
          "RecoveryPlan",
          "RecoveryPlanId"
        ]
      }
    }
  }
}