@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.52 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets an existing tunnel policy within a profile.
*
* Uses Azure REST API version 2024-06-01-preview.
*/
export declare function getTunnelPolicy(args: GetTunnelPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetTunnelPolicyResult>;
export interface GetTunnelPolicyArgs {
/**
* Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group.
*/
profileName: string;
/**
* Name of the Resource group within the Azure subscription.
*/
resourceGroupName: string;
/**
* Name of the Tunnel Policy under the profile.
*/
tunnelPolicyName: string;
}
/**
* Tunnel Policy maps domains to target endpoints to process traffic over the tunnelling protocol.
*/
export interface GetTunnelPolicyResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
readonly deploymentStatus: string;
/**
* Domains referenced by this tunnel policy.
*/
readonly domains: outputs.cdn.ActivatedResourceReferenceResponse[];
/**
* Resource ID.
*/
readonly id: string;
/**
* Resource name.
*/
readonly name: string;
/**
* Provisioning status
*/
readonly provisioningState: string;
/**
* Read only system data
*/
readonly systemData: outputs.cdn.SystemDataResponse;
/**
* Target Groups referenced by this tunnel policy.
*/
readonly targetGroups?: outputs.cdn.ResourceReferenceResponse[];
/**
* Protocol this tunnel will use for allowing traffic to backends.
*/
readonly tunnelType?: string;
/**
* Resource type.
*/
readonly type: string;
}
/**
* Gets an existing tunnel policy within a profile.
*
* Uses Azure REST API version 2024-06-01-preview.
*/
export declare function getTunnelPolicyOutput(args: GetTunnelPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTunnelPolicyResult>;
export interface GetTunnelPolicyOutputArgs {
/**
* Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group.
*/
profileName: pulumi.Input<string>;
/**
* Name of the Resource group within the Azure subscription.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Name of the Tunnel Policy under the profile.
*/
tunnelPolicyName: pulumi.Input<string>;
}