Class: Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::AzureStorageCredentialsInfo
- Inherits:
-
Object
- Object
- Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::AzureStorageCredentialsInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/azure_storage_credentials_info.rb
Overview
Credentials to access Azure File Share.
Instance Attribute Summary collapse
-
#account_key ⇒ String
accountKeySecretReference must be specified.
-
#account_key_secret_reference ⇒ KeyVaultSecretReference
account key, which is a Key Vault Secret.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AzureStorageCredentialsInfo class as Ruby Hash.
Instance Attribute Details
#account_key ⇒ String
accountKeySecretReference must be specified.
17 18 19 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/azure_storage_credentials_info.rb', line 17 def account_key @account_key end |
#account_key_secret_reference ⇒ KeyVaultSecretReference
account key, 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 accountKey or accountKeySecretReference must be specified.
24 25 26 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/azure_storage_credentials_info.rb', line 24 def account_key_secret_reference @account_key_secret_reference end |
Class Method Details
.mapper ⇒ Object
Mapper for AzureStorageCredentialsInfo 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 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/azure_storage_credentials_info.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AzureStorageCredentialsInfo', type: { name: 'Composite', class_name: 'AzureStorageCredentialsInfo', model_properties: { account_key: { client_side_validation: true, required: false, serialized_name: 'accountKey', type: { name: 'String' } }, account_key_secret_reference: { client_side_validation: true, required: false, serialized_name: 'accountKeySecretReference', type: { name: 'Composite', class_name: 'KeyVaultSecretReference' } } } } } end |