Class: Azure::ARM::CognitiveServices::Models::CognitiveServicesAccountCreateParameters
- Inherits:
-
Object
- Object
- Azure::ARM::CognitiveServices::Models::CognitiveServicesAccountCreateParameters
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_create_parameters.rb
Overview
The parameters to provide for the account.
Instance Attribute Summary collapse
-
#kind ⇒ Kind
Possible values include: ‘Academic’, ‘Bing.Autosuggest’, ‘Bing.Search’, ‘Bing.Speech’, ‘Bing.SpellCheck’, ‘ComputerVision’, ‘ContentModerator’, ‘CustomSpeech’, ‘Emotion’, ‘Face’, ‘LUIS’, ‘Recommendations’, ‘SpeakerRecognition’, ‘Speech’, ‘SpeechTranslation’, ‘TextAnalytics’, ‘TextTranslation’, ‘WebLM’.
-
#location ⇒ String
This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.).
-
#properties ⇒ Object
null.
-
#sku ⇒ Sku
Required.
-
#tags ⇒ Hash{String => String}
that describe the resource.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CognitiveServicesAccountCreateParameters class as Ruby Hash.
Instance Attribute Details
#kind ⇒ Kind
Possible values include: ‘Academic’, ‘Bing.Autosuggest’, ‘Bing.Search’, ‘Bing.Speech’, ‘Bing.SpellCheck’, ‘ComputerVision’, ‘ContentModerator’, ‘CustomSpeech’, ‘Emotion’, ‘Face’, ‘LUIS’, ‘Recommendations’, ‘SpeakerRecognition’, ‘Speech’, ‘SpeechTranslation’, ‘TextAnalytics’, ‘TextTranslation’, ‘WebLM’
25 26 27 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_create_parameters.rb', line 25 def kind @kind end |
#location ⇒ String
This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update the request will succeed.
32 33 34 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_create_parameters.rb', line 32 def location @location end |
#properties ⇒ Object
null.
43 44 45 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_create_parameters.rb', line 43 def properties @properties end |
#sku ⇒ Sku
Returns Required. Gets or sets the SKU of the resource.
17 18 19 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_create_parameters.rb', line 17 def sku @sku end |
#tags ⇒ Hash{String => String}
that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters.
39 40 41 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_create_parameters.rb', line 39 def @tags end |
Class Method Details
.mapper ⇒ Object
Mapper for CognitiveServicesAccountCreateParameters class as Ruby Hash. This will be used for serialization/deserialization.
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 100 101 102 103 104 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_create_parameters.rb', line 50 def self.mapper() { required: false, serialized_name: 'CognitiveServicesAccountCreateParameters', type: { name: 'Composite', class_name: 'CognitiveServicesAccountCreateParameters', model_properties: { sku: { required: true, serialized_name: 'sku', type: { name: 'Composite', class_name: 'Sku' } }, kind: { required: true, serialized_name: 'kind', type: { name: 'String' } }, location: { required: true, serialized_name: 'location', type: { name: 'String' } }, tags: { required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, properties: { required: true, serialized_name: 'properties', type: { name: 'Object' } } } } } end |