Skip to content

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,
  enable_instance_ops: typing.Union[bool, IResolvable] = None,
  enable_user_prometheus: typing.Union[bool, IResolvable] = None,
  market_instance_id: typing.Union[str, IResolvable] = None,
  name: typing.Union[str, 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_group_id: 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: Cloud market commodity purchase parameters.
contact_group typing.Union[str, ros_cdk_core.IResolvable] Property contactGroup: Alarm Contact Group.
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.
market_instance_id typing.Union[str, ros_cdk_core.IResolvable] Property marketInstanceId: The ID of the cloud marketplace instance.
name typing.Union[str, ros_cdk_core.IResolvable] Property name: The name of the service instance.
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_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: The ID of the resource group.
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]

Property service: Service details.


commodityOptional

commodity: typing.Union[IResolvable, CommodityProperty]

Property commodity: Cloud market commodity purchase parameters.


contact_groupOptional

contact_group: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property contactGroup: Alarm Contact Group.


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.

market_instance_idOptional

market_instance_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property marketInstanceId: The ID of the cloud marketplace instance.


nameOptional

name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property name: The name of the service instance.


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_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.


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]

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.