Share via


ArmAppPlatformModelFactory.AppPlatformGatewayRouteConfigProperties Method

Definition

Initializes a new instance of AppPlatformGatewayRouteConfigProperties.

public static Azure.ResourceManager.AppPlatform.Models.AppPlatformGatewayRouteConfigProperties AppPlatformGatewayRouteConfigProperties (Azure.ResourceManager.AppPlatform.Models.AppPlatformGatewayProvisioningState? provisioningState = default, Azure.Core.ResourceIdentifier appResourceId = default, Uri openApiUri = default, Azure.ResourceManager.AppPlatform.Models.AppPlatformGatewayRouteConfigProtocol? protocol = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppPlatform.Models.AppPlatformGatewayApiRoute> routes = default);
static member AppPlatformGatewayRouteConfigProperties : Nullable<Azure.ResourceManager.AppPlatform.Models.AppPlatformGatewayProvisioningState> * Azure.Core.ResourceIdentifier * Uri * Nullable<Azure.ResourceManager.AppPlatform.Models.AppPlatformGatewayRouteConfigProtocol> * seq<Azure.ResourceManager.AppPlatform.Models.AppPlatformGatewayApiRoute> -> Azure.ResourceManager.AppPlatform.Models.AppPlatformGatewayRouteConfigProperties
Public Shared Function AppPlatformGatewayRouteConfigProperties (Optional provisioningState As Nullable(Of AppPlatformGatewayProvisioningState) = Nothing, Optional appResourceId As ResourceIdentifier = Nothing, Optional openApiUri As Uri = Nothing, Optional protocol As Nullable(Of AppPlatformGatewayRouteConfigProtocol) = Nothing, Optional routes As IEnumerable(Of AppPlatformGatewayApiRoute) = Nothing) As AppPlatformGatewayRouteConfigProperties

Parameters

provisioningState
Nullable<AppPlatformGatewayProvisioningState>

State of the Spring Cloud Gateway route config.

appResourceId
ResourceIdentifier

The resource Id of the Azure Spring Apps app, required unless route defines uri.

openApiUri
Uri

OpenAPI properties of Spring Cloud Gateway route config.

protocol
Nullable<AppPlatformGatewayRouteConfigProtocol>

Protocol of routed Azure Spring Apps applications.

routes
IEnumerable<AppPlatformGatewayApiRoute>

Array of API routes, each route contains properties such as title, uri, ssoEnabled, predicates, filters.

Returns

A new AppPlatformGatewayRouteConfigProperties instance for mocking.

Applies to