Skip to content

ServiceInstance

This class encapsulates and extends the ROS resource type DATASOURCE::ComputeNest::ServiceInstance.

Initializers

import { datasource } from '@alicloud/ros-cdk-computenest'
new datasource.ServiceInstance(scope: Construct, id: string, props: ServiceInstanceProps, enableResourcePropertyConstraint?: boolean)
Name Type Description
scope @alicloud/ros-cdk-core.Construct No description.
id string No description.
props ServiceInstanceProps No description.
enableResourcePropertyConstraint boolean No description.

scopeRequired

  • Type: @alicloud/ros-cdk-core.Construct

idRequired

  • Type: string

propsRequired


enableResourcePropertyConstraintOptional

  • Type: boolean

Methods

Name Description
toString Returns a string representation of this construct.
synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
addCondition No description.
addCount No description.
addDependency No description.
addResourceDesc No description.
applyRemovalPolicy No description.
getAtt No description.
setMetadata No description.

toString

public toString(): string

Returns a string representation of this construct.

synthesize

public synthesize(session: ISynthesisSession): void

Allows this construct to emit artifacts into the cloud assembly during synthesis.

This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

sessionRequired

  • Type: @alicloud/ros-cdk-core.ISynthesisSession

The synthesis session.


addCondition

public addCondition(condition: RosCondition): void

conditionRequired

  • Type: @alicloud/ros-cdk-core.RosCondition

addCount

public addCount(count: number | IResolvable): void

countRequired

  • Type: number | @alicloud/ros-cdk-core.IResolvable

addDependency

public addDependency(resource: Resource): void

resourceRequired

  • Type: @alicloud/ros-cdk-core.Resource

addResourceDesc

public addResourceDesc(desc: string): void

descRequired

  • Type: string

applyRemovalPolicy

public applyRemovalPolicy(policy: RemovalPolicy): void

policyRequired

  • Type: @alicloud/ros-cdk-core.RemovalPolicy

getAtt

public getAtt(name: string): IResolvable

nameRequired

  • Type: string

setMetadata

public setMetadata(key: string, value: any): void

keyRequired

  • Type: string

valueRequired

  • Type: any

Static Functions

Name Description
isConstruct Return whether the given object is a Construct.

isConstruct

import { datasource } from '@alicloud/ros-cdk-computenest'
datasource.ServiceInstance.isConstruct(x: any)

Return whether the given object is a Construct.

xRequired

  • Type: any

Properties

Name Type Description
node @alicloud/ros-cdk-core.ConstructNode The construct tree node associated with this construct.
ref string No description.
stack @alicloud/ros-cdk-core.Stack The stack in which this resource is defined.
resource @alicloud/ros-cdk-core.RosResource No description.
attrComponents @alicloud/ros-cdk-core.IResolvable Attribute Components: Cloud Marketplace additional billing items.
attrCreateTime @alicloud/ros-cdk-core.IResolvable Attribute CreateTime: The time when the serviceInstance was created.
attrEnableInstanceOps @alicloud/ros-cdk-core.IResolvable Attribute EnableInstanceOps: Indicates whether the service instance supports the operation feature.
attrEnableUserPrometheus @alicloud/ros-cdk-core.IResolvable Attribute EnableUserPrometheus: Whether to enable Prometheus monitoring.
attrIsOperated @alicloud/ros-cdk-core.IResolvable Attribute IsOperated: Indicates whether the hosted O&M feature is enabled for the service instance.
attrLicenseEndTime @alicloud/ros-cdk-core.IResolvable Attribute LicenseEndTime: The expiration time of licence.
attrMarketInstanceId @alicloud/ros-cdk-core.IResolvable Attribute MarketInstanceId: The ID of the cloud marketplace instance.
attrNetworkConfig @alicloud/ros-cdk-core.IResolvable Attribute NetworkConfig: The network configurations.
attrOutputs @alicloud/ros-cdk-core.IResolvable Attribute Outputs: The outputs returned from creating the service instance.
attrParameters @alicloud/ros-cdk-core.IResolvable Attribute Parameters: The parameters configured for the service instance.
attrPredefinedParameterName @alicloud/ros-cdk-core.IResolvable Attribute PredefinedParameterName: The name of the package .
attrProgress @alicloud/ros-cdk-core.IResolvable Attribute Progress: The deployment progress of the service instance.
attrResourceGroupId @alicloud/ros-cdk-core.IResolvable Attribute ResourceGroupId: The resource group ID.
attrService @alicloud/ros-cdk-core.IResolvable Attribute Service: The information about the service to which the service instance belongs.
attrServiceInstanceId @alicloud/ros-cdk-core.IResolvable Attribute ServiceInstanceId: The ID of the service instance.
attrServiceInstanceName @alicloud/ros-cdk-core.IResolvable Attribute ServiceInstanceName: The name of the resource.
attrServiceType @alicloud/ros-cdk-core.IResolvable Attribute ServiceType: The type of the service.
attrSource @alicloud/ros-cdk-core.IResolvable Attribute Source: The source of the service instance.
attrStatusDetail @alicloud/ros-cdk-core.IResolvable Attribute StatusDetail: The description of the deployment state of the service instance.
attrSupplierUid @alicloud/ros-cdk-core.IResolvable Attribute SupplierUid: The Alibaba Cloud account ID of the service provider.
attrTags @alicloud/ros-cdk-core.IResolvable Attribute Tags: The tags of the service instance.
attrTemplateName @alicloud/ros-cdk-core.IResolvable Attribute TemplateName: The name of the template.
attrUpdateTime @alicloud/ros-cdk-core.IResolvable Attribute UpdateTime: The time when the serviceInstance was last updated.
attrUserId @alicloud/ros-cdk-core.IResolvable Attribute UserId: The AliUid of the user.

nodeRequired

public readonly node: ConstructNode;
  • Type: @alicloud/ros-cdk-core.ConstructNode

The construct tree node associated with this construct.


refRequired

public readonly ref: string;
  • Type: string

stackRequired

public readonly stack: Stack;
  • Type: @alicloud/ros-cdk-core.Stack

The stack in which this resource is defined.


resourceOptional

public readonly resource: RosResource;
  • Type: @alicloud/ros-cdk-core.RosResource

attrComponentsRequired

public readonly attrComponents: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute Components: Cloud Marketplace additional billing items.


attrCreateTimeRequired

public readonly attrCreateTime: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute CreateTime: The time when the serviceInstance was created.


attrEnableInstanceOpsRequired

public readonly attrEnableInstanceOps: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute EnableInstanceOps: Indicates whether the service instance supports the operation feature.


attrEnableUserPrometheusRequired

public readonly attrEnableUserPrometheus: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute EnableUserPrometheus: Whether to enable Prometheus monitoring.


attrIsOperatedRequired

public readonly attrIsOperated: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute IsOperated: Indicates whether the hosted O&M feature is enabled for the service instance.


attrLicenseEndTimeRequired

public readonly attrLicenseEndTime: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute LicenseEndTime: The expiration time of licence.


attrMarketInstanceIdRequired

public readonly attrMarketInstanceId: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute MarketInstanceId: The ID of the cloud marketplace instance.


attrNetworkConfigRequired

public readonly attrNetworkConfig: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute NetworkConfig: The network configurations.


attrOutputsRequired

public readonly attrOutputs: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute Outputs: The outputs returned from creating the service instance.


attrParametersRequired

public readonly attrParameters: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute Parameters: The parameters configured for the service instance.


attrPredefinedParameterNameRequired

public readonly attrPredefinedParameterName: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute PredefinedParameterName: The name of the package .


attrProgressRequired

public readonly attrProgress: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute Progress: The deployment progress of the service instance.

Unit: percentage.


attrResourceGroupIdRequired

public readonly attrResourceGroupId: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute ResourceGroupId: The resource group ID.


attrServiceRequired

public readonly attrService: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute Service: The information about the service to which the service instance belongs.


attrServiceInstanceIdRequired

public readonly attrServiceInstanceId: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute ServiceInstanceId: The ID of the service instance.


attrServiceInstanceNameRequired

public readonly attrServiceInstanceName: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute ServiceInstanceName: The name of the resource.


attrServiceTypeRequired

public readonly attrServiceType: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute ServiceType: The type of the service.


attrSourceRequired

public readonly attrSource: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute Source: The source of the service instance.


attrStatusDetailRequired

public readonly attrStatusDetail: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute StatusDetail: The description of the deployment state of the service instance.


attrSupplierUidRequired

public readonly attrSupplierUid: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute SupplierUid: The Alibaba Cloud account ID of the service provider.


attrTagsRequired

public readonly attrTags: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute Tags: The tags of the service instance.


attrTemplateNameRequired

public readonly attrTemplateName: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute TemplateName: The name of the template.


attrUpdateTimeRequired

public readonly attrUpdateTime: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute UpdateTime: The time when the serviceInstance was last updated.


attrUserIdRequired

public readonly attrUserId: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute UserId: The AliUid of the user.