Skip to content

ServiceInstance

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

Initializers

using AlibabaCloud.SDK.ROS.CDK.Computenest;
new ServiceInstance(Construct Scope, string Id, ServiceInstanceProps Props, bool EnableResourcePropertyConstraint = null);
Name Type Description
Scope AlibabaCloud.SDK.ROS.CDK.Core.Construct No description.
Id string No description.
Props ServiceInstanceProps No description.
EnableResourcePropertyConstraint bool No description.

ScopeRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct

IdRequired

  • Type: string

PropsRequired


EnableResourcePropertyConstraintOptional

  • Type: bool

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

private string ToString()

Returns a string representation of this construct.

Synthesize

private void Synthesize(ISynthesisSession Session)

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: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession

The synthesis session.


AddCondition

private void AddCondition(RosCondition Condition)

ConditionRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition

AddCount

private void AddCount(object Count)

CountRequired

  • Type: object

AddDependency

private void AddDependency(Resource Resource)

ResourceRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource

AddResourceDesc

private void AddResourceDesc(string Desc)

DescRequired

  • Type: string

ApplyRemovalPolicy

private void ApplyRemovalPolicy(RemovalPolicy Policy)

PolicyRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy

GetAtt

private IResolvable GetAtt(string Name)

NameRequired

  • Type: string

SetMetadata

private void SetMetadata(string Key, object Value)

KeyRequired

  • Type: string

ValueRequired

  • Type: object

Static Functions

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

IsConstruct

using AlibabaCloud.SDK.ROS.CDK.Computenest;
ServiceInstance.IsConstruct(object X);

Return whether the given object is a Construct.

XRequired

  • Type: object

Properties

Name Type Description
Node AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode The construct tree node associated with this construct.
Ref string No description.
Stack AlibabaCloud.SDK.ROS.CDK.Core.Stack The stack in which this resource is defined.
Resource AlibabaCloud.SDK.ROS.CDK.Core.RosResource No description.
AttrComponents AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Components: Cloud Marketplace additional billing items.
AttrCreateTime AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute CreateTime: The time when the serviceInstance was created.
AttrEnableInstanceOps AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute EnableInstanceOps: Indicates whether the service instance supports the operation feature.
AttrEnableUserPrometheus AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute EnableUserPrometheus: Whether to enable Prometheus monitoring.
AttrIsOperated AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute IsOperated: Indicates whether the hosted O&M feature is enabled for the service instance.
AttrLicenseEndTime AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute LicenseEndTime: The expiration time of licence.
AttrMarketInstanceId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute MarketInstanceId: The ID of the cloud marketplace instance.
AttrNetworkConfig AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute NetworkConfig: The network configurations.
AttrOutputs AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Outputs: The outputs returned from creating the service instance.
AttrParameters AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Parameters: The parameters configured for the service instance.
AttrPredefinedParameterName AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute PredefinedParameterName: The name of the package .
AttrProgress AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Progress: The deployment progress of the service instance.
AttrResourceGroupId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ResourceGroupId: The resource group ID.
AttrService AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Service: The information about the service to which the service instance belongs.
AttrServiceInstanceId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ServiceInstanceId: The ID of the service instance.
AttrServiceInstanceName AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ServiceInstanceName: The name of the resource.
AttrServiceType AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ServiceType: The type of the service.
AttrSource AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Source: The source of the service instance.
AttrStatusDetail AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute StatusDetail: The description of the deployment state of the service instance.
AttrSupplierUid AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute SupplierUid: The Alibaba Cloud account ID of the service provider.
AttrTags AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Tags: The tags of the service instance.
AttrTemplateName AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute TemplateName: The name of the template.
AttrUpdateTime AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute UpdateTime: The time when the serviceInstance was last updated.
AttrUserId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute UserId: The AliUid of the user.

NodeRequired

public ConstructNode Node { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode

The construct tree node associated with this construct.


RefRequired

public string Ref { get; }
  • Type: string

StackRequired

public Stack Stack { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack

The stack in which this resource is defined.


ResourceOptional

public RosResource Resource { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource

AttrComponentsRequired

public IResolvable AttrComponents { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute Components: Cloud Marketplace additional billing items.


AttrCreateTimeRequired

public IResolvable AttrCreateTime { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute CreateTime: The time when the serviceInstance was created.


AttrEnableInstanceOpsRequired

public IResolvable AttrEnableInstanceOps { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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


AttrEnableUserPrometheusRequired

public IResolvable AttrEnableUserPrometheus { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute EnableUserPrometheus: Whether to enable Prometheus monitoring.


AttrIsOperatedRequired

public IResolvable AttrIsOperated { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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


AttrLicenseEndTimeRequired

public IResolvable AttrLicenseEndTime { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute LicenseEndTime: The expiration time of licence.


AttrMarketInstanceIdRequired

public IResolvable AttrMarketInstanceId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute MarketInstanceId: The ID of the cloud marketplace instance.


AttrNetworkConfigRequired

public IResolvable AttrNetworkConfig { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute NetworkConfig: The network configurations.


AttrOutputsRequired

public IResolvable AttrOutputs { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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


AttrParametersRequired

public IResolvable AttrParameters { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute Parameters: The parameters configured for the service instance.


AttrPredefinedParameterNameRequired

public IResolvable AttrPredefinedParameterName { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute PredefinedParameterName: The name of the package .


AttrProgressRequired

public IResolvable AttrProgress { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute Progress: The deployment progress of the service instance.

Unit: percentage.


AttrResourceGroupIdRequired

public IResolvable AttrResourceGroupId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute ResourceGroupId: The resource group ID.


AttrServiceRequired

public IResolvable AttrService { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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


AttrServiceInstanceIdRequired

public IResolvable AttrServiceInstanceId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute ServiceInstanceId: The ID of the service instance.


AttrServiceInstanceNameRequired

public IResolvable AttrServiceInstanceName { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute ServiceInstanceName: The name of the resource.


AttrServiceTypeRequired

public IResolvable AttrServiceType { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute ServiceType: The type of the service.


AttrSourceRequired

public IResolvable AttrSource { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute Source: The source of the service instance.


AttrStatusDetailRequired

public IResolvable AttrStatusDetail { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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


AttrSupplierUidRequired

public IResolvable AttrSupplierUid { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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


AttrTagsRequired

public IResolvable AttrTags { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute Tags: The tags of the service instance.


AttrTemplateNameRequired

public IResolvable AttrTemplateName { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute TemplateName: The name of the template.


AttrUpdateTimeRequired

public IResolvable AttrUpdateTime { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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


AttrUserIdRequired

public IResolvable AttrUserId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute UserId: The AliUid of the user.