Skip to content

ServiceInstance

This class encapsulates and extends the ROS resource type ALIYUN::ComputeNest::ServiceInstance, which is used to create and deploy a service instance.

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: Additional billing items.
AttrCreateTime AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute CreateTime: Creation time.
AttrEnableInstanceOps AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute EnableInstanceOps: Whether the service instance has the O & M function.
AttrEnableUserPrometheus AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute EnableUserPrometheus: Whether Prometheus monitoring is enabled.
AttrIsOperated AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute IsOperated: Whether the generation O & M function of the service instance is enabled.
AttrLicenseEndTime AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute LicenseEndTime: License expiration time.
AttrName AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Name: The name of the service instance.
AttrNetworkConfig AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute NetworkConfig: Network configuration information.
AttrOutputs AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Outputs: Create the output Field returned by the service instance.
AttrParameters AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Parameters: The parameters entered by the deployment service instance.
AttrPredefinedParameterName AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute PredefinedParameterName: Package name.
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 ID of the resource group.
AttrService AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Service: Service details.
AttrServiceInstanceId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ServiceInstanceId: The ID of the service instance.
AttrServiceType AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ServiceType: Service type.
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 status description of the deployment instance.
AttrSupplierUid AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute SupplierUid: Service provider AliUid.
AttrTags AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Tags: User-defined labels.
AttrTemplateName AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute TemplateName: Template name.
AttrUpdateTime AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute UpdateTime: Update time.
AttrUserId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute UserId: 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: Additional billing items.


AttrCreateTimeRequired

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

Attribute CreateTime: Creation time.


AttrEnableInstanceOpsRequired

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

Attribute EnableInstanceOps: Whether the service instance has the O & M function.


AttrEnableUserPrometheusRequired

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

Attribute EnableUserPrometheus: Whether Prometheus monitoring is enabled.


AttrIsOperatedRequired

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

Attribute IsOperated: Whether the generation O & M function of the service instance is enabled.


AttrLicenseEndTimeRequired

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

Attribute LicenseEndTime: License expiration time.


AttrNameRequired

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

Attribute Name: The name of the service instance.


AttrNetworkConfigRequired

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

Attribute NetworkConfig: Network configuration information.


AttrOutputsRequired

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

Attribute Outputs: Create the output Field returned by the service instance.


AttrParametersRequired

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

Attribute Parameters: The parameters entered by the deployment service instance.


AttrPredefinedParameterNameRequired

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

Attribute PredefinedParameterName: Package name.


AttrProgressRequired

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

Attribute Progress: The deployment progress of the service instance.

Unit:%.


AttrResourceGroupIdRequired

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

Attribute ResourceGroupId: The ID of the resource group.


AttrServiceRequired

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

Attribute Service: Service details.


AttrServiceInstanceIdRequired

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

Attribute ServiceInstanceId: The ID of the service instance.


AttrServiceTypeRequired

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

Attribute ServiceType: Service type.


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 status description of the deployment instance.


AttrSupplierUidRequired

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

Attribute SupplierUid: Service provider AliUid.


AttrTagsRequired

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

Attribute Tags: User-defined labels.


AttrTemplateNameRequired

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

Attribute TemplateName: Template name.


AttrUpdateTimeRequired

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

Attribute UpdateTime: Update time.


AttrUserIdRequired

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

Attribute UserId: AliUid of the user.