@azure/arm-digitaltwins 2.1.1 → 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/README.md +69 -83
- 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 +441 -491
- 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/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- 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/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/digitalTwins.js} +2 -9
- 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/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/digitalTwinsEndpoint.js} +2 -2
- 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/{esm/models/index.js → dist-esm/src/operationsInterfaces/operations.js} +2 -1
- 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 -32
- package/review/arm-digitaltwins.api.md +620 -0
- package/rollup.config.js +181 -30
- package/src/azureDigitalTwinsManagementClient.ts +80 -40
- package/src/{models/privateLinkResourcesMappers.ts → index.ts} +4 -9
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +589 -1071
- package/src/models/mappers.ts +444 -492
- package/src/models/parameters.ts +119 -54
- package/src/operations/digitalTwins.ts +555 -371
- package/src/operations/digitalTwinsEndpoint.ts +338 -192
- package/src/operations/index.ts +1 -2
- package/src/operations/operations.ts +85 -73
- package/src/operations/privateEndpointConnections.ts +246 -151
- package/src/operations/privateLinkResources.ts +60 -92
- 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 -2418
- 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 -28
- package/esm/azureDigitalTwinsManagementClient.d.ts.map +0 -1
- package/esm/azureDigitalTwinsManagementClient.js +0 -41
- package/esm/azureDigitalTwinsManagementClient.js.map +0 -1
- package/esm/azureDigitalTwinsManagementClientContext.d.ts +0 -22
- package/esm/azureDigitalTwinsManagementClientContext.d.ts.map +0 -1
- package/esm/azureDigitalTwinsManagementClientContext.js +0 -60
- 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 -1169
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -42
- 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.map +0 -1
- package/esm/models/parameters.d.ts +0 -12
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -132
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
- package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.js +0 -9
- package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
- package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
- package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
- package/esm/models/privateLinkResourcesMappers.js +0 -9
- package/esm/models/privateLinkResourcesMappers.js.map +0 -1
- package/esm/operations/digitalTwins.d.ts +0 -181
- package/esm/operations/digitalTwins.d.ts.map +0 -1
- package/esm/operations/digitalTwins.js +0 -383
- package/esm/operations/digitalTwins.js.map +0 -1
- package/esm/operations/digitalTwinsEndpoint.d.ts +0 -115
- package/esm/operations/digitalTwinsEndpoint.d.ts.map +0 -1
- package/esm/operations/digitalTwinsEndpoint.js +0 -242
- package/esm/operations/digitalTwinsEndpoint.js.map +0 -1
- 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 -79
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/privateEndpointConnections.d.ts +0 -97
- package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
- package/esm/operations/privateEndpointConnections.js +0 -209
- package/esm/operations/privateEndpointConnections.js.map +0 -1
- package/esm/operations/privateLinkResources.d.ts +0 -58
- package/esm/operations/privateLinkResources.d.ts.map +0 -1
- package/esm/operations/privateLinkResources.js +0 -90
- package/esm/operations/privateLinkResources.js.map +0 -1
- package/src/azureDigitalTwinsManagementClientContext.ts +0 -67
- package/src/models/digitalTwinsEndpointMappers.ts +0 -31
- package/src/models/digitalTwinsMappers.ts +0 -35
- package/src/models/privateEndpointConnectionsMappers.ts +0 -31
|
@@ -0,0 +1,549 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
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
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
import { LroEngine } from "@azure/core-lro";
|
|
13
|
+
import { LroImpl } from "../lroImpl";
|
|
14
|
+
/// <reference lib="esnext.asynciterable" />
|
|
15
|
+
/** Class containing DigitalTwins operations. */
|
|
16
|
+
export class DigitalTwinsImpl {
|
|
17
|
+
/**
|
|
18
|
+
* Initialize a new instance of the class DigitalTwins class.
|
|
19
|
+
* @param client Reference to the service client
|
|
20
|
+
*/
|
|
21
|
+
constructor(client) {
|
|
22
|
+
this.client = client;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Get all the DigitalTwinsInstances in a subscription.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
list(options) {
|
|
29
|
+
const iter = this.listPagingAll(options);
|
|
30
|
+
return {
|
|
31
|
+
next() {
|
|
32
|
+
return iter.next();
|
|
33
|
+
},
|
|
34
|
+
[Symbol.asyncIterator]() {
|
|
35
|
+
return this;
|
|
36
|
+
},
|
|
37
|
+
byPage: () => {
|
|
38
|
+
return this.listPagingPage(options);
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
listPagingPage(options) {
|
|
43
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
44
|
+
let result = yield __await(this._list(options));
|
|
45
|
+
yield yield __await(result.value || []);
|
|
46
|
+
let continuationToken = result.nextLink;
|
|
47
|
+
while (continuationToken) {
|
|
48
|
+
result = yield __await(this._listNext(continuationToken, options));
|
|
49
|
+
continuationToken = result.nextLink;
|
|
50
|
+
yield yield __await(result.value || []);
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
listPagingAll(options) {
|
|
55
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
56
|
+
var e_1, _a;
|
|
57
|
+
try {
|
|
58
|
+
for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
59
|
+
const page = _c.value;
|
|
60
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
64
|
+
finally {
|
|
65
|
+
try {
|
|
66
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
67
|
+
}
|
|
68
|
+
finally { if (e_1) throw e_1.error; }
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Get all the DigitalTwinsInstances in a resource group.
|
|
74
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
75
|
+
* @param options The options parameters.
|
|
76
|
+
*/
|
|
77
|
+
listByResourceGroup(resourceGroupName, options) {
|
|
78
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
79
|
+
return {
|
|
80
|
+
next() {
|
|
81
|
+
return iter.next();
|
|
82
|
+
},
|
|
83
|
+
[Symbol.asyncIterator]() {
|
|
84
|
+
return this;
|
|
85
|
+
},
|
|
86
|
+
byPage: () => {
|
|
87
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options);
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
listByResourceGroupPagingPage(resourceGroupName, options) {
|
|
92
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
93
|
+
let result = yield __await(this._listByResourceGroup(resourceGroupName, options));
|
|
94
|
+
yield yield __await(result.value || []);
|
|
95
|
+
let continuationToken = result.nextLink;
|
|
96
|
+
while (continuationToken) {
|
|
97
|
+
result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
98
|
+
continuationToken = result.nextLink;
|
|
99
|
+
yield yield __await(result.value || []);
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
104
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
105
|
+
var e_2, _a;
|
|
106
|
+
try {
|
|
107
|
+
for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
108
|
+
const page = _c.value;
|
|
109
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
113
|
+
finally {
|
|
114
|
+
try {
|
|
115
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
116
|
+
}
|
|
117
|
+
finally { if (e_2) throw e_2.error; }
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Get DigitalTwinsInstances resource.
|
|
123
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
124
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
125
|
+
* @param options The options parameters.
|
|
126
|
+
*/
|
|
127
|
+
get(resourceGroupName, resourceName, options) {
|
|
128
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec);
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Create or update the metadata of a DigitalTwinsInstance. The usual pattern to modify a property is
|
|
132
|
+
* to retrieve the DigitalTwinsInstance and security metadata, and then combine them with the modified
|
|
133
|
+
* values in a new body to update the DigitalTwinsInstance.
|
|
134
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
135
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
136
|
+
* @param digitalTwinsCreate The DigitalTwinsInstance and security metadata.
|
|
137
|
+
* @param options The options parameters.
|
|
138
|
+
*/
|
|
139
|
+
beginCreateOrUpdate(resourceGroupName, resourceName, digitalTwinsCreate, options) {
|
|
140
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
141
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
142
|
+
return this.client.sendOperationRequest(args, spec);
|
|
143
|
+
});
|
|
144
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
145
|
+
var _a;
|
|
146
|
+
let currentRawResponse = undefined;
|
|
147
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
148
|
+
const callback = (rawResponse, flatResponse) => {
|
|
149
|
+
currentRawResponse = rawResponse;
|
|
150
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
151
|
+
};
|
|
152
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
153
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
154
|
+
return {
|
|
155
|
+
flatResponse,
|
|
156
|
+
rawResponse: {
|
|
157
|
+
statusCode: currentRawResponse.status,
|
|
158
|
+
body: currentRawResponse.parsedBody,
|
|
159
|
+
headers: currentRawResponse.headers.toJSON()
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
});
|
|
163
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, resourceName, digitalTwinsCreate, options }, createOrUpdateOperationSpec);
|
|
164
|
+
return new LroEngine(lro, {
|
|
165
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
166
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
167
|
+
});
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Create or update the metadata of a DigitalTwinsInstance. The usual pattern to modify a property is
|
|
172
|
+
* to retrieve the DigitalTwinsInstance and security metadata, and then combine them with the modified
|
|
173
|
+
* values in a new body to update the DigitalTwinsInstance.
|
|
174
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
175
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
176
|
+
* @param digitalTwinsCreate The DigitalTwinsInstance and security metadata.
|
|
177
|
+
* @param options The options parameters.
|
|
178
|
+
*/
|
|
179
|
+
beginCreateOrUpdateAndWait(resourceGroupName, resourceName, digitalTwinsCreate, options) {
|
|
180
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
181
|
+
const poller = yield this.beginCreateOrUpdate(resourceGroupName, resourceName, digitalTwinsCreate, options);
|
|
182
|
+
return poller.pollUntilDone();
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* Update metadata of DigitalTwinsInstance.
|
|
187
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
188
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
189
|
+
* @param digitalTwinsPatchDescription The DigitalTwinsInstance and security metadata.
|
|
190
|
+
* @param options The options parameters.
|
|
191
|
+
*/
|
|
192
|
+
beginUpdate(resourceGroupName, resourceName, digitalTwinsPatchDescription, options) {
|
|
193
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
194
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
195
|
+
return this.client.sendOperationRequest(args, spec);
|
|
196
|
+
});
|
|
197
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
198
|
+
var _a;
|
|
199
|
+
let currentRawResponse = undefined;
|
|
200
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
201
|
+
const callback = (rawResponse, flatResponse) => {
|
|
202
|
+
currentRawResponse = rawResponse;
|
|
203
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
204
|
+
};
|
|
205
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
206
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
207
|
+
return {
|
|
208
|
+
flatResponse,
|
|
209
|
+
rawResponse: {
|
|
210
|
+
statusCode: currentRawResponse.status,
|
|
211
|
+
body: currentRawResponse.parsedBody,
|
|
212
|
+
headers: currentRawResponse.headers.toJSON()
|
|
213
|
+
}
|
|
214
|
+
};
|
|
215
|
+
});
|
|
216
|
+
const lro = new LroImpl(sendOperation, {
|
|
217
|
+
resourceGroupName,
|
|
218
|
+
resourceName,
|
|
219
|
+
digitalTwinsPatchDescription,
|
|
220
|
+
options
|
|
221
|
+
}, updateOperationSpec);
|
|
222
|
+
return new LroEngine(lro, {
|
|
223
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
224
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
225
|
+
});
|
|
226
|
+
});
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Update metadata of DigitalTwinsInstance.
|
|
230
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
231
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
232
|
+
* @param digitalTwinsPatchDescription The DigitalTwinsInstance and security metadata.
|
|
233
|
+
* @param options The options parameters.
|
|
234
|
+
*/
|
|
235
|
+
beginUpdateAndWait(resourceGroupName, resourceName, digitalTwinsPatchDescription, options) {
|
|
236
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
237
|
+
const poller = yield this.beginUpdate(resourceGroupName, resourceName, digitalTwinsPatchDescription, options);
|
|
238
|
+
return poller.pollUntilDone();
|
|
239
|
+
});
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* Delete a DigitalTwinsInstance.
|
|
243
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
244
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
245
|
+
* @param options The options parameters.
|
|
246
|
+
*/
|
|
247
|
+
beginDelete(resourceGroupName, resourceName, options) {
|
|
248
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
249
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
250
|
+
return this.client.sendOperationRequest(args, spec);
|
|
251
|
+
});
|
|
252
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
253
|
+
var _a;
|
|
254
|
+
let currentRawResponse = undefined;
|
|
255
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
256
|
+
const callback = (rawResponse, flatResponse) => {
|
|
257
|
+
currentRawResponse = rawResponse;
|
|
258
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
259
|
+
};
|
|
260
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
261
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
262
|
+
return {
|
|
263
|
+
flatResponse,
|
|
264
|
+
rawResponse: {
|
|
265
|
+
statusCode: currentRawResponse.status,
|
|
266
|
+
body: currentRawResponse.parsedBody,
|
|
267
|
+
headers: currentRawResponse.headers.toJSON()
|
|
268
|
+
}
|
|
269
|
+
};
|
|
270
|
+
});
|
|
271
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, resourceName, options }, deleteOperationSpec);
|
|
272
|
+
return new LroEngine(lro, {
|
|
273
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
274
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
275
|
+
});
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* Delete a DigitalTwinsInstance.
|
|
280
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
281
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
282
|
+
* @param options The options parameters.
|
|
283
|
+
*/
|
|
284
|
+
beginDeleteAndWait(resourceGroupName, resourceName, options) {
|
|
285
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
286
|
+
const poller = yield this.beginDelete(resourceGroupName, resourceName, options);
|
|
287
|
+
return poller.pollUntilDone();
|
|
288
|
+
});
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* Get all the DigitalTwinsInstances in a subscription.
|
|
292
|
+
* @param options The options parameters.
|
|
293
|
+
*/
|
|
294
|
+
_list(options) {
|
|
295
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* Get all the DigitalTwinsInstances in a resource group.
|
|
299
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
300
|
+
* @param options The options parameters.
|
|
301
|
+
*/
|
|
302
|
+
_listByResourceGroup(resourceGroupName, options) {
|
|
303
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* Check if a DigitalTwinsInstance name is available.
|
|
307
|
+
* @param location Location of DigitalTwinsInstance.
|
|
308
|
+
* @param digitalTwinsInstanceCheckName Set the name parameter in the DigitalTwinsInstanceCheckName
|
|
309
|
+
* structure to the name of the DigitalTwinsInstance to check.
|
|
310
|
+
* @param options The options parameters.
|
|
311
|
+
*/
|
|
312
|
+
checkNameAvailability(location, digitalTwinsInstanceCheckName, options) {
|
|
313
|
+
return this.client.sendOperationRequest({ location, digitalTwinsInstanceCheckName, options }, checkNameAvailabilityOperationSpec);
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* ListNext
|
|
317
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
318
|
+
* @param options The options parameters.
|
|
319
|
+
*/
|
|
320
|
+
_listNext(nextLink, options) {
|
|
321
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* ListByResourceGroupNext
|
|
325
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
326
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
327
|
+
* @param options The options parameters.
|
|
328
|
+
*/
|
|
329
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
330
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
// Operation Specifications
|
|
334
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
335
|
+
const getOperationSpec = {
|
|
336
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}",
|
|
337
|
+
httpMethod: "GET",
|
|
338
|
+
responses: {
|
|
339
|
+
200: {
|
|
340
|
+
bodyMapper: Mappers.DigitalTwinsDescription
|
|
341
|
+
},
|
|
342
|
+
default: {
|
|
343
|
+
bodyMapper: Mappers.ErrorResponse
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
queryParameters: [Parameters.apiVersion],
|
|
347
|
+
urlParameters: [
|
|
348
|
+
Parameters.$host,
|
|
349
|
+
Parameters.subscriptionId,
|
|
350
|
+
Parameters.resourceGroupName,
|
|
351
|
+
Parameters.resourceName
|
|
352
|
+
],
|
|
353
|
+
headerParameters: [Parameters.accept],
|
|
354
|
+
serializer
|
|
355
|
+
};
|
|
356
|
+
const createOrUpdateOperationSpec = {
|
|
357
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}",
|
|
358
|
+
httpMethod: "PUT",
|
|
359
|
+
responses: {
|
|
360
|
+
200: {
|
|
361
|
+
bodyMapper: Mappers.DigitalTwinsDescription
|
|
362
|
+
},
|
|
363
|
+
201: {
|
|
364
|
+
bodyMapper: Mappers.DigitalTwinsDescription
|
|
365
|
+
},
|
|
366
|
+
202: {
|
|
367
|
+
bodyMapper: Mappers.DigitalTwinsDescription
|
|
368
|
+
},
|
|
369
|
+
204: {
|
|
370
|
+
bodyMapper: Mappers.DigitalTwinsDescription
|
|
371
|
+
},
|
|
372
|
+
default: {
|
|
373
|
+
bodyMapper: Mappers.ErrorResponse
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
requestBody: Parameters.digitalTwinsCreate,
|
|
377
|
+
queryParameters: [Parameters.apiVersion],
|
|
378
|
+
urlParameters: [
|
|
379
|
+
Parameters.$host,
|
|
380
|
+
Parameters.subscriptionId,
|
|
381
|
+
Parameters.resourceGroupName,
|
|
382
|
+
Parameters.resourceName
|
|
383
|
+
],
|
|
384
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
385
|
+
mediaType: "json",
|
|
386
|
+
serializer
|
|
387
|
+
};
|
|
388
|
+
const updateOperationSpec = {
|
|
389
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}",
|
|
390
|
+
httpMethod: "PATCH",
|
|
391
|
+
responses: {
|
|
392
|
+
200: {
|
|
393
|
+
bodyMapper: Mappers.DigitalTwinsDescription
|
|
394
|
+
},
|
|
395
|
+
201: {
|
|
396
|
+
bodyMapper: Mappers.DigitalTwinsDescription
|
|
397
|
+
},
|
|
398
|
+
202: {
|
|
399
|
+
bodyMapper: Mappers.DigitalTwinsDescription
|
|
400
|
+
},
|
|
401
|
+
204: {
|
|
402
|
+
bodyMapper: Mappers.DigitalTwinsDescription
|
|
403
|
+
},
|
|
404
|
+
default: {
|
|
405
|
+
bodyMapper: Mappers.ErrorResponse
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
requestBody: Parameters.digitalTwinsPatchDescription,
|
|
409
|
+
queryParameters: [Parameters.apiVersion],
|
|
410
|
+
urlParameters: [
|
|
411
|
+
Parameters.$host,
|
|
412
|
+
Parameters.subscriptionId,
|
|
413
|
+
Parameters.resourceGroupName,
|
|
414
|
+
Parameters.resourceName
|
|
415
|
+
],
|
|
416
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
417
|
+
mediaType: "json",
|
|
418
|
+
serializer
|
|
419
|
+
};
|
|
420
|
+
const deleteOperationSpec = {
|
|
421
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}",
|
|
422
|
+
httpMethod: "DELETE",
|
|
423
|
+
responses: {
|
|
424
|
+
200: {
|
|
425
|
+
bodyMapper: Mappers.DigitalTwinsDescription
|
|
426
|
+
},
|
|
427
|
+
201: {
|
|
428
|
+
bodyMapper: Mappers.DigitalTwinsDescription
|
|
429
|
+
},
|
|
430
|
+
202: {
|
|
431
|
+
bodyMapper: Mappers.DigitalTwinsDescription
|
|
432
|
+
},
|
|
433
|
+
204: {
|
|
434
|
+
bodyMapper: Mappers.DigitalTwinsDescription
|
|
435
|
+
},
|
|
436
|
+
default: {
|
|
437
|
+
bodyMapper: Mappers.ErrorResponse
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
queryParameters: [Parameters.apiVersion],
|
|
441
|
+
urlParameters: [
|
|
442
|
+
Parameters.$host,
|
|
443
|
+
Parameters.subscriptionId,
|
|
444
|
+
Parameters.resourceGroupName,
|
|
445
|
+
Parameters.resourceName
|
|
446
|
+
],
|
|
447
|
+
headerParameters: [Parameters.accept],
|
|
448
|
+
serializer
|
|
449
|
+
};
|
|
450
|
+
const listOperationSpec = {
|
|
451
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DigitalTwins/digitalTwinsInstances",
|
|
452
|
+
httpMethod: "GET",
|
|
453
|
+
responses: {
|
|
454
|
+
200: {
|
|
455
|
+
bodyMapper: Mappers.DigitalTwinsDescriptionListResult
|
|
456
|
+
},
|
|
457
|
+
default: {
|
|
458
|
+
bodyMapper: Mappers.ErrorResponse
|
|
459
|
+
}
|
|
460
|
+
},
|
|
461
|
+
queryParameters: [Parameters.apiVersion],
|
|
462
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
463
|
+
headerParameters: [Parameters.accept],
|
|
464
|
+
serializer
|
|
465
|
+
};
|
|
466
|
+
const listByResourceGroupOperationSpec = {
|
|
467
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances",
|
|
468
|
+
httpMethod: "GET",
|
|
469
|
+
responses: {
|
|
470
|
+
200: {
|
|
471
|
+
bodyMapper: Mappers.DigitalTwinsDescriptionListResult
|
|
472
|
+
},
|
|
473
|
+
default: {
|
|
474
|
+
bodyMapper: Mappers.ErrorResponse
|
|
475
|
+
}
|
|
476
|
+
},
|
|
477
|
+
queryParameters: [Parameters.apiVersion],
|
|
478
|
+
urlParameters: [
|
|
479
|
+
Parameters.$host,
|
|
480
|
+
Parameters.subscriptionId,
|
|
481
|
+
Parameters.resourceGroupName
|
|
482
|
+
],
|
|
483
|
+
headerParameters: [Parameters.accept],
|
|
484
|
+
serializer
|
|
485
|
+
};
|
|
486
|
+
const checkNameAvailabilityOperationSpec = {
|
|
487
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DigitalTwins/locations/{location}/checkNameAvailability",
|
|
488
|
+
httpMethod: "POST",
|
|
489
|
+
responses: {
|
|
490
|
+
200: {
|
|
491
|
+
bodyMapper: Mappers.CheckNameResult
|
|
492
|
+
},
|
|
493
|
+
default: {
|
|
494
|
+
bodyMapper: Mappers.ErrorResponse
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
requestBody: Parameters.digitalTwinsInstanceCheckName,
|
|
498
|
+
queryParameters: [Parameters.apiVersion],
|
|
499
|
+
urlParameters: [
|
|
500
|
+
Parameters.$host,
|
|
501
|
+
Parameters.subscriptionId,
|
|
502
|
+
Parameters.location
|
|
503
|
+
],
|
|
504
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
505
|
+
mediaType: "json",
|
|
506
|
+
serializer
|
|
507
|
+
};
|
|
508
|
+
const listNextOperationSpec = {
|
|
509
|
+
path: "{nextLink}",
|
|
510
|
+
httpMethod: "GET",
|
|
511
|
+
responses: {
|
|
512
|
+
200: {
|
|
513
|
+
bodyMapper: Mappers.DigitalTwinsDescriptionListResult
|
|
514
|
+
},
|
|
515
|
+
default: {
|
|
516
|
+
bodyMapper: Mappers.ErrorResponse
|
|
517
|
+
}
|
|
518
|
+
},
|
|
519
|
+
queryParameters: [Parameters.apiVersion],
|
|
520
|
+
urlParameters: [
|
|
521
|
+
Parameters.$host,
|
|
522
|
+
Parameters.subscriptionId,
|
|
523
|
+
Parameters.nextLink
|
|
524
|
+
],
|
|
525
|
+
headerParameters: [Parameters.accept],
|
|
526
|
+
serializer
|
|
527
|
+
};
|
|
528
|
+
const listByResourceGroupNextOperationSpec = {
|
|
529
|
+
path: "{nextLink}",
|
|
530
|
+
httpMethod: "GET",
|
|
531
|
+
responses: {
|
|
532
|
+
200: {
|
|
533
|
+
bodyMapper: Mappers.DigitalTwinsDescriptionListResult
|
|
534
|
+
},
|
|
535
|
+
default: {
|
|
536
|
+
bodyMapper: Mappers.ErrorResponse
|
|
537
|
+
}
|
|
538
|
+
},
|
|
539
|
+
queryParameters: [Parameters.apiVersion],
|
|
540
|
+
urlParameters: [
|
|
541
|
+
Parameters.$host,
|
|
542
|
+
Parameters.subscriptionId,
|
|
543
|
+
Parameters.resourceGroupName,
|
|
544
|
+
Parameters.nextLink
|
|
545
|
+
],
|
|
546
|
+
headerParameters: [Parameters.accept],
|
|
547
|
+
serializer
|
|
548
|
+
};
|
|
549
|
+
//# sourceMappingURL=digitalTwins.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"digitalTwins.js","sourceRoot":"","sources":["../../../src/operations/digitalTwins.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAyBrC,4CAA4C;AAC5C,gDAAgD;AAChD,MAAM,OAAO,gBAAgB;IAG3B;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAwC;QAExC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;YACtC,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,OAAwC;;YAExC,IAAI,MAAM,GAAG,cAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA,CAAC;YACvC,oBAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAA,CAAC;YACzB,IAAI,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;YACxC,OAAO,iBAAiB,EAAE;gBACxB,MAAM,GAAG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U,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { DigitalTwinsEndpoint } from "../operationsInterfaces";
|
|
3
|
+
import { AzureDigitalTwinsManagementClient } from "../azureDigitalTwinsManagementClient";
|
|
4
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
5
|
+
import { DigitalTwinsEndpointResource, DigitalTwinsEndpointListOptionalParams, DigitalTwinsEndpointGetOptionalParams, DigitalTwinsEndpointGetResponse, DigitalTwinsEndpointCreateOrUpdateOptionalParams, DigitalTwinsEndpointCreateOrUpdateResponse, DigitalTwinsEndpointDeleteOptionalParams, DigitalTwinsEndpointDeleteResponse } from "../models";
|
|
6
|
+
/** Class containing DigitalTwinsEndpoint operations. */
|
|
7
|
+
export declare class DigitalTwinsEndpointImpl implements DigitalTwinsEndpoint {
|
|
8
|
+
private readonly client;
|
|
9
|
+
/**
|
|
10
|
+
* Initialize a new instance of the class DigitalTwinsEndpoint class.
|
|
11
|
+
* @param client Reference to the service client
|
|
12
|
+
*/
|
|
13
|
+
constructor(client: AzureDigitalTwinsManagementClient);
|
|
14
|
+
/**
|
|
15
|
+
* Get DigitalTwinsInstance Endpoints.
|
|
16
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
17
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
list(resourceGroupName: string, resourceName: string, options?: DigitalTwinsEndpointListOptionalParams): PagedAsyncIterableIterator<DigitalTwinsEndpointResource>;
|
|
21
|
+
private listPagingPage;
|
|
22
|
+
private listPagingAll;
|
|
23
|
+
/**
|
|
24
|
+
* Get DigitalTwinsInstance Endpoints.
|
|
25
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
26
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
private _list;
|
|
30
|
+
/**
|
|
31
|
+
* Get DigitalTwinsInstances Endpoint.
|
|
32
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
33
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
34
|
+
* @param endpointName Name of Endpoint Resource.
|
|
35
|
+
* @param options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
get(resourceGroupName: string, resourceName: string, endpointName: string, options?: DigitalTwinsEndpointGetOptionalParams): Promise<DigitalTwinsEndpointGetResponse>;
|
|
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 endpointDescription The DigitalTwinsInstance endpoint metadata and security metadata.
|
|
44
|
+
* @param options The options parameters.
|
|
45
|
+
*/
|
|
46
|
+
beginCreateOrUpdate(resourceGroupName: string, resourceName: string, endpointName: string, endpointDescription: DigitalTwinsEndpointResource, options?: DigitalTwinsEndpointCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<DigitalTwinsEndpointCreateOrUpdateResponse>, DigitalTwinsEndpointCreateOrUpdateResponse>>;
|
|
47
|
+
/**
|
|
48
|
+
* Create or update DigitalTwinsInstance endpoint.
|
|
49
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
50
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
51
|
+
* @param endpointName Name of Endpoint Resource.
|
|
52
|
+
* @param endpointDescription The DigitalTwinsInstance endpoint metadata and security metadata.
|
|
53
|
+
* @param options The options parameters.
|
|
54
|
+
*/
|
|
55
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, resourceName: string, endpointName: string, endpointDescription: DigitalTwinsEndpointResource, options?: DigitalTwinsEndpointCreateOrUpdateOptionalParams): Promise<DigitalTwinsEndpointCreateOrUpdateResponse>;
|
|
56
|
+
/**
|
|
57
|
+
* Delete a DigitalTwinsInstance endpoint.
|
|
58
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
59
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
60
|
+
* @param endpointName Name of Endpoint Resource.
|
|
61
|
+
* @param options The options parameters.
|
|
62
|
+
*/
|
|
63
|
+
beginDelete(resourceGroupName: string, resourceName: string, endpointName: string, options?: DigitalTwinsEndpointDeleteOptionalParams): Promise<PollerLike<PollOperationState<DigitalTwinsEndpointDeleteResponse>, DigitalTwinsEndpointDeleteResponse>>;
|
|
64
|
+
/**
|
|
65
|
+
* Delete a DigitalTwinsInstance endpoint.
|
|
66
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
67
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
68
|
+
* @param endpointName Name of Endpoint Resource.
|
|
69
|
+
* @param options The options parameters.
|
|
70
|
+
*/
|
|
71
|
+
beginDeleteAndWait(resourceGroupName: string, resourceName: string, endpointName: string, options?: DigitalTwinsEndpointDeleteOptionalParams): Promise<DigitalTwinsEndpointDeleteResponse>;
|
|
72
|
+
/**
|
|
73
|
+
* ListNext
|
|
74
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
75
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
76
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
77
|
+
* @param options The options parameters.
|
|
78
|
+
*/
|
|
79
|
+
private _listNext;
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=digitalTwinsEndpoint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"digitalTwinsEndpoint.d.ts","sourceRoot":"","sources":["../../../src/operations/digitalTwinsEndpoint.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAI/D,OAAO,EAAE,iCAAiC,EAAE,MAAM,sCAAsC,CAAC;AACzF,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,4BAA4B,EAE5B,sCAAsC,EAEtC,qCAAqC,EACrC,+BAA+B,EAC/B,gDAAgD,EAChD,0CAA0C,EAC1C,wCAAwC,EACxC,kCAAkC,EAEnC,MAAM,WAAW,CAAC;AAGnB,wDAAwD;AACxD,qBAAa,wBAAyB,YAAW,oBAAoB;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,0BAA0B,CAAC,4BAA4B,CAAC;YAe5C,cAAc;YAoBd,aAAa;IAc5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC;IAO3C;;;;;;;OAOG;IACG,mBAAmB,CACvB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,YAAY,EAA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