Class: Azure::ServiceFabric::V6_5_0_36::Models::ImageRegistryCredential
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::ImageRegistryCredential
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/image_registry_credential.rb
Overview
Image registry credential.
Instance Attribute Summary collapse
-
#password ⇒ String
required for create or update operations, however it is not returned in the get or list operations.
-
#server ⇒ String
‘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
required for create or update operations, however it is not returned in the get or list operations.
25 26 27 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/image_registry_credential.rb', line 25 def password @password end |
#server ⇒ String
‘http` and `https`.
17 18 19 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/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/6.5.0.36/generated/azure_service_fabric/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.
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 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/image_registry_credential.rb', line 32 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 |