次の方法で共有


CustomRpActionRouteDefinition Class

Definition

The route definition for an action implemented by the custom resource provider.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.CustomRpActionRouteDefinitionTypeConverter))]
public class CustomRpActionRouteDefinition : Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.ICustomRpActionRouteDefinition, Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.CustomRpActionRouteDefinitionTypeConverter))>]
type CustomRpActionRouteDefinition = class
    interface ICustomRpActionRouteDefinition
    interface IJsonSerializable
    interface ICustomRpRouteDefinition
    interface IValidates
Public Class CustomRpActionRouteDefinition
Implements ICustomRpActionRouteDefinition, IValidates
Inheritance
CustomRpActionRouteDefinition
Attributes
Implements

Constructors

CustomRpActionRouteDefinition()

Creates an new CustomRpActionRouteDefinition 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}')

RoutingType

The routing types that are supported for action requests.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CustomRpActionRouteDefinition.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CustomRpActionRouteDefinition.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CustomRpActionRouteDefinition into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to