class Azure::Locks::Mgmt::V2015_01_01::Models::ManagementLockObject
Management lock information.
Attributes
id[RW]
@return [String] The Id of the lock.
level[RW]
@return [LockLevel] The lock level of the management lock. Possible values include: 'NotSpecified', 'CanNotDelete', 'ReadOnly'
name[RW]
@return [String] The name of the lock.
notes[RW]
@return [String] The notes of the management lock.
type[RW]
@return [String] The type of the lock.
Private Class Methods
mapper()
click to toggle source
Mapper for ManagementLockObject
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2015-01-01/generated/azure_mgmt_locks/models/management_lock_object.rb, line 36 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ManagementLockObject', type: { name: 'Composite', class_name: 'ManagementLockObject', model_properties: { level: { client_side_validation: true, required: false, serialized_name: 'properties.level', type: { name: 'String' } }, notes: { client_side_validation: true, required: false, serialized_name: 'properties.notes', type: { name: 'String' } }, 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' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } } } } } end