Class: Azure::ARM::CognitiveServices::Models::CognitiveServicesAccountCreateParameters
- Inherits:
-
Object
- Object
- Azure::ARM::CognitiveServices::Models::CognitiveServicesAccountCreateParameters
- Includes:
- 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
account.
-
#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
Must exist in the request.
- #sku ⇒ Sku
-
#tags ⇒ Hash{String => String}
pairs that describe the resource.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CognitiveServicesAccountCreateParameters class as Ruby Hash.
Instance Attribute Details
#kind ⇒ Kind
account. Possible values include: ‘ComputerVision’, ‘Emotion’, ‘Face’, ‘LUIS’, ‘Recommendations’, ‘Speech’, ‘TextAnalytics’, ‘WebLM’
21 22 23 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_create_parameters.rb', line 21 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.
28 29 30 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_create_parameters.rb', line 28 def location @location end |
#properties ⇒ Object
Returns Must exist in the request. Must not be null.
38 39 40 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_create_parameters.rb', line 38 def properties @properties end |
#sku ⇒ Sku
16 17 18 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_create_parameters.rb', line 16 def sku @sku end |
#tags ⇒ Hash{String => String}
pairs 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.
35 36 37 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_create_parameters.rb', line 35 def @tags end |
Class Method Details
.mapper ⇒ Object
Mapper for CognitiveServicesAccountCreateParameters class as Ruby Hash. This will be used for serialization/deserialization.
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 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 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_create_parameters.rb', line 45 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: 'Enum', module: 'Kind' } }, 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 |