import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. * * Uses Azure REST API version 2025-06-01. * * Other available API versions: 2023-05-01, 2023-07-01-preview, 2024-02-01, 2024-05-01-preview, 2024-06-01-preview, 2024-09-01, 2025-01-01-preview, 2025-04-15, 2025-07-01-preview, 2025-09-01-preview, 2025-12-01, 2026-04-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native cdn [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getRoute(args: GetRouteArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetRouteArgs { /** * Name of the endpoint under the profile which is unique globally. */ endpointName: string; /** * Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group. */ profileName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * Name of the routing rule. */ routeName: string; } /** * Friendly Routes name mapping to the any Routes or secret related information. */ export interface GetRouteResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The caching configuration for this route. To disable caching, do not provide a cacheConfiguration object. */ readonly cacheConfiguration?: outputs.cdn.AfdRouteCacheConfigurationResponse; /** * Domains referenced by this endpoint. */ readonly customDomains?: outputs.cdn.ActivatedResourceReferenceResponse[]; readonly deploymentStatus: string; /** * Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' */ readonly enabledState?: string; /** * The name of the endpoint which holds the route. */ readonly endpointName: string; /** * Protocol this rule will use when forwarding traffic to backends. */ readonly forwardingProtocol?: string; /** * 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. */ readonly httpsRedirect?: string; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * whether this route will be linked to the default endpoint domain. */ readonly linkToDefaultDomain?: string; /** * The name of the resource */ readonly name: string; /** * A reference to the origin group. */ readonly originGroup?: outputs.cdn.ResourceReferenceResponse; /** * A directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. */ readonly originPath?: string; /** * The route patterns of the rule. */ readonly patternsToMatch?: string[]; /** * Provisioning status */ readonly provisioningState: string; /** * rule sets referenced by this endpoint. */ readonly ruleSets?: outputs.cdn.ResourceReferenceResponse[]; /** * List of supported protocols for this route. */ readonly supportedProtocols?: string[]; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.cdn.SystemDataResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. * * Uses Azure REST API version 2025-06-01. * * Other available API versions: 2023-05-01, 2023-07-01-preview, 2024-02-01, 2024-05-01-preview, 2024-06-01-preview, 2024-09-01, 2025-01-01-preview, 2025-04-15, 2025-07-01-preview, 2025-09-01-preview, 2025-12-01, 2026-04-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native cdn [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getRouteOutput(args: GetRouteOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetRouteOutputArgs { /** * Name of the endpoint under the profile which is unique globally. */ endpointName: pulumi.Input; /** * Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group. */ profileName: pulumi.Input; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input; /** * Name of the routing rule. */ routeName: pulumi.Input; } //# sourceMappingURL=getRoute.d.ts.map