@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.47 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get a draft Firewall Policy.
*
* Uses Azure REST API version 2024-05-01.
*
* Other available API versions: 2023-11-01, 2024-01-01, 2024-03-01, 2024-07-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native network [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getFirewallPolicyDraft(args: GetFirewallPolicyDraftArgs, opts?: pulumi.InvokeOptions): Promise<GetFirewallPolicyDraftResult>;
export interface GetFirewallPolicyDraftArgs {
/**
* The name of the Firewall Policy.
*/
firewallPolicyName: string;
/**
* The name of the resource group.
*/
resourceGroupName: string;
}
/**
* FirewallPolicy Resource.
*/
export interface GetFirewallPolicyDraftResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The parent firewall policy from which rules are inherited.
*/
readonly basePolicy?: outputs.network.SubResourceResponse;
/**
* DNS Proxy Settings definition.
*/
readonly dnsSettings?: outputs.network.DnsSettingsResponse;
/**
* Explicit Proxy Settings definition.
*/
readonly explicitProxy?: outputs.network.ExplicitProxyResponse;
/**
* Resource ID.
*/
readonly id?: string;
/**
* Insights on Firewall Policy.
*/
readonly insights?: outputs.network.FirewallPolicyInsightsResponse;
/**
* The configuration for Intrusion detection.
*/
readonly intrusionDetection?: outputs.network.FirewallPolicyIntrusionDetectionResponse;
/**
* Resource location.
*/
readonly location?: string;
/**
* Resource name.
*/
readonly name: string;
/**
* The private IP addresses/IP ranges to which traffic will not be SNAT.
*/
readonly snat?: outputs.network.FirewallPolicySNATResponse;
/**
* SQL Settings definition.
*/
readonly sql?: outputs.network.FirewallPolicySQLResponse;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The operation mode for Threat Intelligence.
*/
readonly threatIntelMode?: string;
/**
* ThreatIntel Whitelist for Firewall Policy.
*/
readonly threatIntelWhitelist?: outputs.network.FirewallPolicyThreatIntelWhitelistResponse;
/**
* Resource type.
*/
readonly type: string;
}
/**
* Get a draft Firewall Policy.
*
* Uses Azure REST API version 2024-05-01.
*
* Other available API versions: 2023-11-01, 2024-01-01, 2024-03-01, 2024-07-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native network [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getFirewallPolicyDraftOutput(args: GetFirewallPolicyDraftOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFirewallPolicyDraftResult>;
export interface GetFirewallPolicyDraftOutputArgs {
/**
* The name of the Firewall Policy.
*/
firewallPolicyName: pulumi.Input<string>;
/**
* The name of the resource group.
*/
resourceGroupName: pulumi.Input<string>;
}