class Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceEncryptionProtector

The managed instance encryption protector.

Attributes

kind[RW]

@return [String] Kind of encryption protector. This is metadata used for the Azure portal experience.

server_key_name[RW]

@return [String] The name of the managed instance key.

server_key_type[RW]

@return [ServerKeyType] The encryption protector type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: 'ServiceManaged', 'AzureKeyVault'

thumbprint[RW]

@return [String] Thumbprint of the server key.

uri[RW]

@return [String] The URI of the server key.

Private Class Methods

mapper() click to toggle source

Mapper for ManagedInstanceEncryptionProtector class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2017-10-01-preview/generated/azure_mgmt_sql/models/managed_instance_encryption_protector.rb, line 38
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ManagedInstanceEncryptionProtector',
    type: {
      name: 'Composite',
      class_name: 'ManagedInstanceEncryptionProtector',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        kind: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        server_key_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.serverKeyName',
          type: {
            name: 'String'
          }
        },
        server_key_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.serverKeyType',
          type: {
            name: 'String'
          }
        },
        uri: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.uri',
          type: {
            name: 'String'
          }
        },
        thumbprint: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.thumbprint',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end