CustomRPRouteDefinition Class

A route definition that defines an action or resource that can be interacted with through the custom resource provider.

All required parameters must be populated in order to send to Azure.

Inheritance
CustomRPRouteDefinition

Constructor

CustomRPRouteDefinition(*, name: str, endpoint: str, **kwargs)

Parameters

name
str
Required

Required. 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}').

endpoint
str
Required

Required. 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}').