Consulta informações detalhadas sobre um grupo vServer.
Sintaxe
{
"Type": "DATASOURCE::SLB::VServerGroup",
"Properties": {
"VServerGroupId": String,
"RefreshOptions": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Editável |
Descrição |
Restrição |
|
VServerGroupId |
String |
Sim |
Sim |
ID do grupo vServer. |
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
VServerGroupId: ID do grupo vServer.
CreateTime: hora de criação da instância do Classic Load Balancer (CLB).
VServerGroupName: nome do grupo vServer.
LoadBalancerId: ID da instância CLB.
BackendServers: lista de servidores de back-end.
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
VServerGroupId:
Type: String
Description:
en: The ID of the vServer group.
Required: true
Resources:
ExtensionDataSource:
Type: DATASOURCE::SLB::VServerGroup
Properties:
VServerGroupId:
Ref: VServerGroupId
Outputs:
VServerGroupId:
Description: The ID of the vServer group.
Value:
Fn::GetAtt:
- ExtensionDataSource
- VServerGroupId
CreateTime:
Description: The time when the CLB instance was created. The time follows the YYYY-MM-DDThh:mm:ssZ format.
Value:
Fn::GetAtt:
- ExtensionDataSource
- CreateTime
VServerGroupName:
Description: The name of the vServer group.
Value:
Fn::GetAtt:
- ExtensionDataSource
- VServerGroupName
LoadBalancerId:
Description: The ID of the CLB instance.
Value:
Fn::GetAtt:
- ExtensionDataSource
- LoadBalancerId
BackendServers:
Description: The list of backend servers.
Value:
Fn::GetAtt:
- ExtensionDataSource
- BackendServers
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"VServerGroupId": {
"Type": "String",
"Description": {
"en": "The ID of the vServer group."
},
"Required": true
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::SLB::VServerGroup",
"Properties": {
"VServerGroupId": {
"Ref": "VServerGroupId"
}
}
}
},
"Outputs": {
"VServerGroupId": {
"Description": "The ID of the vServer group.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"VServerGroupId"
]
}
},
"CreateTime": {
"Description": "The time when the CLB instance was created. The time follows the YYYY-MM-DDThh:mm:ssZ format.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"CreateTime"
]
}
},
"VServerGroupName": {
"Description": "The name of the vServer group.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"VServerGroupName"
]
}
},
"LoadBalancerId": {
"Description": "The ID of the CLB instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"LoadBalancerId"
]
}
},
"BackendServers": {
"Description": "The list of backend servers.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"BackendServers"
]
}
}
}
}