Todos os produtos
Search
Central de documentação

Resource Orchestration Service:DATASOURCE::PVTZ::Zone

Última atualização: Jun 27, 2026

O DATASOURCE::PVTZ::Zone consulta os detalhes de uma zona autoritativa integrada.

Sintaxe

{
  "Type": "DATASOURCE::PVTZ::Zone",
  "Properties": {
    "ZoneId": String,
    "RefreshOptions": String
  }
}

Propriedades

Propriedade

Tipo

Obrigatória

Editável

Descrição

Restrição

ZoneId

String

Sim

Sim

ID da zona.

Nenhuma.

RefreshOptions

String

Não

Sim

Política de atualização dos recursos de source de dados durante atualizações da pilha.

Valores válidos:

  • Never (padrão): não atualize os recursos de source de dados nas atualizações da pilha.

  • Always: atualize os recursos de source de dados nas atualizações da pilha.

Valores de retorno

Fn::GetAtt

  • SlaveDns: indica se o DNS secundário está ativado para a zona.

  • ZoneId: ID da zona.

  • ResourceGroupId: ID do grupo de recursos.

  • ProxyPattern: indica se o proxy de resolução recursiva para nomes de subdomínio está ativado.

  • CreateTime: horário de criação.

  • Remark: descrição da zona.

  • ZoneType: tipo da zona.

  • ZoneName: nome da zona.

  • ZoneTag: tipo do produto em nuvem.

  • UpdateTime: horário da última atualização.

  • UpdateTimestamp: timestamp da última atualização.

  • CreateTimestamp: timestamp de criação.

  • RecordCount: quantidade de registros DNS.

  • BindVpcs: VPCs associadas à zona.

  • Tags: tags personalizadas adicionadas à zona.

  • IsPtr: indica se a zona é de pesquisa reversa.

Exemplos

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  ZoneId:
    AssociationProperty: ZoneId
    Type: String
    Description:
      en: The zone ID.
    Required: true
Resources:
  ExtensionDataSource:
    Type: DATASOURCE::PVTZ::Zone
    Properties:
      ZoneId:
        Ref: ZoneId
Outputs:
  SlaveDns:
    Description: Indicates whether the secondary Domain Name System (DNS) feature is enabled for the zone.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - SlaveDns
  ZoneId:
    Description: 'The zone ID. '
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - ZoneId
  ResourceGroupId:
    Description: The ID of the resource group to which the zone belongs.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - ResourceGroupId
  ProxyPattern:
    Description: 'Indicates whether the recursive resolution proxy for subdomain names is enabled. '
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - ProxyPattern
  CreateTime:
    Description: The time when the zone was created. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - CreateTime
  Remark:
    Description: The description of the zone.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Remark
  ZoneType:
    Description: The zone type, temporarily closed to users, no need to pass values.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - ZoneType
  ZoneName:
    Description: The zone name.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - ZoneName
  ZoneTag:
    Description: Not open to users for the time being, no value transfer is required.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - ZoneTag
  UpdateTime:
    Description: The time when the zone was last updated. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - UpdateTime
  UpdateTimestamp:
    Description: The time when the zone was last updated. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - UpdateTimestamp
  CreateTimestamp:
    Description: The time when the zone was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - CreateTimestamp
  RecordCount:
    Description: The total number of DNS records added in the zone.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - RecordCount
  BindVpcs:
    Description: The VPCs associated with the zone.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - BindVpcs
  Tags:
    Description: The tags of the zone.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Tags
  IsPtr:
    Description: Indicates whether the zone is a reverse lookup zone.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - IsPtr
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "ZoneId": {
      "AssociationProperty": "ZoneId",
      "Type": "String",
      "Description": {
        "en": "The zone ID."
      },
      "Required": true
    }
  },
  "Resources": {
    "ExtensionDataSource": {
      "Type": "DATASOURCE::PVTZ::Zone",
      "Properties": {
        "ZoneId": {
          "Ref": "ZoneId"
        }
      }
    }
  },
  "Outputs": {
    "SlaveDns": {
      "Description": "Indicates whether the secondary Domain Name System (DNS) feature is enabled for the zone.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "SlaveDns"
        ]
      }
    },
    "ZoneId": {
      "Description": "The zone ID. ",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "ZoneId"
        ]
      }
    },
    "ResourceGroupId": {
      "Description": "The ID of the resource group to which the zone belongs.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "ResourceGroupId"
        ]
      }
    },
    "ProxyPattern": {
      "Description": "Indicates whether the recursive resolution proxy for subdomain names is enabled. ",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "ProxyPattern"
        ]
      }
    },
    "CreateTime": {
      "Description": "The time when the zone was created. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "CreateTime"
        ]
      }
    },
    "Remark": {
      "Description": "The description of the zone.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Remark"
        ]
      }
    },
    "ZoneType": {
      "Description": "The zone type, temporarily closed to users, no need to pass values.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "ZoneType"
        ]
      }
    },
    "ZoneName": {
      "Description": "The zone name.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "ZoneName"
        ]
      }
    },
    "ZoneTag": {
      "Description": "Not open to users for the time being, no value transfer is required.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "ZoneTag"
        ]
      }
    },
    "UpdateTime": {
      "Description": "The time when the zone was last updated. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "UpdateTime"
        ]
      }
    },
    "UpdateTimestamp": {
      "Description": "The time when the zone was last updated. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "UpdateTimestamp"
        ]
      }
    },
    "CreateTimestamp": {
      "Description": "The time when the zone was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "CreateTimestamp"
        ]
      }
    },
    "RecordCount": {
      "Description": "The total number of DNS records added in the zone.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "RecordCount"
        ]
      }
    },
    "BindVpcs": {
      "Description": "The VPCs associated with the zone.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "BindVpcs"
        ]
      }
    },
    "Tags": {
      "Description": "The tags of the zone.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Tags"
        ]
      }
    },
    "IsPtr": {
      "Description": "Indicates whether the zone is a reverse lookup zone.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "IsPtr"
        ]
      }
    }
  }
}