import * as pulumi from "@pulumi/pulumi"; import * as types from "./types"; /** * The ID of the policy definition version. * * Uses Azure REST API version 2025-01-01. In version 2.x of the Azure Native provider, it used API version 2023-04-01. * * Other available API versions: 2023-04-01, 2024-05-01, 2025-03-01, 2025-11-01, 2025-12-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native authorization [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare class PolicyDefinitionVersion extends pulumi.CustomResource { /** * Get an existing PolicyDefinitionVersion 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): PolicyDefinitionVersion; /** @internal */ static readonly __pulumiType = "azure-native:authorization:PolicyDefinitionVersion"; /** * Returns true if the given object is an instance of PolicyDefinitionVersion. 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 PolicyDefinitionVersion; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output; /** * The policy definition description. */ readonly description: pulumi.Output; /** * The display name of the policy definition. */ readonly displayName: pulumi.Output; /** * The policy definition metadata. Metadata is an open ended object and is typically a collection of key value pairs. */ readonly metadata: pulumi.Output; /** * The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data. */ readonly mode: pulumi.Output; /** * The name of the policy definition version. */ readonly name: pulumi.Output; /** * The parameter definitions for parameters used in the policy rule. The keys are the parameter names. */ readonly parameters: pulumi.Output<{ [key: string]: types.outputs.ParameterDefinitionsValueResponse; } | undefined>; /** * The policy rule. */ readonly policyRule: pulumi.Output; /** * The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. */ readonly policyType: pulumi.Output; /** * The system metadata relating to this resource. */ readonly systemData: pulumi.Output; /** * The type of the resource (Microsoft.Authorization/policyDefinitions/versions). */ readonly type: pulumi.Output; /** * The policy definition version in #.#.# format. */ readonly version: pulumi.Output; /** * Create a PolicyDefinitionVersion 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: PolicyDefinitionVersionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a PolicyDefinitionVersion resource. */ export interface PolicyDefinitionVersionArgs { /** * The policy definition description. */ description?: pulumi.Input; /** * The display name of the policy definition. */ displayName?: pulumi.Input; /** * The policy definition metadata. Metadata is an open ended object and is typically a collection of key value pairs. */ metadata?: any; /** * The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data. */ mode?: pulumi.Input; /** * The parameter definitions for parameters used in the policy rule. The keys are the parameter names. */ parameters?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The name of the policy definition. */ policyDefinitionName: pulumi.Input; /** * The policy definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number */ policyDefinitionVersion?: pulumi.Input; /** * The policy rule. */ policyRule?: any; /** * The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. */ policyType?: pulumi.Input; /** * The policy definition version in #.#.# format. */ version?: pulumi.Input; }