Skip to content

ServicesProps

Properties for defining a Services.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-apig-services

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkapig/datasource"
&datasource.ServicesProps {
    GatewayId: interface{},
    RefreshOptions: interface{},
    ResourceGroupId: interface{},
    SourceType: interface{},
}

Properties

Name Type Description
GatewayId interface{} Property gatewayId: The ID of the Cloud Native API Gateway.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
ResourceGroupId interface{} Property resourceGroupId: The ID of the resource group.
SourceType interface{} Property sourceType: service source type, optional value is K8S\/MSE_NACOS\/FC3\/SAE_K8S_SERVICE\/VIP\/DNS\/AI.

GatewayIdOptional

GatewayId interface{}
  • Type: interface{}

Property gatewayId: The ID of the Cloud Native API Gateway.


RefreshOptionsOptional

RefreshOptions interface{}
  • Type: interface{}

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

ResourceGroupIdOptional

ResourceGroupId interface{}
  • Type: interface{}

Property resourceGroupId: The ID of the resource group.


SourceTypeOptional

SourceType interface{}
  • Type: interface{}

Property sourceType: service source type, optional value is K8S\/MSE_NACOS\/FC3\/SAE_K8S_SERVICE\/VIP\/DNS\/AI.