import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * 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; /** * For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */ readonly clientOperationId: 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; readonly project: 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. */ alternativeNameServerConfig?: pulumi.Input; /** * For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */ clientOperationId?: 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. */ 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. */ enableInboundForwarding?: pulumi.Input; /** * Controls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set. */ enableLogging?: pulumi.Input; kind?: pulumi.Input; /** * User-assigned name for this policy. */ name?: pulumi.Input; /** * List of network names specifying networks to which this policy is applied. */ networks?: pulumi.Input[]>; project?: pulumi.Input; }