Class: Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::PrivateRegistryCredentials
- Inherits:
-
Object
- Object
- Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::PrivateRegistryCredentials
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/private_registry_credentials.rb
Overview
Credentials to access a container image in a private repository.
Instance Attribute Summary collapse
-
#password ⇒ String
passwordSecretReference must be specified.
-
#password_secret_reference ⇒ KeyVaultSecretReference
password, which is a Key Vault Secret.
-
#username ⇒ String
User name to login.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PrivateRegistryCredentials class as Ruby Hash.
Instance Attribute Details
#password ⇒ String
passwordSecretReference must be specified.
20 21 22 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/private_registry_credentials.rb', line 20 def password @password end |
#password_secret_reference ⇒ KeyVaultSecretReference
password, which is a Key Vault Secret. Users can store their secrets in Azure KeyVault and pass it to the Batch AI Service to integrate with KeyVault. One of password or passwordSecretReference must be specified.
26 27 28 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/private_registry_credentials.rb', line 26 def password_secret_reference @password_secret_reference end |
#username ⇒ String
Returns User name to login.
16 17 18 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/private_registry_credentials.rb', line 16 def username @username end |
Class Method Details
.mapper ⇒ Object
Mapper for PrivateRegistryCredentials class as Ruby Hash. This will be used for serialization/deserialization.
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 69 70 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/private_registry_credentials.rb', line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PrivateRegistryCredentials', type: { name: 'Composite', class_name: 'PrivateRegistryCredentials', model_properties: { 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' } }, password_secret_reference: { client_side_validation: true, required: false, serialized_name: 'passwordSecretReference', type: { name: 'Composite', class_name: 'KeyVaultSecretReference' } } } } } end |