Compartir a través de


CustomRpRouteDefinition Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.CustomRpRouteDefinitionTypeConverter))]
public class CustomRpRouteDefinition : Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.ICustomRpRouteDefinition
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.CustomRpRouteDefinitionTypeConverter))>]
type CustomRpRouteDefinition = class
    interface ICustomRpRouteDefinition
    interface IJsonSerializable
Public Class CustomRpRouteDefinition
Implements ICustomRpRouteDefinition
Inheritance
CustomRpRouteDefinition
Attributes
Implements

Constructors

CustomRpRouteDefinition()

Creates an new CustomRpRouteDefinition instance.

Properties

Endpoint

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

Name

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CustomRpRouteDefinition.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CustomRpRouteDefinition.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.ICustomRpRouteDefinition.

FromJsonString(String)

Creates a new instance of CustomRpRouteDefinition, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of CustomRpRouteDefinition into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to