Consulta os detalhes de um catálogo de endereços do Cloud Firewall para controle de acesso.
Sintaxe
{
"Type": "DATASOURCE::CLOUDFW::AddressBook",
"Properties": {
"GroupUuid": String,
"RefreshOptions": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Editável |
Descrição |
Restrição |
|
GroupUuid |
String |
Sim |
Sim |
UUID do catálogo de endereços. |
Nenhuma. |
|
RefreshOptions |
String |
Não |
Sim |
Política de atualização dos recursos de source durante atualizações da pilha. |
Valores válidos:
|
Valores de retorno
Fn::GetAtt
GroupName: nome do catálogo de endereços.
Description: descrição do catálogo de endereços.
TagRelation: relação lógica entre as tags do Elastic Compute Service (ECS).
GroupType: tipo do catálogo de endereços.
GroupUuid: UUID do catálogo de endereços.
AddressListCount: quantidade de endereços no catálogo de endereços.
AutoAddTagEcs: indica se os endereços IP públicos das instâncias ECS são adicionados automaticamente ao catálogo de endereços quando as instâncias correspondem às tags especificadas. Esse valor é retornado apenas para instâncias ECS recém-adquiridas com configurações de tag concluídas ou instâncias ECS com configurações de tag modificadas.
AddressList: endereços presentes no catálogo de endereços.
Tags: tags ECS que podem ser adicionadas automaticamente ao catálogo de endereços.
ReferenceCount: número de vezes que o catálogo de endereços foi referenciado.
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
GroupUuid:
Type: String
Description:
en: The UUID of the address book.
Required: true
Resources:
ExtensionDataSource:
Type: DATASOURCE::CLOUDFW::AddressBook
Properties:
GroupUuid:
Ref: GroupUuid
Outputs:
GroupName:
Description: The name of the address book.
Value:
Fn::GetAtt:
- ExtensionDataSource
- GroupName
Description:
Description: The description of the address book.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Description
TagRelation:
Description: The logical relationship among ECS tags.
Value:
Fn::GetAtt:
- ExtensionDataSource
- TagRelation
GroupType:
Description: The type of the address book.
Value:
Fn::GetAtt:
- ExtensionDataSource
- GroupType
GroupUuid:
Description: The UUID of the address book.
Value:
Fn::GetAtt:
- ExtensionDataSource
- GroupUuid
AddressListCount:
Description: The number of addresses in the address book.
Value:
Fn::GetAtt:
- ExtensionDataSource
- AddressListCount
AutoAddTagEcs:
Description: Indicates whether the public IP addresses of ECS instances are automatically added to the address book if the instances match the specified tags.
Value:
Fn::GetAtt:
- ExtensionDataSource
- AutoAddTagEcs
AddressList:
Description: The addresses in the address book.
Value:
Fn::GetAtt:
- ExtensionDataSource
- AddressList
Tags:
Description: The details about the ECS tags that can be automatically added to the address book.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Tags
ReferenceCount:
Description: The number of times that the address book is referenced.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ReferenceCount
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"GroupUuid": {
"Type": "String",
"Description": {
"en": "The UUID of the address book."
},
"Required": true
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::CLOUDFW::AddressBook",
"Properties": {
"GroupUuid": {
"Ref": "GroupUuid"
}
}
}
},
"Outputs": {
"GroupName": {
"Description": "The name of the address book.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"GroupName"
]
}
},
"Description": {
"Description": "The description of the address book.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Description"
]
}
},
"TagRelation": {
"Description": "The logical relationship among ECS tags.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"TagRelation"
]
}
},
"GroupType": {
"Description": "The type of the address book.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"GroupType"
]
}
},
"GroupUuid": {
"Description": "The UUID of the address book.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"GroupUuid"
]
}
},
"AddressListCount": {
"Description": "The number of addresses in the address book.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"AddressListCount"
]
}
},
"AutoAddTagEcs": {
"Description": "Indicates whether the public IP addresses of ECS instances are automatically added to the address book if the instances match the specified tags.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"AutoAddTagEcs"
]
}
},
"AddressList": {
"Description": "The addresses in the address book.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"AddressList"
]
}
},
"Tags": {
"Description": "The details about the ECS tags that can be automatically added to the address book.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Tags"
]
}
},
"ReferenceCount": {
"Description": "The number of times that the address book is referenced.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ReferenceCount"
]
}
}
}
}