CustomRPResourceTypeRouteDefinition Class
The route definition for a resource implemented by the custom resource provider.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.mgmt.customproviders.models._models_py3.CustomRPRouteDefinitionCustomRPResourceTypeRouteDefinition
Constructor
CustomRPResourceTypeRouteDefinition(*, name: str, endpoint: str, routing_type: Optional[Union[str, azure.mgmt.customproviders.models._customproviders_enums.ResourceTypeRouting]] = None, **kwargs)
Parameters
- name
- str
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. 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}').
- routing_type
- str or ResourceTypeRouting
The routing types that are supported for resource requests. Possible values include: "Proxy", "Proxy,Cache".
Feedback
Submit and view feedback for