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. |
scope
Required
- Type: @alicloud/ros-cdk-core.Construct
id
Required
- Type: string
props
Required
- Type: ServiceInstanceProps
enableResourcePropertyConstraint
Optional
- 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.
- Type: @alicloud/ros-cdk-core.ISynthesisSession
The synthesis session.
addCondition
public addCondition(condition: RosCondition): void
- Type: @alicloud/ros-cdk-core.RosCondition
addCount
public addCount(count: number | IResolvable): void
- Type: number | @alicloud/ros-cdk-core.IResolvable
addDependency
public addDependency(resource: Resource): void
- Type: @alicloud/ros-cdk-core.Resource
addResourceDesc
public addResourceDesc(desc: string): void
- Type: string
applyRemovalPolicy
public applyRemovalPolicy(policy: RemovalPolicy): void
- Type: @alicloud/ros-cdk-core.RemovalPolicy
getAtt
public getAtt(name: string): IResolvable
- Type: string
setMetadata
public setMetadata(key: string, value: any): void
- Type: string
- 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.
- 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. |
node
Required
public readonly node: ConstructNode;
- Type: @alicloud/ros-cdk-core.ConstructNode
The construct tree node associated with this construct.
ref
Required
public readonly ref: string;
- Type: string
stack
Required
public readonly stack: Stack;
- Type: @alicloud/ros-cdk-core.Stack
The stack in which this resource is defined.
resource
Optional
public readonly resource: RosResource;
- Type: @alicloud/ros-cdk-core.RosResource
attrComponents
Required
public readonly attrComponents: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Components: Cloud Marketplace additional billing items.
attrCreateTime
Required
public readonly attrCreateTime: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute CreateTime: The time when the serviceInstance was created.
attrEnableInstanceOps
Required
public readonly attrEnableInstanceOps: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute EnableInstanceOps: Indicates whether the service instance supports the operation feature.
attrEnableUserPrometheus
Required
public readonly attrEnableUserPrometheus: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute EnableUserPrometheus: Whether to enable Prometheus monitoring.
attrIsOperated
Required
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.
attrLicenseEndTime
Required
public readonly attrLicenseEndTime: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute LicenseEndTime: The expiration time of licence.
attrMarketInstanceId
Required
public readonly attrMarketInstanceId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute MarketInstanceId: The ID of the cloud marketplace instance.
attrNetworkConfig
Required
public readonly attrNetworkConfig: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute NetworkConfig: The network configurations.
attrOutputs
Required
public readonly attrOutputs: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Outputs: The outputs returned from creating the service instance.
attrParameters
Required
public readonly attrParameters: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Parameters: The parameters configured for the service instance.
attrPredefinedParameterName
Required
public readonly attrPredefinedParameterName: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute PredefinedParameterName: The name of the package .
attrProgress
Required
public readonly attrProgress: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Progress: The deployment progress of the service instance.
Unit: percentage.
attrResourceGroupId
Required
public readonly attrResourceGroupId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ResourceGroupId: The resource group ID.
attrService
Required
public readonly attrService: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Service: The information about the service to which the service instance belongs.
attrServiceInstanceId
Required
public readonly attrServiceInstanceId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ServiceInstanceId: The ID of the service instance.
attrServiceInstanceName
Required
public readonly attrServiceInstanceName: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ServiceInstanceName: The name of the resource.
attrServiceType
Required
public readonly attrServiceType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ServiceType: The type of the service.
attrSource
Required
public readonly attrSource: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Source: The source of the service instance.
attrStatusDetail
Required
public readonly attrStatusDetail: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute StatusDetail: The description of the deployment state of the service instance.
attrSupplierUid
Required
public readonly attrSupplierUid: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute SupplierUid: The Alibaba Cloud account ID of the service provider.
attrTags
Required
public readonly attrTags: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Tags: The tags of the service instance.
attrTemplateName
Required
public readonly attrTemplateName: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute TemplateName: The name of the template.
attrUpdateTime
Required
public readonly attrUpdateTime: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute UpdateTime: The time when the serviceInstance was last updated.
attrUserId
Required
public readonly attrUserId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute UserId: The AliUid of the user.