azure_mgmt_cognitive_services 0.17.0 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 38910a06740a7bba6f5537a31fc560817ff5627b
4
- data.tar.gz: dbd1145be9fb52570642ee506a1d9b48652f122f
2
+ SHA256:
3
+ metadata.gz: 102c11c856574c7f71dc3677b6628b679002e30e9765842fc4a08498798c5646
4
+ data.tar.gz: e1ff461d548b9d88c2824f474b4ada85f82fd2fd5b7659f1f2294c59d1f35251
5
5
  SHA512:
6
- metadata.gz: ff9c43da20c3b1b772c0024370b3667f56dc21cf3368945a0831ca0b3becd6f5d6107538b6a21d3e9392acd3b71165fad0235e71bba0bebfd992ca211ce58922
7
- data.tar.gz: d6274b29ed17614cb31a69abd257a93111aea8eb730c68e6bfdf70531660466dd4ea218c31d6cbb6b8078f871b9b2af4413569423a2bc81b5b590a01266c2328
6
+ metadata.gz: 763d6a5a259122ae67eccfc03f44f7a76e324f5ea2da64cd77f21b122404094860f86378319f94ed1b7673246026d8578f4729475040794a22a8a5ae08940708
7
+ data.tar.gz: 36e4b67fc258ed7b67875e3ca4a732925054bba8cfd38ee7dce7df54a5375d1567876a80f60d422011deffc088150758cb076b84ad216cd5b2277785d08fc74a
@@ -679,7 +679,7 @@ module Azure::CognitiveServices::Mgmt::V2016_02_01_preview
679
679
  # @param resource_group_name [String] The name of the resource group within the
680
680
  # user's subscription.
681
681
  # @param account_name [String] The name of the cognitive services account
682
- # within the specified resource group. Congitive Services account names must be
682
+ # within the specified resource group. Cognitive Services account names must be
683
683
  # between 3 and 24 characters in length and use numbers and lower-case letters
684
684
  # only.
685
685
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -698,7 +698,7 @@ module Azure::CognitiveServices::Mgmt::V2016_02_01_preview
698
698
  # @param resource_group_name [String] The name of the resource group within the
699
699
  # user's subscription.
700
700
  # @param account_name [String] The name of the cognitive services account
701
- # within the specified resource group. Congitive Services account names must be
701
+ # within the specified resource group. Cognitive Services account names must be
702
702
  # between 3 and 24 characters in length and use numbers and lower-case letters
703
703
  # only.
704
704
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -716,7 +716,7 @@ module Azure::CognitiveServices::Mgmt::V2016_02_01_preview
716
716
  # @param resource_group_name [String] The name of the resource group within the
717
717
  # user's subscription.
718
718
  # @param account_name [String] The name of the cognitive services account
719
- # within the specified resource group. Congitive Services account names must be
719
+ # within the specified resource group. Cognitive Services account names must be
720
720
  # between 3 and 24 characters in length and use numbers and lower-case letters
721
721
  # only.
722
722
  # @param [Hash{String => String}] A hash of custom headers that will be added
@@ -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.17.0"
128
+ sdk_information = "#{sdk_information}/0.18.0"
129
129
  add_user_agent_information(sdk_information)
130
130
  end
131
131
  end
@@ -51,9 +51,7 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
51
51
  autoload :UsagesResult, '2017-04-18/generated/azure_mgmt_cognitive_services/models/usages_result.rb'
52
52
  autoload :ResourceSkusResult, '2017-04-18/generated/azure_mgmt_cognitive_services/models/resource_skus_result.rb'
53
53
  autoload :CognitiveServicesResourceAndSku, '2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_resource_and_sku.rb'
54
- autoload :SkuName, '2017-04-18/generated/azure_mgmt_cognitive_services/models/sku_name.rb'
55
54
  autoload :SkuTier, '2017-04-18/generated/azure_mgmt_cognitive_services/models/sku_tier.rb'
56
- autoload :Kind, '2017-04-18/generated/azure_mgmt_cognitive_services/models/kind.rb'
57
55
  autoload :ProvisioningState, '2017-04-18/generated/azure_mgmt_cognitive_services/models/provisioning_state.rb'
58
56
  autoload :KeyName, '2017-04-18/generated/azure_mgmt_cognitive_services/models/key_name.rb'
59
57
  autoload :UnitType, '2017-04-18/generated/azure_mgmt_cognitive_services/models/unit_type.rb'
@@ -25,13 +25,8 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
25
25
  # Check available SKUs.
26
26
  #
27
27
  # @param location [String] Resource location.
28
- # @param skus [Array<SkuName>] The SKU of the resource.
29
- # @param kind [Kind] The Kind of the resource. Possible values include:
30
- # 'Bing.Autosuggest.v7', 'Bing.CustomSearch', 'Bing.Search.v7', 'Bing.Speech',
31
- # 'Bing.SpellCheck.v7', 'ComputerVision', 'ContentModerator', 'CustomSpeech',
32
- # 'CustomVision.Prediction', 'CustomVision.Training', 'Emotion', 'Face',
33
- # 'LUIS', 'QnAMaker', 'SpeakerRecognition', 'SpeechTranslation',
34
- # 'TextAnalytics', 'TextTranslation', 'WebLM'
28
+ # @param skus [Array<String>] The SKU of the resource.
29
+ # @param kind [String] The Kind of the resource.
35
30
  # @param type [String] The Type of the resource.
36
31
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
37
32
  # will be added to the HTTP request.
@@ -47,13 +42,8 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
47
42
  # Check available SKUs.
48
43
  #
49
44
  # @param location [String] Resource location.
50
- # @param skus [Array<SkuName>] The SKU of the resource.
51
- # @param kind [Kind] The Kind of the resource. Possible values include:
52
- # 'Bing.Autosuggest.v7', 'Bing.CustomSearch', 'Bing.Search.v7', 'Bing.Speech',
53
- # 'Bing.SpellCheck.v7', 'ComputerVision', 'ContentModerator', 'CustomSpeech',
54
- # 'CustomVision.Prediction', 'CustomVision.Training', 'Emotion', 'Face',
55
- # 'LUIS', 'QnAMaker', 'SpeakerRecognition', 'SpeechTranslation',
56
- # 'TextAnalytics', 'TextTranslation', 'WebLM'
45
+ # @param skus [Array<String>] The SKU of the resource.
46
+ # @param kind [String] The Kind of the resource.
57
47
  # @param type [String] The Type of the resource.
58
48
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
59
49
  # will be added to the HTTP request.
@@ -68,13 +58,8 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
68
58
  # Check available SKUs.
69
59
  #
70
60
  # @param location [String] Resource location.
71
- # @param skus [Array<SkuName>] The SKU of the resource.
72
- # @param kind [Kind] The Kind of the resource. Possible values include:
73
- # 'Bing.Autosuggest.v7', 'Bing.CustomSearch', 'Bing.Search.v7', 'Bing.Speech',
74
- # 'Bing.SpellCheck.v7', 'ComputerVision', 'ContentModerator', 'CustomSpeech',
75
- # 'CustomVision.Prediction', 'CustomVision.Training', 'Emotion', 'Face',
76
- # 'LUIS', 'QnAMaker', 'SpeakerRecognition', 'SpeechTranslation',
77
- # 'TextAnalytics', 'TextTranslation', 'WebLM'
61
+ # @param skus [Array<String>] The SKU of the resource.
62
+ # @param kind [String] The Kind of the resource.
78
63
  # @param type [String] The Type of the resource.
79
64
  # @param [Hash{String => String}] A hash of custom headers that will be added
80
65
  # to the HTTP request.
@@ -137,7 +137,7 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
137
137
  #
138
138
  def add_telemetry
139
139
  sdk_information = 'azure_mgmt_cognitive_services'
140
- sdk_information = "#{sdk_information}/0.17.0"
140
+ sdk_information = "#{sdk_information}/0.18.0"
141
141
  add_user_agent_information(sdk_information)
142
142
  end
143
143
  end
@@ -12,16 +12,10 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Array<SkuName>] The SKU of the resource.
15
+ # @return [Array<String>] The SKU of the resource.
16
16
  attr_accessor :skus
17
17
 
18
- # @return [Kind] The Kind of the resource. Possible values include:
19
- # 'Bing.Autosuggest.v7', 'Bing.CustomSearch', 'Bing.Search.v7',
20
- # 'Bing.Speech', 'Bing.SpellCheck.v7', 'ComputerVision',
21
- # 'ContentModerator', 'CustomSpeech', 'CustomVision.Prediction',
22
- # 'CustomVision.Training', 'Emotion', 'Face', 'LUIS', 'QnAMaker',
23
- # 'SpeakerRecognition', 'SpeechTranslation', 'TextAnalytics',
24
- # 'TextTranslation', 'WebLM'
18
+ # @return [String] The Kind of the resource.
25
19
  attr_accessor :kind
26
20
 
27
21
  # @return [String] The Type of the resource.
@@ -50,7 +44,7 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
50
44
  element: {
51
45
  client_side_validation: true,
52
46
  required: false,
53
- serialized_name: 'SkuNameElementType',
47
+ serialized_name: 'StringElementType',
54
48
  type: {
55
49
  name: 'String'
56
50
  }
@@ -12,21 +12,13 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Kind] The Kind of the resource. Possible values include:
16
- # 'Bing.Autosuggest.v7', 'Bing.CustomSearch', 'Bing.Search.v7',
17
- # 'Bing.Speech', 'Bing.SpellCheck.v7', 'ComputerVision',
18
- # 'ContentModerator', 'CustomSpeech', 'CustomVision.Prediction',
19
- # 'CustomVision.Training', 'Emotion', 'Face', 'LUIS', 'QnAMaker',
20
- # 'SpeakerRecognition', 'SpeechTranslation', 'TextAnalytics',
21
- # 'TextTranslation', 'WebLM'
15
+ # @return [String] The Kind of the resource.
22
16
  attr_accessor :kind
23
17
 
24
18
  # @return [String] The Type of the resource.
25
19
  attr_accessor :type
26
20
 
27
- # @return [SkuName] The SKU of Cognitive Services account. Possible
28
- # values include: 'F0', 'P0', 'P1', 'P2', 'S0', 'S1', 'S2', 'S3', 'S4',
29
- # 'S5', 'S6'
21
+ # @return [String] The SKU of Cognitive Services account.
30
22
  attr_accessor :sku_name
31
23
 
32
24
  # @return [Boolean] Indicates the given SKU is available or not.
@@ -15,13 +15,7 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
15
15
  # @return [Sku] Required. Gets or sets the SKU of the resource.
16
16
  attr_accessor :sku
17
17
 
18
- # @return [Kind] Required. Gets or sets the Kind of the resource.
19
- # Possible values include: 'Bing.Autosuggest.v7', 'Bing.CustomSearch',
20
- # 'Bing.Search.v7', 'Bing.Speech', 'Bing.SpellCheck.v7',
21
- # 'ComputerVision', 'ContentModerator', 'CustomSpeech',
22
- # 'CustomVision.Prediction', 'CustomVision.Training', 'Emotion', 'Face',
23
- # 'LUIS', 'QnAMaker', 'SpeakerRecognition', 'SpeechTranslation',
24
- # 'TextAnalytics', 'TextTranslation', 'WebLM'
18
+ # @return [String] Required. Gets or sets the Kind of the resource.
25
19
  attr_accessor :kind
26
20
 
27
21
  # @return [String] Required. Gets or sets the location of the resource.
@@ -12,9 +12,8 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [SkuName] Gets or sets the sku name. Required for account
16
- # creation, optional for update. Possible values include: 'F0', 'P0',
17
- # 'P1', 'P2', 'S0', 'S1', 'S2', 'S3', 'S4', 'S5', 'S6'
15
+ # @return [String] Gets or sets the sku name. Required for account
16
+ # creation, optional for update.
18
17
  attr_accessor :name
19
18
 
20
19
  # @return [SkuTier] Gets the sku tier. This is based on the SKU name.
@@ -36,9 +36,7 @@ module Azure::CognitiveServices::Profiles::Latest
36
36
  UsagesResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UsagesResult
37
37
  ResourceSkusResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkusResult
38
38
  CognitiveServicesResourceAndSku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesResourceAndSku
39
- SkuName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuName
40
39
  SkuTier = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier
41
- Kind = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Kind
42
40
  ProvisioningState = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ProvisioningState
43
41
  KeyName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName
44
42
  UnitType = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UnitType
@@ -167,15 +165,9 @@ module Azure::CognitiveServices::Profiles::Latest
167
165
  def cognitive_services_resource_and_sku
168
166
  Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesResourceAndSku
169
167
  end
170
- def sku_name
171
- Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuName
172
- end
173
168
  def sku_tier
174
169
  Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier
175
170
  end
176
- def kind
177
- Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Kind
178
- end
179
171
  def provisioning_state
180
172
  Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ProvisioningState
181
173
  end
data/lib/version.rb CHANGED
@@ -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.17.0'
6
+ VERSION = '0.18.0'
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.17.0
4
+ version: 0.18.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: 2018-07-31 00:00:00.000000000 Z
11
+ date: 2019-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -124,7 +124,6 @@ files:
124
124
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/error.rb
125
125
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/error_body.rb
126
126
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/key_name.rb
127
- - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/kind.rb
128
127
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/metric_name.rb
129
128
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/operation_display_info.rb
130
129
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/operation_entity.rb
@@ -139,7 +138,6 @@ files:
139
138
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/resource_sku_restrictions_type.rb
140
139
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/resource_skus_result.rb
141
140
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/sku.rb
142
- - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/sku_name.rb
143
141
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/sku_tier.rb
144
142
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/unit_type.rb
145
143
  - lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/usage.rb
@@ -178,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
178
176
  version: '0'
179
177
  requirements: []
180
178
  rubyforge_project:
181
- rubygems_version: 2.5.1
179
+ rubygems_version: 2.7.6
182
180
  signing_key:
183
181
  specification_version: 4
184
182
  summary: Official Ruby client library to consume Microsoft Azure Cognitive Services
@@ -1,33 +0,0 @@
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 Kind
10
- #
11
- module Kind
12
- BingAutosuggestv7 = "Bing.Autosuggest.v7"
13
- BingCustomSearch = "Bing.CustomSearch"
14
- BingSearchv7 = "Bing.Search.v7"
15
- BingSpeech = "Bing.Speech"
16
- BingSpellCheckv7 = "Bing.SpellCheck.v7"
17
- ComputerVision = "ComputerVision"
18
- ContentModerator = "ContentModerator"
19
- CustomSpeech = "CustomSpeech"
20
- CustomVisionPrediction = "CustomVision.Prediction"
21
- CustomVisionTraining = "CustomVision.Training"
22
- Emotion = "Emotion"
23
- Face = "Face"
24
- LUIS = "LUIS"
25
- QnAMaker = "QnAMaker"
26
- SpeakerRecognition = "SpeakerRecognition"
27
- SpeechTranslation = "SpeechTranslation"
28
- TextAnalytics = "TextAnalytics"
29
- TextTranslation = "TextTranslation"
30
- WebLM = "WebLM"
31
- end
32
- end
33
- end
@@ -1,25 +0,0 @@
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 SkuName
10
- #
11
- module SkuName
12
- F0 = "F0"
13
- P0 = "P0"
14
- P1 = "P1"
15
- P2 = "P2"
16
- S0 = "S0"
17
- S1 = "S1"
18
- S2 = "S2"
19
- S3 = "S3"
20
- S4 = "S4"
21
- S5 = "S5"
22
- S6 = "S6"
23
- end
24
- end
25
- end