ServiceProps
Properties for defining a Service.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apig-service
Initializer
using AlibabaCloud.SDK.ROS.CDK.Apig;
new ServiceProps {
object GatewayId,
object Addresses = null,
object AiServiceConfig = null,
object GroupName = null,
object Namespace = null,
object Qualifier = null,
object ResourceGroupId = null,
object ServiceName = null,
object SourceType = null
};
Properties
| Name | Type | Description |
|---|---|---|
GatewayId | object | Property gatewayId: The ID of the Cloud Native API Gateway. |
Addresses | object | Property addresses: Service Address List. |
AiServiceConfig | object | Property aiServiceConfig: AI service configuration when SourceType equals AI. |
GroupName | object | Property groupName: The service group name. |
Namespace | object | Property namespace: The namespace of the service: - SourceType is K8S, indicating the namespace of the K8S service. |
Qualifier | object | Property qualifier: The function version or alias. |
ResourceGroupId | object | Property resourceGroupId: The ID of the resource group. |
ServiceName | object | Property serviceName: The name of the service, need to fill in manually when SourceType is VIP\/DNS\/AI. |
SourceType | object | Property sourceType: The type of the service source, optional value is K8S\/MSE_NACOS\/FC3\/SAE_K8S_SERVICE\/VIP\/DNS\/AI. |
GatewayIdRequired
public object GatewayId { get; set; }
- Type: object
Property gatewayId: The ID of the Cloud Native API Gateway.
AddressesOptional
public object Addresses { get; set; }
- Type: object
Property addresses: Service Address List.
AiServiceConfigOptional
public object AiServiceConfig { get; set; }
- Type: object
Property aiServiceConfig: AI service configuration when SourceType equals AI.
GroupNameOptional
public object GroupName { get; set; }
- Type: object
Property groupName: The service group name.
Required when SourceType is MSE_NACOS.
NamespaceOptional
public object Namespace { get; set; }
- Type: object
Property namespace: The namespace of the service: - SourceType is K8S, indicating the namespace of the K8S service.
When-SourceType is set to MSE_NACOS, it indicates the namespace in Nacos. When the SourceType is K8S and MSE_NACOS, it needs to be specified.
QualifierOptional
public object Qualifier { get; set; }
- Type: object
Property qualifier: The function version or alias.
ResourceGroupIdOptional
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: The ID of the resource group.
ServiceNameOptional
public object ServiceName { get; set; }
- Type: object
Property serviceName: The name of the service, need to fill in manually when SourceType is VIP\/DNS\/AI.
SourceTypeOptional
public object SourceType { get; set; }
- Type: object
Property sourceType: The type of the service source, optional value is K8S\/MSE_NACOS\/FC3\/SAE_K8S_SERVICE\/VIP\/DNS\/AI.