Skip to content

RouteProps

Properties for defining a Route.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Apig;
new RouteProps {
    object Backend,
    object EnvironmentInfo,
    object HttpApiId,
    object Match,
    object RouteName,
    object Description = null,
    object DomainIds = null,
    object DomainInfos = null
};

Properties

Name Type Description
Backend object Property backend: Backend service configuration for routing.
EnvironmentInfo object Property environmentInfo: The information if the environment.
HttpApiId object Property httpApiId: The ID of the API.
Match object Property match: The match rule of route resource.
RouteName object Property routeName: The name of the route.
Description object Property description: The description of route.
DomainIds object Property domainIds: The list of domain name IDs.
DomainInfos object Property domainInfos: Domain items.

BackendRequired

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

Property backend: Backend service configuration for routing.


EnvironmentInfoRequired

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

Property environmentInfo: The information if the environment.


HttpApiIdRequired

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

Property httpApiId: The ID of the API.


MatchRequired

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

Property match: The match rule of route resource.


RouteNameRequired

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

Property routeName: The name of the route.


DescriptionOptional

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

Property description: The description of route.


DomainIdsOptional

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

Property domainIds: The list of domain name IDs.


DomainInfosOptional

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

Property domainInfos: Domain items.