Skip to content

ServiceProps

Properties for defining a Service.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Pai;
new ServiceProps {
    object ServiceName,
    object RefreshOptions = null
};

Properties

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

ServiceNameRequired

public object ServiceName { get; set; }
  • Type: object

Property serviceName: The name of the service.


RefreshOptionsOptional

public object RefreshOptions { get; set; }
  • Type: object

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.