Consulta os detalhes de uma instância do Cloud-native API Gateway.
Sintaxe
{
"Type": "DATASOURCE::APIG::Gateway",
"Properties": {
"GatewayId": String,
"RefreshOptions": String
}
}
Propriedades
|
Nome da propriedade |
Tipo |
Obrigatório |
Atualização permitida |
Descrição |
Restrição |
|
GatewayId |
String |
Sim |
Sim |
ID da instância do Cloud-native API Gateway. |
Nenhuma |
|
RefreshOptions |
String |
Não |
Sim |
Modo de atualização dos recursos da fonte de dados durante a atualização da pilha. |
Valores válidos:
|
Valores de retorno
Fn::GetAtt
ResourceGroupId: ID do grupo de recursos.
CreateTime: timestamp de criação do gateway. Unidade: milissegundos.
Vpc: VPC associada ao gateway.
LoadBalancers: lista de endereços de entrada do gateway.
SecurityGroup: grupo de segurança do gateway.
GatewayId: ID do gateway.
Zones: zonas associadas ao gateway.
Environments: ambientes associados ao gateway.
vSwitch: vSwitch associado ao gateway.
Version: versão do gateway.
UpdateTime: timestamp de atualização do gateway. Unidade: milissegundos.
PaymentType: método de pagamento do gateway.
GatewayName: nome do gateway.
Spec: especificações da instância do gateway.
ExpireTime: timestamp de expiração da assinatura. Unidade: milissegundos.
Tags: tags de recurso do gateway.
Exemplo
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
GatewayId:
Type: String
Description:
en: Cloud-native API Gateway ID.
Required: true
Resources:
ExtensionDataSource:
Type: DATASOURCE::APIG::Gateway
Properties:
GatewayId:
Ref: GatewayId
Outputs:
ResourceGroupId:
Description: The ID of the resource group.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ResourceGroupId
CreateTime:
Description: 'The creation timestamp. Unit: milliseconds.'
Value:
Fn::GetAtt:
- ExtensionDataSource
- CreateTime
Vpc:
Description: The VPC associated with the Gateway.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Vpc
LoadBalancers:
Description: The list of Gateway ingress addresses.
Value:
Fn::GetAtt:
- ExtensionDataSource
- LoadBalancers
SecurityGroup:
Description: The Security Group of the Gateway.
Value:
Fn::GetAtt:
- ExtensionDataSource
- SecurityGroup
GatewayId:
Description: The ID of the Gateway.
Value:
Fn::GetAtt:
- ExtensionDataSource
- GatewayId
Zones:
Description: The List of zones associated with the Gateway.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Zones
Environments:
Description: The list of environments associated with the Gateway.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Environments
VSwitch:
Description: The virtual switch associated with the Gateway.
Value:
Fn::GetAtt:
- ExtensionDataSource
- VSwitch
Version:
Description: The gateway version.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Version
UpdateTime:
Description: 'Update timestamp. Unit: milliseconds.'
Value:
Fn::GetAtt:
- ExtensionDataSource
- UpdateTime
PaymentType:
Description: The payment type of the Gateway.
Value:
Fn::GetAtt:
- ExtensionDataSource
- PaymentType
GatewayName:
Description: The name of the Gateway.
Value:
Fn::GetAtt:
- ExtensionDataSource
- GatewayName
Spec:
Description: Gateway instance specifications.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Spec
ExpireTime:
Description: 'Package year and package month expiration timestamp. Unit: milliseconds.'
Value:
Fn::GetAtt:
- ExtensionDataSource
- ExpireTime
Tags:
Description: The tags of the Gateway.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Tags
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"GatewayId": {
"Type": "String",
"Description": {
"en": "Cloud-native API Gateway ID."
},
"Required": true
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::APIG::Gateway",
"Properties": {
"GatewayId": {
"Ref": "GatewayId"
}
}
}
},
"Outputs": {
"ResourceGroupId": {
"Description": "The ID of the resource group.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ResourceGroupId"
]
}
},
"CreateTime": {
"Description": "The creation timestamp. Unit: milliseconds.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"CreateTime"
]
}
},
"Vpc": {
"Description": "The VPC associated with the Gateway.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Vpc"
]
}
},
"LoadBalancers": {
"Description": "The list of Gateway ingress addresses.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"LoadBalancers"
]
}
},
"SecurityGroup": {
"Description": "The Security Group of the Gateway.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"SecurityGroup"
]
}
},
"GatewayId": {
"Description": "The ID of the Gateway.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"GatewayId"
]
}
},
"Zones": {
"Description": "The List of zones associated with the Gateway.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Zones"
]
}
},
"Environments": {
"Description": "The list of environments associated with the Gateway.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Environments"
]
}
},
"VSwitch": {
"Description": "The virtual switch associated with the Gateway.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"VSwitch"
]
}
},
"Version": {
"Description": "The gateway version.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Version"
]
}
},
"UpdateTime": {
"Description": "Update timestamp. Unit: milliseconds.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"UpdateTime"
]
}
},
"PaymentType": {
"Description": "The payment type of the Gateway.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"PaymentType"
]
}
},
"GatewayName": {
"Description": "The name of the Gateway.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"GatewayName"
]
}
},
"Spec": {
"Description": "Gateway instance specifications.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Spec"
]
}
},
"ExpireTime": {
"Description": "Package year and package month expiration timestamp. Unit: milliseconds.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ExpireTime"
]
}
},
"Tags": {
"Description": "The tags of the Gateway.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Tags"
]
}
}
}
}