@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.72 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Retrieves the details of a ConfigurationPolicyGroup.
*
* Uses Azure REST API version 2024-05-01.
*
* Other available API versions: 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 getConfigurationPolicyGroup(args: GetConfigurationPolicyGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetConfigurationPolicyGroupResult>;
export interface GetConfigurationPolicyGroupArgs {
/**
* The name of the ConfigurationPolicyGroup being retrieved.
*/
configurationPolicyGroupName: string;
/**
* The resource group name of the VpnServerConfiguration.
*/
resourceGroupName: string;
/**
* The name of the VpnServerConfiguration.
*/
vpnServerConfigurationName: string;
}
/**
* VpnServerConfigurationPolicyGroup Resource.
*/
export interface GetConfigurationPolicyGroupResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* A unique read-only string that changes whenever the resource is updated.
*/
readonly etag: string;
/**
* Resource ID.
*/
readonly id?: string;
/**
* Shows if this is a Default VpnServerConfigurationPolicyGroup or not.
*/
readonly isDefault?: boolean;
/**
* The name of the resource that is unique within a resource group. This name can be used to access the resource.
*/
readonly name?: string;
/**
* List of references to P2SConnectionConfigurations.
*/
readonly p2SConnectionConfigurations: outputs.network.SubResourceResponse[];
/**
* Multiple PolicyMembers for VpnServerConfigurationPolicyGroup.
*/
readonly policyMembers?: outputs.network.VpnServerConfigurationPolicyGroupMemberResponse[];
/**
* Priority for VpnServerConfigurationPolicyGroup.
*/
readonly priority?: number;
/**
* The provisioning state of the VpnServerConfigurationPolicyGroup resource.
*/
readonly provisioningState: string;
/**
* Resource type.
*/
readonly type: string;
}
/**
* Retrieves the details of a ConfigurationPolicyGroup.
*
* Uses Azure REST API version 2024-05-01.
*
* Other available API versions: 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 getConfigurationPolicyGroupOutput(args: GetConfigurationPolicyGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConfigurationPolicyGroupResult>;
export interface GetConfigurationPolicyGroupOutputArgs {
/**
* The name of the ConfigurationPolicyGroup being retrieved.
*/
configurationPolicyGroupName: pulumi.Input<string>;
/**
* The resource group name of the VpnServerConfiguration.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of the VpnServerConfiguration.
*/
vpnServerConfigurationName: pulumi.Input<string>;
}