GetPolicyAssignmentResult

data class GetPolicyAssignmentResult(val assignmentType: String? = null, val azureApiVersion: String, val definitionVersion: String? = null, val description: String? = null, val displayName: String? = null, val effectiveDefinitionVersion: String, val enforcementMode: String? = null, val id: String, val identity: IdentityResponse? = null, val instanceId: String, val latestDefinitionVersion: String, val location: String? = null, val metadata: Any? = null, val name: String, val nonComplianceMessages: List<NonComplianceMessageResponse>? = null, val notScopes: List<String>? = null, val overrides: List<OverrideResponse>? = null, val parameters: Map<String, ParameterValuesValueResponse>? = null, val policyDefinitionId: String? = null, val resourceSelectors: List<ResourceSelectorResponse>? = null, val scope: String, val systemData: SystemDataResponse, val type: String)

The policy assignment.

Constructors

Link copied to clipboard
constructor(assignmentType: String? = null, azureApiVersion: String, definitionVersion: String? = null, description: String? = null, displayName: String? = null, effectiveDefinitionVersion: String, enforcementMode: String? = null, id: String, identity: IdentityResponse? = null, instanceId: String, latestDefinitionVersion: String, location: String? = null, metadata: Any? = null, name: String, nonComplianceMessages: List<NonComplianceMessageResponse>? = null, notScopes: List<String>? = null, overrides: List<OverrideResponse>? = null, parameters: Map<String, ParameterValuesValueResponse>? = null, policyDefinitionId: String? = null, resourceSelectors: List<ResourceSelectorResponse>? = null, scope: String, systemData: SystemDataResponse, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val assignmentType: String? = null

The type of policy assignment. Possible values are NotSpecified, System, SystemHidden, and Custom. Immutable.

Link copied to clipboard

The Azure API version of the resource.

Link copied to clipboard

The version of the policy definition to use.

Link copied to clipboard
val description: String? = null

This message will be part of response in case of policy violation.

Link copied to clipboard
val displayName: String? = null

The display name of the policy assignment.

Link copied to clipboard

The effective version of the policy definition in use. This is only present if requested via the $expand query parameter.

Link copied to clipboard
val enforcementMode: String? = null

The policy assignment enforcement mode. Possible values are Default, DoNotEnforce, and Enroll

Link copied to clipboard
val id: String

The ID of the policy assignment.

Link copied to clipboard

The managed identity associated with the policy assignment.

Link copied to clipboard

The instance ID of the policy assignment. This ID only and always changes when the assignment is deleted and recreated.

Link copied to clipboard

The latest version of the policy definition available. This is only present if requested via the $expand query parameter.

Link copied to clipboard
val location: String? = null

The location of the policy assignment. Only required when utilizing managed identity.

Link copied to clipboard
val metadata: Any? = null

The policy assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs.

Link copied to clipboard

The name of the policy assignment.

Link copied to clipboard

The messages that describe why a resource is non-compliant with the policy.

Link copied to clipboard
val notScopes: List<String>? = null

The policy's excluded scopes.

Link copied to clipboard

The policy property value override.

Link copied to clipboard

The parameter values for the assigned policy rule. The keys are the parameter names.

Link copied to clipboard

The ID of the policy definition or policy set definition being assigned.

Link copied to clipboard

The resource selector list to filter policies by resource properties.

Link copied to clipboard

The scope for the policy assignment.

Link copied to clipboard

The system metadata relating to this resource.

Link copied to clipboard

The type of the policy assignment.