GetPolicyAssignmentResult

data class GetPolicyAssignmentResult(val description: String? = null, val displayName: String? = null, val enforcementMode: String? = null, val id: String, val identity: IdentityResponse? = null, val location: String? = null, val metadata: Any? = null, val name: String, val nonComplianceMessages: List<NonComplianceMessageResponse>? = null, val notScopes: List<String>? = null, val parameters: Map<String, ParameterValuesValueResponse>? = null, val policyDefinitionId: String? = null, val scope: String, val type: String)

The policy assignment.

Constructors

Link copied to clipboard
constructor(description: String? = null, displayName: String? = null, enforcementMode: String? = null, id: String, identity: IdentityResponse? = null, location: String? = null, metadata: Any? = null, name: String, nonComplianceMessages: List<NonComplianceMessageResponse>? = null, notScopes: List<String>? = null, parameters: Map<String, ParameterValuesValueResponse>? = null, policyDefinitionId: String? = null, scope: String, type: String)

Types

Link copied to clipboard
object Companion

Properties

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
val enforcementMode: String? = null

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

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
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 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 scope for the policy assignment.

Link copied to clipboard

The type of the policy assignment.