ALIYUN::ComputeNest::ServiceInstance is used to create and deploy a service instance.
Syntax
{
"Type": "ALIYUN::ComputeNest::ServiceInstance",
"Properties": {
"SpecificationCode": String,
"Parameters": Map,
"ResourceGroupId": String,
"OperationName": String,
"EnableInstanceOps": Boolean,
"Service": Map,
"PredefinedParameterName": String,
"Name": String,
"Commodity": Map,
"EnableUserPrometheus": Boolean,
"TemplateName": String,
"MarketInstanceId": String,
"ContactGroup": String,
"Tags": List
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
SpecificationCode | String | No | No | The product specification code. | None. |
Parameters | Map | No | No | The parameters that the customer specifies to deploy the service instance. | Example:
|
ResourceGroupId | String | No | Yes | The ID of the resource group. | None. |
OperationName | String | No | No | The name of the operation. | None. |
EnableInstanceOps | Boolean | No | No | Specifies whether the service instance supports the hosted O&M feature. | Valid values:
|
Service | Map | Yes | No | Details of the service to which the service instance belongs. | For more information, see Service properties. |
PredefinedParameterName | String | No | No | The plan name. | None. |
Name | String | No | No | The service name. | None. |
Commodity | Map | No | No | Details of the order placed in Alibaba Cloud Marketplace. This property is optional if the service is not published in Alibaba Cloud Marketplace or uses the pay-as-you-go billing method. | For more information, see Commodity properties. |
EnableUserPrometheus | Boolean | No | No | Specifies whether to enable the Prometheus monitoring feature. | Valid values:
|
TemplateName | String | No | No | The template name. | You must specify this property when the service supports multiple templates. |
MarketInstanceId | String | No | No | The instance ID in Alibaba Cloud Marketplace. | None. |
ContactGroup | String | No | No | The CloudMonitor contact group that receives alerts. | None. |
Tags | List | No | Yes | The custom tags that the customer adds to the service instance. |
|
Service syntax
"Service": {
"Version": String,
"ServiceId": String
}
Service properties
Property | Type | Required | Editable | Description | Constraint |
Version | String | No | No | The version of the service. | None. |
ServiceId | String | Yes | No | The service ID. | None. |
Commodity syntax
"Commodity": {
"PayPeriod": Integer,
"PayPeriodUnit": String
}
Commodity properties
Property | Type | Required | Editable | Description | Constraint |
PayPeriod | Integer | No | No | The subscription duration. | None. |
PayPeriodUnit | String | No | No | The unit of the subscription duration. | Valid values:
|
Tags syntax
"Tags": [
{
"Value": String,
"Key": String
}
]
Tags properties
Property | Type | Required | Editable | Description | Constraint |
Value | String | No | No | The value of the tag. | The tag value can be up to 128 characters in length, and cannot contain |
Key | String | Yes | No | The key of the tag. | The tag key must be 1 to 128 characters in length, and cannot contain |
Return values
Fn::GetAtt
Progress: the deployment progress of the service instance.
Parameters: the parameters that are specified by the customer to deploy the service instance.
ResourceGroupId: the ID of the resource group.
EnableInstanceOps: indicates whether the service instance supports the hosted O&M feature.
CreateTime: the time when the service instance was created.
NetworkConfig: the network configurations.
Service: details of the service to which the service instance belongs.
PredefinedParameterName: the plan name.
Source: the source of the service instance.
Name: the name of the service instance.
Components: the additional Alibaba Cloud Marketplace billing items.
LicenseEndTime: the time when the license expires.
ServiceInstanceId: the ID of the service instance.
UserId: the Alibaba Cloud user ID of the customer.
EnableUserPrometheus: indicates whether the Prometheus monitoring feature is enabled.
ServiceType: the service type.
StatusDetail: the deployment state details of the service instance.
UpdateTime: the time when the service instance was updated.
Outputs: the outputs that are returned for creating the service instance.
TemplateName: the template name.
IsOperated: indicates whether the hosted O&M feature is enabled for the service instance.
SupplierUid: the Alibaba Cloud user ID of the service provider.
Tags: the custom tags that the customer adds to the service instance.