Class: Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ImageRegistryCredential
- Inherits:
-
Object
- Object
- Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ImageRegistryCredential
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-12-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb
Overview
Image registry credential.
Instance Attribute Summary collapse
-
#password ⇒ String
The password for the private registry.
-
#server ⇒ String
such as “http” and “https”.
-
#username ⇒ String
The username for the private registry.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ImageRegistryCredential class as Ruby Hash.
Instance Attribute Details
#password ⇒ String
Returns The password for the private registry.
23 24 25 |
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb', line 23 def password @password end |
#server ⇒ String
such as “http” and “https”.
17 18 19 |
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb', line 17 def server @server end |
#username ⇒ String
Returns The username for the private registry.
20 21 22 |
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb', line 20 def username @username end |
Class Method Details
.mapper ⇒ Object
Mapper for ImageRegistryCredential class as Ruby Hash. This will be used for serialization/deserialization.
30 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 |
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ImageRegistryCredential', type: { name: 'Composite', class_name: 'ImageRegistryCredential', model_properties: { server: { client_side_validation: true, required: true, serialized_name: 'server', type: { name: 'String' } }, username: { client_side_validation: true, required: true, serialized_name: 'username', type: { name: 'String' } }, password: { client_side_validation: true, required: false, serialized_name: 'password', type: { name: 'String' } } } } } end |