class Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyAssignment
The policy assignment.
Attributes
display_name[RW]
@return [String] The display name of the policy assignment.
id[RW]
@return [String] The ID of the policy assignment.
name[RW]
@return [String] The name of the policy assignment.
policy_definition_id[RW]
@return [String] The ID of the policy definition.
scope[RW]
@return [String] The scope for the policy assignment.
type[RW]
@return [String] The type of the policy assignment.
Private Class Methods
mapper()
click to toggle source
Mapper for PolicyAssignment
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2015-10-01-preview/generated/azure_mgmt_policy/models/policy_assignment.rb, line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PolicyAssignment', type: { name: 'Composite', class_name: 'PolicyAssignment', model_properties: { display_name: { client_side_validation: true, required: false, serialized_name: 'properties.displayName', type: { name: 'String' } }, policy_definition_id: { client_side_validation: true, required: false, serialized_name: 'properties.policyDefinitionId', type: { name: 'String' } }, scope: { client_side_validation: true, required: false, serialized_name: 'properties.scope', type: { name: 'String' } }, id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, type: { client_side_validation: true, required: false, serialized_name: 'type', type: { name: 'String' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } } } } } end