Class: Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::SecretObject
- Inherits:
-
Object
- Object
- Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::SecretObject
- 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
-
#type ⇒ SecretObjectType
determines how the value of the secret object has to be interpreted.
-
#value ⇒ String
be determined based on the type of the secret object.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SecretObject class as Ruby Hash.
Instance Attribute Details
#type ⇒ SecretObjectType
determines how the value of the secret object has to be interpreted. Possible values include: ‘Opaque’
25 26 27 |
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/secret_object.rb', line 25 def type @type end |
#value ⇒ String
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.
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
.mapper ⇒ Object
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 |