UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

150 lines (149 loc) 5.49 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets the specified Firewall Policy. * * Uses Azure REST API version 2024-05-01. * * Other available API versions: 2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-08-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 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 getFirewallPolicy(args: GetFirewallPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetFirewallPolicyResult>; export interface GetFirewallPolicyArgs { /** * Expands referenced resources. */ expand?: string; /** * The name of the Firewall Policy. */ firewallPolicyName: string; /** * The name of the resource group. */ resourceGroupName: string; } /** * FirewallPolicy Resource. */ export interface GetFirewallPolicyResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The parent firewall policy from which rules are inherited. */ readonly basePolicy?: outputs.network.SubResourceResponse; /** * List of references to Child Firewall Policies. */ readonly childPolicies: outputs.network.SubResourceResponse[]; /** * DNS Proxy Settings definition. */ readonly dnsSettings?: outputs.network.DnsSettingsResponse; /** * A unique read-only string that changes whenever the resource is updated. */ readonly etag: string; /** * Explicit Proxy Settings definition. */ readonly explicitProxy?: outputs.network.ExplicitProxyResponse; /** * List of references to Azure Firewalls that this Firewall Policy is associated with. */ readonly firewalls: outputs.network.SubResourceResponse[]; /** * Resource ID. */ readonly id?: string; /** * The identity of the firewall policy. */ readonly identity?: outputs.network.ManagedServiceIdentityResponse; /** * 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 provisioning state of the firewall policy resource. */ readonly provisioningState: string; /** * List of references to FirewallPolicyRuleCollectionGroups. */ readonly ruleCollectionGroups: outputs.network.SubResourceResponse[]; /** * A read-only string that represents the size of the FirewallPolicyPropertiesFormat in MB. (ex 0.5MB) */ readonly size: string; /** * The Firewall Policy SKU. */ readonly sku?: outputs.network.FirewallPolicySkuResponse; /** * 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; /** * TLS Configuration definition. */ readonly transportSecurity?: outputs.network.FirewallPolicyTransportSecurityResponse; /** * Resource type. */ readonly type: string; } /** * Gets the specified Firewall Policy. * * Uses Azure REST API version 2024-05-01. * * Other available API versions: 2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-08-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 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 getFirewallPolicyOutput(args: GetFirewallPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFirewallPolicyResult>; export interface GetFirewallPolicyOutputArgs { /** * Expands referenced resources. */ expand?: pulumi.Input<string>; /** * The name of the Firewall Policy. */ firewallPolicyName: pulumi.Input<string>; /** * The name of the resource group. */ resourceGroupName: pulumi.Input<string>; }