Class: Azure::DataBox::Mgmt::V2018_01_01::Models::DataBoxHeavyJobSecrets

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

Overview

The secrets related to a DataBoxHeavy job.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDataBoxHeavyJobSecrets

Returns a new instance of DataBoxHeavyJobSecrets.



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

def initialize
  @jobSecretsType = "DataBoxHeavy"
end

Instance Attribute Details

#cabinet_pod_secretsArray<DataBoxHeavySecret>

for a DataBoxHeavy job.

Returns:



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

def cabinet_pod_secrets
  @cabinet_pod_secrets
end

#jobSecretsTypeObject

Returns the value of attribute jobSecretsType.



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

def jobSecretsType
  @jobSecretsType
end

Class Method Details

.mapperObject

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



31
32
33
34
35
36
37
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
# File 'lib/2018-01-01/generated/azure_mgmt_databox/models/data_box_heavy_job_secrets.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DataBoxHeavy',
    type: {
      name: 'Composite',
      class_name: 'DataBoxHeavyJobSecrets',
      model_properties: {
        jobSecretsType: {
          client_side_validation: true,
          required: true,
          serialized_name: 'jobSecretsType',
          type: {
            name: 'String'
          }
        },
        cabinet_pod_secrets: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'cabinetPodSecrets',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'DataBoxHeavySecretElementType',
                type: {
                  name: 'Composite',
                  class_name: 'DataBoxHeavySecret'
                }
            }
          }
        }
      }
    }
  }
end