ServiceInstanceProps
Properties for defining a ServiceInstance.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-computenest-serviceinstance
Initializer
import ros_cdk_computenest
ros_cdk_computenest.ServiceInstanceProps(
service: typing.Union[IResolvable, ServiceProperty],
commodity: typing.Union[IResolvable, CommodityProperty] = None,
contact_group: typing.Union[str, IResolvable] = None,
dry_run: typing.Union[bool, IResolvable] = None,
enable_instance_ops: typing.Union[bool, IResolvable] = None,
enable_user_prometheus: typing.Union[bool, IResolvable] = None,
operation_name: typing.Union[str, IResolvable] = None,
parameters: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None,
predefined_parameter_name: typing.Union[str, IResolvable] = None,
resource_auto_pay: typing.Union[bool, IResolvable] = None,
resource_group_id: typing.Union[str, IResolvable] = None,
service_instance_name: typing.Union[str, IResolvable] = None,
specification_code: typing.Union[str, IResolvable] = None,
tags: typing.List[TagsProperty] = None,
template_name: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
service | typing.Union[ros_cdk_core.IResolvable, ServiceProperty] | Property service: Service details. |
commodity | typing.Union[ros_cdk_core.IResolvable, CommodityProperty] | 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. |
contact_group | typing.Union[str, ros_cdk_core.IResolvable] | Property contactGroup: Alarm Contact Group. |
dry_run | typing.Union[bool, ros_cdk_core.IResolvable] | Property dryRun: Whether to perform PreCheck on the creation request, including permissions and instance status verification. |
enable_instance_ops | typing.Union[bool, ros_cdk_core.IResolvable] | Property enableInstanceOps: Whether the service instance has the O & M function. |
enable_user_prometheus | typing.Union[bool, ros_cdk_core.IResolvable] | Property enableUserPrometheus: Whether Prometheus monitoring is enabled. |
operation_name | typing.Union[str, ros_cdk_core.IResolvable] | Property operationName: Change operation name. |
parameters | typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] | Property parameters: The parameters entered by the deployment service instance. |
predefined_parameter_name | typing.Union[str, ros_cdk_core.IResolvable] | Property predefinedParameterName: Package name. |
resource_auto_pay | typing.Union[bool, ros_cdk_core.IResolvable] | Property resourceAutoPay: Whether the resource is automatically deducted from the balance. |
resource_group_id | typing.Union[str, ros_cdk_core.IResolvable] | Property resourceGroupId: The ID of the resource group. |
service_instance_name | typing.Union[str, ros_cdk_core.IResolvable] | Property serviceInstanceName: The name of the service instance. |
specification_code | typing.Union[str, ros_cdk_core.IResolvable] | Property specificationCode: Commodity specification Code. |
tags | typing.List[TagsProperty] | Property tags: Tags of service instance. |
template_name | typing.Union[str, ros_cdk_core.IResolvable] | Property templateName: Template name. |
serviceRequired
service: typing.Union[IResolvable, ServiceProperty]
- Type: typing.Union[ros_cdk_core.IResolvable, ServiceProperty]
Property service: Service details.
commodityOptional
commodity: typing.Union[IResolvable, CommodityProperty]
- Type: typing.Union[ros_cdk_core.IResolvable, CommodityProperty]
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.
contact_groupOptional
contact_group: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property contactGroup: Alarm Contact Group.
dry_runOptional
dry_run: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
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.
enable_instance_opsOptional
enable_instance_ops: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
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.
enable_user_prometheusOptional
enable_user_prometheus: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property enableUserPrometheus: Whether Prometheus monitoring is enabled.
Possible values:
- true: enabled.
- false: not enabled.
operation_nameOptional
operation_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property operationName: Change operation name.
parametersOptional
parameters: typing.Union[IResolvable, typing.Mapping[typing.Any]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]]
Property parameters: The parameters entered by the deployment service instance.
predefined_parameter_nameOptional
predefined_parameter_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property predefinedParameterName: Package name.
resource_auto_payOptional
resource_auto_pay: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property resourceAutoPay: Whether the resource is automatically deducted from the balance.
Value:
- true: automatic payment.
- false: Do not pay automatically.
resource_group_idOptional
resource_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property resourceGroupId: The ID of the resource group.
service_instance_nameOptional
service_instance_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property serviceInstanceName: The name of the service instance.
specification_codeOptional
specification_code: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property specificationCode: Commodity specification Code.
tagsOptional
tags: typing.List[TagsProperty]
- Type: typing.List[TagsProperty]
Property tags: Tags of service instance.
template_nameOptional
template_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property templateName: Template name.