This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.authorization.getPolicyDefinitionVersionAtManagementGroup
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
This operation retrieves the policy definition version in the given management group with the given name. Azure REST API version: 2023-04-01.
Other available API versions: 2024-05-01.
Using getPolicyDefinitionVersionAtManagementGroup
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPolicyDefinitionVersionAtManagementGroup(args: GetPolicyDefinitionVersionAtManagementGroupArgs, opts?: InvokeOptions): Promise<GetPolicyDefinitionVersionAtManagementGroupResult>
function getPolicyDefinitionVersionAtManagementGroupOutput(args: GetPolicyDefinitionVersionAtManagementGroupOutputArgs, opts?: InvokeOptions): Output<GetPolicyDefinitionVersionAtManagementGroupResult>
def get_policy_definition_version_at_management_group(management_group_name: Optional[str] = None,
policy_definition_name: Optional[str] = None,
policy_definition_version: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPolicyDefinitionVersionAtManagementGroupResult
def get_policy_definition_version_at_management_group_output(management_group_name: Optional[pulumi.Input[str]] = None,
policy_definition_name: Optional[pulumi.Input[str]] = None,
policy_definition_version: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPolicyDefinitionVersionAtManagementGroupResult]
func LookupPolicyDefinitionVersionAtManagementGroup(ctx *Context, args *LookupPolicyDefinitionVersionAtManagementGroupArgs, opts ...InvokeOption) (*LookupPolicyDefinitionVersionAtManagementGroupResult, error)
func LookupPolicyDefinitionVersionAtManagementGroupOutput(ctx *Context, args *LookupPolicyDefinitionVersionAtManagementGroupOutputArgs, opts ...InvokeOption) LookupPolicyDefinitionVersionAtManagementGroupResultOutput
> Note: This function is named LookupPolicyDefinitionVersionAtManagementGroup
in the Go SDK.
public static class GetPolicyDefinitionVersionAtManagementGroup
{
public static Task<GetPolicyDefinitionVersionAtManagementGroupResult> InvokeAsync(GetPolicyDefinitionVersionAtManagementGroupArgs args, InvokeOptions? opts = null)
public static Output<GetPolicyDefinitionVersionAtManagementGroupResult> Invoke(GetPolicyDefinitionVersionAtManagementGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPolicyDefinitionVersionAtManagementGroupResult> getPolicyDefinitionVersionAtManagementGroup(GetPolicyDefinitionVersionAtManagementGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:authorization:getPolicyDefinitionVersionAtManagementGroup
arguments:
# arguments dictionary
The following arguments are supported:
- Management
Group stringName - The name of the management group. The name is case insensitive.
- Policy
Definition stringName - The name of the policy definition.
- Policy
Definition stringVersion - 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
- Management
Group stringName - The name of the management group. The name is case insensitive.
- Policy
Definition stringName - The name of the policy definition.
- Policy
Definition stringVersion - 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
- management
Group StringName - The name of the management group. The name is case insensitive.
- policy
Definition StringName - The name of the policy definition.
- policy
Definition StringVersion - 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
- management
Group stringName - The name of the management group. The name is case insensitive.
- policy
Definition stringName - The name of the policy definition.
- policy
Definition stringVersion - 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
- management_
group_ strname - The name of the management group. The name is case insensitive.
- policy_
definition_ strname - The name of the policy definition.
- policy_
definition_ strversion - 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
- management
Group StringName - The name of the management group. The name is case insensitive.
- policy
Definition StringName - The name of the policy definition.
- policy
Definition StringVersion - 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
getPolicyDefinitionVersionAtManagementGroup Result
The following output properties are available:
- Id string
- The ID of the policy definition version.
- Name string
- The name of the policy definition version.
- System
Data Pulumi.Azure Native. Authorization. Outputs. System Data Response - The system metadata relating to this resource.
- Type string
- The type of the resource (Microsoft.Authorization/policyDefinitions/versions).
- Description string
- The policy definition description.
- Display
Name string - The display name of the policy definition.
- Metadata object
- The policy definition metadata. Metadata is an open ended object and is typically a collection of key value pairs.
- Mode string
- The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data.
- Parameters
Dictionary<string, Pulumi.
Azure Native. Authorization. Outputs. Parameter Definitions Value Response> - The parameter definitions for parameters used in the policy rule. The keys are the parameter names.
- Policy
Rule object - The policy rule.
- Policy
Type string - The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.
- Version string
- The policy definition version in #.#.# format.
- Id string
- The ID of the policy definition version.
- Name string
- The name of the policy definition version.
- System
Data SystemData Response - The system metadata relating to this resource.
- Type string
- The type of the resource (Microsoft.Authorization/policyDefinitions/versions).
- Description string
- The policy definition description.
- Display
Name string - The display name of the policy definition.
- Metadata interface{}
- The policy definition metadata. Metadata is an open ended object and is typically a collection of key value pairs.
- Mode string
- The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data.
- Parameters
map[string]Parameter
Definitions Value Response - The parameter definitions for parameters used in the policy rule. The keys are the parameter names.
- Policy
Rule interface{} - The policy rule.
- Policy
Type string - The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.
- Version string
- The policy definition version in #.#.# format.
- id String
- The ID of the policy definition version.
- name String
- The name of the policy definition version.
- system
Data SystemData Response - The system metadata relating to this resource.
- type String
- The type of the resource (Microsoft.Authorization/policyDefinitions/versions).
- description String
- The policy definition description.
- display
Name String - The display name of the policy definition.
- metadata Object
- The policy definition metadata. Metadata is an open ended object and is typically a collection of key value pairs.
- mode String
- The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data.
- parameters
Map<String,Parameter
Definitions Value Response> - The parameter definitions for parameters used in the policy rule. The keys are the parameter names.
- policy
Rule Object - The policy rule.
- policy
Type String - The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.
- version String
- The policy definition version in #.#.# format.
- id string
- The ID of the policy definition version.
- name string
- The name of the policy definition version.
- system
Data SystemData Response - The system metadata relating to this resource.
- type string
- The type of the resource (Microsoft.Authorization/policyDefinitions/versions).
- description string
- The policy definition description.
- display
Name string - The display name of the policy definition.
- metadata any
- The policy definition metadata. Metadata is an open ended object and is typically a collection of key value pairs.
- mode string
- The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data.
- parameters
{[key: string]: Parameter
Definitions Value Response} - The parameter definitions for parameters used in the policy rule. The keys are the parameter names.
- policy
Rule any - The policy rule.
- policy
Type string - The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.
- version string
- The policy definition version in #.#.# format.
- id str
- The ID of the policy definition version.
- name str
- The name of the policy definition version.
- system_
data SystemData Response - The system metadata relating to this resource.
- type str
- The type of the resource (Microsoft.Authorization/policyDefinitions/versions).
- description str
- The policy definition description.
- display_
name str - The display name of the policy definition.
- metadata Any
- The policy definition metadata. Metadata is an open ended object and is typically a collection of key value pairs.
- mode str
- The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data.
- parameters
Mapping[str, Parameter
Definitions Value Response] - The parameter definitions for parameters used in the policy rule. The keys are the parameter names.
- policy_
rule Any - The policy rule.
- policy_
type str - The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.
- version str
- The policy definition version in #.#.# format.
- id String
- The ID of the policy definition version.
- name String
- The name of the policy definition version.
- system
Data Property Map - The system metadata relating to this resource.
- type String
- The type of the resource (Microsoft.Authorization/policyDefinitions/versions).
- description String
- The policy definition description.
- display
Name String - The display name of the policy definition.
- metadata Any
- The policy definition metadata. Metadata is an open ended object and is typically a collection of key value pairs.
- mode String
- The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data.
- parameters Map<Property Map>
- The parameter definitions for parameters used in the policy rule. The keys are the parameter names.
- policy
Rule Any - The policy rule.
- policy
Type String - The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.
- version String
- The policy definition version in #.#.# format.
Supporting Types
ParameterDefinitionsValueResponse
- Allowed
Values List<object> - The allowed values for the parameter.
- Default
Value object - The default value for the parameter if no value is provided.
- Metadata
Pulumi.
Azure Native. Authorization. Inputs. Parameter Definitions Value Response Metadata - General metadata for the parameter.
- Schema object
- Provides validation of parameter inputs during assignment using a self-defined JSON schema. This property is only supported for object-type parameters and follows the Json.NET Schema 2019-09 implementation. You can learn more about using schemas at https://json-schema.org/ and test draft schemas at https://www.jsonschemavalidator.net/.
- Type string
- The data type of the parameter.
- Allowed
Values []interface{} - The allowed values for the parameter.
- Default
Value interface{} - The default value for the parameter if no value is provided.
- Metadata
Parameter
Definitions Value Response Metadata - General metadata for the parameter.
- Schema interface{}
- Provides validation of parameter inputs during assignment using a self-defined JSON schema. This property is only supported for object-type parameters and follows the Json.NET Schema 2019-09 implementation. You can learn more about using schemas at https://json-schema.org/ and test draft schemas at https://www.jsonschemavalidator.net/.
- Type string
- The data type of the parameter.
- allowed
Values List<Object> - The allowed values for the parameter.
- default
Value Object - The default value for the parameter if no value is provided.
- metadata
Parameter
Definitions Value Response Metadata - General metadata for the parameter.
- schema Object
- Provides validation of parameter inputs during assignment using a self-defined JSON schema. This property is only supported for object-type parameters and follows the Json.NET Schema 2019-09 implementation. You can learn more about using schemas at https://json-schema.org/ and test draft schemas at https://www.jsonschemavalidator.net/.
- type String
- The data type of the parameter.
- allowed
Values any[] - The allowed values for the parameter.
- default
Value any - The default value for the parameter if no value is provided.
- metadata
Parameter
Definitions Value Response Metadata - General metadata for the parameter.
- schema any
- Provides validation of parameter inputs during assignment using a self-defined JSON schema. This property is only supported for object-type parameters and follows the Json.NET Schema 2019-09 implementation. You can learn more about using schemas at https://json-schema.org/ and test draft schemas at https://www.jsonschemavalidator.net/.
- type string
- The data type of the parameter.
- allowed_
values Sequence[Any] - The allowed values for the parameter.
- default_
value Any - The default value for the parameter if no value is provided.
- metadata
Parameter
Definitions Value Response Metadata - General metadata for the parameter.
- schema Any
- Provides validation of parameter inputs during assignment using a self-defined JSON schema. This property is only supported for object-type parameters and follows the Json.NET Schema 2019-09 implementation. You can learn more about using schemas at https://json-schema.org/ and test draft schemas at https://www.jsonschemavalidator.net/.
- type str
- The data type of the parameter.
- allowed
Values List<Any> - The allowed values for the parameter.
- default
Value Any - The default value for the parameter if no value is provided.
- metadata Property Map
- General metadata for the parameter.
- schema Any
- Provides validation of parameter inputs during assignment using a self-defined JSON schema. This property is only supported for object-type parameters and follows the Json.NET Schema 2019-09 implementation. You can learn more about using schemas at https://json-schema.org/ and test draft schemas at https://www.jsonschemavalidator.net/.
- type String
- The data type of the parameter.
ParameterDefinitionsValueResponseMetadata
- Assign
Permissions bool - Set to true to have Azure portal create role assignments on the resource ID or resource scope value of this parameter during policy assignment. This property is useful in case you wish to assign permissions outside the assignment scope.
- Description string
- The description of the parameter.
- Display
Name string - The display name for the parameter.
- Strong
Type string - Used when assigning the policy definition through the portal. Provides a context aware list of values for the user to choose from.
- Assign
Permissions bool - Set to true to have Azure portal create role assignments on the resource ID or resource scope value of this parameter during policy assignment. This property is useful in case you wish to assign permissions outside the assignment scope.
- Description string
- The description of the parameter.
- Display
Name string - The display name for the parameter.
- Strong
Type string - Used when assigning the policy definition through the portal. Provides a context aware list of values for the user to choose from.
- assign
Permissions Boolean - Set to true to have Azure portal create role assignments on the resource ID or resource scope value of this parameter during policy assignment. This property is useful in case you wish to assign permissions outside the assignment scope.
- description String
- The description of the parameter.
- display
Name String - The display name for the parameter.
- strong
Type String - Used when assigning the policy definition through the portal. Provides a context aware list of values for the user to choose from.
- assign
Permissions boolean - Set to true to have Azure portal create role assignments on the resource ID or resource scope value of this parameter during policy assignment. This property is useful in case you wish to assign permissions outside the assignment scope.
- description string
- The description of the parameter.
- display
Name string - The display name for the parameter.
- strong
Type string - Used when assigning the policy definition through the portal. Provides a context aware list of values for the user to choose from.
- assign_
permissions bool - Set to true to have Azure portal create role assignments on the resource ID or resource scope value of this parameter during policy assignment. This property is useful in case you wish to assign permissions outside the assignment scope.
- description str
- The description of the parameter.
- display_
name str - The display name for the parameter.
- strong_
type str - Used when assigning the policy definition through the portal. Provides a context aware list of values for the user to choose from.
- assign
Permissions Boolean - Set to true to have Azure portal create role assignments on the resource ID or resource scope value of this parameter during policy assignment. This property is useful in case you wish to assign permissions outside the assignment scope.
- description String
- The description of the parameter.
- display
Name String - The display name for the parameter.
- strong
Type String - Used when assigning the policy definition through the portal. Provides a context aware list of values for the user to choose from.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi