@azure/arm-digitaltwins 1.0.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/LICENSE.txt +1 -1
- package/README.md +72 -77
- package/dist/index.js +2613 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/azureDigitalTwinsManagementClient.d.ts +22 -0
- package/dist-esm/src/azureDigitalTwinsManagementClient.d.ts.map +1 -0
- package/dist-esm/src/azureDigitalTwinsManagementClient.js +55 -0
- package/dist-esm/src/azureDigitalTwinsManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +677 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +85 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +40 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +609 -256
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +19 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +171 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/digitalTwins.d.ts +119 -0
- package/dist-esm/src/operations/digitalTwins.d.ts.map +1 -0
- package/dist-esm/src/operations/digitalTwins.js +549 -0
- package/dist-esm/src/operations/digitalTwins.js.map +1 -0
- package/dist-esm/src/operations/digitalTwinsEndpoint.d.ts +81 -0
- package/dist-esm/src/operations/digitalTwinsEndpoint.d.ts.map +1 -0
- package/dist-esm/src/operations/digitalTwinsEndpoint.js +345 -0
- package/dist-esm/src/operations/digitalTwinsEndpoint.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +6 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +5 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +63 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +264 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +28 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +85 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/digitalTwins.d.ts +83 -0
- package/dist-esm/src/operationsInterfaces/digitalTwins.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/digitalTwins.js +9 -0
- package/dist-esm/src/operationsInterfaces/digitalTwins.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/digitalTwinsEndpoint.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/digitalTwinsEndpoint.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/digitalTwinsEndpoint.js +9 -0
- package/dist-esm/src/operationsInterfaces/digitalTwinsEndpoint.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +13 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +55 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +20 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +65 -31
- package/review/arm-digitaltwins.api.md +620 -0
- package/rollup.config.js +181 -30
- package/src/azureDigitalTwinsManagementClient.ts +82 -33
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +587 -684
- package/src/models/mappers.ts +638 -255
- package/src/models/parameters.ts +128 -44
- package/src/operations/digitalTwins.ts +557 -367
- package/src/operations/digitalTwinsEndpoint.ts +340 -192
- package/src/operations/index.ts +5 -5
- package/src/operations/operations.ts +87 -73
- package/src/operations/privateEndpointConnections.ts +377 -0
- package/src/operations/privateLinkResources.ts +116 -0
- package/src/operationsInterfaces/digitalTwins.ts +164 -0
- package/src/operationsInterfaces/digitalTwinsEndpoint.ts +115 -0
- package/src/operationsInterfaces/index.ts +13 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +108 -0
- package/src/operationsInterfaces/privateLinkResources.ts +42 -0
- package/tsconfig.json +3 -3
- package/types/arm-digitaltwins.d.ts +1009 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-digitaltwins.js +0 -1601
- package/dist/arm-digitaltwins.js.map +0 -1
- package/dist/arm-digitaltwins.min.js +0 -1
- package/dist/arm-digitaltwins.min.js.map +0 -1
- package/esm/azureDigitalTwinsManagementClient.d.ts +0 -20
- package/esm/azureDigitalTwinsManagementClient.d.ts.map +0 -1
- package/esm/azureDigitalTwinsManagementClient.js +0 -35
- package/esm/azureDigitalTwinsManagementClient.js.map +0 -1
- package/esm/azureDigitalTwinsManagementClientContext.d.ts +0 -16
- package/esm/azureDigitalTwinsManagementClientContext.d.ts.map +0 -1
- package/esm/azureDigitalTwinsManagementClientContext.js +0 -56
- package/esm/azureDigitalTwinsManagementClientContext.js.map +0 -1
- package/esm/models/digitalTwinsEndpointMappers.d.ts +0 -2
- package/esm/models/digitalTwinsEndpointMappers.d.ts.map +0 -1
- package/esm/models/digitalTwinsEndpointMappers.js +0 -9
- package/esm/models/digitalTwinsEndpointMappers.js.map +0 -1
- package/esm/models/digitalTwinsMappers.d.ts +0 -2
- package/esm/models/digitalTwinsMappers.d.ts.map +0 -1
- package/esm/models/digitalTwinsMappers.js +0 -9
- package/esm/models/digitalTwinsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -815
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -28
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -10
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -113
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/digitalTwins.d.ts +0 -179
- package/esm/operations/digitalTwins.d.ts.map +0 -1
- package/esm/operations/digitalTwins.js +0 -377
- package/esm/operations/digitalTwins.js.map +0 -1
- package/esm/operations/digitalTwinsEndpoint.d.ts +0 -113
- package/esm/operations/digitalTwinsEndpoint.d.ts.map +0 -1
- package/esm/operations/digitalTwinsEndpoint.js +0 -240
- package/esm/operations/digitalTwinsEndpoint.js.map +0 -1
- package/esm/operations/index.d.ts +0 -4
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/src/azureDigitalTwinsManagementClientContext.ts +0 -62
- package/src/models/digitalTwinsEndpointMappers.ts +0 -23
- package/src/models/digitalTwinsMappers.ts +0 -26
- package/src/models/operationsMappers.ts +0 -16
|
@@ -1,240 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
import { __assign } from "tslib";
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as Mappers from "../models/digitalTwinsEndpointMappers";
|
|
13
|
-
import * as Parameters from "../models/parameters";
|
|
14
|
-
/** Class representing a DigitalTwinsEndpoint. */
|
|
15
|
-
var DigitalTwinsEndpoint = /** @class */ (function () {
|
|
16
|
-
/**
|
|
17
|
-
* Create a DigitalTwinsEndpoint.
|
|
18
|
-
* @param {AzureDigitalTwinsManagementClientContext} client Reference to the service client.
|
|
19
|
-
*/
|
|
20
|
-
function DigitalTwinsEndpoint(client) {
|
|
21
|
-
this.client = client;
|
|
22
|
-
}
|
|
23
|
-
DigitalTwinsEndpoint.prototype.list = function (resourceGroupName, resourceName, options, callback) {
|
|
24
|
-
return this.client.sendOperationRequest({
|
|
25
|
-
resourceGroupName: resourceGroupName,
|
|
26
|
-
resourceName: resourceName,
|
|
27
|
-
options: options
|
|
28
|
-
}, listOperationSpec, callback);
|
|
29
|
-
};
|
|
30
|
-
DigitalTwinsEndpoint.prototype.get = function (resourceGroupName, resourceName, endpointName, options, callback) {
|
|
31
|
-
return this.client.sendOperationRequest({
|
|
32
|
-
resourceGroupName: resourceGroupName,
|
|
33
|
-
resourceName: resourceName,
|
|
34
|
-
endpointName: endpointName,
|
|
35
|
-
options: options
|
|
36
|
-
}, getOperationSpec, callback);
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* Create or update DigitalTwinsInstance endpoint.
|
|
40
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
41
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
42
|
-
* @param endpointName Name of Endpoint Resource.
|
|
43
|
-
* @param [options] The optional parameters
|
|
44
|
-
* @returns Promise<Models.DigitalTwinsEndpointCreateOrUpdateResponse>
|
|
45
|
-
*/
|
|
46
|
-
DigitalTwinsEndpoint.prototype.createOrUpdate = function (resourceGroupName, resourceName, endpointName, options) {
|
|
47
|
-
return this.beginCreateOrUpdate(resourceGroupName, resourceName, endpointName, options)
|
|
48
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
* Delete a DigitalTwinsInstance endpoint.
|
|
52
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
53
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
54
|
-
* @param endpointName Name of Endpoint Resource.
|
|
55
|
-
* @param [options] The optional parameters
|
|
56
|
-
* @returns Promise<Models.DigitalTwinsEndpointDeleteMethodResponse>
|
|
57
|
-
*/
|
|
58
|
-
DigitalTwinsEndpoint.prototype.deleteMethod = function (resourceGroupName, resourceName, endpointName, options) {
|
|
59
|
-
return this.beginDeleteMethod(resourceGroupName, resourceName, endpointName, options)
|
|
60
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
61
|
-
};
|
|
62
|
-
/**
|
|
63
|
-
* Create or update DigitalTwinsInstance endpoint.
|
|
64
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
65
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
66
|
-
* @param endpointName Name of Endpoint Resource.
|
|
67
|
-
* @param [options] The optional parameters
|
|
68
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
69
|
-
*/
|
|
70
|
-
DigitalTwinsEndpoint.prototype.beginCreateOrUpdate = function (resourceGroupName, resourceName, endpointName, options) {
|
|
71
|
-
return this.client.sendLRORequest({
|
|
72
|
-
resourceGroupName: resourceGroupName,
|
|
73
|
-
resourceName: resourceName,
|
|
74
|
-
endpointName: endpointName,
|
|
75
|
-
options: options
|
|
76
|
-
}, beginCreateOrUpdateOperationSpec, options);
|
|
77
|
-
};
|
|
78
|
-
/**
|
|
79
|
-
* Delete a DigitalTwinsInstance endpoint.
|
|
80
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
81
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
82
|
-
* @param endpointName Name of Endpoint Resource.
|
|
83
|
-
* @param [options] The optional parameters
|
|
84
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
85
|
-
*/
|
|
86
|
-
DigitalTwinsEndpoint.prototype.beginDeleteMethod = function (resourceGroupName, resourceName, endpointName, options) {
|
|
87
|
-
return this.client.sendLRORequest({
|
|
88
|
-
resourceGroupName: resourceGroupName,
|
|
89
|
-
resourceName: resourceName,
|
|
90
|
-
endpointName: endpointName,
|
|
91
|
-
options: options
|
|
92
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
93
|
-
};
|
|
94
|
-
DigitalTwinsEndpoint.prototype.listNext = function (nextPageLink, options, callback) {
|
|
95
|
-
return this.client.sendOperationRequest({
|
|
96
|
-
nextPageLink: nextPageLink,
|
|
97
|
-
options: options
|
|
98
|
-
}, listNextOperationSpec, callback);
|
|
99
|
-
};
|
|
100
|
-
return DigitalTwinsEndpoint;
|
|
101
|
-
}());
|
|
102
|
-
export { DigitalTwinsEndpoint };
|
|
103
|
-
// Operation Specifications
|
|
104
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
105
|
-
var listOperationSpec = {
|
|
106
|
-
httpMethod: "GET",
|
|
107
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/endpoints",
|
|
108
|
-
urlParameters: [
|
|
109
|
-
Parameters.subscriptionId,
|
|
110
|
-
Parameters.resourceGroupName,
|
|
111
|
-
Parameters.resourceName
|
|
112
|
-
],
|
|
113
|
-
queryParameters: [
|
|
114
|
-
Parameters.apiVersion
|
|
115
|
-
],
|
|
116
|
-
headerParameters: [
|
|
117
|
-
Parameters.acceptLanguage
|
|
118
|
-
],
|
|
119
|
-
responses: {
|
|
120
|
-
200: {
|
|
121
|
-
bodyMapper: Mappers.DigitalTwinsEndpointResourceListResult
|
|
122
|
-
},
|
|
123
|
-
default: {
|
|
124
|
-
bodyMapper: Mappers.ErrorResponse
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
serializer: serializer
|
|
128
|
-
};
|
|
129
|
-
var getOperationSpec = {
|
|
130
|
-
httpMethod: "GET",
|
|
131
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/endpoints/{endpointName}",
|
|
132
|
-
urlParameters: [
|
|
133
|
-
Parameters.subscriptionId,
|
|
134
|
-
Parameters.resourceGroupName,
|
|
135
|
-
Parameters.resourceName,
|
|
136
|
-
Parameters.endpointName
|
|
137
|
-
],
|
|
138
|
-
queryParameters: [
|
|
139
|
-
Parameters.apiVersion
|
|
140
|
-
],
|
|
141
|
-
headerParameters: [
|
|
142
|
-
Parameters.acceptLanguage
|
|
143
|
-
],
|
|
144
|
-
responses: {
|
|
145
|
-
200: {
|
|
146
|
-
bodyMapper: Mappers.DigitalTwinsEndpointResource
|
|
147
|
-
},
|
|
148
|
-
default: {
|
|
149
|
-
bodyMapper: Mappers.ErrorResponse
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
serializer: serializer
|
|
153
|
-
};
|
|
154
|
-
var beginCreateOrUpdateOperationSpec = {
|
|
155
|
-
httpMethod: "PUT",
|
|
156
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/endpoints/{endpointName}",
|
|
157
|
-
urlParameters: [
|
|
158
|
-
Parameters.subscriptionId,
|
|
159
|
-
Parameters.resourceGroupName,
|
|
160
|
-
Parameters.resourceName,
|
|
161
|
-
Parameters.endpointName
|
|
162
|
-
],
|
|
163
|
-
queryParameters: [
|
|
164
|
-
Parameters.apiVersion
|
|
165
|
-
],
|
|
166
|
-
headerParameters: [
|
|
167
|
-
Parameters.acceptLanguage
|
|
168
|
-
],
|
|
169
|
-
requestBody: {
|
|
170
|
-
parameterPath: {
|
|
171
|
-
properties: [
|
|
172
|
-
"options",
|
|
173
|
-
"properties"
|
|
174
|
-
]
|
|
175
|
-
},
|
|
176
|
-
mapper: __assign(__assign({}, Mappers.DigitalTwinsEndpointResource), { required: true })
|
|
177
|
-
},
|
|
178
|
-
responses: {
|
|
179
|
-
200: {
|
|
180
|
-
bodyMapper: Mappers.DigitalTwinsEndpointResource
|
|
181
|
-
},
|
|
182
|
-
201: {
|
|
183
|
-
bodyMapper: Mappers.DigitalTwinsEndpointResource
|
|
184
|
-
},
|
|
185
|
-
default: {
|
|
186
|
-
bodyMapper: Mappers.ErrorResponse
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
|
-
serializer: serializer
|
|
190
|
-
};
|
|
191
|
-
var beginDeleteMethodOperationSpec = {
|
|
192
|
-
httpMethod: "DELETE",
|
|
193
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/endpoints/{endpointName}",
|
|
194
|
-
urlParameters: [
|
|
195
|
-
Parameters.subscriptionId,
|
|
196
|
-
Parameters.resourceGroupName,
|
|
197
|
-
Parameters.resourceName,
|
|
198
|
-
Parameters.endpointName
|
|
199
|
-
],
|
|
200
|
-
queryParameters: [
|
|
201
|
-
Parameters.apiVersion
|
|
202
|
-
],
|
|
203
|
-
headerParameters: [
|
|
204
|
-
Parameters.acceptLanguage
|
|
205
|
-
],
|
|
206
|
-
responses: {
|
|
207
|
-
200: {
|
|
208
|
-
bodyMapper: Mappers.DigitalTwinsEndpointResource
|
|
209
|
-
},
|
|
210
|
-
202: {
|
|
211
|
-
bodyMapper: Mappers.DigitalTwinsEndpointResource
|
|
212
|
-
},
|
|
213
|
-
204: {},
|
|
214
|
-
default: {
|
|
215
|
-
bodyMapper: Mappers.ErrorResponse
|
|
216
|
-
}
|
|
217
|
-
},
|
|
218
|
-
serializer: serializer
|
|
219
|
-
};
|
|
220
|
-
var listNextOperationSpec = {
|
|
221
|
-
httpMethod: "GET",
|
|
222
|
-
baseUrl: "https://management.azure.com",
|
|
223
|
-
path: "{nextLink}",
|
|
224
|
-
urlParameters: [
|
|
225
|
-
Parameters.nextPageLink
|
|
226
|
-
],
|
|
227
|
-
headerParameters: [
|
|
228
|
-
Parameters.acceptLanguage
|
|
229
|
-
],
|
|
230
|
-
responses: {
|
|
231
|
-
200: {
|
|
232
|
-
bodyMapper: Mappers.DigitalTwinsEndpointResourceListResult
|
|
233
|
-
},
|
|
234
|
-
default: {
|
|
235
|
-
bodyMapper: Mappers.ErrorResponse
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
|
-
serializer: serializer
|
|
239
|
-
};
|
|
240
|
-
//# sourceMappingURL=digitalTwinsEndpoint.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"digitalTwinsEndpoint.js","sourceRoot":"","sources":["../../src/operations/digitalTwinsEndpoint.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,OAAO,MAAM,uCAAuC,CAAC;AACjE,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,iDAAiD;AACjD;IAGE;;;OAGG;IACH,8BAAY,MAAgD;QAC1D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAuBD,mCAAI,GAAJ,UAAK,iBAAyB,EAAE,YAAoB,EAAE,OAA2G,EAAE,QAAgF;QACjP,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,YAAY,cAAA;YACZ,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAAqD,CAAC;IAClE,CAAC;IA0BD,kCAAG,GAAH,UAAI,iBAAyB,EAAE,YAAoB,EAAE,YAAoB,EAAE,OAAiG,EAAE,QAAsE;QAClP,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,YAAY,cAAA;YACZ,YAAY,cAAA;YACZ,OAAO,SAAA;SACR,EACD,gBAAgB,EAChB,QAAQ,CAAoD,CAAC;IACjE,CAAC;IAED;;;;;;;OAOG;IACH,6CAAc,GAAd,UAAe,iBAAyB,EAAE,YAAoB,EAAE,YAAoB,EAAE,OAAiE;QACrJ,OAAO,IAAI,CAAC,mBAAmB,CAAC,iBAAiB,EAAC,YAAY,EAAC,YAAY,EAAC,OAAO,CAAC;aACjF,IAAI,CAAC,UAAA,SAAS,IAAI,OAAA,SAAS,CAAC,iBAAiB,EAAE,EAA7B,CAA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ACX,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAUA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as Models from "../models";
|
|
3
|
-
import { AzureDigitalTwinsManagementClientContext } from "../azureDigitalTwinsManagementClientContext";
|
|
4
|
-
/** Class representing a Operations. */
|
|
5
|
-
export declare class Operations {
|
|
6
|
-
private readonly client;
|
|
7
|
-
/**
|
|
8
|
-
* Create a Operations.
|
|
9
|
-
* @param {AzureDigitalTwinsManagementClientContext} client Reference to the service client.
|
|
10
|
-
*/
|
|
11
|
-
constructor(client: AzureDigitalTwinsManagementClientContext);
|
|
12
|
-
/**
|
|
13
|
-
* Lists all of the available DigitalTwins service REST API operations.
|
|
14
|
-
* @param [options] The optional parameters
|
|
15
|
-
* @returns Promise<Models.OperationsListResponse>
|
|
16
|
-
*/
|
|
17
|
-
list(options?: msRest.RequestOptionsBase): Promise<Models.OperationsListResponse>;
|
|
18
|
-
/**
|
|
19
|
-
* @param callback The callback
|
|
20
|
-
*/
|
|
21
|
-
list(callback: msRest.ServiceCallback<Models.OperationListResult>): void;
|
|
22
|
-
/**
|
|
23
|
-
* @param options The optional parameters
|
|
24
|
-
* @param callback The callback
|
|
25
|
-
*/
|
|
26
|
-
list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
|
|
27
|
-
/**
|
|
28
|
-
* Lists all of the available DigitalTwins service REST API operations.
|
|
29
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
30
|
-
* @param [options] The optional parameters
|
|
31
|
-
* @returns Promise<Models.OperationsListNextResponse>
|
|
32
|
-
*/
|
|
33
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.OperationsListNextResponse>;
|
|
34
|
-
/**
|
|
35
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
36
|
-
* @param callback The callback
|
|
37
|
-
*/
|
|
38
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
|
|
39
|
-
/**
|
|
40
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
41
|
-
* @param options The optional parameters
|
|
42
|
-
* @param callback The callback
|
|
43
|
-
*/
|
|
44
|
-
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
|
|
45
|
-
}
|
|
46
|
-
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../src/operations/operations.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,wCAAwC,EAAE,MAAM,6CAA6C,CAAC;AAEvG,uCAAuC;AACvC,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2C;IAElE;;;OAGG;gBACS,MAAM,EAAE,wCAAwC;IAI5D;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,sBAAsB,CAAC;IACjF;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IACxE;;;OAGG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IAU5G;;;;;OAKG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,0BAA0B,CAAC;IAC/G;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IAClG;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;CAUvI"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
11
|
-
import * as Mappers from "../models/operationsMappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
13
|
-
/** Class representing a Operations. */
|
|
14
|
-
var Operations = /** @class */ (function () {
|
|
15
|
-
/**
|
|
16
|
-
* Create a Operations.
|
|
17
|
-
* @param {AzureDigitalTwinsManagementClientContext} client Reference to the service client.
|
|
18
|
-
*/
|
|
19
|
-
function Operations(client) {
|
|
20
|
-
this.client = client;
|
|
21
|
-
}
|
|
22
|
-
Operations.prototype.list = function (options, callback) {
|
|
23
|
-
return this.client.sendOperationRequest({
|
|
24
|
-
options: options
|
|
25
|
-
}, listOperationSpec, callback);
|
|
26
|
-
};
|
|
27
|
-
Operations.prototype.listNext = function (nextPageLink, options, callback) {
|
|
28
|
-
return this.client.sendOperationRequest({
|
|
29
|
-
nextPageLink: nextPageLink,
|
|
30
|
-
options: options
|
|
31
|
-
}, listNextOperationSpec, callback);
|
|
32
|
-
};
|
|
33
|
-
return Operations;
|
|
34
|
-
}());
|
|
35
|
-
export { Operations };
|
|
36
|
-
// Operation Specifications
|
|
37
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
38
|
-
var listOperationSpec = {
|
|
39
|
-
httpMethod: "GET",
|
|
40
|
-
path: "providers/Microsoft.DigitalTwins/operations",
|
|
41
|
-
queryParameters: [
|
|
42
|
-
Parameters.apiVersion
|
|
43
|
-
],
|
|
44
|
-
headerParameters: [
|
|
45
|
-
Parameters.acceptLanguage
|
|
46
|
-
],
|
|
47
|
-
responses: {
|
|
48
|
-
200: {
|
|
49
|
-
bodyMapper: Mappers.OperationListResult
|
|
50
|
-
},
|
|
51
|
-
default: {
|
|
52
|
-
bodyMapper: Mappers.ErrorResponse
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
serializer: serializer
|
|
56
|
-
};
|
|
57
|
-
var listNextOperationSpec = {
|
|
58
|
-
httpMethod: "GET",
|
|
59
|
-
baseUrl: "https://management.azure.com",
|
|
60
|
-
path: "{nextLink}",
|
|
61
|
-
urlParameters: [
|
|
62
|
-
Parameters.nextPageLink
|
|
63
|
-
],
|
|
64
|
-
headerParameters: [
|
|
65
|
-
Parameters.acceptLanguage
|
|
66
|
-
],
|
|
67
|
-
responses: {
|
|
68
|
-
200: {
|
|
69
|
-
bodyMapper: Mappers.OperationListResult
|
|
70
|
-
},
|
|
71
|
-
default: {
|
|
72
|
-
bodyMapper: Mappers.ErrorResponse
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
serializer: serializer
|
|
76
|
-
};
|
|
77
|
-
//# sourceMappingURL=operations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,uCAAuC;AACvC;IAGE;;;OAGG;IACH,oBAAY,MAAgD;QAC1D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAiBD,yBAAI,GAAJ,UAAK,OAAwF,EAAE,QAA6D;QAC1J,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAA2C,CAAC;IACxD,CAAC;IAoBD,6BAAQ,GAAR,UAAS,YAAoB,EAAE,OAAwF,EAAE,QAA6D;QACpL,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,YAAY,cAAA;YACZ,OAAO,SAAA;SACR,EACD,qBAAqB,EACrB,QAAQ,CAA+C,CAAC;IAC5D,CAAC;IACH,iBAAC;AAAD,CAAC,AA9DD,IA8DC;;AAED,2BAA2B;AAC3B,IAAM,UAAU,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAClD,IAAM,iBAAiB,GAAyB;IAC9C,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,6CAA6C;IACnD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,qBAAqB,GAAyB;IAClD,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import * as Models from "./models";
|
|
12
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
13
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
14
|
-
|
|
15
|
-
const packageName = "@azure/arm-digitaltwins";
|
|
16
|
-
const packageVersion = "1.0.0";
|
|
17
|
-
|
|
18
|
-
export class AzureDigitalTwinsManagementClientContext extends msRestAzure.AzureServiceClient {
|
|
19
|
-
credentials: msRest.ServiceClientCredentials;
|
|
20
|
-
subscriptionId: string;
|
|
21
|
-
apiVersion?: string;
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Initializes a new instance of the AzureDigitalTwinsManagementClient class.
|
|
25
|
-
* @param credentials Credentials needed for the client to connect to Azure.
|
|
26
|
-
* @param subscriptionId The subscription identifier.
|
|
27
|
-
* @param [options] The parameter options
|
|
28
|
-
*/
|
|
29
|
-
constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureDigitalTwinsManagementClientOptions) {
|
|
30
|
-
if (credentials == undefined) {
|
|
31
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
32
|
-
}
|
|
33
|
-
if (subscriptionId == undefined) {
|
|
34
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
if (!options) {
|
|
38
|
-
options = {};
|
|
39
|
-
}
|
|
40
|
-
if(!options.userAgent) {
|
|
41
|
-
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
42
|
-
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
super(credentials, options);
|
|
46
|
-
|
|
47
|
-
this.apiVersion = '2020-10-31';
|
|
48
|
-
this.acceptLanguage = 'en-US';
|
|
49
|
-
this.longRunningOperationRetryTimeout = 30;
|
|
50
|
-
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
|
|
51
|
-
this.requestContentType = "application/json; charset=utf-8";
|
|
52
|
-
this.credentials = credentials;
|
|
53
|
-
this.subscriptionId = subscriptionId;
|
|
54
|
-
|
|
55
|
-
if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
56
|
-
this.acceptLanguage = options.acceptLanguage;
|
|
57
|
-
}
|
|
58
|
-
if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
59
|
-
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
export {
|
|
10
|
-
discriminators,
|
|
11
|
-
BaseResource,
|
|
12
|
-
DigitalTwinsDescription,
|
|
13
|
-
DigitalTwinsEndpointResource,
|
|
14
|
-
DigitalTwinsEndpointResourceListResult,
|
|
15
|
-
DigitalTwinsEndpointResourceProperties,
|
|
16
|
-
DigitalTwinsResource,
|
|
17
|
-
ErrorDefinition,
|
|
18
|
-
ErrorResponse,
|
|
19
|
-
EventGrid,
|
|
20
|
-
EventHub,
|
|
21
|
-
ExternalResource,
|
|
22
|
-
ServiceBus
|
|
23
|
-
} from "../models/mappers";
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
export {
|
|
10
|
-
discriminators,
|
|
11
|
-
BaseResource,
|
|
12
|
-
CheckNameRequest,
|
|
13
|
-
CheckNameResult,
|
|
14
|
-
DigitalTwinsDescription,
|
|
15
|
-
DigitalTwinsDescriptionListResult,
|
|
16
|
-
DigitalTwinsEndpointResource,
|
|
17
|
-
DigitalTwinsEndpointResourceProperties,
|
|
18
|
-
DigitalTwinsPatchDescription,
|
|
19
|
-
DigitalTwinsResource,
|
|
20
|
-
ErrorDefinition,
|
|
21
|
-
ErrorResponse,
|
|
22
|
-
EventGrid,
|
|
23
|
-
EventHub,
|
|
24
|
-
ExternalResource,
|
|
25
|
-
ServiceBus
|
|
26
|
-
} from "../models/mappers";
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
export {
|
|
10
|
-
discriminators,
|
|
11
|
-
ErrorDefinition,
|
|
12
|
-
ErrorResponse,
|
|
13
|
-
Operation,
|
|
14
|
-
OperationDisplay,
|
|
15
|
-
OperationListResult
|
|
16
|
-
} from "../models/mappers";
|