class Azure::Reservations::Mgmt::V2018_06_01_preview::Models::Patch
Model object.
Attributes
applied_scope_type[RW]
@return [AppliedScopeType] Possible values include: 'Single', 'Shared'
applied_scopes[RW]
@return [Array<String>]
instance_flexibility[RW]
@return [InstanceFlexibility] Possible values include: 'On', 'Off', 'NotSupported'
name[RW]
@return [String] Name of the Reservation
Public Class Methods
mapper()
click to toggle source
Mapper for Patch
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/patch.rb, line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Patch', type: { name: 'Composite', class_name: 'Patch', model_properties: { applied_scope_type: { client_side_validation: true, required: false, serialized_name: 'properties.appliedScopeType', type: { name: 'String' } }, applied_scopes: { client_side_validation: true, required: false, serialized_name: 'properties.appliedScopes', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, instance_flexibility: { client_side_validation: true, required: false, serialized_name: 'properties.instanceFlexibility', type: { name: 'String' } }, name: { client_side_validation: true, required: false, serialized_name: 'properties.name', type: { name: 'String' } } } } } end