Sha256: 1a325fbfd74b2ccba93ec671db00cbaa5db3cd1f0d6d708c98f04a625b697cf6
Contents?: true
Size: 1.87 KB
Versions: 5
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_12_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
5 entries across 5 versions & 1 rubygems