UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

133 lines (132 loc) 5.72 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * The policy set 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. 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 PolicySetDefinitionVersion extends pulumi.CustomResource { /** * Get an existing PolicySetDefinitionVersion 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<pulumi.ID>, opts?: pulumi.CustomResourceOptions): PolicySetDefinitionVersion; /** * Returns true if the given object is an instance of PolicySetDefinitionVersion. 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 PolicySetDefinitionVersion; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * The policy set definition description. */ readonly description: pulumi.Output<string | undefined>; /** * The display name of the policy set definition. */ readonly displayName: pulumi.Output<string | undefined>; /** * The policy set definition metadata. Metadata is an open ended object and is typically a collection of key value pairs. */ readonly metadata: pulumi.Output<any | undefined>; /** * The name of the policy set definition version. */ readonly name: pulumi.Output<string>; /** * The policy set definition parameters that can be used in policy definition references. */ readonly parameters: pulumi.Output<{ [key: string]: outputs.authorization.ParameterDefinitionsValueResponse; } | undefined>; /** * The metadata describing groups of policy definition references within the policy set definition. */ readonly policyDefinitionGroups: pulumi.Output<outputs.authorization.PolicyDefinitionGroupResponse[] | undefined>; /** * An array of policy definition references. */ readonly policyDefinitions: pulumi.Output<outputs.authorization.PolicyDefinitionReferenceResponse[]>; /** * The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. */ readonly policyType: pulumi.Output<string | undefined>; /** * The system metadata relating to this resource. */ readonly systemData: pulumi.Output<outputs.authorization.SystemDataResponse>; /** * The type of the resource (Microsoft.Authorization/policySetDefinitions/versions). */ readonly type: pulumi.Output<string>; /** * The policy set definition version in #.#.# format. */ readonly version: pulumi.Output<string | undefined>; /** * Create a PolicySetDefinitionVersion 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: PolicySetDefinitionVersionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a PolicySetDefinitionVersion resource. */ export interface PolicySetDefinitionVersionArgs { /** * The policy set definition description. */ description?: pulumi.Input<string>; /** * The display name of the policy set definition. */ displayName?: pulumi.Input<string>; /** * The policy set definition metadata. Metadata is an open ended object and is typically a collection of key value pairs. */ metadata?: any; /** * The policy set definition parameters that can be used in policy definition references. */ parameters?: pulumi.Input<{ [key: string]: pulumi.Input<inputs.authorization.ParameterDefinitionsValueArgs>; }>; /** * The metadata describing groups of policy definition references within the policy set definition. */ policyDefinitionGroups?: pulumi.Input<pulumi.Input<inputs.authorization.PolicyDefinitionGroupArgs>[]>; /** * The policy set 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<string>; /** * An array of policy definition references. */ policyDefinitions: pulumi.Input<pulumi.Input<inputs.authorization.PolicyDefinitionReferenceArgs>[]>; /** * The name of the policy set definition. */ policySetDefinitionName: pulumi.Input<string>; /** * The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. */ policyType?: pulumi.Input<string | enums.authorization.PolicyType>; /** * The policy set definition version in #.#.# format. */ version?: pulumi.Input<string>; }