CustomRPResourceTypeRouteDefinitionArgs

data class CustomRPResourceTypeRouteDefinitionArgs(val endpoint: Output<String>, val name: Output<String>, val routingType: Output<Either<String, ResourceTypeRouting>>? = null) : ConvertibleToJava<CustomRPResourceTypeRouteDefinitionArgs>

The route definition for a resource implemented by the custom resource provider.

Constructors

Link copied to clipboard
constructor(endpoint: Output<String>, name: Output<String>, routingType: Output<Either<String, ResourceTypeRouting>>? = null)

Properties

Link copied to clipboard
val endpoint: Output<String>

The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')

Link copied to clipboard
val name: Output<String>

The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}')

Link copied to clipboard
val routingType: Output<Either<String, ResourceTypeRouting>>? = null

The routing types that are supported for resource requests.

Functions

Link copied to clipboard
open override fun toJava(): CustomRPResourceTypeRouteDefinitionArgs