GatewayRouteProps
Properties for defining a GatewayRoute.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-gatewayroute
Initializer
using AlibabaCloud.SDK.ROS.CDK.Mse;
new GatewayRouteProps {
object DomainIdList,
object GatewayUniqueId,
object Name,
object Description = null,
object DestinationType = null,
object DirectResponseJson = null,
object DomainId = null,
object Fallback = null,
object FallbackServices = null,
object GatewayId = null,
object Policies = null,
object Predicates = null,
object RedirectJson = null,
object RouteOrder = null,
object RouteType = null,
object Services = null
};
Properties
| Name | Type | Description |
|---|---|---|
DomainIdList | object | Property domainIdList: The list of domain IDs in JSON format. |
GatewayUniqueId | object | Property gatewayUniqueId: The unique ID of the gateway. |
Name | object | Property name: The name of the route. |
Description | object | Property description: The description of the route. |
DestinationType | object | Property destinationType: The type of destination service. |
DirectResponseJson | object | Property directResponseJson: Configuration for mock response. |
DomainId | object | Property domainId: The ID of the domain. |
Fallback | object | Property fallback: Whether to enable fallback service. |
FallbackServices | object | Property fallbackServices: The list of fallback services. |
GatewayId | object | Property gatewayId: The ID of the gateway. |
Policies | object | Property policies: The JSON string of route policies. |
Predicates | object | Property predicates: Matching rules for the route. |
RedirectJson | object | Property redirectJson: Configuration for redirect. |
RouteOrder | object | Property routeOrder: The order of the route. |
RouteType | object | Property routeType: The type of the route. |
Services | object | Property services: The list of backend services. |
DomainIdListRequired
public object DomainIdList { get; set; }
- Type: object
Property domainIdList: The list of domain IDs in JSON format.
GatewayUniqueIdRequired
public object GatewayUniqueId { get; set; }
- Type: object
Property gatewayUniqueId: The unique ID of the gateway.
NameRequired
public object Name { get; set; }
- Type: object
Property name: The name of the route.
DescriptionOptional
public object Description { get; set; }
- Type: object
Property description: The description of the route.
DestinationTypeOptional
public object DestinationType { get; set; }
- Type: object
Property destinationType: The type of destination service.
Valid values:
- Single: single service
- Multiple: multiple services
- VersionOriented: tag-based routing
- Mock: mock response
- Redirect: redirect
DirectResponseJsonOptional
public object DirectResponseJson { get; set; }
- Type: object
Property directResponseJson: Configuration for mock response.
DomainIdOptional
public object DomainId { get; set; }
- Type: object
Property domainId: The ID of the domain.
FallbackOptional
public object Fallback { get; set; }
- Type: object
Property fallback: Whether to enable fallback service.
FallbackServicesOptional
public object FallbackServices { get; set; }
- Type: object
Property fallbackServices: The list of fallback services.
GatewayIdOptional
public object GatewayId { get; set; }
- Type: object
Property gatewayId: The ID of the gateway.
PoliciesOptional
public object Policies { get; set; }
- Type: object
Property policies: The JSON string of route policies.
PredicatesOptional
public object Predicates { get; set; }
- Type: object
Property predicates: Matching rules for the route.
RedirectJsonOptional
public object RedirectJson { get; set; }
- Type: object
Property redirectJson: Configuration for redirect.
RouteOrderOptional
public object RouteOrder { get; set; }
- Type: object
Property routeOrder: The order of the route.
Smaller values indicate higher priority.
RouteTypeOptional
public object RouteType { get; set; }
- Type: object
Property routeType: The type of the route.
Valid value: Op (control route).
ServicesOptional
public object Services { get; set; }
- Type: object
Property services: The list of backend services.
Required when DestinationType is Single, Multiple, or VersionOriented.