class Azure::SQL::Mgmt::V2018_06_01_preview::Models::SensitivityLabel

A sensitivity label.

Attributes

information_type[RW]

@return [String] The information type.

information_type_id[RW]

@return [String] The information type ID.

is_disabled[RW]

@return [Boolean] Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not.

label_id[RW]

@return [String] The label ID.

label_name[RW]

@return [String] The label name.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-06-01-preview/generated/azure_mgmt_sql/models/sensitivity_label.rb, line 38
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SensitivityLabel',
    type: {
      name: 'Composite',
      class_name: 'SensitivityLabel',
      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'
          }
        },
        label_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.labelName',
          type: {
            name: 'String'
          }
        },
        label_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.labelId',
          type: {
            name: 'String'
          }
        },
        information_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.informationType',
          type: {
            name: 'String'
          }
        },
        information_type_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.informationTypeId',
          type: {
            name: 'String'
          }
        },
        is_disabled: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.isDisabled',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end