import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a VPN Server Configuration Policy Group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const exampleVpnServerConfiguration = new azure.network.VpnServerConfiguration("example", { * name: "example-VPNSC", * resourceGroupName: example.name, * location: example.location, * vpnAuthenticationTypes: ["Radius"], * radius: { * servers: [{ * address: "10.105.1.1", * secret: "vindicators-the-return-of-worldender", * score: 15, * }], * }, * }); * const exampleVpnServerConfigurationPolicyGroup = new azure.network.VpnServerConfigurationPolicyGroup("example", { * name: "example-VPNSCPG", * vpnServerConfigurationId: exampleVpnServerConfiguration.id, * policies: [{ * name: "policy1", * type: "RadiusAzureGroupId", * value: "6ad1bd08", * }], * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 * * ## Import * * VPN Server Configuration Policy Groups can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:network/vpnServerConfigurationPolicyGroup:VpnServerConfigurationPolicyGroup example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.Network/vpnServerConfigurations/serverConfiguration1/configurationPolicyGroups/configurationPolicyGroup1 * ``` */ export declare class VpnServerConfigurationPolicyGroup extends pulumi.CustomResource { /** * Get an existing VpnServerConfigurationPolicyGroup 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: VpnServerConfigurationPolicyGroupState, opts?: pulumi.CustomResourceOptions): VpnServerConfigurationPolicyGroup; /** * Returns true if the given object is an instance of VpnServerConfigurationPolicyGroup. 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 VpnServerConfigurationPolicyGroup; /** * Is this a default VPN Server Configuration Policy Group? Defaults to `false`. Changing this forces a new resource to be created. */ readonly isDefault: pulumi.Output; /** * The Name which should be used for this VPN Server Configuration Policy Group. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * One or more `policy` blocks as documented below. */ readonly policies: pulumi.Output; /** * The priority of this VPN Server Configuration Policy Group. Defaults to `0`. */ readonly priority: pulumi.Output; /** * The ID of the VPN Server Configuration that the VPN Server Configuration Policy Group belongs to. Changing this forces a new resource to be created. */ readonly vpnServerConfigurationId: pulumi.Output; /** * Create a VpnServerConfigurationPolicyGroup 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: VpnServerConfigurationPolicyGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering VpnServerConfigurationPolicyGroup resources. */ export interface VpnServerConfigurationPolicyGroupState { /** * Is this a default VPN Server Configuration Policy Group? Defaults to `false`. Changing this forces a new resource to be created. */ isDefault?: pulumi.Input; /** * The Name which should be used for this VPN Server Configuration Policy Group. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * One or more `policy` blocks as documented below. */ policies?: pulumi.Input[]>; /** * The priority of this VPN Server Configuration Policy Group. Defaults to `0`. */ priority?: pulumi.Input; /** * The ID of the VPN Server Configuration that the VPN Server Configuration Policy Group belongs to. Changing this forces a new resource to be created. */ vpnServerConfigurationId?: pulumi.Input; } /** * The set of arguments for constructing a VpnServerConfigurationPolicyGroup resource. */ export interface VpnServerConfigurationPolicyGroupArgs { /** * Is this a default VPN Server Configuration Policy Group? Defaults to `false`. Changing this forces a new resource to be created. */ isDefault?: pulumi.Input; /** * The Name which should be used for this VPN Server Configuration Policy Group. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * One or more `policy` blocks as documented below. */ policies: pulumi.Input[]>; /** * The priority of this VPN Server Configuration Policy Group. Defaults to `0`. */ priority?: pulumi.Input; /** * The ID of the VPN Server Configuration that the VPN Server Configuration Policy Group belongs to. Changing this forces a new resource to be created. */ vpnServerConfigurationId: pulumi.Input; }