Class: Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::CustomRegistryCredentials
- Inherits:
-
Object
- Object
- Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::CustomRegistryCredentials
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-09-01/generated/azure_mgmt_container_registry/models/custom_registry_credentials.rb
Overview
Describes the credentials that will be used to access a custom registry during a run.
Instance Attribute Summary collapse
-
#password ⇒ SecretObject
registry.
-
#user_name ⇒ SecretObject
registry.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CustomRegistryCredentials class as Ruby Hash.
Instance Attribute Details
#password ⇒ SecretObject
registry. The password is a secret object that allows multiple ways of providing the value for it.
23 24 25 |
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/custom_registry_credentials.rb', line 23 def password @password end |
#user_name ⇒ SecretObject
registry.
18 19 20 |
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/custom_registry_credentials.rb', line 18 def user_name @user_name end |
Class Method Details
.mapper ⇒ Object
Mapper for CustomRegistryCredentials 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 |
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/custom_registry_credentials.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CustomRegistryCredentials', type: { name: 'Composite', class_name: 'CustomRegistryCredentials', model_properties: { user_name: { client_side_validation: true, required: false, serialized_name: 'userName', type: { name: 'Composite', class_name: 'SecretObject' } }, password: { client_side_validation: true, required: false, serialized_name: 'password', type: { name: 'Composite', class_name: 'SecretObject' } } } } } end |