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. |
Scope
Required
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct
Id
Required
- Type: string
Props
Required
- Type: ServiceInstanceProps
EnableResourcePropertyConstraint
Optional
- 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.
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession
The synthesis session.
AddCondition
private void AddCondition(RosCondition Condition)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition
AddCount
private void AddCount(object Count)
- Type: object
AddDependency
private void AddDependency(Resource Resource)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource
AddResourceDesc
private void AddResourceDesc(string Desc)
- Type: string
ApplyRemovalPolicy
private void ApplyRemovalPolicy(RemovalPolicy Policy)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy
GetAtt
private IResolvable GetAtt(string Name)
- Type: string
SetMetadata
private void SetMetadata(string Key, object Value)
- Type: string
- 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.
- 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. |
Node
Required
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node associated with this construct.
Ref
Required
public string Ref { get; }
- Type: string
Stack
Required
public Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
Resource
Optional
public RosResource Resource { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource
AttrComponents
Required
public IResolvable AttrComponents { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Components: Additional billing items.
AttrCreateTime
Required
public IResolvable AttrCreateTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute CreateTime: Creation time.
AttrEnableInstanceOps
Required
public IResolvable AttrEnableInstanceOps { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute EnableInstanceOps: Whether the service instance has the O & M function.
AttrEnableUserPrometheus
Required
public IResolvable AttrEnableUserPrometheus { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute EnableUserPrometheus: Whether Prometheus monitoring is enabled.
AttrIsOperated
Required
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.
AttrLicenseEndTime
Required
public IResolvable AttrLicenseEndTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute LicenseEndTime: License expiration time.
AttrName
Required
public IResolvable AttrName { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Name: The name of the service instance.
AttrNetworkConfig
Required
public IResolvable AttrNetworkConfig { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute NetworkConfig: Network configuration information.
AttrOutputs
Required
public IResolvable AttrOutputs { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Outputs: Create the output Field returned by the service instance.
AttrParameters
Required
public IResolvable AttrParameters { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Parameters: The parameters entered by the deployment service instance.
AttrPredefinedParameterName
Required
public IResolvable AttrPredefinedParameterName { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PredefinedParameterName: Package name.
AttrProgress
Required
public IResolvable AttrProgress { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Progress: The deployment progress of the service instance.
Unit:%.
AttrResourceGroupId
Required
public IResolvable AttrResourceGroupId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ResourceGroupId: The ID of the resource group.
AttrService
Required
public IResolvable AttrService { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Service: Service details.
AttrServiceInstanceId
Required
public IResolvable AttrServiceInstanceId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ServiceInstanceId: The ID of the service instance.
AttrServiceType
Required
public IResolvable AttrServiceType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ServiceType: Service type.
AttrSource
Required
public IResolvable AttrSource { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Source: The source of the service instance.
AttrStatusDetail
Required
public IResolvable AttrStatusDetail { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute StatusDetail: The status description of the deployment instance.
AttrSupplierUid
Required
public IResolvable AttrSupplierUid { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SupplierUid: Service provider AliUid.
AttrTags
Required
public IResolvable AttrTags { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Tags: User-defined labels.
AttrTemplateName
Required
public IResolvable AttrTemplateName { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute TemplateName: Template name.
AttrUpdateTime
Required
public IResolvable AttrUpdateTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute UpdateTime: Update time.
AttrUserId
Required
public IResolvable AttrUserId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute UserId: AliUid of the user.