Skip to content

ServiceInstanceProps

Properties for defining a ServiceInstance.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-computenest-serviceinstance

Initializer

import { ServiceInstanceProps } from '@alicloud/ros-cdk-computenest'
const serviceInstanceProps: ServiceInstanceProps = { ... }

Properties

Name Type Description
service @alicloud/ros-cdk-core.IResolvable | ServiceProperty Property service: Service details.
commodity @alicloud/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.
contactGroup string | @alicloud/ros-cdk-core.IResolvable Property contactGroup: Alarm Contact Group.
dryRun boolean | @alicloud/ros-cdk-core.IResolvable Property dryRun: Whether to perform PreCheck on the creation request, including permissions and instance status verification.
enableInstanceOps boolean | @alicloud/ros-cdk-core.IResolvable Property enableInstanceOps: Whether the service instance has the O & M function.
enableUserPrometheus boolean | @alicloud/ros-cdk-core.IResolvable Property enableUserPrometheus: Whether Prometheus monitoring is enabled.
operationName string | @alicloud/ros-cdk-core.IResolvable Property operationName: Change operation name.
parameters @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property parameters: The parameters entered by the deployment service instance.
predefinedParameterName string | @alicloud/ros-cdk-core.IResolvable Property predefinedParameterName: Package name.
resourceAutoPay boolean | @alicloud/ros-cdk-core.IResolvable Property resourceAutoPay: Whether the resource is automatically deducted from the balance.
resourceGroupId string | @alicloud/ros-cdk-core.IResolvable Property resourceGroupId: The ID of the resource group.
serviceInstanceName string | @alicloud/ros-cdk-core.IResolvable Property serviceInstanceName: The name of the service instance.
specificationCode string | @alicloud/ros-cdk-core.IResolvable Property specificationCode: Commodity specification Code.
tags TagsProperty[] Property tags: Tags of service instance.
templateName string | @alicloud/ros-cdk-core.IResolvable Property templateName: Template name.

serviceRequired

public readonly service: IResolvable | ServiceProperty;

Property service: Service details.


commodityOptional

public readonly commodity: 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.


contactGroupOptional

public readonly contactGroup: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property contactGroup: Alarm Contact Group.


dryRunOptional

public readonly dryRun: boolean | IResolvable;
  • Type: boolean | @alicloud/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.


enableInstanceOpsOptional

public readonly enableInstanceOps: boolean | IResolvable;
  • Type: boolean | @alicloud/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.


enableUserPrometheusOptional

public readonly enableUserPrometheus: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

Property enableUserPrometheus: Whether Prometheus monitoring is enabled.

Possible values: - true: enabled. - false: not enabled.


operationNameOptional

public readonly operationName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property operationName: Change operation name.


parametersOptional

public readonly parameters: IResolvable | {[ key: string ]: any};
  • Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}

Property parameters: The parameters entered by the deployment service instance.


predefinedParameterNameOptional

public readonly predefinedParameterName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property predefinedParameterName: Package name.


resourceAutoPayOptional

public readonly resourceAutoPay: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

Property resourceAutoPay: Whether the resource is automatically deducted from the balance.

Value: - true: automatic payment. - false: Do not pay automatically.


resourceGroupIdOptional

public readonly resourceGroupId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property resourceGroupId: The ID of the resource group.


serviceInstanceNameOptional

public readonly serviceInstanceName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property serviceInstanceName: The name of the service instance.


specificationCodeOptional

public readonly specificationCode: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property specificationCode: Commodity specification Code.


tagsOptional

public readonly tags: TagsProperty[];

Property tags: Tags of service instance.


templateNameOptional

public readonly templateName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property templateName: Template name.