Sha256: 269e17688fdb8595fedc762bc653b617315fa492e577d80878bd7ca5e3f721ad
Contents?: true
Size: 1.87 KB
Versions: 9
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_03_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
9 entries across 9 versions & 1 rubygems