Sha256: 46326c20a6a6b7e2ed1aaf8a8109d370d65e8a61bad5483ee6ca09a28c96bd18

Contents?: true

Size: 1.54 KB

Versions: 3

Compression:

Stored size: 1.54 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::V2020_06_01
  module Models
    #
    # Specifies the Security profile settings for the virtual machine or
    # virtual machine scale set.
    #
    class SecurityProfile

      include MsRestAzure

      # @return [Boolean] This property can be used by user in the request to
      # enable or disable the Host Encryption for the virtual machine or
      # virtual machine scale set. This will enable the encryption for all the
      # disks including Resource/Temp disk at host itself. <br><br> Default:
      # The Encryption at host will be disabled unless this property is set to
      # true for the resource.
      attr_accessor :encryption_at_host


      #
      # Mapper for SecurityProfile class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'SecurityProfile',
          type: {
            name: 'Composite',
            class_name: 'SecurityProfile',
            model_properties: {
              encryption_at_host: {
                client_side_validation: true,
                required: false,
                serialized_name: 'encryptionAtHost',
                type: {
                  name: 'Boolean'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2020-06-01/generated/azure_mgmt_compute/models/security_profile.rb
azure_mgmt_compute-0.21.1 lib/2020-06-01/generated/azure_mgmt_compute/models/security_profile.rb
azure_mgmt_compute-0.20.0 lib/2020-06-01/generated/azure_mgmt_compute/models/security_profile.rb