Skip to content

ServiceProps

Properties for defining a Service.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-pai-service

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkpai/datasource"
&datasource.ServiceProps {
    ServiceName: interface{},
    RefreshOptions: interface{},
}

Properties

Name Type Description
ServiceName interface{} Property serviceName: The name of the service.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

ServiceNameRequired

ServiceName interface{}
  • Type: interface{}

Property serviceName: The name of the service.


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.