ServiceInstanceProps
Properties for defining a ServiceInstance.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-computenest-serviceinstance
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcomputenest"
&alicloudroscdkcomputenest.ServiceInstanceProps {
Service: interface{},
Commodity: interface{},
ContactGroup: interface{},
DryRun: interface{},
EnableInstanceOps: interface{},
EnableUserPrometheus: interface{},
OperationName: interface{},
Parameters: interface{},
PredefinedParameterName: interface{},
ResourceAutoPay: interface{},
ResourceGroupId: interface{},
ServiceInstanceName: interface{},
SpecificationCode: interface{},
Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkcomputenest.RosServiceInstance.TagsProperty,
TemplateName: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
Service | interface{} | Property service: Service details. |
Commodity | interface{} | Property commodity: The purchase order information of the cloud market does not need to be transmitted if the service is not on the cloud market or charged by volume. |
ContactGroup | interface{} | Property contactGroup: Alarm Contact Group. |
DryRun | interface{} | Property dryRun: Whether to perform PreCheck on the creation request, including permissions and instance status verification. |
EnableInstanceOps | interface{} | Property enableInstanceOps: Whether the service instance has the O & M function. |
EnableUserPrometheus | interface{} | Property enableUserPrometheus: Whether Prometheus monitoring is enabled. |
OperationName | interface{} | Property operationName: Change operation name. |
Parameters | interface{} | Property parameters: The parameters entered by the deployment service instance. |
PredefinedParameterName | interface{} | Property predefinedParameterName: Package name. |
ResourceAutoPay | interface{} | Property resourceAutoPay: Whether the resource is automatically deducted from the balance. |
ResourceGroupId | interface{} | Property resourceGroupId: The ID of the resource group. |
ServiceInstanceName | interface{} | Property serviceInstanceName: The name of the service instance. |
SpecificationCode | interface{} | Property specificationCode: Commodity specification Code. |
Tags | *[]TagsProperty | Property tags: Tags of service instance. |
TemplateName | interface{} | Property templateName: Template name. |
ServiceRequired
Service interface{}
- Type: interface{}
Property service: Service details.
CommodityOptional
Commodity interface{}
- Type: interface{}
Property commodity: The purchase order information of the cloud market does not need to be transmitted if the service is not on the cloud market or charged by volume.
ContactGroupOptional
ContactGroup interface{}
- Type: interface{}
Property contactGroup: Alarm Contact Group.
DryRunOptional
DryRun interface{}
- Type: interface{}
Property dryRun: Whether to perform PreCheck on the creation request, including permissions and instance status verification.
Possible values:
- true: The request is sent without creating a service instance.
- false: Sends the request and creates a service instance after the check is passed.
EnableInstanceOpsOptional
EnableInstanceOps interface{}
- Type: interface{}
Property enableInstanceOps: Whether the service instance has the O & M function.
Possible values:
- true: The service instance has a generation O & M function.
- false: The service instance does not have the O & M function.
EnableUserPrometheusOptional
EnableUserPrometheus interface{}
- Type: interface{}
Property enableUserPrometheus: Whether Prometheus monitoring is enabled.
Possible values:
- true: enabled.
- false: not enabled.
OperationNameOptional
OperationName interface{}
- Type: interface{}
Property operationName: Change operation name.
ParametersOptional
Parameters interface{}
- Type: interface{}
Property parameters: The parameters entered by the deployment service instance.
PredefinedParameterNameOptional
PredefinedParameterName interface{}
- Type: interface{}
Property predefinedParameterName: Package name.
ResourceAutoPayOptional
ResourceAutoPay interface{}
- Type: interface{}
Property resourceAutoPay: Whether the resource is automatically deducted from the balance.
Value:
- true: automatic payment.
- false: Do not pay automatically.
ResourceGroupIdOptional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: The ID of the resource group.
ServiceInstanceNameOptional
ServiceInstanceName interface{}
- Type: interface{}
Property serviceInstanceName: The name of the service instance.
SpecificationCodeOptional
SpecificationCode interface{}
- Type: interface{}
Property specificationCode: Commodity specification Code.
TagsOptional
Tags *[]TagsProperty
- Type: *[]TagsProperty
Property tags: Tags of service instance.
TemplateNameOptional
TemplateName interface{}
- Type: interface{}
Property templateName: Template name.