class Azure::Compute::Mgmt::V2020_06_01::Models::VirtualMachineScaleSetVMProtectionPolicy
The protection policy of a virtual machine scale set VM.
Attributes
protect_from_scale_in[RW]
@return [Boolean] Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation.
protect_from_scale_set_actions[RW]
@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.
Public Class Methods
mapper()
click to toggle source
Mapper for VirtualMachineScaleSetVMProtectionPolicy
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprotection_policy.rb, line 29 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