Skip to content

ServiceInstance

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

Initializers

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcomputenest/datasource"
datasource.NewServiceInstance(scope Construct, id *string, props ServiceInstanceProps, enableResourcePropertyConstraint *bool) ServiceInstance
Name Type Description
scope github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct No description.
id *string No description.
props ServiceInstanceProps No description.
enableResourcePropertyConstraint *bool No description.

scopeRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.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

func ToString() *string

Returns a string representation of this construct.

Synthesize

func Synthesize(session ISynthesisSession)

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: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ISynthesisSession

The synthesis session.


AddCondition

func AddCondition(condition RosCondition)

conditionRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosCondition

AddCount

func AddCount(count interface{})

countRequired

  • Type: interface{}

AddDependency

func AddDependency(resource Resource)

resourceRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Resource

AddResourceDesc

func AddResourceDesc(desc *string)

descRequired

  • Type: *string

ApplyRemovalPolicy

func ApplyRemovalPolicy(policy RemovalPolicy)

policyRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicy

GetAtt

func GetAtt(name *string) IResolvable

nameRequired

  • Type: *string

SetMetadata

func SetMetadata(key *string, value interface{})

keyRequired

  • Type: *string

valueRequired

  • Type: interface{}

Static Functions

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

IsConstruct

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcomputenest/datasource"
datasource.ServiceInstance_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

xRequired

  • Type: interface{}

Properties

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

NodeRequired

func Node() ConstructNode
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode

The construct tree node associated with this construct.


RefRequired

func Ref() *string
  • Type: *string

StackRequired

func Stack() Stack
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack

The stack in which this resource is defined.


ResourceOptional

func Resource() RosResource
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource

AttrComponentsRequired

func AttrComponents() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute Components: Cloud Marketplace additional billing items.


AttrCreateTimeRequired

func AttrCreateTime() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute CreateTime: The time when the serviceInstance was created.


AttrEnableInstanceOpsRequired

func AttrEnableInstanceOps() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

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


AttrEnableUserPrometheusRequired

func AttrEnableUserPrometheus() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute EnableUserPrometheus: Whether to enable Prometheus monitoring.


AttrIsOperatedRequired

func AttrIsOperated() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

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


AttrLicenseEndTimeRequired

func AttrLicenseEndTime() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute LicenseEndTime: The expiration time of licence.


AttrMarketInstanceIdRequired

func AttrMarketInstanceId() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute MarketInstanceId: The ID of the cloud marketplace instance.


AttrNetworkConfigRequired

func AttrNetworkConfig() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute NetworkConfig: The network configurations.


AttrOutputsRequired

func AttrOutputs() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

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


AttrParametersRequired

func AttrParameters() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute Parameters: The parameters configured for the service instance.


AttrPredefinedParameterNameRequired

func AttrPredefinedParameterName() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute PredefinedParameterName: The name of the package .


AttrProgressRequired

func AttrProgress() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute Progress: The deployment progress of the service instance.

Unit: percentage.


AttrResourceGroupIdRequired

func AttrResourceGroupId() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute ResourceGroupId: The resource group ID.


AttrServiceRequired

func AttrService() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

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


AttrServiceInstanceIdRequired

func AttrServiceInstanceId() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute ServiceInstanceId: The ID of the service instance.


AttrServiceInstanceNameRequired

func AttrServiceInstanceName() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute ServiceInstanceName: The name of the resource.


AttrServiceTypeRequired

func AttrServiceType() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute ServiceType: The type of the service.


AttrSourceRequired

func AttrSource() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute Source: The source of the service instance.


AttrStatusDetailRequired

func AttrStatusDetail() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

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


AttrSupplierUidRequired

func AttrSupplierUid() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

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


AttrTagsRequired

func AttrTags() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute Tags: The tags of the service instance.


AttrTemplateNameRequired

func AttrTemplateName() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute TemplateName: The name of the template.


AttrUpdateTimeRequired

func AttrUpdateTime() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

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


AttrUserIdRequired

func AttrUserId() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute UserId: The AliUid of the user.