Class: Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::SecretObject

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-09-01/generated/azure_mgmt_container_registry/models/secret_object.rb

Overview

Describes the properties of a secret object value.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#typeSecretObjectType

determines how the value of the secret object has to be interpreted. Possible values include: ‘Opaque’

Returns:



25
26
27
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/secret_object.rb', line 25

def type
  @type
end

#valueString

be determined based on the type of the secret object. If the type is Opaque, the value will be used as is without any modification.

Returns:

  • (String)

    The value of the secret. The format of this value will



20
21
22
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/secret_object.rb', line 20

def value
  @value
end

Class Method Details

.mapperObject

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



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
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/secret_object.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SecretObject',
    type: {
      name: 'Composite',
      class_name: 'SecretObject',
      model_properties: {
        value: {
          client_side_validation: true,
          required: false,
          serialized_name: 'value',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end