IServiceSource
-
Extends: AlibabaCloud.SDK.ROS.CDK.Core.IResource
-
Implemented By: ServiceSource, IServiceSource
Represents a ServiceSource.
Properties
| Name | Type | Description |
|---|---|---|
Node | AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode | The construct tree node for this construct. |
Env | AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment | The environment this resource belongs to. |
Stack | AlibabaCloud.SDK.ROS.CDK.Core.Stack | The stack in which this resource is defined. |
AttrAddress | object | Attribute Address: Registration Address. |
AttrGatewayUniqueId | object | Attribute GatewayUniqueId: The unique ID of the gateway. |
AttrId | object | Attribute Id: The ID of service source. |
AttrName | object | Attribute Name: The name. |
Props | ServiceSourceProps | No description. |
NodeRequired
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node for this construct.
EnvRequired
public IResourceEnvironment Env { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.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.
StackRequired
public Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
AttrAddressRequired
public object AttrAddress { get; }
- Type: object
Attribute Address: Registration Address.
If not specified, it will be automatically generated based on the selected instance.
AttrGatewayUniqueIdRequired
public object AttrGatewayUniqueId { get; }
- Type: object
Attribute GatewayUniqueId: The unique ID of the gateway.
AttrIdRequired
public object AttrId { get; }
- Type: object
Attribute Id: The ID of service source.
AttrNameRequired
public object AttrName { get; }
- Type: object
Attribute Name: The name.
If Type is set to K8S, this parameter specifies the name of the ACK cluster. If Type is set to NACOS, this parameter specifies the ID of the Nacos instance.
PropsRequired
public ServiceSourceProps Props { get; }
- Type: ServiceSourceProps