IService
-
Extends: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResource
-
Implemented By: github.com/alibabacloud-go/ros-cdk/alicloudroscdkapig.datasource.Service, github.com/alibabacloud-go/ros-cdk/alicloudroscdkapig.datasource.IService
Represents a Service.
Properties
| Name | Type | Description |
|---|---|---|
Node | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode | The construct tree node for this construct. |
Env | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment | The environment this resource belongs to. |
Stack | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack | The stack in which this resource is defined. |
AttrAddresses | interface{} | Attribute Addresses: A list of domain names or fixed addresses. |
AttrAiServiceConfig | interface{} | Attribute AiServiceConfig: AI service configuration when sourceType equals AI. |
AttrGatewayId | interface{} | Attribute GatewayId: The ID of the Cloud Native API Gateway. |
AttrGroupName | interface{} | Attribute GroupName: The service group name. |
AttrNamespace | interface{} | Attribute Namespace: The namespace of the service:. |
AttrQualifier | interface{} | Attribute Qualifier: The function version or alias. |
AttrResourceGroupId | interface{} | Attribute ResourceGroupId: The ID of the resource group. |
AttrServiceId | interface{} | Attribute ServiceId: The ID of the service. |
AttrServiceName | interface{} | Attribute ServiceName: The name of the Service, need to fill in manually when sourceType is VIP/DNS/AI. |
AttrSourceType | interface{} | Attribute SourceType: The type of the service source, optional value is K8S/MSE_NACOS/FC3/SAE_K8S_SERVICE/VIP/DNS/AI. |
Props | ServiceProps | No description. |
NodeRequired
func Node() ConstructNode
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode
The construct tree node for 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.
StackRequired
func Stack() Stack
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack
The stack in which this resource is defined.
AttrAddressesRequired
func AttrAddresses() interface{}
- Type: interface{}
Attribute Addresses: A list of domain names or fixed addresses.
AttrAiServiceConfigRequired
func AttrAiServiceConfig() interface{}
- Type: interface{}
Attribute AiServiceConfig: AI service configuration when sourceType equals AI.
AttrGatewayIdRequired
func AttrGatewayId() interface{}
- Type: interface{}
Attribute GatewayId: The ID of the Cloud Native API Gateway.
AttrGroupNameRequired
func AttrGroupName() interface{}
- Type: interface{}
Attribute GroupName: The service group name.
AttrNamespaceRequired
func AttrNamespace() interface{}
- Type: interface{}
Attribute Namespace: The namespace of the service:.
AttrQualifierRequired
func AttrQualifier() interface{}
- Type: interface{}
Attribute Qualifier: The function version or alias.
AttrResourceGroupIdRequired
func AttrResourceGroupId() interface{}
- Type: interface{}
Attribute ResourceGroupId: The ID of the resource group.
AttrServiceIdRequired
func AttrServiceId() interface{}
- Type: interface{}
Attribute ServiceId: The ID of the service.
AttrServiceNameRequired
func AttrServiceName() interface{}
- Type: interface{}
Attribute ServiceName: The name of the Service, need to fill in manually when sourceType is VIP/DNS/AI.
AttrSourceTypeRequired
func AttrSourceType() interface{}
- Type: interface{}
Attribute SourceType: The type of the service source, optional value is K8S/MSE_NACOS/FC3/SAE_K8S_SERVICE/VIP/DNS/AI.
PropsRequired
func Props() ServiceProps
- Type: ServiceProps