Consulta uma lista de gateways do Cloud-native API Gateway.
Sintaxe
{
"Type": "DATASOURCE::APIG::Gateways",
"Properties": {
"GatewayName": String,
"GatewayId": String,
"ResourceGroupId": String,
"RefreshOptions": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Editável |
Descrição |
Restrição |
|
GatewayName |
String |
Não |
Sim |
Nome do gateway. |
Nenhuma. |
|
GatewayId |
String |
Não |
Sim |
ID do gateway. |
Nenhuma. |
|
ResourceGroupId |
String |
Não |
Sim |
ID do grupo de recursos. |
Nenhuma. |
|
RefreshOptions |
String |
Não |
Sim |
Política de atualização dos recursos da source de dados durante a atualização da pilha. |
Valores válidos:
|
Valores de retorno
Fn::GetAtt
Gateways: detalhes dos gateways.
GatewayIds: IDs dos gateways.
|
Propriedade |
Tipo |
Descrição |
Restrição |
|
GatewayIds |
List |
IDs dos gateways. |
Nenhuma. |
|
Gateways |
List |
Detalhes dos gateways. |
Nenhuma. |
|
Zones |
List |
Zonas do gateway. |
Nenhuma. |
|
UpdateTime |
String |
Timestamp de atualização do gateway. |
Nenhuma. |
|
GatewayName |
String |
Nome do gateway. |
Nenhuma. |
|
Tags |
List |
Tags. |
Nenhuma. |
|
LoadBalancers |
List |
Endereços de entrada do gateway. |
Nenhuma. |
|
SecurityGroup |
List |
Grupo de segurança do gateway. |
Nenhuma. |
|
Spec |
String |
Especificação do gateway. |
Nenhuma. |
|
ExpireTime |
String |
Timestamp de expiração do gateway por assinatura. |
Nenhuma. |
|
PaymentType |
String |
Método de faturamento do gateway. |
Nenhuma. |
|
Version |
String |
Versão do gateway. |
Nenhuma. |
|
Vpc |
List |
Virtual Private Cloud (VPC) do gateway. |
Nenhuma. |
|
vSwitch |
List |
vSwitches do gateway. |
Nenhuma. |
|
GatewayId |
String |
ID do gateway. |
Nenhuma. |
|
ResourceGroupId |
String |
ID do grupo de recursos. |
Nenhuma. |
|
CreateTime |
String |
Timestamp de criação do gateway. |
Nenhuma. |
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
GatewayId:
Type: String
Description:
en: Cloud-native API Gateway ID.
Required: false
Resources:
ExtensionDataSource:
Type: DATASOURCE::APIG::Gateways
Properties:
GatewayId:
Ref: GatewayId
Outputs:
Gateways:
Description: The list of gateways.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Gateways
GatewayIds:
Description: The list of gateway IDs.
Value:
Fn::GetAtt:
- ExtensionDataSource
- GatewayIds
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"GatewayId": {
"Type": "String",
"Description": {
"en": "Cloud-native API Gateway ID."
},
"Required": false
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::APIG::Gateways",
"Properties": {
"GatewayId": {
"Ref": "GatewayId"
}
}
}
},
"Outputs": {
"Gateways": {
"Description": "The list of gateways.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Gateways"
]
}
},
"GatewayIds": {
"Description": "The list of gateway IDs.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"GatewayIds"
]
}
}
}
}