Consulta os detalhes de uma instância do ApsaraMQ for RocketMQ.
Sintaxe
{
"Type": "DATASOURCE::ROCKETMQ::Instance",
"Properties": {
"InstanceId": String,
"RefreshOptions": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatório |
Editável |
Descrição |
Restrição |
|
InstanceId |
String |
Sim |
Sim |
ID da instância do ApsaraMQ for RocketMQ. |
Nenhuma. |
|
RefreshOptions |
String |
Não |
Sim |
Política de atualização dos recursos da fonte de dados durante a atualização da pilha. |
Valores válidos:
|
Valores de retorno
Fn::GetAtt
ProductInfo: configurações estendidas da instância.
AclInfo: informações de controle de acesso.
ResourceGroupId: ID do grupo de recursos.
InstanceId: ID da instância.
NetworkInfo: informações de configuração de rede.
GroupCount: número de grupos de consumidores.
CreateTime: hora de criação da instância.
StartTime: hora de início da instância.
TopicCount: número de tópicos.
InstanceQuotas: cotas da instância.
SubSeriesCode: edição da subcategoria da instância.
Remark: observações sobre a instância.
InstanceName: nome da instância.
ServiceCode: código do serviço ao qual a instância pertence.
SeriesCode: edição principal da instância.
ReleaseTime: hora de liberação da instância.
UserId: ID do usuário proprietário da instância.
UpdateTime: hora da última modificação da instância.
CommodityCode: código da mercadoria da instância. O código da mercadoria das instâncias do ApsaraMQ for RocketMQ 5.0 segue um formato semelhante a ons_rmqsub_public_cn.
PaymentType: método de faturamento da instância.
Software: informações de software da instância.
ExpireTime: hora de expiração da instância.
AccountInfo: informações da conta.
Tags: tags de recurso da instância.
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
InstanceId:
Type: String
Description:
en: The ID of the RocketMQ instance.
Required: true
Resources:
ExtensionDataSource:
Type: DATASOURCE::ROCKETMQ::Instance
Properties:
InstanceId:
Ref: InstanceId
Outputs:
ProductInfo:
Description: The extended configurations of the instance.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ProductInfo
AclInfo:
Description: The information about access control.
Value:
Fn::GetAtt:
- ExtensionDataSource
- AclInfo
ResourceGroupId:
Description: The ID of the resource group.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ResourceGroupId
InstanceId:
Description: The ID of the RocketMQ instance.
Value:
Fn::GetAtt:
- ExtensionDataSource
- InstanceId
NetworkInfo:
Description: Instance network configuration information.
Value:
Fn::GetAtt:
- ExtensionDataSource
- NetworkInfo
GroupCount:
Description: The number of groups.
Value:
Fn::GetAtt:
- ExtensionDataSource
- GroupCount
CreateTime:
Description: The time when the instance was created.
Value:
Fn::GetAtt:
- ExtensionDataSource
- CreateTime
StartTime:
Description: The time when the instance was started.
Value:
Fn::GetAtt:
- ExtensionDataSource
- StartTime
TopicCount:
Description: The number of topics.
Value:
Fn::GetAtt:
- ExtensionDataSource
- TopicCount
InstanceQuotas:
Description: The instance quotas.
Value:
Fn::GetAtt:
- ExtensionDataSource
- InstanceQuotas
SubSeriesCode:
Description: The sub-category edition of the instance. For information about the differences between sub-category edition instances.
Value:
Fn::GetAtt:
- ExtensionDataSource
- SubSeriesCode
Remark:
Description: The description of the instance.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Remark
InstanceName:
Description: The name of instance.
Value:
Fn::GetAtt:
- ExtensionDataSource
- InstanceName
ServiceCode:
Description: The code of the service to which the instance belongs. The service code of ApsaraMQ for RocketMQ is rmq.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ServiceCode
SeriesCode:
Description: The primary edition of the instance.
Value:
Fn::GetAtt:
- ExtensionDataSource
- SeriesCode
ReleaseTime:
Description: The time when the instance was released.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ReleaseTime
UserId:
Description: The ID of the user who owns the instance.
Value:
Fn::GetAtt:
- ExtensionDataSource
- UserId
UpdateTime:
Description: The time when the instance was last modified.
Value:
Fn::GetAtt:
- ExtensionDataSource
- UpdateTime
CommodityCode:
Description: The commodity code of the instance. The commodity code of a ApsaraMQ for RocketMQ 5.0 instance has a similar format as ons_rmqsub_public_cn.
Value:
Fn::GetAtt:
- ExtensionDataSource
- CommodityCode
PaymentType:
Description: The billing method of the instance.
Value:
Fn::GetAtt:
- ExtensionDataSource
- PaymentType
Software:
Description: The instance software information.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Software
ExpireTime:
Description: The time when the instance expires.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ExpireTime
AccountInfo:
Description: The account information.
Value:
Fn::GetAtt:
- ExtensionDataSource
- AccountInfo
Tags:
Description: The tags of the RocketMQ instance.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Tags
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"InstanceId": {
"Type": "String",
"Description": {
"en": "The ID of the RocketMQ instance."
},
"Required": true
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::ROCKETMQ::Instance",
"Properties": {
"InstanceId": {
"Ref": "InstanceId"
}
}
}
},
"Outputs": {
"ProductInfo": {
"Description": "The extended configurations of the instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ProductInfo"
]
}
},
"AclInfo": {
"Description": "The information about access control.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"AclInfo"
]
}
},
"ResourceGroupId": {
"Description": "The ID of the resource group.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ResourceGroupId"
]
}
},
"InstanceId": {
"Description": "The ID of the RocketMQ instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"InstanceId"
]
}
},
"NetworkInfo": {
"Description": "Instance network configuration information.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"NetworkInfo"
]
}
},
"GroupCount": {
"Description": "The number of groups.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"GroupCount"
]
}
},
"CreateTime": {
"Description": "The time when the instance was created.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"CreateTime"
]
}
},
"StartTime": {
"Description": "The time when the instance was started.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"StartTime"
]
}
},
"TopicCount": {
"Description": "The number of topics.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"TopicCount"
]
}
},
"InstanceQuotas": {
"Description": "The instance quotas.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"InstanceQuotas"
]
}
},
"SubSeriesCode": {
"Description": "The sub-category edition of the instance. For information about the differences between sub-category edition instances.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"SubSeriesCode"
]
}
},
"Remark": {
"Description": "The description of the instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Remark"
]
}
},
"InstanceName": {
"Description": "The name of instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"InstanceName"
]
}
},
"ServiceCode": {
"Description": "The code of the service to which the instance belongs. The service code of ApsaraMQ for RocketMQ is rmq.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ServiceCode"
]
}
},
"SeriesCode": {
"Description": "The primary edition of the instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"SeriesCode"
]
}
},
"ReleaseTime": {
"Description": "The time when the instance was released.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ReleaseTime"
]
}
},
"UserId": {
"Description": "The ID of the user who owns the instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"UserId"
]
}
},
"UpdateTime": {
"Description": "The time when the instance was last modified.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"UpdateTime"
]
}
},
"CommodityCode": {
"Description": "The commodity code of the instance. The commodity code of a ApsaraMQ for RocketMQ 5.0 instance has a similar format as ons_rmqsub_public_cn.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"CommodityCode"
]
}
},
"PaymentType": {
"Description": "The billing method of the instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"PaymentType"
]
}
},
"Software": {
"Description": "The instance software information.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Software"
]
}
},
"ExpireTime": {
"Description": "The time when the instance expires.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ExpireTime"
]
}
},
"AccountInfo": {
"Description": "The account information.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"AccountInfo"
]
}
},
"Tags": {
"Description": "The tags of the RocketMQ instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Tags"
]
}
}
}
}