azure_mgmt_iot_central 0.16.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/iot_central_client.rb +7 -6
- data/lib/2018-09-01/generated/azure_mgmt_iot_central.rb +42 -0
- data/lib/2018-09-01/generated/azure_mgmt_iot_central/apps.rb +1085 -0
- data/lib/2018-09-01/generated/azure_mgmt_iot_central/iot_central_client.rb +135 -0
- data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/app.rb +155 -0
- data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_list_result.rb +99 -0
- data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_name_availability_info.rb +74 -0
- data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_name_unavailability_reason.rb +16 -0
- data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_patch.rb +108 -0
- data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_sku.rb +16 -0
- data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_sku_info.rb +47 -0
- data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/error_details.rb +71 -0
- data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/operation.rb +60 -0
- data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/operation_display.rb +83 -0
- data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/operation_inputs.rb +47 -0
- data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/operation_list_result.rb +102 -0
- data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/resource.rb +104 -0
- data/lib/2018-09-01/generated/azure_mgmt_iot_central/module_definition.rb +9 -0
- data/lib/2018-09-01/generated/azure_mgmt_iot_central/operations.rb +215 -0
- data/lib/azure_mgmt_iot_central.rb +1 -0
- data/lib/profiles/latest/modules/iotcentral_profile_module.rb +29 -29
- data/lib/version.rb +1 -1
- metadata +22 -4
@@ -0,0 +1,102 @@
|
|
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::IotCentral::Mgmt::V2018_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A list of IoT Central operations. It contains a list of operations and a
|
10
|
+
# URL link to get the next set of results.
|
11
|
+
#
|
12
|
+
class OperationListResult
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
include MsRest::JSONable
|
17
|
+
# @return [String] The link used to get the next page of IoT Central
|
18
|
+
# description objects.
|
19
|
+
attr_accessor :next_link
|
20
|
+
|
21
|
+
# @return [Array<Operation>] A list of operations supported by the
|
22
|
+
# Microsoft.IoTCentral resource provider.
|
23
|
+
attr_accessor :value
|
24
|
+
|
25
|
+
# return [Proc] with next page method call.
|
26
|
+
attr_accessor :next_method
|
27
|
+
|
28
|
+
#
|
29
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
30
|
+
#
|
31
|
+
# @return [Array<Operation>] operation results.
|
32
|
+
#
|
33
|
+
def get_all_items
|
34
|
+
items = @value
|
35
|
+
page = self
|
36
|
+
while page.next_link != nil do
|
37
|
+
page = page.get_next_page
|
38
|
+
items.concat(page.value)
|
39
|
+
end
|
40
|
+
items
|
41
|
+
end
|
42
|
+
|
43
|
+
#
|
44
|
+
# Gets the next page of results.
|
45
|
+
#
|
46
|
+
# @return [OperationListResult] with next page content.
|
47
|
+
#
|
48
|
+
def get_next_page
|
49
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
50
|
+
unless response.nil?
|
51
|
+
@next_link = response.body.next_link
|
52
|
+
@value = response.body.value
|
53
|
+
self
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
#
|
58
|
+
# Mapper for OperationListResult class as Ruby Hash.
|
59
|
+
# This will be used for serialization/deserialization.
|
60
|
+
#
|
61
|
+
def self.mapper()
|
62
|
+
{
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'OperationListResult',
|
66
|
+
type: {
|
67
|
+
name: 'Composite',
|
68
|
+
class_name: 'OperationListResult',
|
69
|
+
model_properties: {
|
70
|
+
next_link: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'nextLink',
|
74
|
+
type: {
|
75
|
+
name: 'String'
|
76
|
+
}
|
77
|
+
},
|
78
|
+
value: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: false,
|
81
|
+
read_only: true,
|
82
|
+
serialized_name: 'value',
|
83
|
+
type: {
|
84
|
+
name: 'Sequence',
|
85
|
+
element: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'OperationElementType',
|
89
|
+
type: {
|
90
|
+
name: 'Composite',
|
91
|
+
class_name: 'Operation'
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
@@ -0,0 +1,104 @@
|
|
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::IotCentral::Mgmt::V2018_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The common properties of an ARM resource.
|
10
|
+
#
|
11
|
+
class Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The ARM resource identifier.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] The ARM resource name.
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# @return [String] The resource type.
|
22
|
+
attr_accessor :type
|
23
|
+
|
24
|
+
# @return [String] The resource location.
|
25
|
+
attr_accessor :location
|
26
|
+
|
27
|
+
# @return [Hash{String => String}] The resource tags.
|
28
|
+
attr_accessor :tags
|
29
|
+
|
30
|
+
|
31
|
+
#
|
32
|
+
# Mapper for Resource class as Ruby Hash.
|
33
|
+
# This will be used for serialization/deserialization.
|
34
|
+
#
|
35
|
+
def self.mapper()
|
36
|
+
{
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'Resource',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
class_name: 'Resource',
|
43
|
+
model_properties: {
|
44
|
+
id: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
read_only: true,
|
48
|
+
serialized_name: 'id',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
name: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
read_only: true,
|
57
|
+
serialized_name: 'name',
|
58
|
+
constraints: {
|
59
|
+
Pattern: '^(?![0-9]+$)(?!-)[a-zA-Z0-9-]{2,99}[a-zA-Z0-9]$'
|
60
|
+
},
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
type: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
read_only: true,
|
69
|
+
serialized_name: 'type',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
location: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: true,
|
77
|
+
serialized_name: 'location',
|
78
|
+
type: {
|
79
|
+
name: 'String'
|
80
|
+
}
|
81
|
+
},
|
82
|
+
tags: {
|
83
|
+
client_side_validation: true,
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'tags',
|
86
|
+
type: {
|
87
|
+
name: 'Dictionary',
|
88
|
+
value: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'StringElementType',
|
92
|
+
type: {
|
93
|
+
name: 'String'
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
@@ -0,0 +1,9 @@
|
|
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 end
|
7
|
+
module Azure::IotCentral end
|
8
|
+
module Azure::IotCentral::Mgmt end
|
9
|
+
module Azure::IotCentral::Mgmt::V2018_09_01 end
|
@@ -0,0 +1,215 @@
|
|
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::IotCentral::Mgmt::V2018_09_01
|
7
|
+
#
|
8
|
+
# Use this API to manage IoT Central Applications in your Azure subscription.
|
9
|
+
#
|
10
|
+
class Operations
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the Operations class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [IotCentralClient] reference to the IotCentralClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# Lists all of the available IoT Central application REST API operations.
|
26
|
+
#
|
27
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
28
|
+
# will be added to the HTTP request.
|
29
|
+
#
|
30
|
+
# @return [Array<Operation>] operation results.
|
31
|
+
#
|
32
|
+
def list(custom_headers:nil)
|
33
|
+
first_page = list_as_lazy(custom_headers:custom_headers)
|
34
|
+
first_page.get_all_items
|
35
|
+
end
|
36
|
+
|
37
|
+
#
|
38
|
+
# Lists all of the available IoT Central application REST API operations.
|
39
|
+
#
|
40
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
41
|
+
# will be added to the HTTP request.
|
42
|
+
#
|
43
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
44
|
+
#
|
45
|
+
def list_with_http_info(custom_headers:nil)
|
46
|
+
list_async(custom_headers:custom_headers).value!
|
47
|
+
end
|
48
|
+
|
49
|
+
#
|
50
|
+
# Lists all of the available IoT Central application REST API operations.
|
51
|
+
#
|
52
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
53
|
+
# to the HTTP request.
|
54
|
+
#
|
55
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
56
|
+
#
|
57
|
+
def list_async(custom_headers:nil)
|
58
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
59
|
+
|
60
|
+
|
61
|
+
request_headers = {}
|
62
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
63
|
+
|
64
|
+
# Set Headers
|
65
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
66
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
67
|
+
path_template = 'providers/Microsoft.IoTCentral/operations'
|
68
|
+
|
69
|
+
request_url = @base_url || @client.base_url
|
70
|
+
|
71
|
+
options = {
|
72
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
73
|
+
query_params: {'api-version' => @client.api_version},
|
74
|
+
headers: request_headers.merge(custom_headers || {}),
|
75
|
+
base_url: request_url
|
76
|
+
}
|
77
|
+
promise = @client.make_request_async(:get, path_template, options)
|
78
|
+
|
79
|
+
promise = promise.then do |result|
|
80
|
+
http_response = result.response
|
81
|
+
status_code = http_response.status
|
82
|
+
response_content = http_response.body
|
83
|
+
unless status_code == 200
|
84
|
+
error_model = JSON.load(response_content)
|
85
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
86
|
+
end
|
87
|
+
|
88
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
89
|
+
# Deserialize Response
|
90
|
+
if status_code == 200
|
91
|
+
begin
|
92
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
93
|
+
result_mapper = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult.mapper()
|
94
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
95
|
+
rescue Exception => e
|
96
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
result
|
101
|
+
end
|
102
|
+
|
103
|
+
promise.execute
|
104
|
+
end
|
105
|
+
|
106
|
+
#
|
107
|
+
# Lists all of the available IoT Central application REST API operations.
|
108
|
+
#
|
109
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
110
|
+
# to List operation.
|
111
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
112
|
+
# will be added to the HTTP request.
|
113
|
+
#
|
114
|
+
# @return [OperationListResult] operation results.
|
115
|
+
#
|
116
|
+
def list_next(next_page_link, custom_headers:nil)
|
117
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
118
|
+
response.body unless response.nil?
|
119
|
+
end
|
120
|
+
|
121
|
+
#
|
122
|
+
# Lists all of the available IoT Central application REST API operations.
|
123
|
+
#
|
124
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
125
|
+
# to List operation.
|
126
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
127
|
+
# will be added to the HTTP request.
|
128
|
+
#
|
129
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
130
|
+
#
|
131
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
132
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
133
|
+
end
|
134
|
+
|
135
|
+
#
|
136
|
+
# Lists all of the available IoT Central application REST API operations.
|
137
|
+
#
|
138
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
139
|
+
# to List operation.
|
140
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
141
|
+
# to the HTTP request.
|
142
|
+
#
|
143
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
144
|
+
#
|
145
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
146
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
147
|
+
|
148
|
+
|
149
|
+
request_headers = {}
|
150
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
151
|
+
|
152
|
+
# Set Headers
|
153
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
154
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
155
|
+
path_template = '{nextLink}'
|
156
|
+
|
157
|
+
request_url = @base_url || @client.base_url
|
158
|
+
|
159
|
+
options = {
|
160
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
161
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
162
|
+
headers: request_headers.merge(custom_headers || {}),
|
163
|
+
base_url: request_url
|
164
|
+
}
|
165
|
+
promise = @client.make_request_async(:get, path_template, options)
|
166
|
+
|
167
|
+
promise = promise.then do |result|
|
168
|
+
http_response = result.response
|
169
|
+
status_code = http_response.status
|
170
|
+
response_content = http_response.body
|
171
|
+
unless status_code == 200
|
172
|
+
error_model = JSON.load(response_content)
|
173
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
174
|
+
end
|
175
|
+
|
176
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
177
|
+
# Deserialize Response
|
178
|
+
if status_code == 200
|
179
|
+
begin
|
180
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
181
|
+
result_mapper = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult.mapper()
|
182
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
183
|
+
rescue Exception => e
|
184
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
185
|
+
end
|
186
|
+
end
|
187
|
+
|
188
|
+
result
|
189
|
+
end
|
190
|
+
|
191
|
+
promise.execute
|
192
|
+
end
|
193
|
+
|
194
|
+
#
|
195
|
+
# Lists all of the available IoT Central application REST API operations.
|
196
|
+
#
|
197
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
198
|
+
# will be added to the HTTP request.
|
199
|
+
#
|
200
|
+
# @return [OperationListResult] which provide lazy access to pages of the
|
201
|
+
# response.
|
202
|
+
#
|
203
|
+
def list_as_lazy(custom_headers:nil)
|
204
|
+
response = list_async(custom_headers:custom_headers).value!
|
205
|
+
unless response.nil?
|
206
|
+
page = response.body
|
207
|
+
page.next_method = Proc.new do |next_page_link|
|
208
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
209
|
+
end
|
210
|
+
page
|
211
|
+
end
|
212
|
+
end
|
213
|
+
|
214
|
+
end
|
215
|
+
end
|
@@ -2,5 +2,6 @@
|
|
2
2
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
4
|
|
5
|
+
require '2018-09-01/generated/azure_mgmt_iot_central'
|
5
6
|
require '2017-07-01-privatepreview/generated/azure_mgmt_iot_central'
|
6
7
|
require 'profiles/latest/iotcentral_latest_profile_client'
|
@@ -6,23 +6,23 @@ require 'azure_mgmt_iot_central'
|
|
6
6
|
|
7
7
|
module Azure::IotCentral::Profiles::Latest
|
8
8
|
module Mgmt
|
9
|
-
Apps = Azure::IotCentral::Mgmt::
|
10
|
-
Operations = Azure::IotCentral::Mgmt::
|
9
|
+
Apps = Azure::IotCentral::Mgmt::V2018_09_01::Apps
|
10
|
+
Operations = Azure::IotCentral::Mgmt::V2018_09_01::Operations
|
11
11
|
|
12
12
|
module Models
|
13
|
-
AppListResult = Azure::IotCentral::Mgmt::
|
14
|
-
OperationDisplay = Azure::IotCentral::Mgmt::
|
15
|
-
AppPatch = Azure::IotCentral::Mgmt::
|
16
|
-
Operation = Azure::IotCentral::Mgmt::
|
17
|
-
ErrorDetails = Azure::IotCentral::Mgmt::
|
18
|
-
OperationListResult = Azure::IotCentral::Mgmt::
|
19
|
-
Resource = Azure::IotCentral::Mgmt::
|
20
|
-
OperationInputs = Azure::IotCentral::Mgmt::
|
21
|
-
AppSkuInfo = Azure::IotCentral::Mgmt::
|
22
|
-
AppNameAvailabilityInfo = Azure::IotCentral::Mgmt::
|
23
|
-
App = Azure::IotCentral::Mgmt::
|
24
|
-
AppSku = Azure::IotCentral::Mgmt::
|
25
|
-
AppNameUnavailabilityReason = Azure::IotCentral::Mgmt::
|
13
|
+
AppListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult
|
14
|
+
OperationDisplay = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationDisplay
|
15
|
+
AppPatch = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch
|
16
|
+
Operation = Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation
|
17
|
+
ErrorDetails = Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorDetails
|
18
|
+
OperationListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult
|
19
|
+
Resource = Azure::IotCentral::Mgmt::V2018_09_01::Models::Resource
|
20
|
+
OperationInputs = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationInputs
|
21
|
+
AppSkuInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo
|
22
|
+
AppNameAvailabilityInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppNameAvailabilityInfo
|
23
|
+
App = Azure::IotCentral::Mgmt::V2018_09_01::Models::App
|
24
|
+
AppSku = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSku
|
25
|
+
AppNameUnavailabilityReason = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppNameUnavailabilityReason
|
26
26
|
end
|
27
27
|
|
28
28
|
#
|
@@ -44,7 +44,7 @@ module Azure::IotCentral::Profiles::Latest
|
|
44
44
|
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
45
45
|
@options = options[:options].nil? ? nil:options[:options]
|
46
46
|
|
47
|
-
@client_0 = Azure::IotCentral::Mgmt::
|
47
|
+
@client_0 = Azure::IotCentral::Mgmt::V2018_09_01::IotCentralClient.new(configurable.credentials, base_url, options)
|
48
48
|
if(@client_0.respond_to?(:subscription_id))
|
49
49
|
@client_0.subscription_id = configurable.subscription_id
|
50
50
|
end
|
@@ -72,43 +72,43 @@ module Azure::IotCentral::Profiles::Latest
|
|
72
72
|
|
73
73
|
class ModelClasses
|
74
74
|
def app_list_result
|
75
|
-
Azure::IotCentral::Mgmt::
|
75
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult
|
76
76
|
end
|
77
77
|
def operation_display
|
78
|
-
Azure::IotCentral::Mgmt::
|
78
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationDisplay
|
79
79
|
end
|
80
80
|
def app_patch
|
81
|
-
Azure::IotCentral::Mgmt::
|
81
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch
|
82
82
|
end
|
83
83
|
def operation
|
84
|
-
Azure::IotCentral::Mgmt::
|
84
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation
|
85
85
|
end
|
86
86
|
def error_details
|
87
|
-
Azure::IotCentral::Mgmt::
|
87
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorDetails
|
88
88
|
end
|
89
89
|
def operation_list_result
|
90
|
-
Azure::IotCentral::Mgmt::
|
90
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult
|
91
91
|
end
|
92
92
|
def resource
|
93
|
-
Azure::IotCentral::Mgmt::
|
93
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::Resource
|
94
94
|
end
|
95
95
|
def operation_inputs
|
96
|
-
Azure::IotCentral::Mgmt::
|
96
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationInputs
|
97
97
|
end
|
98
98
|
def app_sku_info
|
99
|
-
Azure::IotCentral::Mgmt::
|
99
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo
|
100
100
|
end
|
101
101
|
def app_name_availability_info
|
102
|
-
Azure::IotCentral::Mgmt::
|
102
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppNameAvailabilityInfo
|
103
103
|
end
|
104
104
|
def app
|
105
|
-
Azure::IotCentral::Mgmt::
|
105
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::App
|
106
106
|
end
|
107
107
|
def app_sku
|
108
|
-
Azure::IotCentral::Mgmt::
|
108
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSku
|
109
109
|
end
|
110
110
|
def app_name_unavailability_reason
|
111
|
-
Azure::IotCentral::Mgmt::
|
111
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppNameUnavailabilityReason
|
112
112
|
end
|
113
113
|
end
|
114
114
|
end
|