azure_mgmt_cognitive_services 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_cognitive_services.rb +6 -6
- data/lib/generated/azure_mgmt_cognitive_services/cognitive_services_management_client.rb +4 -5
- data/lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_create_parameters.rb +6 -4
- data/lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_resource_and_sku.rb +1 -1
- data/lib/generated/azure_mgmt_cognitive_services/models/error.rb +1 -1
- data/lib/generated/azure_mgmt_cognitive_services/models/error_body.rb +1 -1
- data/lib/generated/azure_mgmt_cognitive_services/models/kind.rb +9 -0
- data/lib/generated/azure_mgmt_cognitive_services/models/sku.rb +3 -4
- data/lib/generated/azure_mgmt_cognitive_services/models/sku_name.rb +5 -0
- data/lib/generated/azure_mgmt_cognitive_services/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3459b14e47abcce16f7b14e26863e6321159995
|
4
|
+
data.tar.gz: 045e8a26e504b992518c9f3680394e9e9cc564b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2de5c6189247221e670405115ac048cce8143d61e101eb514e295f73ec6b7fd7da6b3e23f30502c67cfdb1c76042b77b07d283c3a27c4f9bca435b99da85b454
|
7
|
+
data.tar.gz: 063e1423584476bb68823e70fff396bfea8f07de6323a1a5a655789199c9a33647c2386ef094532cffe22db9716081b6746c2560f87b7636933ab318bc3817a6
|
@@ -26,14 +26,14 @@ module Azure::ARM::CognitiveServices
|
|
26
26
|
module Models
|
27
27
|
autoload :CognitiveServicesAccountKeys, 'generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb'
|
28
28
|
autoload :RegenerateKeyParameters, 'generated/azure_mgmt_cognitive_services/models/regenerate_key_parameters.rb'
|
29
|
-
autoload :Sku, 'generated/azure_mgmt_cognitive_services/models/sku.rb'
|
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'
|
32
|
-
autoload :CognitiveServicesResourceAndSku, 'generated/azure_mgmt_cognitive_services/models/cognitive_services_resource_and_sku.rb'
|
33
29
|
autoload :CognitiveServicesAccountCreateParameters, 'generated/azure_mgmt_cognitive_services/models/cognitive_services_account_create_parameters.rb'
|
34
|
-
autoload :
|
35
|
-
autoload :
|
30
|
+
autoload :CognitiveServicesResourceAndSku, 'generated/azure_mgmt_cognitive_services/models/cognitive_services_resource_and_sku.rb'
|
31
|
+
autoload :CognitiveServicesAccount, 'generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb'
|
32
|
+
autoload :CognitiveServicesAccountEnumerateSkusResult, 'generated/azure_mgmt_cognitive_services/models/cognitive_services_account_enumerate_skus_result.rb'
|
33
|
+
autoload :Sku, 'generated/azure_mgmt_cognitive_services/models/sku.rb'
|
36
34
|
autoload :ErrorBody, 'generated/azure_mgmt_cognitive_services/models/error_body.rb'
|
35
|
+
autoload :CognitiveServicesAccountListResult, 'generated/azure_mgmt_cognitive_services/models/cognitive_services_account_list_result.rb'
|
36
|
+
autoload :Error, 'generated/azure_mgmt_cognitive_services/models/error.rb'
|
37
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'
|
@@ -44,12 +44,11 @@ module Azure::ARM::CognitiveServices
|
|
44
44
|
# @param base_url [String] the base URI of the service.
|
45
45
|
# @param options [Array] filters to be applied to the HTTP requests.
|
46
46
|
#
|
47
|
-
def initialize(credentials, base_url = nil, options = nil)
|
47
|
+
def initialize(credentials = nil, base_url = nil, options = nil)
|
48
48
|
super(credentials, options)
|
49
49
|
@base_url = base_url || 'https://management.azure.com'
|
50
50
|
|
51
|
-
fail ArgumentError, 'credentials
|
52
|
-
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials)
|
51
|
+
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
53
52
|
@credentials = credentials
|
54
53
|
|
55
54
|
@cognitive_services_accounts = CognitiveServicesAccounts.new(self)
|
@@ -62,7 +61,7 @@ module Azure::ARM::CognitiveServices
|
|
62
61
|
|
63
62
|
#
|
64
63
|
# Makes a request and returns the body of the response.
|
65
|
-
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
64
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
66
65
|
# @param path [String] the path, relative to {base_url}.
|
67
66
|
# @param options [Hash{String=>String}] specifying any request options like :body.
|
68
67
|
# @return [Hash{String=>String}] containing the body of the response.
|
@@ -123,7 +122,7 @@ module Azure::ARM::CognitiveServices
|
|
123
122
|
def add_telemetry
|
124
123
|
sdk_information = 'azure_mgmt_cognitive_services'
|
125
124
|
if defined? Azure::ARM::CognitiveServices::VERSION
|
126
|
-
sdk_information = "#{sdk_information}/#{Azure::ARM::CognitiveServices::VERSION}"
|
125
|
+
sdk_information = "#{sdk_information}/#{Azure::ARM::CognitiveServices::VERSION}"
|
127
126
|
end
|
128
127
|
add_user_agent_information(sdk_information)
|
129
128
|
end
|
@@ -16,8 +16,11 @@ 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: '
|
20
|
-
# '
|
19
|
+
# account. Possible values include: 'Academic', 'Bing.Autosuggest',
|
20
|
+
# 'Bing.Search', 'Bing.Speech', 'Bing.SpellCheck', 'ComputerVision',
|
21
|
+
# 'ContentModerator', 'Emotion', 'Face', 'LUIS', 'Recommendations',
|
22
|
+
# 'SpeakerRecognition', 'Speech', 'SpeechTranslation', 'TextAnalytics',
|
23
|
+
# 'TextTranslation', 'WebLM'
|
21
24
|
attr_accessor :kind
|
22
25
|
|
23
26
|
# @return [String] Required. Gets or sets the location of the resource.
|
@@ -62,8 +65,7 @@ module Azure::ARM::CognitiveServices
|
|
62
65
|
required: true,
|
63
66
|
serialized_name: 'kind',
|
64
67
|
type: {
|
65
|
-
name: '
|
66
|
-
module: 'Kind'
|
68
|
+
name: 'String'
|
67
69
|
}
|
68
70
|
},
|
69
71
|
location: {
|
@@ -9,13 +9,22 @@ module Azure::ARM::CognitiveServices
|
|
9
9
|
# Defines values for Kind
|
10
10
|
#
|
11
11
|
module Kind
|
12
|
+
Academic = "Academic"
|
13
|
+
BingAutosuggest = "Bing.Autosuggest"
|
14
|
+
BingSearch = "Bing.Search"
|
15
|
+
BingSpeech = "Bing.Speech"
|
16
|
+
BingSpellCheck = "Bing.SpellCheck"
|
12
17
|
ComputerVision = "ComputerVision"
|
18
|
+
ContentModerator = "ContentModerator"
|
13
19
|
Emotion = "Emotion"
|
14
20
|
Face = "Face"
|
15
21
|
LUIS = "LUIS"
|
16
22
|
Recommendations = "Recommendations"
|
23
|
+
SpeakerRecognition = "SpeakerRecognition"
|
17
24
|
Speech = "Speech"
|
25
|
+
SpeechTranslation = "SpeechTranslation"
|
18
26
|
TextAnalytics = "TextAnalytics"
|
27
|
+
TextTranslation = "TextTranslation"
|
19
28
|
WebLM = "WebLM"
|
20
29
|
end
|
21
30
|
end
|
@@ -13,8 +13,8 @@ module Azure::ARM::CognitiveServices
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
15
|
# @return [SkuName] Gets or sets the sku name. Required for account
|
16
|
-
# creation, optional for update. Possible values include: 'F0', '
|
17
|
-
# 'S1', 'S2', 'S3', 'S4'
|
16
|
+
# creation, optional for update. Possible values include: 'F0', 'P0',
|
17
|
+
# 'P1', 'P2', 'S0', 'S1', 'S2', 'S3', 'S4', 'S5', 'S6'
|
18
18
|
attr_accessor :name
|
19
19
|
|
20
20
|
# @return [SkuTier] Gets the sku tier. This is based on the SKU name.
|
@@ -38,8 +38,7 @@ module Azure::ARM::CognitiveServices
|
|
38
38
|
required: true,
|
39
39
|
serialized_name: 'name',
|
40
40
|
type: {
|
41
|
-
name: '
|
42
|
-
module: 'SkuName'
|
41
|
+
name: 'String'
|
43
42
|
}
|
44
43
|
},
|
45
44
|
tier: {
|
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.9.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: 2017-02-07 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.
|
75
|
+
version: 0.7.0
|
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.
|
82
|
+
version: 0.7.0
|
83
83
|
description: Microsoft Azure Cognitive Services Management Client Library for Ruby
|
84
84
|
email: azrubyteam@microsoft.com
|
85
85
|
executables: []
|