Class: Azure::Batch::Mgmt::V2018_12_01::Models::ContainerRegistry
- Inherits:
-
Object
- Object
- Azure::Batch::Mgmt::V2018_12_01::Models::ContainerRegistry
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-12-01/generated/azure_mgmt_batch/models/container_registry.rb
Overview
A private container registry.
Instance Attribute Summary collapse
-
#password ⇒ String
The password to log into the registry server.
-
#registry_server ⇒ String
“docker.io”.
-
#user_name ⇒ String
The user name to log into the registry server.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ContainerRegistry class as Ruby Hash.
Instance Attribute Details
#password ⇒ String
Returns The password to log into the registry server.
24 25 26 |
# File 'lib/2018-12-01/generated/azure_mgmt_batch/models/container_registry.rb', line 24 def password @password end |
#registry_server ⇒ String
“docker.io”.
18 19 20 |
# File 'lib/2018-12-01/generated/azure_mgmt_batch/models/container_registry.rb', line 18 def registry_server @registry_server end |
#user_name ⇒ String
Returns The user name to log into the registry server.
21 22 23 |
# File 'lib/2018-12-01/generated/azure_mgmt_batch/models/container_registry.rb', line 21 def user_name @user_name end |
Class Method Details
.mapper ⇒ Object
Mapper for ContainerRegistry 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 |
# File 'lib/2018-12-01/generated/azure_mgmt_batch/models/container_registry.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ContainerRegistry', type: { name: 'Composite', class_name: 'ContainerRegistry', model_properties: { registry_server: { client_side_validation: true, required: false, serialized_name: 'registryServer', type: { name: 'String' } }, user_name: { client_side_validation: true, required: true, serialized_name: 'username', type: { name: 'String' } }, password: { client_side_validation: true, required: true, serialized_name: 'password', type: { name: 'String' } } } } } end |