class Azure::Authorization::Mgmt::V2018_07_01_preview::Models::Principal
Deny assignment principal.
Attributes
id[RW]
@return [String] Object ID of the Azure
AD principal (user, group, or service principal) to which the deny assignment applies. An empty guid '00000000-0000-0000-0000-000000000000' as principal id and principal type as 'Everyone' represents all users, groups and service principals.
type[RW]
@return [String] Type of object represented by principal id (user, group, or service principal). An empty guid '00000000-0000-0000-0000-000000000000' as principal id and principal type as 'Everyone' represents all users, groups and service principals.
Private Class Methods
mapper()
click to toggle source
Mapper for Principal
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-07-01-preview/generated/azure_mgmt_authorization/models/principal.rb, line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Principal', type: { name: 'Composite', class_name: 'Principal', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } } } } } end