ArmCdnModelFactory.FrontDoorRouteData Method
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.
public static Azure.ResourceManager.Cdn.FrontDoorRouteData FrontDoorRouteData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string endpointName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.FrontDoorActivatedResourceInfo> customDomains = default, string originPath = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> ruleSets = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.FrontDoorEndpointProtocol> supportedProtocols = default, System.Collections.Generic.IEnumerable<string> patternsToMatch = default, Azure.ResourceManager.Cdn.Models.FrontDoorRouteCacheConfiguration cacheConfiguration = default, Azure.ResourceManager.Cdn.Models.ForwardingProtocol? forwardingProtocol = default, Azure.ResourceManager.Cdn.Models.LinkToDefaultDomain? linkToDefaultDomain = default, Azure.ResourceManager.Cdn.Models.HttpsRedirect? httpsRedirect = default, Azure.ResourceManager.Cdn.Models.EnabledState? enabledState = default, Azure.ResourceManager.Cdn.Models.FrontDoorRouteGrpcState? grpcState = default, Azure.ResourceManager.Cdn.Models.FrontDoorProvisioningState? provisioningState = default, Azure.ResourceManager.Cdn.Models.FrontDoorDeploymentStatus? deploymentStatus = default, Azure.Core.ResourceIdentifier originGroupId = default);
static member FrontDoorRouteData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * seq<Azure.ResourceManager.Cdn.Models.FrontDoorActivatedResourceInfo> * string * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * seq<Azure.ResourceManager.Cdn.Models.FrontDoorEndpointProtocol> * seq<string> * Azure.ResourceManager.Cdn.Models.FrontDoorRouteCacheConfiguration * Nullable<Azure.ResourceManager.Cdn.Models.ForwardingProtocol> * Nullable<Azure.ResourceManager.Cdn.Models.LinkToDefaultDomain> * Nullable<Azure.ResourceManager.Cdn.Models.HttpsRedirect> * Nullable<Azure.ResourceManager.Cdn.Models.EnabledState> * Nullable<Azure.ResourceManager.Cdn.Models.FrontDoorRouteGrpcState> * Nullable<Azure.ResourceManager.Cdn.Models.FrontDoorProvisioningState> * Nullable<Azure.ResourceManager.Cdn.Models.FrontDoorDeploymentStatus> * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Cdn.FrontDoorRouteData
Public Shared Function FrontDoorRouteData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional endpointName As String = Nothing, Optional customDomains As IEnumerable(Of FrontDoorActivatedResourceInfo) = Nothing, Optional originPath As String = Nothing, Optional ruleSets As IEnumerable(Of WritableSubResource) = Nothing, Optional supportedProtocols As IEnumerable(Of FrontDoorEndpointProtocol) = Nothing, Optional patternsToMatch As IEnumerable(Of String) = Nothing, Optional cacheConfiguration As FrontDoorRouteCacheConfiguration = Nothing, Optional forwardingProtocol As Nullable(Of ForwardingProtocol) = Nothing, Optional linkToDefaultDomain As Nullable(Of LinkToDefaultDomain) = Nothing, Optional httpsRedirect As Nullable(Of HttpsRedirect) = Nothing, Optional enabledState As Nullable(Of EnabledState) = Nothing, Optional grpcState As Nullable(Of FrontDoorRouteGrpcState) = Nothing, Optional provisioningState As Nullable(Of FrontDoorProvisioningState) = Nothing, Optional deploymentStatus As Nullable(Of FrontDoorDeploymentStatus) = Nothing, Optional originGroupId As ResourceIdentifier = Nothing) As FrontDoorRouteData
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- endpointName
- String
The name of the endpoint which holds the route.
- customDomains
- IEnumerable<FrontDoorActivatedResourceInfo>
Domains referenced by this endpoint.
- originPath
- String
A directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath.
- ruleSets
- IEnumerable<WritableSubResource>
rule sets referenced by this endpoint.
- supportedProtocols
- IEnumerable<FrontDoorEndpointProtocol>
List of supported protocols for this route.
- patternsToMatch
- IEnumerable<String>
The route patterns of the rule.
- cacheConfiguration
- FrontDoorRouteCacheConfiguration
The caching configuration for this route. To disable caching, do not provide a cacheConfiguration object.
- forwardingProtocol
- Nullable<ForwardingProtocol>
Protocol this rule will use when forwarding traffic to backends.
- linkToDefaultDomain
- Nullable<LinkToDefaultDomain>
whether this route will be linked to the default endpoint domain.
- httpsRedirect
- Nullable<HttpsRedirect>
Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed.
- enabledState
- Nullable<EnabledState>
Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'.
- grpcState
- Nullable<FrontDoorRouteGrpcState>
Whether or not gRPC is enabled on this route. Permitted values are 'Enabled' or 'Disabled'.
- provisioningState
- Nullable<FrontDoorProvisioningState>
Provisioning status.
- deploymentStatus
- Nullable<FrontDoorDeploymentStatus>
Gets the DeploymentStatus.
- originGroupId
- ResourceIdentifier
Resource ID.
Returns
A new FrontDoorRouteData instance for mocking.