Skip to content

ServiceProps

Properties for defining a Service.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apig-service

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkapig"
&alicloudroscdkapig.ServiceProps {
    Addresses: interface{},
    GatewayId: interface{},
    ServiceName: interface{},
    SourceType: interface{},
}

Properties

Name Type Description
Addresses interface{} Property addresses: Service Address List.
GatewayId interface{} Property gatewayId: The ID of the Cloud Native API Gateway.
ServiceName interface{} Property serviceName: The name of the service.
SourceType interface{} Property sourceType: The type of the service source.

AddressesRequired

Addresses interface{}
  • Type: interface{}

Property addresses: Service Address List.


GatewayIdRequired

GatewayId interface{}
  • Type: interface{}

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


ServiceNameRequired

ServiceName interface{}
  • Type: interface{}

Property serviceName: The name of the service.


SourceTypeRequired

SourceType interface{}
  • Type: interface{}

Property sourceType: The type of the service source.