import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * Creates a new Policy. */ export declare class Policy extends pulumi.CustomResource { /** * Get an existing Policy resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Policy; /** * Returns true if the given object is an instance of Policy. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Policy; /** * Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name server that you choose. Names such as .internal are not available when an alternative name server is specified. */ readonly alternativeNameServerConfig: pulumi.Output; /** * A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the policy's function. */ readonly description: pulumi.Output; /** * Allows networks bound to this policy to receive DNS queries sent by VMs or applications over VPN connections. When enabled, a virtual IP address is allocated from each of the subnetworks that are bound to this policy. */ readonly enableInboundForwarding: pulumi.Output; /** * Controls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set. */ readonly enableLogging: pulumi.Output; readonly kind: pulumi.Output; /** * User-assigned name for this policy. */ readonly name: pulumi.Output; /** * List of network names specifying networks to which this policy is applied. */ readonly networks: pulumi.Output; /** * Create a Policy resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: PolicyArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Policy resource. */ export interface PolicyArgs { /** * Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name server that you choose. Names such as .internal are not available when an alternative name server is specified. */ readonly alternativeNameServerConfig?: pulumi.Input; /** * A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the policy's function. */ readonly description?: pulumi.Input; /** * Allows networks bound to this policy to receive DNS queries sent by VMs or applications over VPN connections. When enabled, a virtual IP address is allocated from each of the subnetworks that are bound to this policy. */ readonly enableInboundForwarding?: pulumi.Input; /** * Controls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set. */ readonly enableLogging?: pulumi.Input; /** * Unique identifier for the resource; defined by the server (output only). */ readonly id?: pulumi.Input; readonly kind?: pulumi.Input; /** * User-assigned name for this policy. */ readonly name?: pulumi.Input; /** * List of network names specifying networks to which this policy is applied. */ readonly networks?: pulumi.Input[]>; readonly policy: pulumi.Input; readonly project: pulumi.Input; }