class Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::SecuritySettings

The security settings of a device.

Attributes

device_admin_password[RW]

@return [AsymmetricEncryptedSecret] Device administrator password as an encrypted string (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device. The Actual password should have at least 8 characters that are a combination of uppercase, lowercase, numeric, and special characters.

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-08-01/generated/azure_mgmt_databoxedge/models/security_settings.rb, line 27
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SecuritySettings',
    type: {
      name: 'Composite',
      class_name: 'SecuritySettings',
      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'
          }
        },
        device_admin_password: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.deviceAdminPassword',
          type: {
            name: 'Composite',
            class_name: 'AsymmetricEncryptedSecret'
          }
        }
      }
    }
  }
end