Class: Azure::ARM::CognitiveServices::Models::CognitiveServicesAccountKeys
- Inherits:
-
Object
- Object
- Azure::ARM::CognitiveServices::Models::CognitiveServicesAccountKeys
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb
Overview
The access keys for the cognitive services account.
Instance Attribute Summary collapse
-
#key1 ⇒ String
Gets the value of key 1.
-
#key2 ⇒ String
Gets the value of key 2.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CognitiveServicesAccountKeys class as Ruby Hash.
Instance Attribute Details
#key1 ⇒ String
Returns Gets the value of key 1.
16 17 18 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb', line 16 def key1 @key1 end |
#key2 ⇒ String
Returns Gets the value of key 2.
19 20 21 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb', line 19 def key2 @key2 end |
Class Method Details
.mapper ⇒ Object
Mapper for CognitiveServicesAccountKeys class as Ruby Hash. This will be used for serialization/deserialization.
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb', line 26 def self.mapper() { required: false, serialized_name: 'CognitiveServicesAccountKeys', type: { name: 'Composite', class_name: 'CognitiveServicesAccountKeys', model_properties: { key1: { required: false, serialized_name: 'key1', type: { name: 'String' } }, key2: { required: false, serialized_name: 'key2', type: { name: 'String' } } } } } end |