Class: Azure::DataBox::Mgmt::V2018_01_01::Models::DataBoxHeavySecret

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-01-01/generated/azure_mgmt_databox/models/data_box_heavy_secret.rb

Overview

The secrets related to a DataBoxHeavy.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#account_credential_detailsArray<AccountCredentialDetails>

credentials.

Returns:



31
32
33
# File 'lib/2018-01-01/generated/azure_mgmt_databox/models/data_box_heavy_secret.rb', line 31

def 
  @account_credential_details
end

#device_passwordString

Returns Password for out of the box experience on device.

Returns:

  • (String)

    Password for out of the box experience on device.



19
20
21
# File 'lib/2018-01-01/generated/azure_mgmt_databox/models/data_box_heavy_secret.rb', line 19

def device_password
  @device_password
end

#device_serial_numberString

Returns Serial number of the assigned device.

Returns:

  • (String)

    Serial number of the assigned device.



16
17
18
# File 'lib/2018-01-01/generated/azure_mgmt_databox/models/data_box_heavy_secret.rb', line 16

def device_serial_number
  @device_serial_number
end

#encoded_validation_cert_pub_keyString

the device

Returns:

  • (String)

    The base 64 encoded public key to authenticate with



27
28
29
# File 'lib/2018-01-01/generated/azure_mgmt_databox/models/data_box_heavy_secret.rb', line 27

def encoded_validation_cert_pub_key
  @encoded_validation_cert_pub_key
end

#network_configurationsArray<ApplianceNetworkConfiguration>

the appliance.

Returns:



23
24
25
# File 'lib/2018-01-01/generated/azure_mgmt_databox/models/data_box_heavy_secret.rb', line 23

def network_configurations
  @network_configurations
end

Class Method Details

.mapperObject

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



38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# File 'lib/2018-01-01/generated/azure_mgmt_databox/models/data_box_heavy_secret.rb', line 38

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DataBoxHeavySecret',
    type: {
      name: 'Composite',
      class_name: 'DataBoxHeavySecret',
      model_properties: {
        device_serial_number: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'deviceSerialNumber',
          type: {
            name: 'String'
          }
        },
        device_password: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'devicePassword',
          type: {
            name: 'String'
          }
        },
        network_configurations: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'networkConfigurations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ApplianceNetworkConfigurationElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ApplianceNetworkConfiguration'
                }
            }
          }
        },
        encoded_validation_cert_pub_key: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'encodedValidationCertPubKey',
          type: {
            name: 'String'
          }
        },
        account_credential_details: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'accountCredentialDetails',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'AccountCredentialDetailsElementType',
                type: {
                  name: 'Composite',
                  class_name: 'AccountCredentialDetails'
                }
            }
          }
        }
      }
    }
  }
end