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 +5 -5
- data/lib/2016-02-01-preview/generated/azure_mgmt_cognitive_services/cognitive_services_accounts.rb +3 -3
- data/lib/2016-02-01-preview/generated/azure_mgmt_cognitive_services/cognitive_services_management_client.rb +1 -1
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services.rb +0 -2
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/check_sku_availability.rb +6 -21
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/cognitive_services_management_client.rb +1 -1
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/check_sku_availability_parameter.rb +3 -9
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/check_sku_availability_result.rb +2 -10
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_create_parameters.rb +1 -7
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/sku.rb +2 -3
- data/lib/profiles/latest/modules/cognitiveservices_profile_module.rb +0 -8
- data/lib/version.rb +1 -1
- metadata +3 -5
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/kind.rb +0 -33
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/sku_name.rb +0 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 102c11c856574c7f71dc3677b6628b679002e30e9765842fc4a08498798c5646
|
4
|
+
data.tar.gz: e1ff461d548b9d88c2824f474b4ada85f82fd2fd5b7659f1f2294c59d1f35251
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 763d6a5a259122ae67eccfc03f44f7a76e324f5ea2da64cd77f21b122404094860f86378319f94ed1b7673246026d8578f4729475040794a22a8a5ae08940708
|
7
|
+
data.tar.gz: 36e4b67fc258ed7b67875e3ca4a732925054bba8cfd38ee7dce7df54a5375d1567876a80f60d422011deffc088150758cb076b84ad216cd5b2277785d08fc74a
|
data/lib/2016-02-01-preview/generated/azure_mgmt_cognitive_services/cognitive_services_accounts.rb
CHANGED
@@ -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.
|
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.
|
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.
|
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.
|
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<
|
29
|
-
# @param kind [
|
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<
|
51
|
-
# @param kind [
|
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<
|
72
|
-
# @param kind [
|
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.
|
data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/cognitive_services_management_client.rb
CHANGED
@@ -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.
|
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<
|
15
|
+
# @return [Array<String>] The SKU of the resource.
|
16
16
|
attr_accessor :skus
|
17
17
|
|
18
|
-
# @return [
|
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: '
|
47
|
+
serialized_name: 'StringElementType',
|
54
48
|
type: {
|
55
49
|
name: 'String'
|
56
50
|
}
|
data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/check_sku_availability_result.rb
CHANGED
@@ -12,21 +12,13 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [
|
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 [
|
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 [
|
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 [
|
16
|
-
# creation, optional for update.
|
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
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.
|
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:
|
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.
|
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
|