Sha256: 4c372a9cfe353c068017595f06b68a221ba14e910b98123569a96576608cc20e
Contents?: true
Size: 1.87 KB
Versions: 7
Compression:
Stored size: 1.87 KB
Contents
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Compute::Mgmt::V2019_07_01 module Models # # The protection policy of a virtual machine scale set VM. # class VirtualMachineScaleSetVMProtectionPolicy include MsRestAzure # @return [Boolean] Indicates that the virtual machine scale set VM # shouldn't be considered for deletion during a scale-in operation. attr_accessor :protect_from_scale_in # @return [Boolean] Indicates that model updates or actions (including # scale-in) initiated on the virtual machine scale set should not be # applied to the virtual machine scale set VM. attr_accessor :protect_from_scale_set_actions # # Mapper for VirtualMachineScaleSetVMProtectionPolicy class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMProtectionPolicy', type: { name: 'Composite', class_name: 'VirtualMachineScaleSetVMProtectionPolicy', model_properties: { protect_from_scale_in: { client_side_validation: true, required: false, serialized_name: 'protectFromScaleIn', type: { name: 'Boolean' } }, protect_from_scale_set_actions: { client_side_validation: true, required: false, serialized_name: 'protectFromScaleSetActions', type: { name: 'Boolean' } } } } } end end end end
Version data entries
7 entries across 7 versions & 1 rubygems