CustomRpResourceTypeRouteDefinition Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The route definition for a resource implemented by the custom resource provider.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.CustomRpResourceTypeRouteDefinitionTypeConverter))]
public class CustomRpResourceTypeRouteDefinition : Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.ICustomRpResourceTypeRouteDefinition, Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.CustomRpResourceTypeRouteDefinitionTypeConverter))>]
type CustomRpResourceTypeRouteDefinition = class
interface ICustomRpResourceTypeRouteDefinition
interface IJsonSerializable
interface ICustomRpRouteDefinition
interface IValidates
Public Class CustomRpResourceTypeRouteDefinition
Implements ICustomRpResourceTypeRouteDefinition, IValidates
- Inheritance
-
CustomRpResourceTypeRouteDefinition
- Attributes
- Implements
Constructors
CustomRpResourceTypeRouteDefinition() |
Creates an new CustomRpResourceTypeRouteDefinition 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 resource requests. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of CustomRpResourceTypeRouteDefinition. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of CustomRpResourceTypeRouteDefinition. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.ICustomRpResourceTypeRouteDefinition. |
FromJsonString(String) |
Creates a new instance of CustomRpResourceTypeRouteDefinition, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of CustomRpResourceTypeRouteDefinition into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |