ServiceInstance
- Implements: IServiceInstance
This class encapsulates and extends the ROS resource type ALIYUN::ComputeNest::ServiceInstance.
Initializers
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcomputenest"
alicloudroscdkcomputenest.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
- Type: ServiceInstanceProps
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. |
FetchCondition | No description. |
FetchDependency | No description. |
FetchResourceDesc | 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.
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ISynthesisSession
The synthesis session.
AddCondition
func AddCondition(condition RosCondition)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosCondition
AddCount
func AddCount(count interface{})
- Type: interface{}
AddDependency
func AddDependency(resource Resource)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Resource
AddResourceDesc
func AddResourceDesc(desc *string)
- Type: *string
ApplyRemovalPolicy
func ApplyRemovalPolicy(policy RemovalPolicy)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicy
FetchCondition
func FetchCondition() RosCondition
FetchDependency
func FetchDependency() *[]*string
FetchResourceDesc
func FetchResourceDesc() *string
GetAtt
func GetAtt(name *string) IResolvable
- Type: *string
SetMetadata
func SetMetadata(key *string, value interface{})
- Type: *string
- Type: interface{}
Static Functions
| Name | Description |
|---|---|
IsConstruct | Return whether the given object is a Construct. |
IsConstruct
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcomputenest"
alicloudroscdkcomputenest.ServiceInstance_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
- Type: interface{}
Properties
| Name | Type | Description |
|---|---|---|
Node | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode | The construct tree node associated with this construct. |
Env | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment | The environment this resource belongs to. |
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 | interface{} | Attribute Components: Additional billing items. |
AttrCreateTime | interface{} | Attribute CreateTime: Creation time. |
AttrEnableInstanceOps | interface{} | Attribute EnableInstanceOps: Whether the service instance has the O & M function. |
AttrEnableUserPrometheus | interface{} | Attribute EnableUserPrometheus: Whether Prometheus monitoring is enabled. |
AttrIsOperated | interface{} | Attribute IsOperated: Whether the generation O & M function of the service instance is enabled. |
AttrLicenseEndTime | interface{} | Attribute LicenseEndTime: License expiration time. |
AttrMarketInstanceId | interface{} | Attribute MarketInstanceId: The ID of the cloud marketplace instance. |
AttrNetworkConfig | interface{} | Attribute NetworkConfig: Network configuration information. |
AttrOutput | interface{} | Attribute Output: Create the output Field returned by the service instance. |
AttrOutputs | interface{} | Attribute Outputs: Create the output Field returned by the service instance. |
AttrParameters | interface{} | Attribute Parameters: The parameters entered by the deployment service instance. |
AttrPredefinedParameterName | interface{} | Attribute PredefinedParameterName: Package name. |
AttrProgress | interface{} | Attribute Progress: The deployment progress of the service instance. |
AttrResourceGroupId | interface{} | Attribute ResourceGroupId: The ID of the resource group. |
AttrService | interface{} | Attribute Service: Service details. |
AttrServiceInstanceId | interface{} | Attribute ServiceInstanceId: The ID of the service instance. |
AttrServiceInstanceName | interface{} | Attribute ServiceInstanceName: The name of the resource. |
AttrServiceType | interface{} | Attribute ServiceType: Service type. |
AttrSource | interface{} | Attribute Source: The source of the service instance. |
AttrStatusDetail | interface{} | Attribute StatusDetail: The status description of the deployment instance. |
AttrSupplierUid | interface{} | Attribute SupplierUid: Service provider AliUid. |
AttrTags | interface{} | Attribute Tags: User-defined labels. |
AttrTemplateName | interface{} | Attribute TemplateName: Template name. |
AttrUpdateTime | interface{} | Attribute UpdateTime: Update time. |
AttrUserId | interface{} | Attribute UserId: AliUid of the user. |
Props | ServiceInstanceProps | No description. |
NodeRequired
func Node() ConstructNode
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode
The construct tree node associated with this construct.
EnvRequired
func Env() IResourceEnvironment
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
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() interface{}
- Type: interface{}
Attribute Components: Additional billing items.
AttrCreateTimeRequired
func AttrCreateTime() interface{}
- Type: interface{}
Attribute CreateTime: Creation time.
AttrEnableInstanceOpsRequired
func AttrEnableInstanceOps() interface{}
- Type: interface{}
Attribute EnableInstanceOps: Whether the service instance has the O & M function.
AttrEnableUserPrometheusRequired
func AttrEnableUserPrometheus() interface{}
- Type: interface{}
Attribute EnableUserPrometheus: Whether Prometheus monitoring is enabled.
AttrIsOperatedRequired
func AttrIsOperated() interface{}
- Type: interface{}
Attribute IsOperated: Whether the generation O & M function of the service instance is enabled.
AttrLicenseEndTimeRequired
func AttrLicenseEndTime() interface{}
- Type: interface{}
Attribute LicenseEndTime: License expiration time.
AttrMarketInstanceIdRequired
func AttrMarketInstanceId() interface{}
- Type: interface{}
Attribute MarketInstanceId: The ID of the cloud marketplace instance.
AttrNetworkConfigRequired
func AttrNetworkConfig() interface{}
- Type: interface{}
Attribute NetworkConfig: Network configuration information.
AttrOutputRequired
func AttrOutput() interface{}
- Type: interface{}
Attribute Output: Create the output Field returned by the service instance.
AttrOutputsRequired
func AttrOutputs() interface{}
- Type: interface{}
Attribute Outputs: Create the output Field returned by the service instance.
AttrParametersRequired
func AttrParameters() interface{}
- Type: interface{}
Attribute Parameters: The parameters entered by the deployment service instance.
AttrPredefinedParameterNameRequired
func AttrPredefinedParameterName() interface{}
- Type: interface{}
Attribute PredefinedParameterName: Package name.
AttrProgressRequired
func AttrProgress() interface{}
- Type: interface{}
Attribute Progress: The deployment progress of the service instance.
Unit:%.
AttrResourceGroupIdRequired
func AttrResourceGroupId() interface{}
- Type: interface{}
Attribute ResourceGroupId: The ID of the resource group.
AttrServiceRequired
func AttrService() interface{}
- Type: interface{}
Attribute Service: Service details.
AttrServiceInstanceIdRequired
func AttrServiceInstanceId() interface{}
- Type: interface{}
Attribute ServiceInstanceId: The ID of the service instance.
AttrServiceInstanceNameRequired
func AttrServiceInstanceName() interface{}
- Type: interface{}
Attribute ServiceInstanceName: The name of the resource.
AttrServiceTypeRequired
func AttrServiceType() interface{}
- Type: interface{}
Attribute ServiceType: Service type.
AttrSourceRequired
func AttrSource() interface{}
- Type: interface{}
Attribute Source: The source of the service instance.
AttrStatusDetailRequired
func AttrStatusDetail() interface{}
- Type: interface{}
Attribute StatusDetail: The status description of the deployment instance.
AttrSupplierUidRequired
func AttrSupplierUid() interface{}
- Type: interface{}
Attribute SupplierUid: Service provider AliUid.
AttrTagsRequired
func AttrTags() interface{}
- Type: interface{}
Attribute Tags: User-defined labels.
AttrTemplateNameRequired
func AttrTemplateName() interface{}
- Type: interface{}
Attribute TemplateName: Template name.
AttrUpdateTimeRequired
func AttrUpdateTime() interface{}
- Type: interface{}
Attribute UpdateTime: Update time.
AttrUserIdRequired
func AttrUserId() interface{}
- Type: interface{}
Attribute UserId: AliUid of the user.
PropsRequired
func Props() ServiceInstanceProps
- Type: ServiceInstanceProps