DATASOURCE::ECS::Activations is used to query activation codes.
Syntax
{
"Type": "DATASOURCE::ECS::Activations",
"Properties": {
"InstanceName": String,
"ActivationId": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
InstanceName | String | No | Yes | The default prefix of the instance name. | None. |
ActivationId | String | No | Yes | The ID of the activation code. | None. |
Return values
Fn::GetAtt
Activations: the details of activation codes.
ActivationIds: the IDs of activation codes.
Property | Type | Description | Constraint |
ActivationIds | List | The IDs of activation codes. | None. |
Activations | List | The details of activation codes. | None. |
TimeToLiveInHours | Integer | The validity period of the activation code. | Unit: hour. |
RegisteredCount | Integer | The number of registered instances. | None. |
ActivationId | String | The ID of the activation code. | None. |
Description | String | The description of the activation code. | None. |
IpAddressRange | String | The IP addresses of hosts that are allowed to use the activation code. | None. |
InstanceName | String | The default prefix of the instance name. | None. |
Disabled | Boolean | Indicates whether the activation code is disabled. | Valid values:
|
DeregisteredCount | Integer | The number of deregistered instances. | None. |
InstanceCount | Integer | The maximum number of times that the activation code can be used to register managed instances. | None. |
CreateTime | String | The time when the activation code was created. | None. |