azure_mgmt_cognitive_services 0.11.0 → 0.12.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/check_sku_availability.rb +10 -7
- data/lib/generated/azure_mgmt_cognitive_services/cognitive_services_management_client.rb +0 -3
- data/lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb +3 -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: 83f589339f5e50e12b6ab6aa830aefb53ef5ffa9
|
4
|
+
data.tar.gz: 6f3d65dd34a9cc1fecdabad8689cccca19be6a94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d71e607a77d80214a7aa26e9709bf994857fda51572bb3613716823a0c8a09c3b864e5b31bbb93abc4ddfade487e3e7dc356ee9fa3d825b03fb50eb227ba32b
|
7
|
+
data.tar.gz: eb844f2428332b46cf9717b06f7a889c6ddd0dd5b90cf8801e7c4fe064ff8e2220024c8f6b9acd7810dcd1ccda05fd9bdb46254364a242739639c37202665de4
|
@@ -24,6 +24,7 @@ module Azure::ARM::CognitiveServices
|
|
24
24
|
#
|
25
25
|
# Check available SKUs.
|
26
26
|
#
|
27
|
+
# @param location [String] Resource location.
|
27
28
|
# @param skus [Array<SkuName>] The SKU of the resource.
|
28
29
|
# @param kind [Kind] The Kind of the resource. Possible values include:
|
29
30
|
# 'Academic', 'Bing.Autosuggest', 'Bing.Search', 'Bing.Speech',
|
@@ -36,14 +37,15 @@ module Azure::ARM::CognitiveServices
|
|
36
37
|
#
|
37
38
|
# @return [CheckSkuAvailabilityResultList] operation results.
|
38
39
|
#
|
39
|
-
def list(skus, kind, type, custom_headers = nil)
|
40
|
-
response = list_async(skus, kind, type, custom_headers).value!
|
40
|
+
def list(location, skus, kind, type, custom_headers = nil)
|
41
|
+
response = list_async(location, skus, kind, type, custom_headers).value!
|
41
42
|
response.body unless response.nil?
|
42
43
|
end
|
43
44
|
|
44
45
|
#
|
45
46
|
# Check available SKUs.
|
46
47
|
#
|
48
|
+
# @param location [String] Resource location.
|
47
49
|
# @param skus [Array<SkuName>] The SKU of the resource.
|
48
50
|
# @param kind [Kind] The Kind of the resource. Possible values include:
|
49
51
|
# 'Academic', 'Bing.Autosuggest', 'Bing.Search', 'Bing.Speech',
|
@@ -56,13 +58,14 @@ module Azure::ARM::CognitiveServices
|
|
56
58
|
#
|
57
59
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
58
60
|
#
|
59
|
-
def list_with_http_info(skus, kind, type, custom_headers = nil)
|
60
|
-
list_async(skus, kind, type, custom_headers).value!
|
61
|
+
def list_with_http_info(location, skus, kind, type, custom_headers = nil)
|
62
|
+
list_async(location, skus, kind, type, custom_headers).value!
|
61
63
|
end
|
62
64
|
|
63
65
|
#
|
64
66
|
# Check available SKUs.
|
65
67
|
#
|
68
|
+
# @param location [String] Resource location.
|
66
69
|
# @param skus [Array<SkuName>] The SKU of the resource.
|
67
70
|
# @param kind [Kind] The Kind of the resource. Possible values include:
|
68
71
|
# 'Academic', 'Bing.Autosuggest', 'Bing.Search', 'Bing.Speech',
|
@@ -75,10 +78,10 @@ module Azure::ARM::CognitiveServices
|
|
75
78
|
#
|
76
79
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
77
80
|
#
|
78
|
-
def list_async(skus, kind, type, custom_headers = nil)
|
81
|
+
def list_async(location, skus, kind, type, custom_headers = nil)
|
79
82
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
80
83
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
81
|
-
fail ArgumentError, '
|
84
|
+
fail ArgumentError, 'location is nil' if location.nil?
|
82
85
|
fail ArgumentError, 'skus is nil' if skus.nil?
|
83
86
|
fail ArgumentError, 'kind is nil' if kind.nil?
|
84
87
|
fail ArgumentError, 'type is nil' if type.nil?
|
@@ -109,7 +112,7 @@ module Azure::ARM::CognitiveServices
|
|
109
112
|
|
110
113
|
options = {
|
111
114
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
112
|
-
path_params: {'subscriptionId' => @client.subscription_id,'location' =>
|
115
|
+
path_params: {'subscriptionId' => @client.subscription_id,'location' => location},
|
113
116
|
query_params: {'api-version' => @client.api_version},
|
114
117
|
body: request_content,
|
115
118
|
headers: request_headers.merge(custom_headers || {}),
|
@@ -24,9 +24,6 @@ module Azure::ARM::CognitiveServices
|
|
24
24
|
# Current version is 2017-04-18
|
25
25
|
attr_reader :api_version
|
26
26
|
|
27
|
-
# @return [String] Resource location.
|
28
|
-
attr_accessor :location
|
29
|
-
|
30
27
|
# @return [String] Gets or sets the preferred language for the response.
|
31
28
|
attr_accessor :accept_language
|
32
29
|
|
@@ -75,6 +75,7 @@ module Azure::ARM::CognitiveServices
|
|
75
75
|
},
|
76
76
|
id: {
|
77
77
|
required: false,
|
78
|
+
read_only: true,
|
78
79
|
serialized_name: 'id',
|
79
80
|
type: {
|
80
81
|
name: 'String'
|
@@ -96,6 +97,7 @@ module Azure::ARM::CognitiveServices
|
|
96
97
|
},
|
97
98
|
name: {
|
98
99
|
required: false,
|
100
|
+
read_only: true,
|
99
101
|
serialized_name: 'name',
|
100
102
|
type: {
|
101
103
|
name: 'String'
|
@@ -148,6 +150,7 @@ module Azure::ARM::CognitiveServices
|
|
148
150
|
},
|
149
151
|
type: {
|
150
152
|
required: false,
|
153
|
+
read_only: true,
|
151
154
|
serialized_name: 'type',
|
152
155
|
type: {
|
153
156
|
name: 'String'
|
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.12.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: 2017-
|
11
|
+
date: 2017-09-12 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.9.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.9.0
|
83
83
|
description: Microsoft Azure Cognitive Services Management Client Library for Ruby
|
84
84
|
email: azrubyteam@microsoft.com
|
85
85
|
executables: []
|