azure_mgmt_cognitive_services 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_cognitive_services.rb +6 -6
  3. data/lib/generated/azure_mgmt_cognitive_services/cognitive_services_accounts.rb +130 -130
  4. data/lib/generated/azure_mgmt_cognitive_services/cognitive_services_management_client.rb +14 -1
  5. data/lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb +8 -8
  6. data/lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_create_parameters.rb +10 -10
  7. data/lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_enumerate_skus_result.rb +1 -1
  8. data/lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb +1 -1
  9. data/lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_list_result.rb +1 -1
  10. data/lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_update_parameters.rb +6 -6
  11. data/lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_resource_and_sku.rb +2 -1
  12. data/lib/generated/azure_mgmt_cognitive_services/models/error.rb +4 -3
  13. data/lib/generated/azure_mgmt_cognitive_services/models/error_body.rb +2 -1
  14. data/lib/generated/azure_mgmt_cognitive_services/models/key_name.rb +1 -1
  15. data/lib/generated/azure_mgmt_cognitive_services/models/kind.rb +1 -1
  16. data/lib/generated/azure_mgmt_cognitive_services/models/provisioning_state.rb +1 -1
  17. data/lib/generated/azure_mgmt_cognitive_services/models/regenerate_key_parameters.rb +1 -1
  18. data/lib/generated/azure_mgmt_cognitive_services/models/sku.rb +1 -1
  19. data/lib/generated/azure_mgmt_cognitive_services/models/sku_name.rb +1 -1
  20. data/lib/generated/azure_mgmt_cognitive_services/models/sku_tier.rb +1 -1
  21. data/lib/generated/azure_mgmt_cognitive_services/module_definition.rb +1 -1
  22. data/lib/generated/azure_mgmt_cognitive_services/version.rb +2 -2
  23. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dc619f24f0dba8af70b76e22a87cb4606c40cb50
4
- data.tar.gz: cbf87aa660e2a5058fb9a59a50ae26aad85fceca
3
+ metadata.gz: f8072a4e48bdf60e2b1596502a17f83da53d32a5
4
+ data.tar.gz: 469cc8d748be58e2ae4c60af38c77f70a78d7f50
5
5
  SHA512:
6
- metadata.gz: 7ac3b838fe5ece9fe1c55caeff4bb18d31edbf1046c08f13d5d2eceea0a3b382dbf89daf83cff1ad82f7fddcad1320c872143682fbe832abadb24f2ea2ee2bf3
7
- data.tar.gz: c76b1570df08b18cee2b37609de391a8c071f6d3790f954d16fca61f0369fdb6c0b39c69b31ee537da0fa11c914b1510aee8aa7809861dbd27b65681005a484f
6
+ metadata.gz: 096d93bf82dd5d839e3de33a869044fe18b03cb7827efa03d10ed68a2b799233dc273cd13b9a68cd406ea5935fa6b3d396de88f3e645a00fcc40cb6f6df5a9f6
7
+ data.tar.gz: 18fb7d955bfedde34c3dd5e4551040173f413c91793751e830bdacf20a6efc31d9bdd42d27121cd411402cc2966cec1233674a8d47e443369b27e421c4ad4278
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -24,17 +24,17 @@ module Azure::ARM::CognitiveServices
24
24
  autoload :CognitiveServicesManagementClient, 'generated/azure_mgmt_cognitive_services/cognitive_services_management_client.rb'
25
25
 
26
26
  module Models
27
- autoload :CognitiveServicesAccountCreateParameters, 'generated/azure_mgmt_cognitive_services/models/cognitive_services_account_create_parameters.rb'
28
- autoload :Sku, 'generated/azure_mgmt_cognitive_services/models/sku.rb'
29
- autoload :CognitiveServicesAccountUpdateParameters, 'generated/azure_mgmt_cognitive_services/models/cognitive_services_account_update_parameters.rb'
30
- autoload :CognitiveServicesAccount, 'generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb'
31
- autoload :CognitiveServicesAccountListResult, 'generated/azure_mgmt_cognitive_services/models/cognitive_services_account_list_result.rb'
32
27
  autoload :CognitiveServicesAccountKeys, 'generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb'
33
28
  autoload :RegenerateKeyParameters, 'generated/azure_mgmt_cognitive_services/models/regenerate_key_parameters.rb'
29
+ autoload :Sku, 'generated/azure_mgmt_cognitive_services/models/sku.rb'
34
30
  autoload :CognitiveServicesAccountEnumerateSkusResult, 'generated/azure_mgmt_cognitive_services/models/cognitive_services_account_enumerate_skus_result.rb'
31
+ autoload :CognitiveServicesAccount, 'generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb'
35
32
  autoload :CognitiveServicesResourceAndSku, 'generated/azure_mgmt_cognitive_services/models/cognitive_services_resource_and_sku.rb'
33
+ autoload :CognitiveServicesAccountCreateParameters, 'generated/azure_mgmt_cognitive_services/models/cognitive_services_account_create_parameters.rb'
36
34
  autoload :Error, 'generated/azure_mgmt_cognitive_services/models/error.rb'
35
+ autoload :CognitiveServicesAccountListResult, 'generated/azure_mgmt_cognitive_services/models/cognitive_services_account_list_result.rb'
37
36
  autoload :ErrorBody, 'generated/azure_mgmt_cognitive_services/models/error_body.rb'
37
+ autoload :CognitiveServicesAccountUpdateParameters, 'generated/azure_mgmt_cognitive_services/models/cognitive_services_account_update_parameters.rb'
38
38
  autoload :SkuName, 'generated/azure_mgmt_cognitive_services/models/sku_name.rb'
39
39
  autoload :SkuTier, 'generated/azure_mgmt_cognitive_services/models/sku_tier.rb'
40
40
  autoload :Kind, 'generated/azure_mgmt_cognitive_services/models/kind.rb'
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -23,16 +23,16 @@ module Azure::ARM::CognitiveServices
23
23
  attr_reader :client
24
24
 
25
25
  #
26
- # Create Cognitive Services Account. Accounts is a resource group wide
27
- # resource type. It holds the keys for developer to access intelligent APIs.
28
- # It's also the resource type for billing.
26
+ # Create Cognitive Services Account. Accounts is a resource group wide resource
27
+ # type. It holds the keys for developer to access intelligent APIs. It's also
28
+ # the resource type for billing.
29
29
  #
30
- # @param resource_group_name [String] The name of the resource group within
31
- # the user's subscription.
30
+ # @param resource_group_name [String] The name of the resource group within the
31
+ # user's subscription.
32
32
  # @param account_name [String] The name of the cognitive services account
33
- # within the specified resource group. Cognitive Services account names must
34
- # be between 3 and 24 characters in length and use numbers and lower-case
35
- # letters only.
33
+ # within the specified resource group. Cognitive Services account names must be
34
+ # between 3 and 24 characters in length and use numbers and lower-case letters
35
+ # only.
36
36
  # @param parameters [CognitiveServicesAccountCreateParameters] The parameters
37
37
  # to provide for the created account.
38
38
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -46,16 +46,16 @@ module Azure::ARM::CognitiveServices
46
46
  end
47
47
 
48
48
  #
49
- # Create Cognitive Services Account. Accounts is a resource group wide
50
- # resource type. It holds the keys for developer to access intelligent APIs.
51
- # It's also the resource type for billing.
49
+ # Create Cognitive Services Account. Accounts is a resource group wide resource
50
+ # type. It holds the keys for developer to access intelligent APIs. It's also
51
+ # the resource type for billing.
52
52
  #
53
- # @param resource_group_name [String] The name of the resource group within
54
- # the user's subscription.
53
+ # @param resource_group_name [String] The name of the resource group within the
54
+ # user's subscription.
55
55
  # @param account_name [String] The name of the cognitive services account
56
- # within the specified resource group. Cognitive Services account names must
57
- # be between 3 and 24 characters in length and use numbers and lower-case
58
- # letters only.
56
+ # within the specified resource group. Cognitive Services account names must be
57
+ # between 3 and 24 characters in length and use numbers and lower-case letters
58
+ # only.
59
59
  # @param parameters [CognitiveServicesAccountCreateParameters] The parameters
60
60
  # to provide for the created account.
61
61
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -68,16 +68,16 @@ module Azure::ARM::CognitiveServices
68
68
  end
69
69
 
70
70
  #
71
- # Create Cognitive Services Account. Accounts is a resource group wide
72
- # resource type. It holds the keys for developer to access intelligent APIs.
73
- # It's also the resource type for billing.
71
+ # Create Cognitive Services Account. Accounts is a resource group wide resource
72
+ # type. It holds the keys for developer to access intelligent APIs. It's also
73
+ # the resource type for billing.
74
74
  #
75
- # @param resource_group_name [String] The name of the resource group within
76
- # the user's subscription.
75
+ # @param resource_group_name [String] The name of the resource group within the
76
+ # user's subscription.
77
77
  # @param account_name [String] The name of the cognitive services account
78
- # within the specified resource group. Cognitive Services account names must
79
- # be between 3 and 24 characters in length and use numbers and lower-case
80
- # letters only.
78
+ # within the specified resource group. Cognitive Services account names must be
79
+ # between 3 and 24 characters in length and use numbers and lower-case letters
80
+ # only.
81
81
  # @param parameters [CognitiveServicesAccountCreateParameters] The parameters
82
82
  # to provide for the created account.
83
83
  # @param [Hash{String => String}] A hash of custom headers that will be added
@@ -160,18 +160,18 @@ module Azure::ARM::CognitiveServices
160
160
  #
161
161
  # Updates a Cognitive Services account
162
162
  #
163
- # @param resource_group_name [String] The name of the resource group within
164
- # the user's subscription.
163
+ # @param resource_group_name [String] The name of the resource group within the
164
+ # user's subscription.
165
165
  # @param account_name [String] The name of the cognitive services account
166
- # within the specified resource group. Cognitive Services account names must
167
- # be between 3 and 24 characters in length and use numbers and lower-case
168
- # letters only.
166
+ # within the specified resource group. Cognitive Services account names must be
167
+ # between 3 and 24 characters in length and use numbers and lower-case letters
168
+ # only.
169
169
  # @param sku [Sku]
170
170
  # @param tags [Hash{String => String}] Gets or sets a list of key value pairs
171
171
  # that describe the resource. These tags can be used in viewing and grouping
172
- # this resource (across resource groups). A maximum of 15 tags can be
173
- # provided for a resource. Each tag must have a key no greater than 128
174
- # characters and value no greater than 256 characters.
172
+ # this resource (across resource groups). A maximum of 15 tags can be provided
173
+ # for a resource. Each tag must have a key no greater than 128 characters and
174
+ # value no greater than 256 characters.
175
175
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
176
176
  # will be added to the HTTP request.
177
177
  #
@@ -185,18 +185,18 @@ module Azure::ARM::CognitiveServices
185
185
  #
186
186
  # Updates a Cognitive Services account
187
187
  #
188
- # @param resource_group_name [String] The name of the resource group within
189
- # the user's subscription.
188
+ # @param resource_group_name [String] The name of the resource group within the
189
+ # user's subscription.
190
190
  # @param account_name [String] The name of the cognitive services account
191
- # within the specified resource group. Cognitive Services account names must
192
- # be between 3 and 24 characters in length and use numbers and lower-case
193
- # letters only.
191
+ # within the specified resource group. Cognitive Services account names must be
192
+ # between 3 and 24 characters in length and use numbers and lower-case letters
193
+ # only.
194
194
  # @param sku [Sku]
195
195
  # @param tags [Hash{String => String}] Gets or sets a list of key value pairs
196
196
  # that describe the resource. These tags can be used in viewing and grouping
197
- # this resource (across resource groups). A maximum of 15 tags can be
198
- # provided for a resource. Each tag must have a key no greater than 128
199
- # characters and value no greater than 256 characters.
197
+ # this resource (across resource groups). A maximum of 15 tags can be provided
198
+ # for a resource. Each tag must have a key no greater than 128 characters and
199
+ # value no greater than 256 characters.
200
200
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
201
201
  # will be added to the HTTP request.
202
202
  #
@@ -209,18 +209,18 @@ module Azure::ARM::CognitiveServices
209
209
  #
210
210
  # Updates a Cognitive Services account
211
211
  #
212
- # @param resource_group_name [String] The name of the resource group within
213
- # the user's subscription.
212
+ # @param resource_group_name [String] The name of the resource group within the
213
+ # user's subscription.
214
214
  # @param account_name [String] The name of the cognitive services account
215
- # within the specified resource group. Cognitive Services account names must
216
- # be between 3 and 24 characters in length and use numbers and lower-case
217
- # letters only.
215
+ # within the specified resource group. Cognitive Services account names must be
216
+ # between 3 and 24 characters in length and use numbers and lower-case letters
217
+ # only.
218
218
  # @param sku [Sku]
219
219
  # @param tags [Hash{String => String}] Gets or sets a list of key value pairs
220
220
  # that describe the resource. These tags can be used in viewing and grouping
221
- # this resource (across resource groups). A maximum of 15 tags can be
222
- # provided for a resource. Each tag must have a key no greater than 128
223
- # characters and value no greater than 256 characters.
221
+ # this resource (across resource groups). A maximum of 15 tags can be provided
222
+ # for a resource. Each tag must have a key no greater than 128 characters and
223
+ # value no greater than 256 characters.
224
224
  # @param [Hash{String => String}] A hash of custom headers that will be added
225
225
  # to the HTTP request.
226
226
  #
@@ -295,12 +295,12 @@ module Azure::ARM::CognitiveServices
295
295
  #
296
296
  # Deletes a Cognitive Services account from the resource group.
297
297
  #
298
- # @param resource_group_name [String] The name of the resource group within
299
- # the user's subscription.
298
+ # @param resource_group_name [String] The name of the resource group within the
299
+ # user's subscription.
300
300
  # @param account_name [String] The name of the cognitive services account
301
- # within the specified resource group. Cognitive Services account names must
302
- # be between 3 and 24 characters in length and use numbers and lower-case
303
- # letters only.
301
+ # within the specified resource group. Cognitive Services account names must be
302
+ # between 3 and 24 characters in length and use numbers and lower-case letters
303
+ # only.
304
304
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
305
305
  # will be added to the HTTP request.
306
306
  #
@@ -313,12 +313,12 @@ module Azure::ARM::CognitiveServices
313
313
  #
314
314
  # Deletes a Cognitive Services account from the resource group.
315
315
  #
316
- # @param resource_group_name [String] The name of the resource group within
317
- # the user's subscription.
316
+ # @param resource_group_name [String] The name of the resource group within the
317
+ # user's subscription.
318
318
  # @param account_name [String] The name of the cognitive services account
319
- # within the specified resource group. Cognitive Services account names must
320
- # be between 3 and 24 characters in length and use numbers and lower-case
321
- # letters only.
319
+ # within the specified resource group. Cognitive Services account names must be
320
+ # between 3 and 24 characters in length and use numbers and lower-case letters
321
+ # only.
322
322
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
323
323
  # will be added to the HTTP request.
324
324
  #
@@ -331,12 +331,12 @@ module Azure::ARM::CognitiveServices
331
331
  #
332
332
  # Deletes a Cognitive Services account from the resource group.
333
333
  #
334
- # @param resource_group_name [String] The name of the resource group within
335
- # the user's subscription.
334
+ # @param resource_group_name [String] The name of the resource group within the
335
+ # user's subscription.
336
336
  # @param account_name [String] The name of the cognitive services account
337
- # within the specified resource group. Cognitive Services account names must
338
- # be between 3 and 24 characters in length and use numbers and lower-case
339
- # letters only.
337
+ # within the specified resource group. Cognitive Services account names must be
338
+ # between 3 and 24 characters in length and use numbers and lower-case letters
339
+ # only.
340
340
  # @param [Hash{String => String}] A hash of custom headers that will be added
341
341
  # to the HTTP request.
342
342
  #
@@ -387,12 +387,12 @@ module Azure::ARM::CognitiveServices
387
387
  #
388
388
  # Returns a Cognitive Services account specified by the parameters.
389
389
  #
390
- # @param resource_group_name [String] The name of the resource group within
391
- # the user's subscription.
390
+ # @param resource_group_name [String] The name of the resource group within the
391
+ # user's subscription.
392
392
  # @param account_name [String] The name of the cognitive services account
393
- # within the specified resource group. Cognitive Services account names must
394
- # be between 3 and 24 characters in length and use numbers and lower-case
395
- # letters only.
393
+ # within the specified resource group. Cognitive Services account names must be
394
+ # between 3 and 24 characters in length and use numbers and lower-case letters
395
+ # only.
396
396
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
397
397
  # will be added to the HTTP request.
398
398
  #
@@ -406,12 +406,12 @@ module Azure::ARM::CognitiveServices
406
406
  #
407
407
  # Returns a Cognitive Services account specified by the parameters.
408
408
  #
409
- # @param resource_group_name [String] The name of the resource group within
410
- # the user's subscription.
409
+ # @param resource_group_name [String] The name of the resource group within the
410
+ # user's subscription.
411
411
  # @param account_name [String] The name of the cognitive services account
412
- # within the specified resource group. Cognitive Services account names must
413
- # be between 3 and 24 characters in length and use numbers and lower-case
414
- # letters only.
412
+ # within the specified resource group. Cognitive Services account names must be
413
+ # between 3 and 24 characters in length and use numbers and lower-case letters
414
+ # only.
415
415
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
416
416
  # will be added to the HTTP request.
417
417
  #
@@ -424,12 +424,12 @@ module Azure::ARM::CognitiveServices
424
424
  #
425
425
  # Returns a Cognitive Services account specified by the parameters.
426
426
  #
427
- # @param resource_group_name [String] The name of the resource group within
428
- # the user's subscription.
427
+ # @param resource_group_name [String] The name of the resource group within the
428
+ # user's subscription.
429
429
  # @param account_name [String] The name of the cognitive services account
430
- # within the specified resource group. Cognitive Services account names must
431
- # be between 3 and 24 characters in length and use numbers and lower-case
432
- # letters only.
430
+ # within the specified resource group. Cognitive Services account names must be
431
+ # between 3 and 24 characters in length and use numbers and lower-case letters
432
+ # only.
433
433
  # @param [Hash{String => String}] A hash of custom headers that will be added
434
434
  # to the HTTP request.
435
435
  #
@@ -490,8 +490,8 @@ module Azure::ARM::CognitiveServices
490
490
  #
491
491
  # Returns all the resources of a particular type belonging to a resource group
492
492
  #
493
- # @param resource_group_name [String] The name of the resource group within
494
- # the user's subscription.
493
+ # @param resource_group_name [String] The name of the resource group within the
494
+ # user's subscription.
495
495
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
496
496
  # will be added to the HTTP request.
497
497
  #
@@ -505,8 +505,8 @@ module Azure::ARM::CognitiveServices
505
505
  #
506
506
  # Returns all the resources of a particular type belonging to a resource group
507
507
  #
508
- # @param resource_group_name [String] The name of the resource group within
509
- # the user's subscription.
508
+ # @param resource_group_name [String] The name of the resource group within the
509
+ # user's subscription.
510
510
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
511
511
  # will be added to the HTTP request.
512
512
  #
@@ -519,8 +519,8 @@ module Azure::ARM::CognitiveServices
519
519
  #
520
520
  # Returns all the resources of a particular type belonging to a resource group
521
521
  #
522
- # @param resource_group_name [String] The name of the resource group within
523
- # the user's subscription.
522
+ # @param resource_group_name [String] The name of the resource group within the
523
+ # user's subscription.
524
524
  # @param [Hash{String => String}] A hash of custom headers that will be added
525
525
  # to the HTTP request.
526
526
  #
@@ -663,12 +663,12 @@ module Azure::ARM::CognitiveServices
663
663
  #
664
664
  # Lists the account keys for the specified Cognitive Services account.
665
665
  #
666
- # @param resource_group_name [String] The name of the resource group within
667
- # the user's subscription.
666
+ # @param resource_group_name [String] The name of the resource group within the
667
+ # user's subscription.
668
668
  # @param account_name [String] The name of the cognitive services account
669
- # within the specified resource group. Congitive Services account names must
670
- # be between 3 and 24 characters in length and use numbers and lower-case
671
- # letters only.
669
+ # within the specified resource group. Congitive Services account names must be
670
+ # between 3 and 24 characters in length and use numbers and lower-case letters
671
+ # only.
672
672
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
673
673
  # will be added to the HTTP request.
674
674
  #
@@ -682,12 +682,12 @@ module Azure::ARM::CognitiveServices
682
682
  #
683
683
  # Lists the account keys for the specified Cognitive Services account.
684
684
  #
685
- # @param resource_group_name [String] The name of the resource group within
686
- # the user's subscription.
685
+ # @param resource_group_name [String] The name of the resource group within the
686
+ # user's subscription.
687
687
  # @param account_name [String] The name of the cognitive services account
688
- # within the specified resource group. Congitive Services account names must
689
- # be between 3 and 24 characters in length and use numbers and lower-case
690
- # letters only.
688
+ # within the specified resource group. Congitive Services account names must be
689
+ # between 3 and 24 characters in length and use numbers and lower-case letters
690
+ # only.
691
691
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
692
692
  # will be added to the HTTP request.
693
693
  #
@@ -700,12 +700,12 @@ module Azure::ARM::CognitiveServices
700
700
  #
701
701
  # Lists the account keys for the specified Cognitive Services account.
702
702
  #
703
- # @param resource_group_name [String] The name of the resource group within
704
- # the user's subscription.
703
+ # @param resource_group_name [String] The name of the resource group within the
704
+ # user's subscription.
705
705
  # @param account_name [String] The name of the cognitive services account
706
- # within the specified resource group. Congitive Services account names must
707
- # be between 3 and 24 characters in length and use numbers and lower-case
708
- # letters only.
706
+ # within the specified resource group. Congitive Services account names must be
707
+ # between 3 and 24 characters in length and use numbers and lower-case letters
708
+ # only.
709
709
  # @param [Hash{String => String}] A hash of custom headers that will be added
710
710
  # to the HTTP request.
711
711
  #
@@ -767,12 +767,12 @@ module Azure::ARM::CognitiveServices
767
767
  # Regenerates the specified account key for the specified Cognitive Services
768
768
  # account.
769
769
  #
770
- # @param resource_group_name [String] The name of the resource group within
771
- # the user's subscription.
770
+ # @param resource_group_name [String] The name of the resource group within the
771
+ # user's subscription.
772
772
  # @param account_name [String] The name of the cognitive services account
773
- # within the specified resource group. Cognitive Services account names must
774
- # be between 3 and 24 characters in length and use numbers and lower-case
775
- # letters only.
773
+ # within the specified resource group. Cognitive Services account names must be
774
+ # between 3 and 24 characters in length and use numbers and lower-case letters
775
+ # only.
776
776
  # @param key_name [KeyName] key name to generate (Key1|Key2). Possible values
777
777
  # include: 'Key1', 'Key2'
778
778
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -789,12 +789,12 @@ module Azure::ARM::CognitiveServices
789
789
  # Regenerates the specified account key for the specified Cognitive Services
790
790
  # account.
791
791
  #
792
- # @param resource_group_name [String] The name of the resource group within
793
- # the user's subscription.
792
+ # @param resource_group_name [String] The name of the resource group within the
793
+ # user's subscription.
794
794
  # @param account_name [String] The name of the cognitive services account
795
- # within the specified resource group. Cognitive Services account names must
796
- # be between 3 and 24 characters in length and use numbers and lower-case
797
- # letters only.
795
+ # within the specified resource group. Cognitive Services account names must be
796
+ # between 3 and 24 characters in length and use numbers and lower-case letters
797
+ # only.
798
798
  # @param key_name [KeyName] key name to generate (Key1|Key2). Possible values
799
799
  # include: 'Key1', 'Key2'
800
800
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -810,12 +810,12 @@ module Azure::ARM::CognitiveServices
810
810
  # Regenerates the specified account key for the specified Cognitive Services
811
811
  # account.
812
812
  #
813
- # @param resource_group_name [String] The name of the resource group within
814
- # the user's subscription.
813
+ # @param resource_group_name [String] The name of the resource group within the
814
+ # user's subscription.
815
815
  # @param account_name [String] The name of the cognitive services account
816
- # within the specified resource group. Cognitive Services account names must
817
- # be between 3 and 24 characters in length and use numbers and lower-case
818
- # letters only.
816
+ # within the specified resource group. Cognitive Services account names must be
817
+ # between 3 and 24 characters in length and use numbers and lower-case letters
818
+ # only.
819
819
  # @param key_name [KeyName] key name to generate (Key1|Key2). Possible values
820
820
  # include: 'Key1', 'Key2'
821
821
  # @param [Hash{String => String}] A hash of custom headers that will be added
@@ -891,12 +891,12 @@ module Azure::ARM::CognitiveServices
891
891
  #
892
892
  # List available SKUs for the requested Cognitive Services account
893
893
  #
894
- # @param resource_group_name [String] The name of the resource group within
895
- # the user's subscription.
894
+ # @param resource_group_name [String] The name of the resource group within the
895
+ # user's subscription.
896
896
  # @param account_name [String] The name of the cognitive services account
897
- # within the specified resource group. Cognitive Services account names must
898
- # be between 3 and 24 characters in length and use numbers and lower-case
899
- # letters only.
897
+ # within the specified resource group. Cognitive Services account names must be
898
+ # between 3 and 24 characters in length and use numbers and lower-case letters
899
+ # only.
900
900
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
901
901
  # will be added to the HTTP request.
902
902
  #
@@ -910,12 +910,12 @@ module Azure::ARM::CognitiveServices
910
910
  #
911
911
  # List available SKUs for the requested Cognitive Services account
912
912
  #
913
- # @param resource_group_name [String] The name of the resource group within
914
- # the user's subscription.
913
+ # @param resource_group_name [String] The name of the resource group within the
914
+ # user's subscription.
915
915
  # @param account_name [String] The name of the cognitive services account
916
- # within the specified resource group. Cognitive Services account names must
917
- # be between 3 and 24 characters in length and use numbers and lower-case
918
- # letters only.
916
+ # within the specified resource group. Cognitive Services account names must be
917
+ # between 3 and 24 characters in length and use numbers and lower-case letters
918
+ # only.
919
919
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
920
920
  # will be added to the HTTP request.
921
921
  #
@@ -928,12 +928,12 @@ module Azure::ARM::CognitiveServices
928
928
  #
929
929
  # List available SKUs for the requested Cognitive Services account
930
930
  #
931
- # @param resource_group_name [String] The name of the resource group within
932
- # the user's subscription.
931
+ # @param resource_group_name [String] The name of the resource group within the
932
+ # user's subscription.
933
933
  # @param account_name [String] The name of the cognitive services account
934
- # within the specified resource group. Cognitive Services account names must
935
- # be between 3 and 24 characters in length and use numbers and lower-case
936
- # letters only.
934
+ # within the specified resource group. Cognitive Services account names must be
935
+ # between 3 and 24 characters in length and use numbers and lower-case letters
936
+ # only.
937
937
  # @param [Hash{String => String}] A hash of custom headers that will be added
938
938
  # to the HTTP request.
939
939
  #
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -57,6 +57,7 @@ module Azure::ARM::CognitiveServices
57
57
  @accept_language = 'en-US'
58
58
  @long_running_operation_retry_timeout = 30
59
59
  @generate_client_request_id = true
60
+ add_telemetry
60
61
  end
61
62
 
62
63
  #
@@ -114,5 +115,17 @@ module Azure::ARM::CognitiveServices
114
115
  super(request_url, method, path, options)
115
116
  end
116
117
 
118
+
119
+ private
120
+ #
121
+ # Adds telemetry information.
122
+ #
123
+ def add_telemetry
124
+ sdk_information = 'azure_mgmt_cognitive_services'
125
+ if defined? Azure::ARM::CognitiveServices::VERSION
126
+ sdk_information = "#{sdk_information}/#{Azure::ARM::CognitiveServices::VERSION}"
127
+ end
128
+ add_user_agent_information(sdk_information)
129
+ end
117
130
  end
118
131
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -29,8 +29,8 @@ module Azure::ARM::CognitiveServices
29
29
  attr_accessor :name
30
30
 
31
31
  # @return [ProvisioningState] Gets the status of the cognitive services
32
- # account at the time the operation was called. Possible values
33
- # include: 'Creating', 'ResolvingDNS', 'Succeeded', 'Failed'
32
+ # account at the time the operation was called. Possible values include:
33
+ # 'Creating', 'ResolvingDNS', 'Succeeded', 'Failed'
34
34
  attr_accessor :provisioning_state
35
35
 
36
36
  # @return [String] Endpoint of the created account
@@ -39,11 +39,11 @@ module Azure::ARM::CognitiveServices
39
39
  # @return [Sku]
40
40
  attr_accessor :sku
41
41
 
42
- # @return [Hash{String => String}] Gets or sets a list of key value
43
- # pairs that describe the resource. These tags can be used in viewing
44
- # and grouping this resource (across resource groups). A maximum of 15
45
- # tags can be provided for a resource. Each tag must have a key no
46
- # greater than 128 characters and value no greater than 256 characters.
42
+ # @return [Hash{String => String}] Gets or sets a list of key value pairs
43
+ # that describe the resource. These tags can be used in viewing and
44
+ # grouping this resource (across resource groups). A maximum of 15 tags
45
+ # can be provided for a resource. Each tag must have a key no greater
46
+ # than 128 characters and value no greater than 256 characters.
47
47
  attr_accessor :tags
48
48
 
49
49
  # @return [String] Resource type
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -16,22 +16,22 @@ module Azure::ARM::CognitiveServices
16
16
  attr_accessor :sku
17
17
 
18
18
  # @return [Kind] Required. Indicates the type of cognitive service
19
- # account. Possible values include: 'ComputerVision', 'Emotion',
20
- # 'Face', 'LUIS', 'Recommendations', 'Speech', 'TextAnalytics', 'WebLM'
19
+ # account. Possible values include: 'ComputerVision', 'Emotion', 'Face',
20
+ # 'LUIS', 'Recommendations', 'Speech', 'TextAnalytics', 'WebLM'
21
21
  attr_accessor :kind
22
22
 
23
23
  # @return [String] Required. Gets or sets the location of the resource.
24
24
  # This will be one of the supported and registered Azure Geo Regions
25
25
  # (e.g. West US, East US, Southeast Asia, etc.). The geo region of a
26
- # resource cannot be changed once it is created, but if an identical
27
- # geo region is specified on update the request will succeed.
26
+ # resource cannot be changed once it is created, but if an identical geo
27
+ # region is specified on update the request will succeed.
28
28
  attr_accessor :location
29
29
 
30
- # @return [Hash{String => String}] Gets or sets a list of key value
31
- # pairs that describe the resource. These tags can be used in viewing
32
- # and grouping this resource (across resource groups). A maximum of 15
33
- # tags can be provided for a resource. Each tag must have a key no
34
- # greater than 128 characters and value no greater than 256 characters.
30
+ # @return [Hash{String => String}] Gets or sets a list of key value pairs
31
+ # that describe the resource. These tags can be used in viewing and
32
+ # grouping this resource (across resource groups). A maximum of 15 tags
33
+ # can be provided for a resource. Each tag must have a key no greater
34
+ # than 128 characters and value no greater than 256 characters.
35
35
  attr_accessor :tags
36
36
 
37
37
  # @return Must exist in the request. Must not be null.
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -15,11 +15,11 @@ module Azure::ARM::CognitiveServices
15
15
  # @return [Sku]
16
16
  attr_accessor :sku
17
17
 
18
- # @return [Hash{String => String}] Gets or sets a list of key value
19
- # pairs that describe the resource. These tags can be used in viewing
20
- # and grouping this resource (across resource groups). A maximum of 15
21
- # tags can be provided for a resource. Each tag must have a key no
22
- # greater than 128 characters and value no greater than 256 characters.
18
+ # @return [Hash{String => String}] Gets or sets a list of key value pairs
19
+ # that describe the resource. These tags can be used in viewing and
20
+ # grouping this resource (across resource groups). A maximum of 15 tags
21
+ # can be provided for a resource. Each tag must have a key no greater
22
+ # than 128 characters and value no greater than 256 characters.
23
23
  attr_accessor :tags
24
24
 
25
25
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -7,6 +7,7 @@ module Azure::ARM::CognitiveServices
7
7
  module Models
8
8
  #
9
9
  # Model object.
10
+ #
10
11
  #
11
12
  class CognitiveServicesResourceAndSku
12
13
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -7,13 +7,14 @@ module Azure::ARM::CognitiveServices
7
7
  module Models
8
8
  #
9
9
  # Model object.
10
+ #
10
11
  #
11
12
  class Error
12
13
 
13
14
  include MsRestAzure
14
15
 
15
16
  # @return [ErrorBody]
16
- attr_accessor :errorProperty
17
+ attr_accessor :error
17
18
 
18
19
 
19
20
  #
@@ -28,7 +29,7 @@ module Azure::ARM::CognitiveServices
28
29
  name: 'Composite',
29
30
  class_name: 'Error',
30
31
  model_properties: {
31
- errorProperty: {
32
+ error: {
32
33
  required: false,
33
34
  serialized_name: 'error',
34
35
  type: {
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -7,6 +7,7 @@ module Azure::ARM::CognitiveServices
7
7
  module Models
8
8
  #
9
9
  # Model object.
10
+ #
10
11
  #
11
12
  class ErrorBody
12
13
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,8 +1,8 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::CognitiveServices
7
- VERSION = '0.7.0'
7
+ VERSION = '0.8.0'
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_cognitive_services
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-14 00:00:00.000000000 Z
11
+ date: 2016-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.6.0
75
+ version: 0.6.2
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.6.0
82
+ version: 0.6.2
83
83
  description: Microsoft Azure Cognitive Services Management Client Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []