Class: Azure::ARM::CognitiveServices::Models::CheckSkuAvailabilityResult
- Inherits:
-
Object
- Object
- Azure::ARM::CognitiveServices::Models::CheckSkuAvailabilityResult
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_cognitive_services/models/check_sku_availability_result.rb
Overview
Check SKU availability result.
Instance Attribute Summary collapse
-
#kind ⇒ Kind
‘Academic’, ‘Bing.Autosuggest’, ‘Bing.Search’, ‘Bing.Speech’, ‘Bing.SpellCheck’, ‘ComputerVision’, ‘ContentModerator’, ‘CustomSpeech’, ‘Emotion’, ‘Face’, ‘LUIS’, ‘Recommendations’, ‘SpeakerRecognition’, ‘Speech’, ‘SpeechTranslation’, ‘TextAnalytics’, ‘TextTranslation’, ‘WebLM’.
-
#message ⇒ String
Additional error message.
-
#reason ⇒ String
Reason why the SKU is not available.
-
#sku_available ⇒ Boolean
Indicates the given SKU is available or not.
-
#sku_name ⇒ SkuName
values include: ‘F0’, ‘P0’, ‘P1’, ‘P2’, ‘S0’, ‘S1’, ‘S2’, ‘S3’, ‘S4’, ‘S5’, ‘S6’.
-
#type ⇒ String
The Type of the resource.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CheckSkuAvailabilityResult class as Ruby Hash.
Instance Attribute Details
#kind ⇒ Kind
‘Academic’, ‘Bing.Autosuggest’, ‘Bing.Search’, ‘Bing.Speech’, ‘Bing.SpellCheck’, ‘ComputerVision’, ‘ContentModerator’, ‘CustomSpeech’, ‘Emotion’, ‘Face’, ‘LUIS’, ‘Recommendations’, ‘SpeakerRecognition’, ‘Speech’, ‘SpeechTranslation’, ‘TextAnalytics’, ‘TextTranslation’, ‘WebLM’
22 23 24 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/check_sku_availability_result.rb', line 22 def kind @kind end |
#message ⇒ String
Returns Additional error message.
39 40 41 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/check_sku_availability_result.rb', line 39 def @message end |
#reason ⇒ String
Returns Reason why the SKU is not available.
36 37 38 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/check_sku_availability_result.rb', line 36 def reason @reason end |
#sku_available ⇒ Boolean
Returns Indicates the given SKU is available or not.
33 34 35 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/check_sku_availability_result.rb', line 33 def sku_available @sku_available end |
#sku_name ⇒ SkuName
values include: ‘F0’, ‘P0’, ‘P1’, ‘P2’, ‘S0’, ‘S1’, ‘S2’, ‘S3’, ‘S4’, ‘S5’, ‘S6’
30 31 32 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/check_sku_availability_result.rb', line 30 def sku_name @sku_name end |
#type ⇒ String
Returns The Type of the resource.
25 26 27 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/check_sku_availability_result.rb', line 25 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for CheckSkuAvailabilityResult class as Ruby Hash. This will be used for serialization/deserialization.
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 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/check_sku_availability_result.rb', line 46 def self.mapper() { required: false, serialized_name: 'CheckSkuAvailabilityResult', type: { name: 'Composite', class_name: 'CheckSkuAvailabilityResult', model_properties: { kind: { required: false, serialized_name: 'kind', type: { name: 'String' } }, type: { required: false, serialized_name: 'type', type: { name: 'String' } }, sku_name: { required: false, serialized_name: 'skuName', type: { name: 'String' } }, sku_available: { required: false, serialized_name: 'skuAvailable', type: { name: 'Boolean' } }, reason: { required: false, serialized_name: 'reason', type: { name: 'String' } }, message: { required: false, serialized_name: 'message', type: { name: 'String' } } } } } end |