azure_mgmt_cognitive_services 0.18.2 → 0.18.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (20) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2016-02-01-preview/generated/azure_mgmt_cognitive_services/cognitive_services_accounts.rb +18 -0
  3. data/lib/2016-02-01-preview/generated/azure_mgmt_cognitive_services/cognitive_services_management_client.rb +1 -1
  4. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services.rb +19 -12
  5. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/accounts.rb +24 -0
  6. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/check_sku_availability.rb +2 -0
  7. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/cognitive_services_management_client.rb +105 -1
  8. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/check_domain_availability_parameter.rb +57 -0
  9. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/check_domain_availability_result.rb +79 -0
  10. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb +13 -0
  11. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/ip_rule.rb +49 -0
  12. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/network_rule_action.rb +16 -0
  13. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/network_rule_bypass_options.rb +16 -0
  14. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/network_rule_set.rb +103 -0
  15. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/virtual_network_rule.rb +69 -0
  16. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/operations.rb +4 -0
  17. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/resource_skus.rb +4 -0
  18. data/lib/profiles/latest/modules/cognitiveservices_profile_module.rb +64 -36
  19. data/lib/version.rb +1 -1
  20. metadata +12 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 7c6426a6e62fdc08a6acd31badda38de658c4ed2
4
- data.tar.gz: 1090411a655b0a2797f8af5951b9900d9828d7a5
2
+ SHA256:
3
+ metadata.gz: f1378ee1f6b58727f27590e190d66144b679d9002c50423c19e99a88c9a48d0c
4
+ data.tar.gz: f3828501da4992fa5fb0cc59a53487d562d5bd4ca7110492e49fd205f23b1f7e
5
5
  SHA512:
6
- metadata.gz: 376a578bf4150f08558faad611c74fd585250151c618409ce47e65e83d4cbf9ea122a6797dbe56fe5e778d51b49270ef6e40e0305111a3b2ba33cd5ba550e2b0
7
- data.tar.gz: 2b37969ce28fdf1ea03d8a70040ab13e57715d9d100aa7a2e6d98e167644105064027eb9a8033e808b8705699fab030be1d521952b35334d62d13f425b720825
6
+ metadata.gz: ec783d14a1538fb32e6204b5d81d83343b9be128fabb25c7391e0f3f3102a75a4bc21881ca3436b9f292dab8fab41e8db7900a2175997492e7e019cad6320cef
7
+ data.tar.gz: bbeff43f6d6ce6f6460982d15f86446b38d347d602252f9145349d5506bf6fba1eea9c2f6cb06f914d08220bb8389f9f4b85cf6d3ed5777809b913e420083722
@@ -131,6 +131,8 @@ module Azure::CognitiveServices::Mgmt::V2016_02_01_preview
131
131
  end
132
132
 
133
133
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
134
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
135
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
134
136
  # Deserialize Response
135
137
  if status_code == 200
136
138
  begin
@@ -278,6 +280,8 @@ module Azure::CognitiveServices::Mgmt::V2016_02_01_preview
278
280
  end
279
281
 
280
282
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
283
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
284
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
281
285
  # Deserialize Response
282
286
  if status_code == 200
283
287
  begin
@@ -384,6 +388,8 @@ module Azure::CognitiveServices::Mgmt::V2016_02_01_preview
384
388
  end
385
389
 
386
390
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
391
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
392
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
387
393
 
388
394
  result
389
395
  end
@@ -481,6 +487,8 @@ module Azure::CognitiveServices::Mgmt::V2016_02_01_preview
481
487
  end
482
488
 
483
489
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
490
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
491
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
484
492
  # Deserialize Response
485
493
  if status_code == 200
486
494
  begin
@@ -572,6 +580,8 @@ module Azure::CognitiveServices::Mgmt::V2016_02_01_preview
572
580
  end
573
581
 
574
582
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
583
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
584
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
575
585
  # Deserialize Response
576
586
  if status_code == 200
577
587
  begin
@@ -656,6 +666,8 @@ module Azure::CognitiveServices::Mgmt::V2016_02_01_preview
656
666
  end
657
667
 
658
668
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
669
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
670
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
659
671
  # Deserialize Response
660
672
  if status_code == 200
661
673
  begin
@@ -763,6 +775,8 @@ module Azure::CognitiveServices::Mgmt::V2016_02_01_preview
763
775
  end
764
776
 
765
777
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
778
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
779
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
766
780
  # Deserialize Response
767
781
  if status_code == 200
768
782
  begin
@@ -890,6 +904,8 @@ module Azure::CognitiveServices::Mgmt::V2016_02_01_preview
890
904
  end
891
905
 
892
906
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
907
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
908
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
893
909
  # Deserialize Response
894
910
  if status_code == 200
895
911
  begin
@@ -997,6 +1013,8 @@ module Azure::CognitiveServices::Mgmt::V2016_02_01_preview
997
1013
  end
998
1014
 
999
1015
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1016
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1017
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1000
1018
  # Deserialize Response
1001
1019
  if status_code == 200
1002
1020
  begin
@@ -125,7 +125,7 @@ module Azure::CognitiveServices::Mgmt::V2016_02_01_preview
125
125
  #
126
126
  def add_telemetry
127
127
  sdk_information = 'azure_mgmt_cognitive_services'
128
- sdk_information = "#{sdk_information}/0.18.2"
128
+ sdk_information = "#{sdk_information}/0.18.3"
129
129
  add_user_agent_information(sdk_information)
130
130
  end
131
131
  end
@@ -27,32 +27,39 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
27
27
  autoload :CognitiveServicesManagementClient, '2017-04-18/generated/azure_mgmt_cognitive_services/cognitive_services_management_client.rb'
28
28
 
29
29
  module Models
30
+ autoload :UsagesResult, '2017-04-18/generated/azure_mgmt_cognitive_services/models/usages_result.rb'
30
31
  autoload :ErrorBody, '2017-04-18/generated/azure_mgmt_cognitive_services/models/error_body.rb'
31
- autoload :Sku, '2017-04-18/generated/azure_mgmt_cognitive_services/models/sku.rb'
32
+ autoload :CognitiveServicesAccountCreateParameters, '2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_create_parameters.rb'
32
33
  autoload :Error, '2017-04-18/generated/azure_mgmt_cognitive_services/models/error.rb'
33
- autoload :CognitiveServicesAccountUpdateParameters, '2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_update_parameters.rb'
34
+ autoload :IpRule, '2017-04-18/generated/azure_mgmt_cognitive_services/models/ip_rule.rb'
34
35
  autoload :OperationDisplayInfo, '2017-04-18/generated/azure_mgmt_cognitive_services/models/operation_display_info.rb'
35
- autoload :CognitiveServicesAccountListResult, '2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_list_result.rb'
36
+ autoload :NetworkRuleSet, '2017-04-18/generated/azure_mgmt_cognitive_services/models/network_rule_set.rb'
36
37
  autoload :OperationEntity, '2017-04-18/generated/azure_mgmt_cognitive_services/models/operation_entity.rb'
37
- autoload :RegenerateKeyParameters, '2017-04-18/generated/azure_mgmt_cognitive_services/models/regenerate_key_parameters.rb'
38
+ autoload :CognitiveServicesAccountListResult, '2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_list_result.rb'
38
39
  autoload :OperationEntityListResult, '2017-04-18/generated/azure_mgmt_cognitive_services/models/operation_entity_list_result.rb'
39
- autoload :CognitiveServicesAccountEnumerateSkusResult, '2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_enumerate_skus_result.rb'
40
+ autoload :RegenerateKeyParameters, '2017-04-18/generated/azure_mgmt_cognitive_services/models/regenerate_key_parameters.rb'
40
41
  autoload :CheckSkuAvailabilityParameter, '2017-04-18/generated/azure_mgmt_cognitive_services/models/check_sku_availability_parameter.rb'
41
- autoload :Usage, '2017-04-18/generated/azure_mgmt_cognitive_services/models/usage.rb'
42
+ autoload :CognitiveServicesAccountEnumerateSkusResult, '2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_enumerate_skus_result.rb'
42
43
  autoload :CheckSkuAvailabilityResult, '2017-04-18/generated/azure_mgmt_cognitive_services/models/check_sku_availability_result.rb'
43
- autoload :CognitiveServicesAccountCreateParameters, '2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_create_parameters.rb'
44
+ autoload :Usage, '2017-04-18/generated/azure_mgmt_cognitive_services/models/usage.rb'
44
45
  autoload :CheckSkuAvailabilityResultList, '2017-04-18/generated/azure_mgmt_cognitive_services/models/check_sku_availability_result_list.rb'
45
- autoload :CognitiveServicesAccountKeys, '2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb'
46
+ autoload :CognitiveServicesAccountUpdateParameters, '2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_update_parameters.rb'
47
+ autoload :CheckDomainAvailabilityParameter, '2017-04-18/generated/azure_mgmt_cognitive_services/models/check_domain_availability_parameter.rb'
48
+ autoload :CognitiveServicesAccount, '2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb'
49
+ autoload :CheckDomainAvailabilityResult, '2017-04-18/generated/azure_mgmt_cognitive_services/models/check_domain_availability_result.rb'
50
+ autoload :CognitiveServicesResourceAndSku, '2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_resource_and_sku.rb'
46
51
  autoload :ResourceSkuRestrictionInfo, '2017-04-18/generated/azure_mgmt_cognitive_services/models/resource_sku_restriction_info.rb'
47
- autoload :MetricName, '2017-04-18/generated/azure_mgmt_cognitive_services/models/metric_name.rb'
52
+ autoload :Sku, '2017-04-18/generated/azure_mgmt_cognitive_services/models/sku.rb'
48
53
  autoload :ResourceSkuRestrictions, '2017-04-18/generated/azure_mgmt_cognitive_services/models/resource_sku_restrictions.rb'
49
- autoload :CognitiveServicesAccount, '2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb'
54
+ autoload :CognitiveServicesAccountKeys, '2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb'
50
55
  autoload :ResourceSku, '2017-04-18/generated/azure_mgmt_cognitive_services/models/resource_sku.rb'
51
- autoload :UsagesResult, '2017-04-18/generated/azure_mgmt_cognitive_services/models/usages_result.rb'
56
+ autoload :VirtualNetworkRule, '2017-04-18/generated/azure_mgmt_cognitive_services/models/virtual_network_rule.rb'
52
57
  autoload :ResourceSkusResult, '2017-04-18/generated/azure_mgmt_cognitive_services/models/resource_skus_result.rb'
53
- autoload :CognitiveServicesResourceAndSku, '2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_resource_and_sku.rb'
58
+ autoload :MetricName, '2017-04-18/generated/azure_mgmt_cognitive_services/models/metric_name.rb'
54
59
  autoload :SkuTier, '2017-04-18/generated/azure_mgmt_cognitive_services/models/sku_tier.rb'
55
60
  autoload :ProvisioningState, '2017-04-18/generated/azure_mgmt_cognitive_services/models/provisioning_state.rb'
61
+ autoload :NetworkRuleBypassOptions, '2017-04-18/generated/azure_mgmt_cognitive_services/models/network_rule_bypass_options.rb'
62
+ autoload :NetworkRuleAction, '2017-04-18/generated/azure_mgmt_cognitive_services/models/network_rule_action.rb'
56
63
  autoload :KeyName, '2017-04-18/generated/azure_mgmt_cognitive_services/models/key_name.rb'
57
64
  autoload :UnitType, '2017-04-18/generated/azure_mgmt_cognitive_services/models/unit_type.rb'
58
65
  autoload :QuotaUsageStatus, '2017-04-18/generated/azure_mgmt_cognitive_services/models/quota_usage_status.rb'
@@ -122,6 +122,8 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
122
122
  end
123
123
 
124
124
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
125
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
126
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
125
127
  # Deserialize Response
126
128
  if status_code == 200
127
129
  begin
@@ -267,6 +269,8 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
267
269
  end
268
270
 
269
271
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
272
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
273
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
270
274
  # Deserialize Response
271
275
  if status_code == 200
272
276
  begin
@@ -364,6 +368,8 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
364
368
  end
365
369
 
366
370
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
371
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
372
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
367
373
 
368
374
  result
369
375
  end
@@ -452,6 +458,8 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
452
458
  end
453
459
 
454
460
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
461
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
462
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
455
463
  # Deserialize Response
456
464
  if status_code == 200
457
465
  begin
@@ -543,6 +551,8 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
543
551
  end
544
552
 
545
553
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
554
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
555
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
546
556
  # Deserialize Response
547
557
  if status_code == 200
548
558
  begin
@@ -627,6 +637,8 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
627
637
  end
628
638
 
629
639
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
640
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
641
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
630
642
  # Deserialize Response
631
643
  if status_code == 200
632
644
  begin
@@ -725,6 +737,8 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
725
737
  end
726
738
 
727
739
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
740
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
741
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
728
742
  # Deserialize Response
729
743
  if status_code == 200
730
744
  begin
@@ -844,6 +858,8 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
844
858
  end
845
859
 
846
860
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
861
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
862
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
847
863
  # Deserialize Response
848
864
  if status_code == 200
849
865
  begin
@@ -942,6 +958,8 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
942
958
  end
943
959
 
944
960
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
961
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
962
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
945
963
  # Deserialize Response
946
964
  if status_code == 200
947
965
  begin
@@ -1049,6 +1067,8 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
1049
1067
  end
1050
1068
 
1051
1069
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1070
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1071
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1052
1072
  # Deserialize Response
1053
1073
  if status_code == 200
1054
1074
  begin
@@ -1137,6 +1157,8 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
1137
1157
  end
1138
1158
 
1139
1159
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1160
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1161
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1140
1162
  # Deserialize Response
1141
1163
  if status_code == 200
1142
1164
  begin
@@ -1225,6 +1247,8 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
1225
1247
  end
1226
1248
 
1227
1249
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1250
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1251
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1228
1252
  # Deserialize Response
1229
1253
  if status_code == 200
1230
1254
  begin
@@ -117,6 +117,8 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
117
117
  end
118
118
 
119
119
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
120
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
121
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
120
122
  # Deserialize Response
121
123
  if status_code == 200
122
124
  begin
@@ -130,6 +130,110 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
130
130
  super(request_url, method, path, options)
131
131
  end
132
132
 
133
+ #
134
+ # Check whether a domain is available.
135
+ #
136
+ # @param subdomain_name [String] The subdomain name to use.
137
+ # @param type [String] The Type of the resource.
138
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
139
+ # will be added to the HTTP request.
140
+ #
141
+ # @return [CheckDomainAvailabilityResult] operation results.
142
+ #
143
+ def check_domain_availability(subdomain_name, type, custom_headers:nil)
144
+ response = check_domain_availability_async(subdomain_name, type, custom_headers:custom_headers).value!
145
+ response.body unless response.nil?
146
+ end
147
+
148
+ #
149
+ # Check whether a domain is available.
150
+ #
151
+ # @param subdomain_name [String] The subdomain name to use.
152
+ # @param type [String] The Type of the resource.
153
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
154
+ # will be added to the HTTP request.
155
+ #
156
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
157
+ #
158
+ def check_domain_availability_with_http_info(subdomain_name, type, custom_headers:nil)
159
+ check_domain_availability_async(subdomain_name, type, custom_headers:custom_headers).value!
160
+ end
161
+
162
+ #
163
+ # Check whether a domain is available.
164
+ #
165
+ # @param subdomain_name [String] The subdomain name to use.
166
+ # @param type [String] The Type of the resource.
167
+ # @param [Hash{String => String}] A hash of custom headers that will be added
168
+ # to the HTTP request.
169
+ #
170
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
171
+ #
172
+ def check_domain_availability_async(subdomain_name, type, custom_headers:nil)
173
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
174
+ fail ArgumentError, 'subdomain_name is nil' if subdomain_name.nil?
175
+ fail ArgumentError, 'type is nil' if type.nil?
176
+
177
+ parameters = CheckDomainAvailabilityParameter.new
178
+ unless subdomain_name.nil? && type.nil?
179
+ parameters.subdomain_name = subdomain_name
180
+ parameters.type = type
181
+ end
182
+
183
+ request_headers = {}
184
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
185
+
186
+ # Set Headers
187
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
188
+ request_headers['accept-language'] = accept_language unless accept_language.nil?
189
+
190
+ # Serialize Request
191
+ request_mapper = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckDomainAvailabilityParameter.mapper()
192
+ request_content = self.serialize(request_mapper, parameters)
193
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
194
+
195
+ path_template = 'providers/Microsoft.CognitiveServices/checkDomainAvailability'
196
+
197
+ request_url = @base_url || self.base_url
198
+
199
+ options = {
200
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
201
+ query_params: {'api-version' => api_version},
202
+ body: request_content,
203
+ headers: request_headers.merge(custom_headers || {}),
204
+ base_url: request_url
205
+ }
206
+ promise = self.make_request_async(:post, path_template, options)
207
+
208
+ promise = promise.then do |result|
209
+ http_response = result.response
210
+ status_code = http_response.status
211
+ response_content = http_response.body
212
+ unless status_code == 200
213
+ error_model = JSON.load(response_content)
214
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
215
+ end
216
+
217
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
218
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
219
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
220
+ # Deserialize Response
221
+ if status_code == 200
222
+ begin
223
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
224
+ result_mapper = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckDomainAvailabilityResult.mapper()
225
+ result.body = self.deserialize(result_mapper, parsed_response)
226
+ rescue Exception => e
227
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
228
+ end
229
+ end
230
+
231
+ result
232
+ end
233
+
234
+ promise.execute
235
+ end
236
+
133
237
 
134
238
  private
135
239
  #
@@ -137,7 +241,7 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
137
241
  #
138
242
  def add_telemetry
139
243
  sdk_information = 'azure_mgmt_cognitive_services'
140
- sdk_information = "#{sdk_information}/0.18.2"
244
+ sdk_information = "#{sdk_information}/0.18.3"
141
245
  add_user_agent_information(sdk_information)
142
246
  end
143
247
  end
@@ -0,0 +1,57 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::Mgmt::V2017_04_18
7
+ module Models
8
+ #
9
+ # Check Domain availability parameter.
10
+ #
11
+ class CheckDomainAvailabilityParameter
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The subdomain name to use.
16
+ attr_accessor :subdomain_name
17
+
18
+ # @return [String] The Type of the resource.
19
+ attr_accessor :type
20
+
21
+
22
+ #
23
+ # Mapper for CheckDomainAvailabilityParameter class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'CheckDomainAvailabilityParameter',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'CheckDomainAvailabilityParameter',
34
+ model_properties: {
35
+ subdomain_name: {
36
+ client_side_validation: true,
37
+ required: true,
38
+ serialized_name: 'subdomainName',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ type: {
44
+ client_side_validation: true,
45
+ required: true,
46
+ serialized_name: 'type',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,79 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::Mgmt::V2017_04_18
7
+ module Models
8
+ #
9
+ # Check Domain availability result.
10
+ #
11
+ class CheckDomainAvailabilityResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] Indicates the given SKU is available or not.
16
+ attr_accessor :is_subdomain_available
17
+
18
+ # @return [String] Reason why the SKU is not available.
19
+ attr_accessor :reason
20
+
21
+ # @return [String] The subdomain name to use.
22
+ attr_accessor :subdomain_name
23
+
24
+ # @return [String] The Type of the resource.
25
+ attr_accessor :type
26
+
27
+
28
+ #
29
+ # Mapper for CheckDomainAvailabilityResult class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'CheckDomainAvailabilityResult',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'CheckDomainAvailabilityResult',
40
+ model_properties: {
41
+ is_subdomain_available: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'isSubdomainAvailable',
45
+ type: {
46
+ name: 'Boolean'
47
+ }
48
+ },
49
+ reason: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'reason',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ subdomain_name: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'subdomainName',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ type: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'type',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ end
77
+ end
78
+ end
79
+ end
@@ -43,6 +43,10 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
43
43
  # authentication.
44
44
  attr_accessor :custom_sub_domain_name
45
45
 
46
+ # @return [NetworkRuleSet] A collection of rules governing the
47
+ # accessibility from specific network locations.
48
+ attr_accessor :network_acls
49
+
46
50
  # @return [Sku] The SKU of Cognitive Services account.
47
51
  attr_accessor :sku
48
52
 
@@ -145,6 +149,15 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
145
149
  name: 'String'
146
150
  }
147
151
  },
152
+ network_acls: {
153
+ client_side_validation: true,
154
+ required: false,
155
+ serialized_name: 'properties.networkAcls',
156
+ type: {
157
+ name: 'Composite',
158
+ class_name: 'NetworkRuleSet'
159
+ }
160
+ },
148
161
  sku: {
149
162
  client_side_validation: true,
150
163
  required: false,
@@ -0,0 +1,49 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::Mgmt::V2017_04_18
7
+ module Models
8
+ #
9
+ # A rule governing the accessibility from a specific ip address or ip
10
+ # range.
11
+ #
12
+ class IpRule
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] An IPv4 address range in CIDR notation, such as
17
+ # '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses
18
+ # that start with 124.56.78).
19
+ attr_accessor :value
20
+
21
+
22
+ #
23
+ # Mapper for IpRule class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'IpRule',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'IpRule',
34
+ model_properties: {
35
+ value: {
36
+ client_side_validation: true,
37
+ required: true,
38
+ serialized_name: 'value',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
46
+ end
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::Mgmt::V2017_04_18
7
+ module Models
8
+ #
9
+ # Defines values for NetworkRuleAction
10
+ #
11
+ module NetworkRuleAction
12
+ Allow = "Allow"
13
+ Deny = "Deny"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::Mgmt::V2017_04_18
7
+ module Models
8
+ #
9
+ # Defines values for NetworkRuleBypassOptions
10
+ #
11
+ module NetworkRuleBypassOptions
12
+ AzureServices = "AzureServices"
13
+ None = "None"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,103 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::Mgmt::V2017_04_18
7
+ module Models
8
+ #
9
+ # A set of rules governing the network accessibility.
10
+ #
11
+ class NetworkRuleSet
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [NetworkRuleBypassOptions] Tells what traffic can bypass
16
+ # network rules. This can be 'AzureServices' or 'None'. If not specified
17
+ # the default is 'AzureServices'. Possible values include:
18
+ # 'AzureServices', 'None'
19
+ attr_accessor :bypass
20
+
21
+ # @return [NetworkRuleAction] The default action when no rule from
22
+ # ipRules and from virtualNetworkRules match. This is only used after the
23
+ # bypass property has been evaluated. Possible values include: 'Allow',
24
+ # 'Deny'
25
+ attr_accessor :default_action
26
+
27
+ # @return [Array<IpRule>] The list of IP address rules.
28
+ attr_accessor :ip_rules
29
+
30
+ # @return [Array<VirtualNetworkRule>] The list of virtual network rules.
31
+ attr_accessor :virtual_network_rules
32
+
33
+
34
+ #
35
+ # Mapper for NetworkRuleSet class as Ruby Hash.
36
+ # This will be used for serialization/deserialization.
37
+ #
38
+ def self.mapper()
39
+ {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'NetworkRuleSet',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'NetworkRuleSet',
46
+ model_properties: {
47
+ bypass: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'bypass',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ default_action: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'defaultAction',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ },
63
+ ip_rules: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ serialized_name: 'ipRules',
67
+ type: {
68
+ name: 'Sequence',
69
+ element: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'IpRuleElementType',
73
+ type: {
74
+ name: 'Composite',
75
+ class_name: 'IpRule'
76
+ }
77
+ }
78
+ }
79
+ },
80
+ virtual_network_rules: {
81
+ client_side_validation: true,
82
+ required: false,
83
+ serialized_name: 'virtualNetworkRules',
84
+ type: {
85
+ name: 'Sequence',
86
+ element: {
87
+ client_side_validation: true,
88
+ required: false,
89
+ serialized_name: 'VirtualNetworkRuleElementType',
90
+ type: {
91
+ name: 'Composite',
92
+ class_name: 'VirtualNetworkRule'
93
+ }
94
+ }
95
+ }
96
+ }
97
+ }
98
+ }
99
+ }
100
+ end
101
+ end
102
+ end
103
+ end
@@ -0,0 +1,69 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::Mgmt::V2017_04_18
7
+ module Models
8
+ #
9
+ # A rule governing the accessibility from a specific virtual network.
10
+ #
11
+ class VirtualNetworkRule
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Full resource id of a vnet subnet, such as
16
+ # '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'.
17
+ attr_accessor :id
18
+
19
+ # @return [String] Gets the state of virtual network rule.
20
+ attr_accessor :state
21
+
22
+ # @return [Boolean] Ignore missing vnet service endpoint or not.
23
+ attr_accessor :ignore_missing_vnet_service_endpoint
24
+
25
+
26
+ #
27
+ # Mapper for VirtualNetworkRule class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'VirtualNetworkRule',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'VirtualNetworkRule',
38
+ model_properties: {
39
+ id: {
40
+ client_side_validation: true,
41
+ required: true,
42
+ serialized_name: 'id',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ state: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'state',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ ignore_missing_vnet_service_endpoint: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'ignoreMissingVnetServiceEndpoint',
59
+ type: {
60
+ name: 'Boolean'
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ end
67
+ end
68
+ end
69
+ end
@@ -86,6 +86,8 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
86
86
  end
87
87
 
88
88
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
89
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
90
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
89
91
  # Deserialize Response
90
92
  if status_code == 200
91
93
  begin
@@ -174,6 +176,8 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
174
176
  end
175
177
 
176
178
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
179
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
180
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
177
181
  # Deserialize Response
178
182
  if status_code == 200
179
183
  begin
@@ -91,6 +91,8 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
91
91
  end
92
92
 
93
93
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
94
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
95
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
94
96
  # Deserialize Response
95
97
  if status_code == 200
96
98
  begin
@@ -182,6 +184,8 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
182
184
  end
183
185
 
184
186
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
187
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
188
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
185
189
  # Deserialize Response
186
190
  if status_code == 200
187
191
  begin
@@ -12,32 +12,39 @@ module Azure::CognitiveServices::Profiles::Latest
12
12
  CheckSkuAvailability = Azure::CognitiveServices::Mgmt::V2017_04_18::CheckSkuAvailability
13
13
 
14
14
  module Models
15
+ UsagesResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UsagesResult
15
16
  ErrorBody = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ErrorBody
16
- Sku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku
17
+ CognitiveServicesAccountCreateParameters = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountCreateParameters
17
18
  Error = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error
18
- CognitiveServicesAccountUpdateParameters = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountUpdateParameters
19
+ IpRule = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::IpRule
19
20
  OperationDisplayInfo = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationDisplayInfo
20
- CognitiveServicesAccountListResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountListResult
21
+ NetworkRuleSet = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::NetworkRuleSet
21
22
  OperationEntity = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntity
22
- RegenerateKeyParameters = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::RegenerateKeyParameters
23
+ CognitiveServicesAccountListResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountListResult
23
24
  OperationEntityListResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntityListResult
24
- CognitiveServicesAccountEnumerateSkusResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountEnumerateSkusResult
25
+ RegenerateKeyParameters = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::RegenerateKeyParameters
25
26
  CheckSkuAvailabilityParameter = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityParameter
26
- Usage = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Usage
27
+ CognitiveServicesAccountEnumerateSkusResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountEnumerateSkusResult
27
28
  CheckSkuAvailabilityResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResult
28
- CognitiveServicesAccountCreateParameters = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountCreateParameters
29
+ Usage = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Usage
29
30
  CheckSkuAvailabilityResultList = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResultList
30
- CognitiveServicesAccountKeys = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountKeys
31
+ CognitiveServicesAccountUpdateParameters = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountUpdateParameters
32
+ CheckDomainAvailabilityParameter = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckDomainAvailabilityParameter
33
+ CognitiveServicesAccount = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccount
34
+ CheckDomainAvailabilityResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckDomainAvailabilityResult
35
+ CognitiveServicesResourceAndSku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesResourceAndSku
31
36
  ResourceSkuRestrictionInfo = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionInfo
32
- MetricName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::MetricName
37
+ Sku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku
33
38
  ResourceSkuRestrictions = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictions
34
- CognitiveServicesAccount = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccount
39
+ CognitiveServicesAccountKeys = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountKeys
35
40
  ResourceSku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSku
36
- UsagesResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UsagesResult
41
+ VirtualNetworkRule = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::VirtualNetworkRule
37
42
  ResourceSkusResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkusResult
38
- CognitiveServicesResourceAndSku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesResourceAndSku
43
+ MetricName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::MetricName
39
44
  SkuTier = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier
40
45
  ProvisioningState = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ProvisioningState
46
+ NetworkRuleBypassOptions = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::NetworkRuleBypassOptions
47
+ NetworkRuleAction = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::NetworkRuleAction
41
48
  KeyName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName
42
49
  UnitType = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UnitType
43
50
  QuotaUsageStatus = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::QuotaUsageStatus
@@ -93,77 +100,92 @@ module Azure::CognitiveServices::Profiles::Latest
93
100
  end
94
101
 
95
102
  class ModelClasses
103
+ def usages_result
104
+ Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UsagesResult
105
+ end
96
106
  def error_body
97
107
  Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ErrorBody
98
108
  end
99
- def sku
100
- Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku
109
+ def cognitive_services_account_create_parameters
110
+ Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountCreateParameters
101
111
  end
102
112
  def error
103
113
  Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error
104
114
  end
105
- def cognitive_services_account_update_parameters
106
- Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountUpdateParameters
115
+ def ip_rule
116
+ Azure::CognitiveServices::Mgmt::V2017_04_18::Models::IpRule
107
117
  end
108
118
  def operation_display_info
109
119
  Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationDisplayInfo
110
120
  end
111
- def cognitive_services_account_list_result
112
- Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountListResult
121
+ def network_rule_set
122
+ Azure::CognitiveServices::Mgmt::V2017_04_18::Models::NetworkRuleSet
113
123
  end
114
124
  def operation_entity
115
125
  Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntity
116
126
  end
117
- def regenerate_key_parameters
118
- Azure::CognitiveServices::Mgmt::V2017_04_18::Models::RegenerateKeyParameters
127
+ def cognitive_services_account_list_result
128
+ Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountListResult
119
129
  end
120
130
  def operation_entity_list_result
121
131
  Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntityListResult
122
132
  end
123
- def cognitive_services_account_enumerate_skus_result
124
- Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountEnumerateSkusResult
133
+ def regenerate_key_parameters
134
+ Azure::CognitiveServices::Mgmt::V2017_04_18::Models::RegenerateKeyParameters
125
135
  end
126
136
  def check_sku_availability_parameter
127
137
  Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityParameter
128
138
  end
129
- def usage
130
- Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Usage
139
+ def cognitive_services_account_enumerate_skus_result
140
+ Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountEnumerateSkusResult
131
141
  end
132
142
  def check_sku_availability_result
133
143
  Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResult
134
144
  end
135
- def cognitive_services_account_create_parameters
136
- Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountCreateParameters
145
+ def usage
146
+ Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Usage
137
147
  end
138
148
  def check_sku_availability_result_list
139
149
  Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResultList
140
150
  end
141
- def cognitive_services_account_keys
142
- Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountKeys
151
+ def cognitive_services_account_update_parameters
152
+ Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountUpdateParameters
153
+ end
154
+ def check_domain_availability_parameter
155
+ Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckDomainAvailabilityParameter
156
+ end
157
+ def cognitive_services_account
158
+ Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccount
159
+ end
160
+ def check_domain_availability_result
161
+ Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckDomainAvailabilityResult
162
+ end
163
+ def cognitive_services_resource_and_sku
164
+ Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesResourceAndSku
143
165
  end
144
166
  def resource_sku_restriction_info
145
167
  Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionInfo
146
168
  end
147
- def metric_name
148
- Azure::CognitiveServices::Mgmt::V2017_04_18::Models::MetricName
169
+ def sku
170
+ Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku
149
171
  end
150
172
  def resource_sku_restrictions
151
173
  Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictions
152
174
  end
153
- def cognitive_services_account
154
- Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccount
175
+ def cognitive_services_account_keys
176
+ Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountKeys
155
177
  end
156
178
  def resource_sku
157
179
  Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSku
158
180
  end
159
- def usages_result
160
- Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UsagesResult
181
+ def virtual_network_rule
182
+ Azure::CognitiveServices::Mgmt::V2017_04_18::Models::VirtualNetworkRule
161
183
  end
162
184
  def resource_skus_result
163
185
  Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkusResult
164
186
  end
165
- def cognitive_services_resource_and_sku
166
- Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesResourceAndSku
187
+ def metric_name
188
+ Azure::CognitiveServices::Mgmt::V2017_04_18::Models::MetricName
167
189
  end
168
190
  def sku_tier
169
191
  Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier
@@ -171,6 +193,12 @@ module Azure::CognitiveServices::Profiles::Latest
171
193
  def provisioning_state
172
194
  Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ProvisioningState
173
195
  end
196
+ def network_rule_bypass_options
197
+ Azure::CognitiveServices::Mgmt::V2017_04_18::Models::NetworkRuleBypassOptions
198
+ end
199
+ def network_rule_action
200
+ Azure::CognitiveServices::Mgmt::V2017_04_18::Models::NetworkRuleAction
201
+ end
174
202
  def key_name
175
203
  Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName
176
204
  end
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::CognitiveServices::Mgmt
6
- VERSION = '0.18.2'
6
+ VERSION = '0.18.3'
7
7
  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.18.2
4
+ version: 0.18.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-01 00:00:00.000000000 Z
11
+ date: 2019-07-03 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.11.0
75
+ version: 0.11.1
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.11.0
82
+ version: 0.11.1
83
83
  description: Microsoft Azure Cognitive Services Management Client Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []
@@ -111,6 +111,8 @@ files:
111
111
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/accounts.rb
112
112
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/check_sku_availability.rb
113
113
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/cognitive_services_management_client.rb
114
+ - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/check_domain_availability_parameter.rb
115
+ - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/check_domain_availability_result.rb
114
116
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/check_sku_availability_parameter.rb
115
117
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/check_sku_availability_result.rb
116
118
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/check_sku_availability_result_list.rb
@@ -123,8 +125,12 @@ files:
123
125
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_resource_and_sku.rb
124
126
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/error.rb
125
127
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/error_body.rb
128
+ - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/ip_rule.rb
126
129
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/key_name.rb
127
130
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/metric_name.rb
131
+ - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/network_rule_action.rb
132
+ - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/network_rule_bypass_options.rb
133
+ - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/network_rule_set.rb
128
134
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/operation_display_info.rb
129
135
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/operation_entity.rb
130
136
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/operation_entity_list_result.rb
@@ -142,6 +148,7 @@ files:
142
148
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/unit_type.rb
143
149
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/usage.rb
144
150
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/usages_result.rb
151
+ - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/virtual_network_rule.rb
145
152
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/module_definition.rb
146
153
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/operations.rb
147
154
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/resource_skus.rb
@@ -176,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
183
  version: '0'
177
184
  requirements: []
178
185
  rubyforge_project:
179
- rubygems_version: 2.5.1
186
+ rubygems_version: 2.7.6
180
187
  signing_key:
181
188
  specification_version: 4
182
189
  summary: Official Ruby client library to consume Microsoft Azure Cognitive Services