@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
package/dist/arm-digitaltwins.js
DELETED
|
@@ -1,2418 +0,0 @@
|
|
|
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
|
-
(function (global, factory) {
|
|
9
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@azure/ms-rest-azure-js'), require('@azure/ms-rest-js')) :
|
|
10
|
-
typeof define === 'function' && define.amd ? define(['exports', '@azure/ms-rest-azure-js', '@azure/ms-rest-js'], factory) :
|
|
11
|
-
(global = global || self, factory((global.Azure = global.Azure || {}, global.Azure.ArmDigitaltwins = {}), global.msRestAzure, global.msRest));
|
|
12
|
-
}(this, (function (exports, msRestAzure, msRest) { 'use strict';
|
|
13
|
-
|
|
14
|
-
/*! *****************************************************************************
|
|
15
|
-
Copyright (c) Microsoft Corporation.
|
|
16
|
-
|
|
17
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
18
|
-
purpose with or without fee is hereby granted.
|
|
19
|
-
|
|
20
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
21
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
22
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
23
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
24
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
25
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
26
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
27
|
-
***************************************************************************** */
|
|
28
|
-
/* global Reflect, Promise */
|
|
29
|
-
|
|
30
|
-
var extendStatics = function(d, b) {
|
|
31
|
-
extendStatics = Object.setPrototypeOf ||
|
|
32
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
33
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
34
|
-
return extendStatics(d, b);
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
function __extends(d, b) {
|
|
38
|
-
extendStatics(d, b);
|
|
39
|
-
function __() { this.constructor = d; }
|
|
40
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
var __assign = function() {
|
|
44
|
-
__assign = Object.assign || function __assign(t) {
|
|
45
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
46
|
-
s = arguments[i];
|
|
47
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
48
|
-
}
|
|
49
|
-
return t;
|
|
50
|
-
};
|
|
51
|
-
return __assign.apply(this, arguments);
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
/*
|
|
55
|
-
* Copyright (c) Microsoft Corporation.
|
|
56
|
-
* Licensed under the MIT License.
|
|
57
|
-
*
|
|
58
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
59
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
60
|
-
*/
|
|
61
|
-
|
|
62
|
-
var index = /*#__PURE__*/Object.freeze({
|
|
63
|
-
__proto__: null
|
|
64
|
-
});
|
|
65
|
-
|
|
66
|
-
/*
|
|
67
|
-
* Copyright (c) Microsoft Corporation.
|
|
68
|
-
* Licensed under the MIT License.
|
|
69
|
-
*
|
|
70
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
71
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
72
|
-
*/
|
|
73
|
-
var CloudError = msRestAzure.CloudErrorMapper;
|
|
74
|
-
var BaseResource = msRestAzure.BaseResourceMapper;
|
|
75
|
-
var DigitalTwinsPatchProperties = {
|
|
76
|
-
serializedName: "DigitalTwinsPatchProperties",
|
|
77
|
-
type: {
|
|
78
|
-
name: "Composite",
|
|
79
|
-
className: "DigitalTwinsPatchProperties",
|
|
80
|
-
modelProperties: {
|
|
81
|
-
publicNetworkAccess: {
|
|
82
|
-
nullable: true,
|
|
83
|
-
serializedName: "publicNetworkAccess",
|
|
84
|
-
type: {
|
|
85
|
-
name: "String"
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
};
|
|
91
|
-
var ConnectionProperties = {
|
|
92
|
-
serializedName: "ConnectionProperties",
|
|
93
|
-
type: {
|
|
94
|
-
name: "Composite",
|
|
95
|
-
className: "ConnectionProperties",
|
|
96
|
-
modelProperties: {
|
|
97
|
-
provisioningState: {
|
|
98
|
-
nullable: true,
|
|
99
|
-
readOnly: true,
|
|
100
|
-
serializedName: "provisioningState",
|
|
101
|
-
type: {
|
|
102
|
-
name: "String"
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
privateEndpoint: {
|
|
106
|
-
serializedName: "privateEndpoint",
|
|
107
|
-
type: {
|
|
108
|
-
name: "Composite",
|
|
109
|
-
className: "ConnectionPropertiesPrivateEndpoint"
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
groupIds: {
|
|
113
|
-
serializedName: "groupIds",
|
|
114
|
-
type: {
|
|
115
|
-
name: "Sequence",
|
|
116
|
-
element: {
|
|
117
|
-
type: {
|
|
118
|
-
name: "String"
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
privateLinkServiceConnectionState: {
|
|
124
|
-
serializedName: "privateLinkServiceConnectionState",
|
|
125
|
-
type: {
|
|
126
|
-
name: "Composite",
|
|
127
|
-
className: "ConnectionPropertiesPrivateLinkServiceConnectionState"
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
};
|
|
133
|
-
var PrivateEndpointConnectionProperties = {
|
|
134
|
-
serializedName: "PrivateEndpointConnection_properties",
|
|
135
|
-
type: {
|
|
136
|
-
name: "Composite",
|
|
137
|
-
className: "PrivateEndpointConnectionProperties",
|
|
138
|
-
modelProperties: __assign({}, ConnectionProperties.type.modelProperties)
|
|
139
|
-
}
|
|
140
|
-
};
|
|
141
|
-
var PrivateEndpointConnection = {
|
|
142
|
-
serializedName: "PrivateEndpointConnection",
|
|
143
|
-
type: {
|
|
144
|
-
name: "Composite",
|
|
145
|
-
className: "PrivateEndpointConnection",
|
|
146
|
-
modelProperties: {
|
|
147
|
-
id: {
|
|
148
|
-
readOnly: true,
|
|
149
|
-
serializedName: "id",
|
|
150
|
-
type: {
|
|
151
|
-
name: "String"
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
name: {
|
|
155
|
-
readOnly: true,
|
|
156
|
-
serializedName: "name",
|
|
157
|
-
constraints: {
|
|
158
|
-
Pattern: /^(?![0-9]+$)(?!-)[a-zA-Z0-9-]{2,49}[a-zA-Z0-9]$/
|
|
159
|
-
},
|
|
160
|
-
type: {
|
|
161
|
-
name: "String"
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
type: {
|
|
165
|
-
readOnly: true,
|
|
166
|
-
serializedName: "type",
|
|
167
|
-
type: {
|
|
168
|
-
name: "String"
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
properties: {
|
|
172
|
-
required: true,
|
|
173
|
-
serializedName: "properties",
|
|
174
|
-
type: {
|
|
175
|
-
name: "Composite",
|
|
176
|
-
className: "PrivateEndpointConnectionProperties"
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
};
|
|
182
|
-
var DigitalTwinsResource = {
|
|
183
|
-
serializedName: "DigitalTwinsResource",
|
|
184
|
-
type: {
|
|
185
|
-
name: "Composite",
|
|
186
|
-
className: "DigitalTwinsResource",
|
|
187
|
-
modelProperties: {
|
|
188
|
-
id: {
|
|
189
|
-
readOnly: true,
|
|
190
|
-
serializedName: "id",
|
|
191
|
-
type: {
|
|
192
|
-
name: "String"
|
|
193
|
-
}
|
|
194
|
-
},
|
|
195
|
-
name: {
|
|
196
|
-
readOnly: true,
|
|
197
|
-
serializedName: "name",
|
|
198
|
-
constraints: {
|
|
199
|
-
Pattern: /^(?!-)[A-Za-z0-9-]{3,63}(?<!-)$/
|
|
200
|
-
},
|
|
201
|
-
type: {
|
|
202
|
-
name: "String"
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
type: {
|
|
206
|
-
readOnly: true,
|
|
207
|
-
serializedName: "type",
|
|
208
|
-
type: {
|
|
209
|
-
name: "String"
|
|
210
|
-
}
|
|
211
|
-
},
|
|
212
|
-
location: {
|
|
213
|
-
required: true,
|
|
214
|
-
serializedName: "location",
|
|
215
|
-
type: {
|
|
216
|
-
name: "String"
|
|
217
|
-
}
|
|
218
|
-
},
|
|
219
|
-
tags: {
|
|
220
|
-
nullable: true,
|
|
221
|
-
serializedName: "tags",
|
|
222
|
-
type: {
|
|
223
|
-
name: "Dictionary",
|
|
224
|
-
value: {
|
|
225
|
-
type: {
|
|
226
|
-
name: "String"
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
},
|
|
231
|
-
identity: {
|
|
232
|
-
nullable: true,
|
|
233
|
-
serializedName: "identity",
|
|
234
|
-
type: {
|
|
235
|
-
name: "Composite",
|
|
236
|
-
className: "DigitalTwinsIdentity"
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
};
|
|
242
|
-
var DigitalTwinsDescription = {
|
|
243
|
-
serializedName: "DigitalTwinsDescription",
|
|
244
|
-
type: {
|
|
245
|
-
name: "Composite",
|
|
246
|
-
className: "DigitalTwinsDescription",
|
|
247
|
-
modelProperties: __assign(__assign({}, DigitalTwinsResource.type.modelProperties), { createdTime: {
|
|
248
|
-
readOnly: true,
|
|
249
|
-
serializedName: "properties.createdTime",
|
|
250
|
-
type: {
|
|
251
|
-
name: "DateTime"
|
|
252
|
-
}
|
|
253
|
-
}, lastUpdatedTime: {
|
|
254
|
-
readOnly: true,
|
|
255
|
-
serializedName: "properties.lastUpdatedTime",
|
|
256
|
-
type: {
|
|
257
|
-
name: "DateTime"
|
|
258
|
-
}
|
|
259
|
-
}, provisioningState: {
|
|
260
|
-
readOnly: true,
|
|
261
|
-
serializedName: "properties.provisioningState",
|
|
262
|
-
type: {
|
|
263
|
-
name: "String"
|
|
264
|
-
}
|
|
265
|
-
}, hostName: {
|
|
266
|
-
nullable: true,
|
|
267
|
-
readOnly: true,
|
|
268
|
-
serializedName: "properties.hostName",
|
|
269
|
-
type: {
|
|
270
|
-
name: "String"
|
|
271
|
-
}
|
|
272
|
-
}, privateEndpointConnections: {
|
|
273
|
-
serializedName: "properties.privateEndpointConnections",
|
|
274
|
-
type: {
|
|
275
|
-
name: "Sequence",
|
|
276
|
-
element: {
|
|
277
|
-
type: {
|
|
278
|
-
name: "Composite",
|
|
279
|
-
className: "PrivateEndpointConnection"
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
}, publicNetworkAccess: {
|
|
284
|
-
nullable: true,
|
|
285
|
-
serializedName: "properties.publicNetworkAccess",
|
|
286
|
-
type: {
|
|
287
|
-
name: "String"
|
|
288
|
-
}
|
|
289
|
-
} })
|
|
290
|
-
}
|
|
291
|
-
};
|
|
292
|
-
var DigitalTwinsIdentity = {
|
|
293
|
-
serializedName: "DigitalTwinsIdentity",
|
|
294
|
-
type: {
|
|
295
|
-
name: "Composite",
|
|
296
|
-
className: "DigitalTwinsIdentity",
|
|
297
|
-
modelProperties: {
|
|
298
|
-
type: {
|
|
299
|
-
serializedName: "type",
|
|
300
|
-
type: {
|
|
301
|
-
name: "String"
|
|
302
|
-
}
|
|
303
|
-
},
|
|
304
|
-
principalId: {
|
|
305
|
-
nullable: true,
|
|
306
|
-
readOnly: true,
|
|
307
|
-
serializedName: "principalId",
|
|
308
|
-
type: {
|
|
309
|
-
name: "String"
|
|
310
|
-
}
|
|
311
|
-
},
|
|
312
|
-
tenantId: {
|
|
313
|
-
nullable: true,
|
|
314
|
-
readOnly: true,
|
|
315
|
-
serializedName: "tenantId",
|
|
316
|
-
type: {
|
|
317
|
-
name: "String"
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
};
|
|
323
|
-
var DigitalTwinsPatchDescription = {
|
|
324
|
-
serializedName: "DigitalTwinsPatchDescription",
|
|
325
|
-
type: {
|
|
326
|
-
name: "Composite",
|
|
327
|
-
className: "DigitalTwinsPatchDescription",
|
|
328
|
-
modelProperties: {
|
|
329
|
-
tags: {
|
|
330
|
-
nullable: true,
|
|
331
|
-
serializedName: "tags",
|
|
332
|
-
type: {
|
|
333
|
-
name: "Dictionary",
|
|
334
|
-
value: {
|
|
335
|
-
type: {
|
|
336
|
-
name: "String"
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
},
|
|
341
|
-
identity: {
|
|
342
|
-
nullable: true,
|
|
343
|
-
serializedName: "identity",
|
|
344
|
-
type: {
|
|
345
|
-
name: "Composite",
|
|
346
|
-
className: "DigitalTwinsIdentity"
|
|
347
|
-
}
|
|
348
|
-
},
|
|
349
|
-
properties: {
|
|
350
|
-
nullable: true,
|
|
351
|
-
serializedName: "properties",
|
|
352
|
-
type: {
|
|
353
|
-
name: "Composite",
|
|
354
|
-
className: "DigitalTwinsPatchProperties"
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
};
|
|
360
|
-
var ErrorDefinition = {
|
|
361
|
-
serializedName: "ErrorDefinition",
|
|
362
|
-
type: {
|
|
363
|
-
name: "Composite",
|
|
364
|
-
className: "ErrorDefinition",
|
|
365
|
-
modelProperties: {
|
|
366
|
-
code: {
|
|
367
|
-
readOnly: true,
|
|
368
|
-
serializedName: "code",
|
|
369
|
-
type: {
|
|
370
|
-
name: "String"
|
|
371
|
-
}
|
|
372
|
-
},
|
|
373
|
-
message: {
|
|
374
|
-
readOnly: true,
|
|
375
|
-
serializedName: "message",
|
|
376
|
-
type: {
|
|
377
|
-
name: "String"
|
|
378
|
-
}
|
|
379
|
-
},
|
|
380
|
-
details: {
|
|
381
|
-
nullable: true,
|
|
382
|
-
readOnly: true,
|
|
383
|
-
serializedName: "details",
|
|
384
|
-
type: {
|
|
385
|
-
name: "Sequence",
|
|
386
|
-
element: {
|
|
387
|
-
type: {
|
|
388
|
-
name: "Composite",
|
|
389
|
-
className: "ErrorDefinition"
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
};
|
|
397
|
-
var ErrorResponse = {
|
|
398
|
-
serializedName: "ErrorResponse",
|
|
399
|
-
type: {
|
|
400
|
-
name: "Composite",
|
|
401
|
-
className: "ErrorResponse",
|
|
402
|
-
modelProperties: {
|
|
403
|
-
error: {
|
|
404
|
-
serializedName: "error",
|
|
405
|
-
type: {
|
|
406
|
-
name: "Composite",
|
|
407
|
-
className: "ErrorDefinition"
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
};
|
|
413
|
-
var OperationDisplay = {
|
|
414
|
-
serializedName: "OperationDisplay",
|
|
415
|
-
type: {
|
|
416
|
-
name: "Composite",
|
|
417
|
-
className: "OperationDisplay",
|
|
418
|
-
modelProperties: {
|
|
419
|
-
provider: {
|
|
420
|
-
readOnly: true,
|
|
421
|
-
serializedName: "provider",
|
|
422
|
-
type: {
|
|
423
|
-
name: "String"
|
|
424
|
-
}
|
|
425
|
-
},
|
|
426
|
-
resource: {
|
|
427
|
-
readOnly: true,
|
|
428
|
-
serializedName: "resource",
|
|
429
|
-
type: {
|
|
430
|
-
name: "String"
|
|
431
|
-
}
|
|
432
|
-
},
|
|
433
|
-
operation: {
|
|
434
|
-
readOnly: true,
|
|
435
|
-
serializedName: "operation",
|
|
436
|
-
type: {
|
|
437
|
-
name: "String"
|
|
438
|
-
}
|
|
439
|
-
},
|
|
440
|
-
description: {
|
|
441
|
-
readOnly: true,
|
|
442
|
-
serializedName: "description",
|
|
443
|
-
type: {
|
|
444
|
-
name: "String"
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
};
|
|
450
|
-
var Operation = {
|
|
451
|
-
serializedName: "Operation",
|
|
452
|
-
type: {
|
|
453
|
-
name: "Composite",
|
|
454
|
-
className: "Operation",
|
|
455
|
-
modelProperties: {
|
|
456
|
-
name: {
|
|
457
|
-
readOnly: true,
|
|
458
|
-
serializedName: "name",
|
|
459
|
-
type: {
|
|
460
|
-
name: "String"
|
|
461
|
-
}
|
|
462
|
-
},
|
|
463
|
-
display: {
|
|
464
|
-
serializedName: "display",
|
|
465
|
-
type: {
|
|
466
|
-
name: "Composite",
|
|
467
|
-
className: "OperationDisplay"
|
|
468
|
-
}
|
|
469
|
-
},
|
|
470
|
-
origin: {
|
|
471
|
-
nullable: true,
|
|
472
|
-
readOnly: true,
|
|
473
|
-
serializedName: "origin",
|
|
474
|
-
type: {
|
|
475
|
-
name: "String"
|
|
476
|
-
}
|
|
477
|
-
},
|
|
478
|
-
isDataAction: {
|
|
479
|
-
readOnly: true,
|
|
480
|
-
serializedName: "isDataAction",
|
|
481
|
-
type: {
|
|
482
|
-
name: "Boolean"
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
};
|
|
488
|
-
var CheckNameRequest = {
|
|
489
|
-
serializedName: "CheckNameRequest",
|
|
490
|
-
type: {
|
|
491
|
-
name: "Composite",
|
|
492
|
-
className: "CheckNameRequest",
|
|
493
|
-
modelProperties: {
|
|
494
|
-
name: {
|
|
495
|
-
required: true,
|
|
496
|
-
serializedName: "name",
|
|
497
|
-
type: {
|
|
498
|
-
name: "String"
|
|
499
|
-
}
|
|
500
|
-
},
|
|
501
|
-
type: {
|
|
502
|
-
required: true,
|
|
503
|
-
isConstant: true,
|
|
504
|
-
serializedName: "type",
|
|
505
|
-
defaultValue: 'Microsoft.DigitalTwins/digitalTwinsInstances',
|
|
506
|
-
type: {
|
|
507
|
-
name: "String"
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
};
|
|
513
|
-
var CheckNameResult = {
|
|
514
|
-
serializedName: "CheckNameResult",
|
|
515
|
-
type: {
|
|
516
|
-
name: "Composite",
|
|
517
|
-
className: "CheckNameResult",
|
|
518
|
-
modelProperties: {
|
|
519
|
-
nameAvailable: {
|
|
520
|
-
serializedName: "nameAvailable",
|
|
521
|
-
type: {
|
|
522
|
-
name: "Boolean"
|
|
523
|
-
}
|
|
524
|
-
},
|
|
525
|
-
message: {
|
|
526
|
-
nullable: true,
|
|
527
|
-
serializedName: "message",
|
|
528
|
-
type: {
|
|
529
|
-
name: "String"
|
|
530
|
-
}
|
|
531
|
-
},
|
|
532
|
-
reason: {
|
|
533
|
-
nullable: true,
|
|
534
|
-
serializedName: "reason",
|
|
535
|
-
type: {
|
|
536
|
-
name: "String"
|
|
537
|
-
}
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
};
|
|
542
|
-
var ExternalResource = {
|
|
543
|
-
serializedName: "ExternalResource",
|
|
544
|
-
type: {
|
|
545
|
-
name: "Composite",
|
|
546
|
-
className: "ExternalResource",
|
|
547
|
-
modelProperties: {
|
|
548
|
-
id: {
|
|
549
|
-
readOnly: true,
|
|
550
|
-
serializedName: "id",
|
|
551
|
-
type: {
|
|
552
|
-
name: "String"
|
|
553
|
-
}
|
|
554
|
-
},
|
|
555
|
-
name: {
|
|
556
|
-
readOnly: true,
|
|
557
|
-
serializedName: "name",
|
|
558
|
-
constraints: {
|
|
559
|
-
Pattern: /^(?![0-9]+$)(?!-)[a-zA-Z0-9-]{2,49}[a-zA-Z0-9]$/
|
|
560
|
-
},
|
|
561
|
-
type: {
|
|
562
|
-
name: "String"
|
|
563
|
-
}
|
|
564
|
-
},
|
|
565
|
-
type: {
|
|
566
|
-
readOnly: true,
|
|
567
|
-
serializedName: "type",
|
|
568
|
-
type: {
|
|
569
|
-
name: "String"
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
}
|
|
573
|
-
}
|
|
574
|
-
};
|
|
575
|
-
var DigitalTwinsEndpointResourceProperties = {
|
|
576
|
-
serializedName: "DigitalTwinsEndpointResourceProperties",
|
|
577
|
-
type: {
|
|
578
|
-
name: "Composite",
|
|
579
|
-
polymorphicDiscriminator: {
|
|
580
|
-
serializedName: "endpointType",
|
|
581
|
-
clientName: "endpointType"
|
|
582
|
-
},
|
|
583
|
-
uberParent: "DigitalTwinsEndpointResourceProperties",
|
|
584
|
-
className: "DigitalTwinsEndpointResourceProperties",
|
|
585
|
-
modelProperties: {
|
|
586
|
-
provisioningState: {
|
|
587
|
-
nullable: true,
|
|
588
|
-
readOnly: true,
|
|
589
|
-
serializedName: "provisioningState",
|
|
590
|
-
type: {
|
|
591
|
-
name: "String"
|
|
592
|
-
}
|
|
593
|
-
},
|
|
594
|
-
createdTime: {
|
|
595
|
-
nullable: true,
|
|
596
|
-
readOnly: true,
|
|
597
|
-
serializedName: "createdTime",
|
|
598
|
-
type: {
|
|
599
|
-
name: "DateTime"
|
|
600
|
-
}
|
|
601
|
-
},
|
|
602
|
-
authenticationType: {
|
|
603
|
-
serializedName: "authenticationType",
|
|
604
|
-
type: {
|
|
605
|
-
name: "String"
|
|
606
|
-
}
|
|
607
|
-
},
|
|
608
|
-
deadLetterSecret: {
|
|
609
|
-
nullable: true,
|
|
610
|
-
serializedName: "deadLetterSecret",
|
|
611
|
-
type: {
|
|
612
|
-
name: "String"
|
|
613
|
-
}
|
|
614
|
-
},
|
|
615
|
-
deadLetterUri: {
|
|
616
|
-
nullable: true,
|
|
617
|
-
serializedName: "deadLetterUri",
|
|
618
|
-
type: {
|
|
619
|
-
name: "String"
|
|
620
|
-
}
|
|
621
|
-
},
|
|
622
|
-
endpointType: {
|
|
623
|
-
required: true,
|
|
624
|
-
serializedName: "endpointType",
|
|
625
|
-
type: {
|
|
626
|
-
name: "String"
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
}
|
|
631
|
-
};
|
|
632
|
-
var DigitalTwinsEndpointResource = {
|
|
633
|
-
serializedName: "DigitalTwinsEndpointResource",
|
|
634
|
-
type: {
|
|
635
|
-
name: "Composite",
|
|
636
|
-
className: "DigitalTwinsEndpointResource",
|
|
637
|
-
modelProperties: __assign(__assign({}, ExternalResource.type.modelProperties), { properties: {
|
|
638
|
-
required: true,
|
|
639
|
-
serializedName: "properties",
|
|
640
|
-
type: {
|
|
641
|
-
name: "Composite",
|
|
642
|
-
className: "DigitalTwinsEndpointResourceProperties"
|
|
643
|
-
}
|
|
644
|
-
} })
|
|
645
|
-
}
|
|
646
|
-
};
|
|
647
|
-
var ServiceBus = {
|
|
648
|
-
serializedName: "ServiceBus",
|
|
649
|
-
type: {
|
|
650
|
-
name: "Composite",
|
|
651
|
-
polymorphicDiscriminator: DigitalTwinsEndpointResourceProperties.type.polymorphicDiscriminator,
|
|
652
|
-
uberParent: "DigitalTwinsEndpointResourceProperties",
|
|
653
|
-
className: "ServiceBus",
|
|
654
|
-
modelProperties: __assign(__assign({}, DigitalTwinsEndpointResourceProperties.type.modelProperties), { primaryConnectionString: {
|
|
655
|
-
nullable: true,
|
|
656
|
-
serializedName: "primaryConnectionString",
|
|
657
|
-
type: {
|
|
658
|
-
name: "String"
|
|
659
|
-
}
|
|
660
|
-
}, secondaryConnectionString: {
|
|
661
|
-
nullable: true,
|
|
662
|
-
serializedName: "secondaryConnectionString",
|
|
663
|
-
type: {
|
|
664
|
-
name: "String"
|
|
665
|
-
}
|
|
666
|
-
}, endpointUri: {
|
|
667
|
-
nullable: true,
|
|
668
|
-
serializedName: "endpointUri",
|
|
669
|
-
type: {
|
|
670
|
-
name: "String"
|
|
671
|
-
}
|
|
672
|
-
}, entityPath: {
|
|
673
|
-
nullable: true,
|
|
674
|
-
serializedName: "entityPath",
|
|
675
|
-
type: {
|
|
676
|
-
name: "String"
|
|
677
|
-
}
|
|
678
|
-
} })
|
|
679
|
-
}
|
|
680
|
-
};
|
|
681
|
-
var EventHub = {
|
|
682
|
-
serializedName: "EventHub",
|
|
683
|
-
type: {
|
|
684
|
-
name: "Composite",
|
|
685
|
-
polymorphicDiscriminator: DigitalTwinsEndpointResourceProperties.type.polymorphicDiscriminator,
|
|
686
|
-
uberParent: "DigitalTwinsEndpointResourceProperties",
|
|
687
|
-
className: "EventHub",
|
|
688
|
-
modelProperties: __assign(__assign({}, DigitalTwinsEndpointResourceProperties.type.modelProperties), { connectionStringPrimaryKey: {
|
|
689
|
-
nullable: true,
|
|
690
|
-
serializedName: "connectionStringPrimaryKey",
|
|
691
|
-
type: {
|
|
692
|
-
name: "String"
|
|
693
|
-
}
|
|
694
|
-
}, connectionStringSecondaryKey: {
|
|
695
|
-
nullable: true,
|
|
696
|
-
serializedName: "connectionStringSecondaryKey",
|
|
697
|
-
type: {
|
|
698
|
-
name: "String"
|
|
699
|
-
}
|
|
700
|
-
}, endpointUri: {
|
|
701
|
-
nullable: true,
|
|
702
|
-
serializedName: "endpointUri",
|
|
703
|
-
type: {
|
|
704
|
-
name: "String"
|
|
705
|
-
}
|
|
706
|
-
}, entityPath: {
|
|
707
|
-
nullable: true,
|
|
708
|
-
serializedName: "entityPath",
|
|
709
|
-
type: {
|
|
710
|
-
name: "String"
|
|
711
|
-
}
|
|
712
|
-
} })
|
|
713
|
-
}
|
|
714
|
-
};
|
|
715
|
-
var EventGrid = {
|
|
716
|
-
serializedName: "EventGrid",
|
|
717
|
-
type: {
|
|
718
|
-
name: "Composite",
|
|
719
|
-
polymorphicDiscriminator: DigitalTwinsEndpointResourceProperties.type.polymorphicDiscriminator,
|
|
720
|
-
uberParent: "DigitalTwinsEndpointResourceProperties",
|
|
721
|
-
className: "EventGrid",
|
|
722
|
-
modelProperties: __assign(__assign({}, DigitalTwinsEndpointResourceProperties.type.modelProperties), { topicEndpoint: {
|
|
723
|
-
required: true,
|
|
724
|
-
serializedName: "TopicEndpoint",
|
|
725
|
-
type: {
|
|
726
|
-
name: "String"
|
|
727
|
-
}
|
|
728
|
-
}, accessKey1: {
|
|
729
|
-
required: true,
|
|
730
|
-
nullable: true,
|
|
731
|
-
serializedName: "accessKey1",
|
|
732
|
-
type: {
|
|
733
|
-
name: "String"
|
|
734
|
-
}
|
|
735
|
-
}, accessKey2: {
|
|
736
|
-
nullable: true,
|
|
737
|
-
serializedName: "accessKey2",
|
|
738
|
-
type: {
|
|
739
|
-
name: "String"
|
|
740
|
-
}
|
|
741
|
-
} })
|
|
742
|
-
}
|
|
743
|
-
};
|
|
744
|
-
var GroupIdInformationProperties = {
|
|
745
|
-
serializedName: "GroupIdInformationProperties",
|
|
746
|
-
type: {
|
|
747
|
-
name: "Composite",
|
|
748
|
-
className: "GroupIdInformationProperties",
|
|
749
|
-
modelProperties: {
|
|
750
|
-
groupId: {
|
|
751
|
-
serializedName: "groupId",
|
|
752
|
-
type: {
|
|
753
|
-
name: "String"
|
|
754
|
-
}
|
|
755
|
-
},
|
|
756
|
-
requiredMembers: {
|
|
757
|
-
serializedName: "requiredMembers",
|
|
758
|
-
type: {
|
|
759
|
-
name: "Sequence",
|
|
760
|
-
element: {
|
|
761
|
-
type: {
|
|
762
|
-
name: "String"
|
|
763
|
-
}
|
|
764
|
-
}
|
|
765
|
-
}
|
|
766
|
-
},
|
|
767
|
-
requiredZoneNames: {
|
|
768
|
-
serializedName: "requiredZoneNames",
|
|
769
|
-
type: {
|
|
770
|
-
name: "Sequence",
|
|
771
|
-
element: {
|
|
772
|
-
type: {
|
|
773
|
-
name: "String"
|
|
774
|
-
}
|
|
775
|
-
}
|
|
776
|
-
}
|
|
777
|
-
}
|
|
778
|
-
}
|
|
779
|
-
}
|
|
780
|
-
};
|
|
781
|
-
var GroupIdInformationPropertiesModel = {
|
|
782
|
-
serializedName: "GroupIdInformation_properties",
|
|
783
|
-
type: {
|
|
784
|
-
name: "Composite",
|
|
785
|
-
className: "GroupIdInformationPropertiesModel",
|
|
786
|
-
modelProperties: __assign({}, GroupIdInformationProperties.type.modelProperties)
|
|
787
|
-
}
|
|
788
|
-
};
|
|
789
|
-
var GroupIdInformation = {
|
|
790
|
-
serializedName: "GroupIdInformation",
|
|
791
|
-
type: {
|
|
792
|
-
name: "Composite",
|
|
793
|
-
className: "GroupIdInformation",
|
|
794
|
-
modelProperties: {
|
|
795
|
-
properties: {
|
|
796
|
-
required: true,
|
|
797
|
-
serializedName: "properties",
|
|
798
|
-
type: {
|
|
799
|
-
name: "Composite",
|
|
800
|
-
className: "GroupIdInformationPropertiesModel"
|
|
801
|
-
}
|
|
802
|
-
},
|
|
803
|
-
id: {
|
|
804
|
-
serializedName: "id",
|
|
805
|
-
type: {
|
|
806
|
-
name: "String"
|
|
807
|
-
}
|
|
808
|
-
},
|
|
809
|
-
name: {
|
|
810
|
-
readOnly: true,
|
|
811
|
-
serializedName: "name",
|
|
812
|
-
constraints: {
|
|
813
|
-
Pattern: /^(?![0-9]+$)(?!-)[a-zA-Z0-9-]{2,49}[a-zA-Z0-9]$/
|
|
814
|
-
},
|
|
815
|
-
type: {
|
|
816
|
-
name: "String"
|
|
817
|
-
}
|
|
818
|
-
},
|
|
819
|
-
type: {
|
|
820
|
-
readOnly: true,
|
|
821
|
-
serializedName: "type",
|
|
822
|
-
type: {
|
|
823
|
-
name: "String"
|
|
824
|
-
}
|
|
825
|
-
}
|
|
826
|
-
}
|
|
827
|
-
}
|
|
828
|
-
};
|
|
829
|
-
var PrivateEndpointConnectionsResponse = {
|
|
830
|
-
serializedName: "PrivateEndpointConnectionsResponse",
|
|
831
|
-
type: {
|
|
832
|
-
name: "Composite",
|
|
833
|
-
className: "PrivateEndpointConnectionsResponse",
|
|
834
|
-
modelProperties: {
|
|
835
|
-
value: {
|
|
836
|
-
serializedName: "value",
|
|
837
|
-
type: {
|
|
838
|
-
name: "Sequence",
|
|
839
|
-
element: {
|
|
840
|
-
type: {
|
|
841
|
-
name: "Composite",
|
|
842
|
-
className: "PrivateEndpointConnection"
|
|
843
|
-
}
|
|
844
|
-
}
|
|
845
|
-
}
|
|
846
|
-
}
|
|
847
|
-
}
|
|
848
|
-
}
|
|
849
|
-
};
|
|
850
|
-
var GroupIdInformationResponse = {
|
|
851
|
-
serializedName: "GroupIdInformationResponse",
|
|
852
|
-
type: {
|
|
853
|
-
name: "Composite",
|
|
854
|
-
className: "GroupIdInformationResponse",
|
|
855
|
-
modelProperties: {
|
|
856
|
-
value: {
|
|
857
|
-
serializedName: "value",
|
|
858
|
-
type: {
|
|
859
|
-
name: "Sequence",
|
|
860
|
-
element: {
|
|
861
|
-
type: {
|
|
862
|
-
name: "Composite",
|
|
863
|
-
className: "GroupIdInformation"
|
|
864
|
-
}
|
|
865
|
-
}
|
|
866
|
-
}
|
|
867
|
-
}
|
|
868
|
-
}
|
|
869
|
-
}
|
|
870
|
-
};
|
|
871
|
-
var ConnectionState = {
|
|
872
|
-
serializedName: "ConnectionState",
|
|
873
|
-
type: {
|
|
874
|
-
name: "Composite",
|
|
875
|
-
className: "ConnectionState",
|
|
876
|
-
modelProperties: {
|
|
877
|
-
status: {
|
|
878
|
-
required: true,
|
|
879
|
-
serializedName: "status",
|
|
880
|
-
type: {
|
|
881
|
-
name: "String"
|
|
882
|
-
}
|
|
883
|
-
},
|
|
884
|
-
description: {
|
|
885
|
-
required: true,
|
|
886
|
-
serializedName: "description",
|
|
887
|
-
type: {
|
|
888
|
-
name: "String"
|
|
889
|
-
}
|
|
890
|
-
},
|
|
891
|
-
actionsRequired: {
|
|
892
|
-
serializedName: "actionsRequired",
|
|
893
|
-
type: {
|
|
894
|
-
name: "String"
|
|
895
|
-
}
|
|
896
|
-
}
|
|
897
|
-
}
|
|
898
|
-
}
|
|
899
|
-
};
|
|
900
|
-
var PrivateEndpoint = {
|
|
901
|
-
serializedName: "PrivateEndpoint",
|
|
902
|
-
type: {
|
|
903
|
-
name: "Composite",
|
|
904
|
-
className: "PrivateEndpoint",
|
|
905
|
-
modelProperties: {
|
|
906
|
-
id: {
|
|
907
|
-
readOnly: true,
|
|
908
|
-
serializedName: "id",
|
|
909
|
-
type: {
|
|
910
|
-
name: "String"
|
|
911
|
-
}
|
|
912
|
-
}
|
|
913
|
-
}
|
|
914
|
-
}
|
|
915
|
-
};
|
|
916
|
-
var ConnectionPropertiesPrivateEndpoint = {
|
|
917
|
-
serializedName: "ConnectionProperties_privateEndpoint",
|
|
918
|
-
type: {
|
|
919
|
-
name: "Composite",
|
|
920
|
-
className: "ConnectionPropertiesPrivateEndpoint",
|
|
921
|
-
modelProperties: __assign({}, PrivateEndpoint.type.modelProperties)
|
|
922
|
-
}
|
|
923
|
-
};
|
|
924
|
-
var ConnectionPropertiesPrivateLinkServiceConnectionState = {
|
|
925
|
-
serializedName: "ConnectionProperties_privateLinkServiceConnectionState",
|
|
926
|
-
type: {
|
|
927
|
-
name: "Composite",
|
|
928
|
-
className: "ConnectionPropertiesPrivateLinkServiceConnectionState",
|
|
929
|
-
modelProperties: __assign({}, ConnectionState.type.modelProperties)
|
|
930
|
-
}
|
|
931
|
-
};
|
|
932
|
-
var DigitalTwinsDescriptionListResult = {
|
|
933
|
-
serializedName: "DigitalTwinsDescriptionListResult",
|
|
934
|
-
type: {
|
|
935
|
-
name: "Composite",
|
|
936
|
-
className: "DigitalTwinsDescriptionListResult",
|
|
937
|
-
modelProperties: {
|
|
938
|
-
nextLink: {
|
|
939
|
-
nullable: true,
|
|
940
|
-
serializedName: "nextLink",
|
|
941
|
-
type: {
|
|
942
|
-
name: "String"
|
|
943
|
-
}
|
|
944
|
-
},
|
|
945
|
-
value: {
|
|
946
|
-
serializedName: "",
|
|
947
|
-
type: {
|
|
948
|
-
name: "Sequence",
|
|
949
|
-
element: {
|
|
950
|
-
type: {
|
|
951
|
-
name: "Composite",
|
|
952
|
-
className: "DigitalTwinsDescription"
|
|
953
|
-
}
|
|
954
|
-
}
|
|
955
|
-
}
|
|
956
|
-
}
|
|
957
|
-
}
|
|
958
|
-
}
|
|
959
|
-
};
|
|
960
|
-
var DigitalTwinsEndpointResourceListResult = {
|
|
961
|
-
serializedName: "DigitalTwinsEndpointResourceListResult",
|
|
962
|
-
type: {
|
|
963
|
-
name: "Composite",
|
|
964
|
-
className: "DigitalTwinsEndpointResourceListResult",
|
|
965
|
-
modelProperties: {
|
|
966
|
-
nextLink: {
|
|
967
|
-
nullable: true,
|
|
968
|
-
serializedName: "nextLink",
|
|
969
|
-
type: {
|
|
970
|
-
name: "String"
|
|
971
|
-
}
|
|
972
|
-
},
|
|
973
|
-
value: {
|
|
974
|
-
serializedName: "",
|
|
975
|
-
type: {
|
|
976
|
-
name: "Sequence",
|
|
977
|
-
element: {
|
|
978
|
-
type: {
|
|
979
|
-
name: "Composite",
|
|
980
|
-
className: "DigitalTwinsEndpointResource"
|
|
981
|
-
}
|
|
982
|
-
}
|
|
983
|
-
}
|
|
984
|
-
}
|
|
985
|
-
}
|
|
986
|
-
}
|
|
987
|
-
};
|
|
988
|
-
var OperationListResult = {
|
|
989
|
-
serializedName: "OperationListResult",
|
|
990
|
-
type: {
|
|
991
|
-
name: "Composite",
|
|
992
|
-
className: "OperationListResult",
|
|
993
|
-
modelProperties: {
|
|
994
|
-
nextLink: {
|
|
995
|
-
nullable: true,
|
|
996
|
-
serializedName: "nextLink",
|
|
997
|
-
type: {
|
|
998
|
-
name: "String"
|
|
999
|
-
}
|
|
1000
|
-
},
|
|
1001
|
-
value: {
|
|
1002
|
-
readOnly: true,
|
|
1003
|
-
serializedName: "",
|
|
1004
|
-
type: {
|
|
1005
|
-
name: "Sequence",
|
|
1006
|
-
element: {
|
|
1007
|
-
type: {
|
|
1008
|
-
name: "Composite",
|
|
1009
|
-
className: "Operation"
|
|
1010
|
-
}
|
|
1011
|
-
}
|
|
1012
|
-
}
|
|
1013
|
-
}
|
|
1014
|
-
}
|
|
1015
|
-
}
|
|
1016
|
-
};
|
|
1017
|
-
var discriminators = {
|
|
1018
|
-
'DigitalTwinsEndpointResourceProperties': DigitalTwinsEndpointResourceProperties,
|
|
1019
|
-
'DigitalTwinsEndpointResourceProperties.ServiceBus': ServiceBus,
|
|
1020
|
-
'DigitalTwinsEndpointResourceProperties.EventHub': EventHub,
|
|
1021
|
-
'DigitalTwinsEndpointResourceProperties.EventGrid': EventGrid
|
|
1022
|
-
};
|
|
1023
|
-
|
|
1024
|
-
var mappers = /*#__PURE__*/Object.freeze({
|
|
1025
|
-
__proto__: null,
|
|
1026
|
-
CloudError: CloudError,
|
|
1027
|
-
BaseResource: BaseResource,
|
|
1028
|
-
DigitalTwinsPatchProperties: DigitalTwinsPatchProperties,
|
|
1029
|
-
ConnectionProperties: ConnectionProperties,
|
|
1030
|
-
PrivateEndpointConnectionProperties: PrivateEndpointConnectionProperties,
|
|
1031
|
-
PrivateEndpointConnection: PrivateEndpointConnection,
|
|
1032
|
-
DigitalTwinsResource: DigitalTwinsResource,
|
|
1033
|
-
DigitalTwinsDescription: DigitalTwinsDescription,
|
|
1034
|
-
DigitalTwinsIdentity: DigitalTwinsIdentity,
|
|
1035
|
-
DigitalTwinsPatchDescription: DigitalTwinsPatchDescription,
|
|
1036
|
-
ErrorDefinition: ErrorDefinition,
|
|
1037
|
-
ErrorResponse: ErrorResponse,
|
|
1038
|
-
OperationDisplay: OperationDisplay,
|
|
1039
|
-
Operation: Operation,
|
|
1040
|
-
CheckNameRequest: CheckNameRequest,
|
|
1041
|
-
CheckNameResult: CheckNameResult,
|
|
1042
|
-
ExternalResource: ExternalResource,
|
|
1043
|
-
DigitalTwinsEndpointResourceProperties: DigitalTwinsEndpointResourceProperties,
|
|
1044
|
-
DigitalTwinsEndpointResource: DigitalTwinsEndpointResource,
|
|
1045
|
-
ServiceBus: ServiceBus,
|
|
1046
|
-
EventHub: EventHub,
|
|
1047
|
-
EventGrid: EventGrid,
|
|
1048
|
-
GroupIdInformationProperties: GroupIdInformationProperties,
|
|
1049
|
-
GroupIdInformationPropertiesModel: GroupIdInformationPropertiesModel,
|
|
1050
|
-
GroupIdInformation: GroupIdInformation,
|
|
1051
|
-
PrivateEndpointConnectionsResponse: PrivateEndpointConnectionsResponse,
|
|
1052
|
-
GroupIdInformationResponse: GroupIdInformationResponse,
|
|
1053
|
-
ConnectionState: ConnectionState,
|
|
1054
|
-
PrivateEndpoint: PrivateEndpoint,
|
|
1055
|
-
ConnectionPropertiesPrivateEndpoint: ConnectionPropertiesPrivateEndpoint,
|
|
1056
|
-
ConnectionPropertiesPrivateLinkServiceConnectionState: ConnectionPropertiesPrivateLinkServiceConnectionState,
|
|
1057
|
-
DigitalTwinsDescriptionListResult: DigitalTwinsDescriptionListResult,
|
|
1058
|
-
DigitalTwinsEndpointResourceListResult: DigitalTwinsEndpointResourceListResult,
|
|
1059
|
-
OperationListResult: OperationListResult,
|
|
1060
|
-
discriminators: discriminators
|
|
1061
|
-
});
|
|
1062
|
-
|
|
1063
|
-
/*
|
|
1064
|
-
* Copyright (c) Microsoft Corporation.
|
|
1065
|
-
* Licensed under the MIT License.
|
|
1066
|
-
*
|
|
1067
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1068
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1069
|
-
*/
|
|
1070
|
-
|
|
1071
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
1072
|
-
__proto__: null,
|
|
1073
|
-
discriminators: discriminators,
|
|
1074
|
-
BaseResource: BaseResource,
|
|
1075
|
-
CheckNameRequest: CheckNameRequest,
|
|
1076
|
-
CheckNameResult: CheckNameResult,
|
|
1077
|
-
ConnectionProperties: ConnectionProperties,
|
|
1078
|
-
ConnectionPropertiesPrivateEndpoint: ConnectionPropertiesPrivateEndpoint,
|
|
1079
|
-
ConnectionPropertiesPrivateLinkServiceConnectionState: ConnectionPropertiesPrivateLinkServiceConnectionState,
|
|
1080
|
-
ConnectionState: ConnectionState,
|
|
1081
|
-
DigitalTwinsDescription: DigitalTwinsDescription,
|
|
1082
|
-
DigitalTwinsDescriptionListResult: DigitalTwinsDescriptionListResult,
|
|
1083
|
-
DigitalTwinsEndpointResource: DigitalTwinsEndpointResource,
|
|
1084
|
-
DigitalTwinsEndpointResourceProperties: DigitalTwinsEndpointResourceProperties,
|
|
1085
|
-
DigitalTwinsIdentity: DigitalTwinsIdentity,
|
|
1086
|
-
DigitalTwinsPatchDescription: DigitalTwinsPatchDescription,
|
|
1087
|
-
DigitalTwinsPatchProperties: DigitalTwinsPatchProperties,
|
|
1088
|
-
DigitalTwinsResource: DigitalTwinsResource,
|
|
1089
|
-
ErrorDefinition: ErrorDefinition,
|
|
1090
|
-
ErrorResponse: ErrorResponse,
|
|
1091
|
-
EventGrid: EventGrid,
|
|
1092
|
-
EventHub: EventHub,
|
|
1093
|
-
ExternalResource: ExternalResource,
|
|
1094
|
-
PrivateEndpoint: PrivateEndpoint,
|
|
1095
|
-
PrivateEndpointConnection: PrivateEndpointConnection,
|
|
1096
|
-
PrivateEndpointConnectionProperties: PrivateEndpointConnectionProperties,
|
|
1097
|
-
ServiceBus: ServiceBus
|
|
1098
|
-
});
|
|
1099
|
-
|
|
1100
|
-
/*
|
|
1101
|
-
* Copyright (c) Microsoft Corporation.
|
|
1102
|
-
* Licensed under the MIT License.
|
|
1103
|
-
*
|
|
1104
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1105
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1106
|
-
* regenerated.
|
|
1107
|
-
*/
|
|
1108
|
-
var acceptLanguage = {
|
|
1109
|
-
parameterPath: "acceptLanguage",
|
|
1110
|
-
mapper: {
|
|
1111
|
-
serializedName: "accept-language",
|
|
1112
|
-
defaultValue: 'en-US',
|
|
1113
|
-
type: {
|
|
1114
|
-
name: "String"
|
|
1115
|
-
}
|
|
1116
|
-
}
|
|
1117
|
-
};
|
|
1118
|
-
var apiVersion = {
|
|
1119
|
-
parameterPath: "apiVersion",
|
|
1120
|
-
mapper: {
|
|
1121
|
-
required: true,
|
|
1122
|
-
isConstant: true,
|
|
1123
|
-
serializedName: "api-version",
|
|
1124
|
-
defaultValue: '2020-12-01',
|
|
1125
|
-
constraints: {
|
|
1126
|
-
MinLength: 10
|
|
1127
|
-
},
|
|
1128
|
-
type: {
|
|
1129
|
-
name: "String"
|
|
1130
|
-
}
|
|
1131
|
-
}
|
|
1132
|
-
};
|
|
1133
|
-
var endpointName = {
|
|
1134
|
-
parameterPath: "endpointName",
|
|
1135
|
-
mapper: {
|
|
1136
|
-
required: true,
|
|
1137
|
-
serializedName: "endpointName",
|
|
1138
|
-
constraints: {
|
|
1139
|
-
MaxLength: 49,
|
|
1140
|
-
MinLength: 2,
|
|
1141
|
-
Pattern: /^(?![0-9]+$)(?!-)[a-zA-Z0-9-]{2,49}[a-zA-Z0-9]$/
|
|
1142
|
-
},
|
|
1143
|
-
type: {
|
|
1144
|
-
name: "String"
|
|
1145
|
-
}
|
|
1146
|
-
}
|
|
1147
|
-
};
|
|
1148
|
-
var location = {
|
|
1149
|
-
parameterPath: "location",
|
|
1150
|
-
mapper: {
|
|
1151
|
-
required: true,
|
|
1152
|
-
serializedName: "location",
|
|
1153
|
-
constraints: {
|
|
1154
|
-
MinLength: 3
|
|
1155
|
-
},
|
|
1156
|
-
type: {
|
|
1157
|
-
name: "String"
|
|
1158
|
-
}
|
|
1159
|
-
}
|
|
1160
|
-
};
|
|
1161
|
-
var nextPageLink = {
|
|
1162
|
-
parameterPath: "nextPageLink",
|
|
1163
|
-
mapper: {
|
|
1164
|
-
required: true,
|
|
1165
|
-
serializedName: "nextLink",
|
|
1166
|
-
type: {
|
|
1167
|
-
name: "String"
|
|
1168
|
-
}
|
|
1169
|
-
},
|
|
1170
|
-
skipEncoding: true
|
|
1171
|
-
};
|
|
1172
|
-
var privateEndpointConnectionName = {
|
|
1173
|
-
parameterPath: "privateEndpointConnectionName",
|
|
1174
|
-
mapper: {
|
|
1175
|
-
required: true,
|
|
1176
|
-
serializedName: "privateEndpointConnectionName",
|
|
1177
|
-
type: {
|
|
1178
|
-
name: "String"
|
|
1179
|
-
}
|
|
1180
|
-
}
|
|
1181
|
-
};
|
|
1182
|
-
var resourceGroupName = {
|
|
1183
|
-
parameterPath: "resourceGroupName",
|
|
1184
|
-
mapper: {
|
|
1185
|
-
required: true,
|
|
1186
|
-
serializedName: "resourceGroupName",
|
|
1187
|
-
constraints: {
|
|
1188
|
-
MaxLength: 90,
|
|
1189
|
-
MinLength: 1
|
|
1190
|
-
},
|
|
1191
|
-
type: {
|
|
1192
|
-
name: "String"
|
|
1193
|
-
}
|
|
1194
|
-
}
|
|
1195
|
-
};
|
|
1196
|
-
var resourceId = {
|
|
1197
|
-
parameterPath: "resourceId",
|
|
1198
|
-
mapper: {
|
|
1199
|
-
required: true,
|
|
1200
|
-
serializedName: "resourceId",
|
|
1201
|
-
type: {
|
|
1202
|
-
name: "String"
|
|
1203
|
-
}
|
|
1204
|
-
}
|
|
1205
|
-
};
|
|
1206
|
-
var resourceName = {
|
|
1207
|
-
parameterPath: "resourceName",
|
|
1208
|
-
mapper: {
|
|
1209
|
-
required: true,
|
|
1210
|
-
serializedName: "resourceName",
|
|
1211
|
-
constraints: {
|
|
1212
|
-
MaxLength: 63,
|
|
1213
|
-
MinLength: 3,
|
|
1214
|
-
Pattern: /^(?!-)[A-Za-z0-9-]{3,63}(?<!-)$/
|
|
1215
|
-
},
|
|
1216
|
-
type: {
|
|
1217
|
-
name: "String"
|
|
1218
|
-
}
|
|
1219
|
-
}
|
|
1220
|
-
};
|
|
1221
|
-
var subscriptionId = {
|
|
1222
|
-
parameterPath: "subscriptionId",
|
|
1223
|
-
mapper: {
|
|
1224
|
-
required: true,
|
|
1225
|
-
serializedName: "subscriptionId",
|
|
1226
|
-
type: {
|
|
1227
|
-
name: "String"
|
|
1228
|
-
}
|
|
1229
|
-
}
|
|
1230
|
-
};
|
|
1231
|
-
|
|
1232
|
-
/*
|
|
1233
|
-
* Copyright (c) Microsoft Corporation.
|
|
1234
|
-
* Licensed under the MIT License.
|
|
1235
|
-
*
|
|
1236
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1237
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1238
|
-
* regenerated.
|
|
1239
|
-
*/
|
|
1240
|
-
/** Class representing a DigitalTwins. */
|
|
1241
|
-
var DigitalTwins = /** @class */ (function () {
|
|
1242
|
-
/**
|
|
1243
|
-
* Create a DigitalTwins.
|
|
1244
|
-
* @param {AzureDigitalTwinsManagementClientContext} client Reference to the service client.
|
|
1245
|
-
*/
|
|
1246
|
-
function DigitalTwins(client) {
|
|
1247
|
-
this.client = client;
|
|
1248
|
-
}
|
|
1249
|
-
DigitalTwins.prototype.get = function (resourceGroupName, resourceName, options, callback) {
|
|
1250
|
-
return this.client.sendOperationRequest({
|
|
1251
|
-
resourceGroupName: resourceGroupName,
|
|
1252
|
-
resourceName: resourceName,
|
|
1253
|
-
options: options
|
|
1254
|
-
}, getOperationSpec, callback);
|
|
1255
|
-
};
|
|
1256
|
-
/**
|
|
1257
|
-
* Create or update the metadata of a DigitalTwinsInstance. The usual pattern to modify a property
|
|
1258
|
-
* is to retrieve the DigitalTwinsInstance and security metadata, and then combine them with the
|
|
1259
|
-
* modified values in a new body to update the DigitalTwinsInstance.
|
|
1260
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
1261
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
1262
|
-
* @param digitalTwinsCreate The DigitalTwinsInstance and security metadata.
|
|
1263
|
-
* @param [options] The optional parameters
|
|
1264
|
-
* @returns Promise<Models.DigitalTwinsCreateOrUpdateResponse>
|
|
1265
|
-
*/
|
|
1266
|
-
DigitalTwins.prototype.createOrUpdate = function (resourceGroupName, resourceName, digitalTwinsCreate, options) {
|
|
1267
|
-
return this.beginCreateOrUpdate(resourceGroupName, resourceName, digitalTwinsCreate, options)
|
|
1268
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1269
|
-
};
|
|
1270
|
-
/**
|
|
1271
|
-
* Update metadata of DigitalTwinsInstance.
|
|
1272
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
1273
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
1274
|
-
* @param digitalTwinsPatchDescription The DigitalTwinsInstance and security metadata.
|
|
1275
|
-
* @param [options] The optional parameters
|
|
1276
|
-
* @returns Promise<Models.DigitalTwinsUpdateResponse>
|
|
1277
|
-
*/
|
|
1278
|
-
DigitalTwins.prototype.update = function (resourceGroupName, resourceName, digitalTwinsPatchDescription, options) {
|
|
1279
|
-
return this.beginUpdate(resourceGroupName, resourceName, digitalTwinsPatchDescription, options)
|
|
1280
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1281
|
-
};
|
|
1282
|
-
/**
|
|
1283
|
-
* Delete a DigitalTwinsInstance.
|
|
1284
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
1285
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
1286
|
-
* @param [options] The optional parameters
|
|
1287
|
-
* @returns Promise<Models.DigitalTwinsDeleteMethodResponse>
|
|
1288
|
-
*/
|
|
1289
|
-
DigitalTwins.prototype.deleteMethod = function (resourceGroupName, resourceName, options) {
|
|
1290
|
-
return this.beginDeleteMethod(resourceGroupName, resourceName, options)
|
|
1291
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1292
|
-
};
|
|
1293
|
-
DigitalTwins.prototype.list = function (options, callback) {
|
|
1294
|
-
return this.client.sendOperationRequest({
|
|
1295
|
-
options: options
|
|
1296
|
-
}, listOperationSpec, callback);
|
|
1297
|
-
};
|
|
1298
|
-
DigitalTwins.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
|
|
1299
|
-
return this.client.sendOperationRequest({
|
|
1300
|
-
resourceGroupName: resourceGroupName,
|
|
1301
|
-
options: options
|
|
1302
|
-
}, listByResourceGroupOperationSpec, callback);
|
|
1303
|
-
};
|
|
1304
|
-
DigitalTwins.prototype.checkNameAvailability = function (location, name, options, callback) {
|
|
1305
|
-
return this.client.sendOperationRequest({
|
|
1306
|
-
location: location,
|
|
1307
|
-
name: name,
|
|
1308
|
-
options: options
|
|
1309
|
-
}, checkNameAvailabilityOperationSpec, callback);
|
|
1310
|
-
};
|
|
1311
|
-
/**
|
|
1312
|
-
* Create or update the metadata of a DigitalTwinsInstance. The usual pattern to modify a property
|
|
1313
|
-
* is to retrieve the DigitalTwinsInstance and security metadata, and then combine them with the
|
|
1314
|
-
* modified values in a new body to update the DigitalTwinsInstance.
|
|
1315
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
1316
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
1317
|
-
* @param digitalTwinsCreate The DigitalTwinsInstance and security metadata.
|
|
1318
|
-
* @param [options] The optional parameters
|
|
1319
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1320
|
-
*/
|
|
1321
|
-
DigitalTwins.prototype.beginCreateOrUpdate = function (resourceGroupName, resourceName, digitalTwinsCreate, options) {
|
|
1322
|
-
return this.client.sendLRORequest({
|
|
1323
|
-
resourceGroupName: resourceGroupName,
|
|
1324
|
-
resourceName: resourceName,
|
|
1325
|
-
digitalTwinsCreate: digitalTwinsCreate,
|
|
1326
|
-
options: options
|
|
1327
|
-
}, beginCreateOrUpdateOperationSpec, options);
|
|
1328
|
-
};
|
|
1329
|
-
/**
|
|
1330
|
-
* Update metadata of DigitalTwinsInstance.
|
|
1331
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
1332
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
1333
|
-
* @param digitalTwinsPatchDescription The DigitalTwinsInstance and security metadata.
|
|
1334
|
-
* @param [options] The optional parameters
|
|
1335
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1336
|
-
*/
|
|
1337
|
-
DigitalTwins.prototype.beginUpdate = function (resourceGroupName, resourceName, digitalTwinsPatchDescription, options) {
|
|
1338
|
-
return this.client.sendLRORequest({
|
|
1339
|
-
resourceGroupName: resourceGroupName,
|
|
1340
|
-
resourceName: resourceName,
|
|
1341
|
-
digitalTwinsPatchDescription: digitalTwinsPatchDescription,
|
|
1342
|
-
options: options
|
|
1343
|
-
}, beginUpdateOperationSpec, options);
|
|
1344
|
-
};
|
|
1345
|
-
/**
|
|
1346
|
-
* Delete a DigitalTwinsInstance.
|
|
1347
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
1348
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
1349
|
-
* @param [options] The optional parameters
|
|
1350
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1351
|
-
*/
|
|
1352
|
-
DigitalTwins.prototype.beginDeleteMethod = function (resourceGroupName, resourceName, options) {
|
|
1353
|
-
return this.client.sendLRORequest({
|
|
1354
|
-
resourceGroupName: resourceGroupName,
|
|
1355
|
-
resourceName: resourceName,
|
|
1356
|
-
options: options
|
|
1357
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
1358
|
-
};
|
|
1359
|
-
DigitalTwins.prototype.listNext = function (nextPageLink, options, callback) {
|
|
1360
|
-
return this.client.sendOperationRequest({
|
|
1361
|
-
nextPageLink: nextPageLink,
|
|
1362
|
-
options: options
|
|
1363
|
-
}, listNextOperationSpec, callback);
|
|
1364
|
-
};
|
|
1365
|
-
DigitalTwins.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
|
|
1366
|
-
return this.client.sendOperationRequest({
|
|
1367
|
-
nextPageLink: nextPageLink,
|
|
1368
|
-
options: options
|
|
1369
|
-
}, listByResourceGroupNextOperationSpec, callback);
|
|
1370
|
-
};
|
|
1371
|
-
return DigitalTwins;
|
|
1372
|
-
}());
|
|
1373
|
-
// Operation Specifications
|
|
1374
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
1375
|
-
var getOperationSpec = {
|
|
1376
|
-
httpMethod: "GET",
|
|
1377
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}",
|
|
1378
|
-
urlParameters: [
|
|
1379
|
-
subscriptionId,
|
|
1380
|
-
resourceGroupName,
|
|
1381
|
-
resourceName
|
|
1382
|
-
],
|
|
1383
|
-
queryParameters: [
|
|
1384
|
-
apiVersion
|
|
1385
|
-
],
|
|
1386
|
-
headerParameters: [
|
|
1387
|
-
acceptLanguage
|
|
1388
|
-
],
|
|
1389
|
-
responses: {
|
|
1390
|
-
200: {
|
|
1391
|
-
bodyMapper: DigitalTwinsDescription
|
|
1392
|
-
},
|
|
1393
|
-
default: {
|
|
1394
|
-
bodyMapper: ErrorResponse
|
|
1395
|
-
}
|
|
1396
|
-
},
|
|
1397
|
-
serializer: serializer
|
|
1398
|
-
};
|
|
1399
|
-
var listOperationSpec = {
|
|
1400
|
-
httpMethod: "GET",
|
|
1401
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.DigitalTwins/digitalTwinsInstances",
|
|
1402
|
-
urlParameters: [
|
|
1403
|
-
subscriptionId
|
|
1404
|
-
],
|
|
1405
|
-
queryParameters: [
|
|
1406
|
-
apiVersion
|
|
1407
|
-
],
|
|
1408
|
-
headerParameters: [
|
|
1409
|
-
acceptLanguage
|
|
1410
|
-
],
|
|
1411
|
-
responses: {
|
|
1412
|
-
200: {
|
|
1413
|
-
bodyMapper: DigitalTwinsDescriptionListResult
|
|
1414
|
-
},
|
|
1415
|
-
default: {
|
|
1416
|
-
bodyMapper: ErrorResponse
|
|
1417
|
-
}
|
|
1418
|
-
},
|
|
1419
|
-
serializer: serializer
|
|
1420
|
-
};
|
|
1421
|
-
var listByResourceGroupOperationSpec = {
|
|
1422
|
-
httpMethod: "GET",
|
|
1423
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances",
|
|
1424
|
-
urlParameters: [
|
|
1425
|
-
subscriptionId,
|
|
1426
|
-
resourceGroupName
|
|
1427
|
-
],
|
|
1428
|
-
queryParameters: [
|
|
1429
|
-
apiVersion
|
|
1430
|
-
],
|
|
1431
|
-
headerParameters: [
|
|
1432
|
-
acceptLanguage
|
|
1433
|
-
],
|
|
1434
|
-
responses: {
|
|
1435
|
-
200: {
|
|
1436
|
-
bodyMapper: DigitalTwinsDescriptionListResult
|
|
1437
|
-
},
|
|
1438
|
-
default: {
|
|
1439
|
-
bodyMapper: ErrorResponse
|
|
1440
|
-
}
|
|
1441
|
-
},
|
|
1442
|
-
serializer: serializer
|
|
1443
|
-
};
|
|
1444
|
-
var checkNameAvailabilityOperationSpec = {
|
|
1445
|
-
httpMethod: "POST",
|
|
1446
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.DigitalTwins/locations/{location}/checkNameAvailability",
|
|
1447
|
-
urlParameters: [
|
|
1448
|
-
subscriptionId,
|
|
1449
|
-
location
|
|
1450
|
-
],
|
|
1451
|
-
queryParameters: [
|
|
1452
|
-
apiVersion
|
|
1453
|
-
],
|
|
1454
|
-
headerParameters: [
|
|
1455
|
-
acceptLanguage
|
|
1456
|
-
],
|
|
1457
|
-
requestBody: {
|
|
1458
|
-
parameterPath: {
|
|
1459
|
-
name: "name"
|
|
1460
|
-
},
|
|
1461
|
-
mapper: __assign(__assign({}, CheckNameRequest), { required: true })
|
|
1462
|
-
},
|
|
1463
|
-
responses: {
|
|
1464
|
-
200: {
|
|
1465
|
-
bodyMapper: CheckNameResult
|
|
1466
|
-
},
|
|
1467
|
-
default: {
|
|
1468
|
-
bodyMapper: ErrorResponse
|
|
1469
|
-
}
|
|
1470
|
-
},
|
|
1471
|
-
serializer: serializer
|
|
1472
|
-
};
|
|
1473
|
-
var beginCreateOrUpdateOperationSpec = {
|
|
1474
|
-
httpMethod: "PUT",
|
|
1475
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}",
|
|
1476
|
-
urlParameters: [
|
|
1477
|
-
subscriptionId,
|
|
1478
|
-
resourceGroupName,
|
|
1479
|
-
resourceName
|
|
1480
|
-
],
|
|
1481
|
-
queryParameters: [
|
|
1482
|
-
apiVersion
|
|
1483
|
-
],
|
|
1484
|
-
headerParameters: [
|
|
1485
|
-
acceptLanguage
|
|
1486
|
-
],
|
|
1487
|
-
requestBody: {
|
|
1488
|
-
parameterPath: "digitalTwinsCreate",
|
|
1489
|
-
mapper: __assign(__assign({}, DigitalTwinsDescription), { required: true })
|
|
1490
|
-
},
|
|
1491
|
-
responses: {
|
|
1492
|
-
200: {
|
|
1493
|
-
bodyMapper: DigitalTwinsDescription
|
|
1494
|
-
},
|
|
1495
|
-
201: {
|
|
1496
|
-
bodyMapper: DigitalTwinsDescription
|
|
1497
|
-
},
|
|
1498
|
-
default: {
|
|
1499
|
-
bodyMapper: ErrorResponse
|
|
1500
|
-
}
|
|
1501
|
-
},
|
|
1502
|
-
serializer: serializer
|
|
1503
|
-
};
|
|
1504
|
-
var beginUpdateOperationSpec = {
|
|
1505
|
-
httpMethod: "PATCH",
|
|
1506
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}",
|
|
1507
|
-
urlParameters: [
|
|
1508
|
-
subscriptionId,
|
|
1509
|
-
resourceGroupName,
|
|
1510
|
-
resourceName
|
|
1511
|
-
],
|
|
1512
|
-
queryParameters: [
|
|
1513
|
-
apiVersion
|
|
1514
|
-
],
|
|
1515
|
-
headerParameters: [
|
|
1516
|
-
acceptLanguage
|
|
1517
|
-
],
|
|
1518
|
-
requestBody: {
|
|
1519
|
-
parameterPath: "digitalTwinsPatchDescription",
|
|
1520
|
-
mapper: __assign(__assign({}, DigitalTwinsPatchDescription), { required: true })
|
|
1521
|
-
},
|
|
1522
|
-
responses: {
|
|
1523
|
-
200: {
|
|
1524
|
-
bodyMapper: DigitalTwinsDescription
|
|
1525
|
-
},
|
|
1526
|
-
202: {
|
|
1527
|
-
bodyMapper: DigitalTwinsDescription
|
|
1528
|
-
},
|
|
1529
|
-
default: {
|
|
1530
|
-
bodyMapper: ErrorResponse
|
|
1531
|
-
}
|
|
1532
|
-
},
|
|
1533
|
-
serializer: serializer
|
|
1534
|
-
};
|
|
1535
|
-
var beginDeleteMethodOperationSpec = {
|
|
1536
|
-
httpMethod: "DELETE",
|
|
1537
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}",
|
|
1538
|
-
urlParameters: [
|
|
1539
|
-
subscriptionId,
|
|
1540
|
-
resourceGroupName,
|
|
1541
|
-
resourceName
|
|
1542
|
-
],
|
|
1543
|
-
queryParameters: [
|
|
1544
|
-
apiVersion
|
|
1545
|
-
],
|
|
1546
|
-
headerParameters: [
|
|
1547
|
-
acceptLanguage
|
|
1548
|
-
],
|
|
1549
|
-
responses: {
|
|
1550
|
-
200: {
|
|
1551
|
-
bodyMapper: DigitalTwinsDescription
|
|
1552
|
-
},
|
|
1553
|
-
202: {
|
|
1554
|
-
bodyMapper: DigitalTwinsDescription
|
|
1555
|
-
},
|
|
1556
|
-
204: {},
|
|
1557
|
-
default: {
|
|
1558
|
-
bodyMapper: ErrorResponse
|
|
1559
|
-
}
|
|
1560
|
-
},
|
|
1561
|
-
serializer: serializer
|
|
1562
|
-
};
|
|
1563
|
-
var listNextOperationSpec = {
|
|
1564
|
-
httpMethod: "GET",
|
|
1565
|
-
baseUrl: "https://management.azure.com",
|
|
1566
|
-
path: "{nextLink}",
|
|
1567
|
-
urlParameters: [
|
|
1568
|
-
nextPageLink
|
|
1569
|
-
],
|
|
1570
|
-
queryParameters: [
|
|
1571
|
-
apiVersion
|
|
1572
|
-
],
|
|
1573
|
-
headerParameters: [
|
|
1574
|
-
acceptLanguage
|
|
1575
|
-
],
|
|
1576
|
-
responses: {
|
|
1577
|
-
200: {
|
|
1578
|
-
bodyMapper: DigitalTwinsDescriptionListResult
|
|
1579
|
-
},
|
|
1580
|
-
default: {
|
|
1581
|
-
bodyMapper: ErrorResponse
|
|
1582
|
-
}
|
|
1583
|
-
},
|
|
1584
|
-
serializer: serializer
|
|
1585
|
-
};
|
|
1586
|
-
var listByResourceGroupNextOperationSpec = {
|
|
1587
|
-
httpMethod: "GET",
|
|
1588
|
-
baseUrl: "https://management.azure.com",
|
|
1589
|
-
path: "{nextLink}",
|
|
1590
|
-
urlParameters: [
|
|
1591
|
-
nextPageLink
|
|
1592
|
-
],
|
|
1593
|
-
queryParameters: [
|
|
1594
|
-
apiVersion
|
|
1595
|
-
],
|
|
1596
|
-
headerParameters: [
|
|
1597
|
-
acceptLanguage
|
|
1598
|
-
],
|
|
1599
|
-
responses: {
|
|
1600
|
-
200: {
|
|
1601
|
-
bodyMapper: DigitalTwinsDescriptionListResult
|
|
1602
|
-
},
|
|
1603
|
-
default: {
|
|
1604
|
-
bodyMapper: ErrorResponse
|
|
1605
|
-
}
|
|
1606
|
-
},
|
|
1607
|
-
serializer: serializer
|
|
1608
|
-
};
|
|
1609
|
-
|
|
1610
|
-
/*
|
|
1611
|
-
* Copyright (c) Microsoft Corporation.
|
|
1612
|
-
* Licensed under the MIT License.
|
|
1613
|
-
*
|
|
1614
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1615
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1616
|
-
*/
|
|
1617
|
-
|
|
1618
|
-
var Mappers$1 = /*#__PURE__*/Object.freeze({
|
|
1619
|
-
__proto__: null,
|
|
1620
|
-
discriminators: discriminators,
|
|
1621
|
-
BaseResource: BaseResource,
|
|
1622
|
-
ConnectionProperties: ConnectionProperties,
|
|
1623
|
-
ConnectionPropertiesPrivateEndpoint: ConnectionPropertiesPrivateEndpoint,
|
|
1624
|
-
ConnectionPropertiesPrivateLinkServiceConnectionState: ConnectionPropertiesPrivateLinkServiceConnectionState,
|
|
1625
|
-
ConnectionState: ConnectionState,
|
|
1626
|
-
DigitalTwinsDescription: DigitalTwinsDescription,
|
|
1627
|
-
DigitalTwinsEndpointResource: DigitalTwinsEndpointResource,
|
|
1628
|
-
DigitalTwinsEndpointResourceListResult: DigitalTwinsEndpointResourceListResult,
|
|
1629
|
-
DigitalTwinsEndpointResourceProperties: DigitalTwinsEndpointResourceProperties,
|
|
1630
|
-
DigitalTwinsIdentity: DigitalTwinsIdentity,
|
|
1631
|
-
DigitalTwinsResource: DigitalTwinsResource,
|
|
1632
|
-
ErrorDefinition: ErrorDefinition,
|
|
1633
|
-
ErrorResponse: ErrorResponse,
|
|
1634
|
-
EventGrid: EventGrid,
|
|
1635
|
-
EventHub: EventHub,
|
|
1636
|
-
ExternalResource: ExternalResource,
|
|
1637
|
-
PrivateEndpoint: PrivateEndpoint,
|
|
1638
|
-
PrivateEndpointConnection: PrivateEndpointConnection,
|
|
1639
|
-
PrivateEndpointConnectionProperties: PrivateEndpointConnectionProperties,
|
|
1640
|
-
ServiceBus: ServiceBus
|
|
1641
|
-
});
|
|
1642
|
-
|
|
1643
|
-
/*
|
|
1644
|
-
* Copyright (c) Microsoft Corporation.
|
|
1645
|
-
* Licensed under the MIT License.
|
|
1646
|
-
*
|
|
1647
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1648
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1649
|
-
* regenerated.
|
|
1650
|
-
*/
|
|
1651
|
-
/** Class representing a DigitalTwinsEndpoint. */
|
|
1652
|
-
var DigitalTwinsEndpoint = /** @class */ (function () {
|
|
1653
|
-
/**
|
|
1654
|
-
* Create a DigitalTwinsEndpoint.
|
|
1655
|
-
* @param {AzureDigitalTwinsManagementClientContext} client Reference to the service client.
|
|
1656
|
-
*/
|
|
1657
|
-
function DigitalTwinsEndpoint(client) {
|
|
1658
|
-
this.client = client;
|
|
1659
|
-
}
|
|
1660
|
-
DigitalTwinsEndpoint.prototype.list = function (resourceGroupName, resourceName, options, callback) {
|
|
1661
|
-
return this.client.sendOperationRequest({
|
|
1662
|
-
resourceGroupName: resourceGroupName,
|
|
1663
|
-
resourceName: resourceName,
|
|
1664
|
-
options: options
|
|
1665
|
-
}, listOperationSpec$1, callback);
|
|
1666
|
-
};
|
|
1667
|
-
DigitalTwinsEndpoint.prototype.get = function (resourceGroupName, resourceName, endpointName, options, callback) {
|
|
1668
|
-
return this.client.sendOperationRequest({
|
|
1669
|
-
resourceGroupName: resourceGroupName,
|
|
1670
|
-
resourceName: resourceName,
|
|
1671
|
-
endpointName: endpointName,
|
|
1672
|
-
options: options
|
|
1673
|
-
}, getOperationSpec$1, callback);
|
|
1674
|
-
};
|
|
1675
|
-
/**
|
|
1676
|
-
* Create or update DigitalTwinsInstance endpoint.
|
|
1677
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
1678
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
1679
|
-
* @param endpointName Name of Endpoint Resource.
|
|
1680
|
-
* @param properties DigitalTwinsInstance endpoint resource properties.
|
|
1681
|
-
* @param [options] The optional parameters
|
|
1682
|
-
* @returns Promise<Models.DigitalTwinsEndpointCreateOrUpdateResponse>
|
|
1683
|
-
*/
|
|
1684
|
-
DigitalTwinsEndpoint.prototype.createOrUpdate = function (resourceGroupName, resourceName, endpointName, properties, options) {
|
|
1685
|
-
return this.beginCreateOrUpdate(resourceGroupName, resourceName, endpointName, properties, options)
|
|
1686
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1687
|
-
};
|
|
1688
|
-
/**
|
|
1689
|
-
* Delete a DigitalTwinsInstance endpoint.
|
|
1690
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
1691
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
1692
|
-
* @param endpointName Name of Endpoint Resource.
|
|
1693
|
-
* @param [options] The optional parameters
|
|
1694
|
-
* @returns Promise<Models.DigitalTwinsEndpointDeleteMethodResponse>
|
|
1695
|
-
*/
|
|
1696
|
-
DigitalTwinsEndpoint.prototype.deleteMethod = function (resourceGroupName, resourceName, endpointName, options) {
|
|
1697
|
-
return this.beginDeleteMethod(resourceGroupName, resourceName, endpointName, options)
|
|
1698
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1699
|
-
};
|
|
1700
|
-
/**
|
|
1701
|
-
* Create or update DigitalTwinsInstance endpoint.
|
|
1702
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
1703
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
1704
|
-
* @param endpointName Name of Endpoint Resource.
|
|
1705
|
-
* @param properties DigitalTwinsInstance endpoint resource properties.
|
|
1706
|
-
* @param [options] The optional parameters
|
|
1707
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1708
|
-
*/
|
|
1709
|
-
DigitalTwinsEndpoint.prototype.beginCreateOrUpdate = function (resourceGroupName, resourceName, endpointName, properties, options) {
|
|
1710
|
-
return this.client.sendLRORequest({
|
|
1711
|
-
resourceGroupName: resourceGroupName,
|
|
1712
|
-
resourceName: resourceName,
|
|
1713
|
-
endpointName: endpointName,
|
|
1714
|
-
properties: properties,
|
|
1715
|
-
options: options
|
|
1716
|
-
}, beginCreateOrUpdateOperationSpec$1, options);
|
|
1717
|
-
};
|
|
1718
|
-
/**
|
|
1719
|
-
* Delete a DigitalTwinsInstance endpoint.
|
|
1720
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
1721
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
1722
|
-
* @param endpointName Name of Endpoint Resource.
|
|
1723
|
-
* @param [options] The optional parameters
|
|
1724
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1725
|
-
*/
|
|
1726
|
-
DigitalTwinsEndpoint.prototype.beginDeleteMethod = function (resourceGroupName, resourceName, endpointName, options) {
|
|
1727
|
-
return this.client.sendLRORequest({
|
|
1728
|
-
resourceGroupName: resourceGroupName,
|
|
1729
|
-
resourceName: resourceName,
|
|
1730
|
-
endpointName: endpointName,
|
|
1731
|
-
options: options
|
|
1732
|
-
}, beginDeleteMethodOperationSpec$1, options);
|
|
1733
|
-
};
|
|
1734
|
-
DigitalTwinsEndpoint.prototype.listNext = function (nextPageLink, options, callback) {
|
|
1735
|
-
return this.client.sendOperationRequest({
|
|
1736
|
-
nextPageLink: nextPageLink,
|
|
1737
|
-
options: options
|
|
1738
|
-
}, listNextOperationSpec$1, callback);
|
|
1739
|
-
};
|
|
1740
|
-
return DigitalTwinsEndpoint;
|
|
1741
|
-
}());
|
|
1742
|
-
// Operation Specifications
|
|
1743
|
-
var serializer$1 = new msRest.Serializer(Mappers$1);
|
|
1744
|
-
var listOperationSpec$1 = {
|
|
1745
|
-
httpMethod: "GET",
|
|
1746
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/endpoints",
|
|
1747
|
-
urlParameters: [
|
|
1748
|
-
subscriptionId,
|
|
1749
|
-
resourceGroupName,
|
|
1750
|
-
resourceName
|
|
1751
|
-
],
|
|
1752
|
-
queryParameters: [
|
|
1753
|
-
apiVersion
|
|
1754
|
-
],
|
|
1755
|
-
headerParameters: [
|
|
1756
|
-
acceptLanguage
|
|
1757
|
-
],
|
|
1758
|
-
responses: {
|
|
1759
|
-
200: {
|
|
1760
|
-
bodyMapper: DigitalTwinsEndpointResourceListResult
|
|
1761
|
-
},
|
|
1762
|
-
default: {
|
|
1763
|
-
bodyMapper: ErrorResponse
|
|
1764
|
-
}
|
|
1765
|
-
},
|
|
1766
|
-
serializer: serializer$1
|
|
1767
|
-
};
|
|
1768
|
-
var getOperationSpec$1 = {
|
|
1769
|
-
httpMethod: "GET",
|
|
1770
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/endpoints/{endpointName}",
|
|
1771
|
-
urlParameters: [
|
|
1772
|
-
subscriptionId,
|
|
1773
|
-
resourceGroupName,
|
|
1774
|
-
resourceName,
|
|
1775
|
-
endpointName
|
|
1776
|
-
],
|
|
1777
|
-
queryParameters: [
|
|
1778
|
-
apiVersion
|
|
1779
|
-
],
|
|
1780
|
-
headerParameters: [
|
|
1781
|
-
acceptLanguage
|
|
1782
|
-
],
|
|
1783
|
-
responses: {
|
|
1784
|
-
200: {
|
|
1785
|
-
bodyMapper: DigitalTwinsEndpointResource
|
|
1786
|
-
},
|
|
1787
|
-
default: {
|
|
1788
|
-
bodyMapper: ErrorResponse
|
|
1789
|
-
}
|
|
1790
|
-
},
|
|
1791
|
-
serializer: serializer$1
|
|
1792
|
-
};
|
|
1793
|
-
var beginCreateOrUpdateOperationSpec$1 = {
|
|
1794
|
-
httpMethod: "PUT",
|
|
1795
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/endpoints/{endpointName}",
|
|
1796
|
-
urlParameters: [
|
|
1797
|
-
subscriptionId,
|
|
1798
|
-
resourceGroupName,
|
|
1799
|
-
resourceName,
|
|
1800
|
-
endpointName
|
|
1801
|
-
],
|
|
1802
|
-
queryParameters: [
|
|
1803
|
-
apiVersion
|
|
1804
|
-
],
|
|
1805
|
-
headerParameters: [
|
|
1806
|
-
acceptLanguage
|
|
1807
|
-
],
|
|
1808
|
-
requestBody: {
|
|
1809
|
-
parameterPath: {
|
|
1810
|
-
properties: "properties"
|
|
1811
|
-
},
|
|
1812
|
-
mapper: __assign(__assign({}, DigitalTwinsEndpointResource), { required: true })
|
|
1813
|
-
},
|
|
1814
|
-
responses: {
|
|
1815
|
-
200: {
|
|
1816
|
-
bodyMapper: DigitalTwinsEndpointResource
|
|
1817
|
-
},
|
|
1818
|
-
201: {
|
|
1819
|
-
bodyMapper: DigitalTwinsEndpointResource
|
|
1820
|
-
},
|
|
1821
|
-
default: {
|
|
1822
|
-
bodyMapper: ErrorResponse
|
|
1823
|
-
}
|
|
1824
|
-
},
|
|
1825
|
-
serializer: serializer$1
|
|
1826
|
-
};
|
|
1827
|
-
var beginDeleteMethodOperationSpec$1 = {
|
|
1828
|
-
httpMethod: "DELETE",
|
|
1829
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/endpoints/{endpointName}",
|
|
1830
|
-
urlParameters: [
|
|
1831
|
-
subscriptionId,
|
|
1832
|
-
resourceGroupName,
|
|
1833
|
-
resourceName,
|
|
1834
|
-
endpointName
|
|
1835
|
-
],
|
|
1836
|
-
queryParameters: [
|
|
1837
|
-
apiVersion
|
|
1838
|
-
],
|
|
1839
|
-
headerParameters: [
|
|
1840
|
-
acceptLanguage
|
|
1841
|
-
],
|
|
1842
|
-
responses: {
|
|
1843
|
-
200: {
|
|
1844
|
-
bodyMapper: DigitalTwinsEndpointResource
|
|
1845
|
-
},
|
|
1846
|
-
202: {
|
|
1847
|
-
bodyMapper: DigitalTwinsEndpointResource
|
|
1848
|
-
},
|
|
1849
|
-
204: {},
|
|
1850
|
-
default: {
|
|
1851
|
-
bodyMapper: ErrorResponse
|
|
1852
|
-
}
|
|
1853
|
-
},
|
|
1854
|
-
serializer: serializer$1
|
|
1855
|
-
};
|
|
1856
|
-
var listNextOperationSpec$1 = {
|
|
1857
|
-
httpMethod: "GET",
|
|
1858
|
-
baseUrl: "https://management.azure.com",
|
|
1859
|
-
path: "{nextLink}",
|
|
1860
|
-
urlParameters: [
|
|
1861
|
-
nextPageLink
|
|
1862
|
-
],
|
|
1863
|
-
queryParameters: [
|
|
1864
|
-
apiVersion
|
|
1865
|
-
],
|
|
1866
|
-
headerParameters: [
|
|
1867
|
-
acceptLanguage
|
|
1868
|
-
],
|
|
1869
|
-
responses: {
|
|
1870
|
-
200: {
|
|
1871
|
-
bodyMapper: DigitalTwinsEndpointResourceListResult
|
|
1872
|
-
},
|
|
1873
|
-
default: {
|
|
1874
|
-
bodyMapper: ErrorResponse
|
|
1875
|
-
}
|
|
1876
|
-
},
|
|
1877
|
-
serializer: serializer$1
|
|
1878
|
-
};
|
|
1879
|
-
|
|
1880
|
-
/*
|
|
1881
|
-
* Copyright (c) Microsoft Corporation.
|
|
1882
|
-
* Licensed under the MIT License.
|
|
1883
|
-
*
|
|
1884
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1885
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1886
|
-
*/
|
|
1887
|
-
|
|
1888
|
-
var Mappers$2 = /*#__PURE__*/Object.freeze({
|
|
1889
|
-
__proto__: null,
|
|
1890
|
-
discriminators: discriminators,
|
|
1891
|
-
ErrorDefinition: ErrorDefinition,
|
|
1892
|
-
ErrorResponse: ErrorResponse,
|
|
1893
|
-
Operation: Operation,
|
|
1894
|
-
OperationDisplay: OperationDisplay,
|
|
1895
|
-
OperationListResult: OperationListResult
|
|
1896
|
-
});
|
|
1897
|
-
|
|
1898
|
-
/*
|
|
1899
|
-
* Copyright (c) Microsoft Corporation.
|
|
1900
|
-
* Licensed under the MIT License.
|
|
1901
|
-
*
|
|
1902
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1903
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1904
|
-
* regenerated.
|
|
1905
|
-
*/
|
|
1906
|
-
/** Class representing a Operations. */
|
|
1907
|
-
var Operations = /** @class */ (function () {
|
|
1908
|
-
/**
|
|
1909
|
-
* Create a Operations.
|
|
1910
|
-
* @param {AzureDigitalTwinsManagementClientContext} client Reference to the service client.
|
|
1911
|
-
*/
|
|
1912
|
-
function Operations(client) {
|
|
1913
|
-
this.client = client;
|
|
1914
|
-
}
|
|
1915
|
-
Operations.prototype.list = function (options, callback) {
|
|
1916
|
-
return this.client.sendOperationRequest({
|
|
1917
|
-
options: options
|
|
1918
|
-
}, listOperationSpec$2, callback);
|
|
1919
|
-
};
|
|
1920
|
-
Operations.prototype.listNext = function (nextPageLink, options, callback) {
|
|
1921
|
-
return this.client.sendOperationRequest({
|
|
1922
|
-
nextPageLink: nextPageLink,
|
|
1923
|
-
options: options
|
|
1924
|
-
}, listNextOperationSpec$2, callback);
|
|
1925
|
-
};
|
|
1926
|
-
return Operations;
|
|
1927
|
-
}());
|
|
1928
|
-
// Operation Specifications
|
|
1929
|
-
var serializer$2 = new msRest.Serializer(Mappers$2);
|
|
1930
|
-
var listOperationSpec$2 = {
|
|
1931
|
-
httpMethod: "GET",
|
|
1932
|
-
path: "providers/Microsoft.DigitalTwins/operations",
|
|
1933
|
-
queryParameters: [
|
|
1934
|
-
apiVersion
|
|
1935
|
-
],
|
|
1936
|
-
headerParameters: [
|
|
1937
|
-
acceptLanguage
|
|
1938
|
-
],
|
|
1939
|
-
responses: {
|
|
1940
|
-
200: {
|
|
1941
|
-
bodyMapper: OperationListResult
|
|
1942
|
-
},
|
|
1943
|
-
default: {
|
|
1944
|
-
bodyMapper: ErrorResponse
|
|
1945
|
-
}
|
|
1946
|
-
},
|
|
1947
|
-
serializer: serializer$2
|
|
1948
|
-
};
|
|
1949
|
-
var listNextOperationSpec$2 = {
|
|
1950
|
-
httpMethod: "GET",
|
|
1951
|
-
baseUrl: "https://management.azure.com",
|
|
1952
|
-
path: "{nextLink}",
|
|
1953
|
-
urlParameters: [
|
|
1954
|
-
nextPageLink
|
|
1955
|
-
],
|
|
1956
|
-
queryParameters: [
|
|
1957
|
-
apiVersion
|
|
1958
|
-
],
|
|
1959
|
-
headerParameters: [
|
|
1960
|
-
acceptLanguage
|
|
1961
|
-
],
|
|
1962
|
-
responses: {
|
|
1963
|
-
200: {
|
|
1964
|
-
bodyMapper: OperationListResult
|
|
1965
|
-
},
|
|
1966
|
-
default: {
|
|
1967
|
-
bodyMapper: ErrorResponse
|
|
1968
|
-
}
|
|
1969
|
-
},
|
|
1970
|
-
serializer: serializer$2
|
|
1971
|
-
};
|
|
1972
|
-
|
|
1973
|
-
/*
|
|
1974
|
-
* Copyright (c) Microsoft Corporation.
|
|
1975
|
-
* Licensed under the MIT License.
|
|
1976
|
-
*
|
|
1977
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1978
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1979
|
-
*/
|
|
1980
|
-
|
|
1981
|
-
var Mappers$3 = /*#__PURE__*/Object.freeze({
|
|
1982
|
-
__proto__: null,
|
|
1983
|
-
discriminators: discriminators,
|
|
1984
|
-
ErrorDefinition: ErrorDefinition,
|
|
1985
|
-
ErrorResponse: ErrorResponse,
|
|
1986
|
-
GroupIdInformation: GroupIdInformation,
|
|
1987
|
-
GroupIdInformationProperties: GroupIdInformationProperties,
|
|
1988
|
-
GroupIdInformationPropertiesModel: GroupIdInformationPropertiesModel,
|
|
1989
|
-
GroupIdInformationResponse: GroupIdInformationResponse
|
|
1990
|
-
});
|
|
1991
|
-
|
|
1992
|
-
/*
|
|
1993
|
-
* Copyright (c) Microsoft Corporation.
|
|
1994
|
-
* Licensed under the MIT License.
|
|
1995
|
-
*
|
|
1996
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1997
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1998
|
-
* regenerated.
|
|
1999
|
-
*/
|
|
2000
|
-
/** Class representing a PrivateLinkResources. */
|
|
2001
|
-
var PrivateLinkResources = /** @class */ (function () {
|
|
2002
|
-
/**
|
|
2003
|
-
* Create a PrivateLinkResources.
|
|
2004
|
-
* @param {AzureDigitalTwinsManagementClientContext} client Reference to the service client.
|
|
2005
|
-
*/
|
|
2006
|
-
function PrivateLinkResources(client) {
|
|
2007
|
-
this.client = client;
|
|
2008
|
-
}
|
|
2009
|
-
PrivateLinkResources.prototype.list = function (resourceGroupName, resourceName, options, callback) {
|
|
2010
|
-
return this.client.sendOperationRequest({
|
|
2011
|
-
resourceGroupName: resourceGroupName,
|
|
2012
|
-
resourceName: resourceName,
|
|
2013
|
-
options: options
|
|
2014
|
-
}, listOperationSpec$3, callback);
|
|
2015
|
-
};
|
|
2016
|
-
PrivateLinkResources.prototype.get = function (resourceGroupName, resourceName, resourceId, options, callback) {
|
|
2017
|
-
return this.client.sendOperationRequest({
|
|
2018
|
-
resourceGroupName: resourceGroupName,
|
|
2019
|
-
resourceName: resourceName,
|
|
2020
|
-
resourceId: resourceId,
|
|
2021
|
-
options: options
|
|
2022
|
-
}, getOperationSpec$2, callback);
|
|
2023
|
-
};
|
|
2024
|
-
return PrivateLinkResources;
|
|
2025
|
-
}());
|
|
2026
|
-
// Operation Specifications
|
|
2027
|
-
var serializer$3 = new msRest.Serializer(Mappers$3);
|
|
2028
|
-
var listOperationSpec$3 = {
|
|
2029
|
-
httpMethod: "GET",
|
|
2030
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateLinkResources",
|
|
2031
|
-
urlParameters: [
|
|
2032
|
-
subscriptionId,
|
|
2033
|
-
resourceGroupName,
|
|
2034
|
-
resourceName
|
|
2035
|
-
],
|
|
2036
|
-
queryParameters: [
|
|
2037
|
-
apiVersion
|
|
2038
|
-
],
|
|
2039
|
-
headerParameters: [
|
|
2040
|
-
acceptLanguage
|
|
2041
|
-
],
|
|
2042
|
-
responses: {
|
|
2043
|
-
200: {
|
|
2044
|
-
bodyMapper: GroupIdInformationResponse
|
|
2045
|
-
},
|
|
2046
|
-
default: {
|
|
2047
|
-
bodyMapper: ErrorResponse
|
|
2048
|
-
}
|
|
2049
|
-
},
|
|
2050
|
-
serializer: serializer$3
|
|
2051
|
-
};
|
|
2052
|
-
var getOperationSpec$2 = {
|
|
2053
|
-
httpMethod: "GET",
|
|
2054
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateLinkResources/{resourceId}",
|
|
2055
|
-
urlParameters: [
|
|
2056
|
-
subscriptionId,
|
|
2057
|
-
resourceGroupName,
|
|
2058
|
-
resourceName,
|
|
2059
|
-
resourceId
|
|
2060
|
-
],
|
|
2061
|
-
queryParameters: [
|
|
2062
|
-
apiVersion
|
|
2063
|
-
],
|
|
2064
|
-
headerParameters: [
|
|
2065
|
-
acceptLanguage
|
|
2066
|
-
],
|
|
2067
|
-
responses: {
|
|
2068
|
-
200: {
|
|
2069
|
-
bodyMapper: GroupIdInformation
|
|
2070
|
-
},
|
|
2071
|
-
default: {
|
|
2072
|
-
bodyMapper: ErrorResponse
|
|
2073
|
-
}
|
|
2074
|
-
},
|
|
2075
|
-
serializer: serializer$3
|
|
2076
|
-
};
|
|
2077
|
-
|
|
2078
|
-
/*
|
|
2079
|
-
* Copyright (c) Microsoft Corporation.
|
|
2080
|
-
* Licensed under the MIT License.
|
|
2081
|
-
*
|
|
2082
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2083
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2084
|
-
*/
|
|
2085
|
-
|
|
2086
|
-
var Mappers$4 = /*#__PURE__*/Object.freeze({
|
|
2087
|
-
__proto__: null,
|
|
2088
|
-
discriminators: discriminators,
|
|
2089
|
-
BaseResource: BaseResource,
|
|
2090
|
-
ConnectionProperties: ConnectionProperties,
|
|
2091
|
-
ConnectionPropertiesPrivateEndpoint: ConnectionPropertiesPrivateEndpoint,
|
|
2092
|
-
ConnectionPropertiesPrivateLinkServiceConnectionState: ConnectionPropertiesPrivateLinkServiceConnectionState,
|
|
2093
|
-
ConnectionState: ConnectionState,
|
|
2094
|
-
DigitalTwinsDescription: DigitalTwinsDescription,
|
|
2095
|
-
DigitalTwinsEndpointResource: DigitalTwinsEndpointResource,
|
|
2096
|
-
DigitalTwinsEndpointResourceProperties: DigitalTwinsEndpointResourceProperties,
|
|
2097
|
-
DigitalTwinsIdentity: DigitalTwinsIdentity,
|
|
2098
|
-
DigitalTwinsResource: DigitalTwinsResource,
|
|
2099
|
-
ErrorDefinition: ErrorDefinition,
|
|
2100
|
-
ErrorResponse: ErrorResponse,
|
|
2101
|
-
EventGrid: EventGrid,
|
|
2102
|
-
EventHub: EventHub,
|
|
2103
|
-
ExternalResource: ExternalResource,
|
|
2104
|
-
PrivateEndpoint: PrivateEndpoint,
|
|
2105
|
-
PrivateEndpointConnection: PrivateEndpointConnection,
|
|
2106
|
-
PrivateEndpointConnectionProperties: PrivateEndpointConnectionProperties,
|
|
2107
|
-
PrivateEndpointConnectionsResponse: PrivateEndpointConnectionsResponse,
|
|
2108
|
-
ServiceBus: ServiceBus
|
|
2109
|
-
});
|
|
2110
|
-
|
|
2111
|
-
/*
|
|
2112
|
-
* Copyright (c) Microsoft Corporation.
|
|
2113
|
-
* Licensed under the MIT License.
|
|
2114
|
-
*
|
|
2115
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2116
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2117
|
-
* regenerated.
|
|
2118
|
-
*/
|
|
2119
|
-
/** Class representing a PrivateEndpointConnections. */
|
|
2120
|
-
var PrivateEndpointConnections = /** @class */ (function () {
|
|
2121
|
-
/**
|
|
2122
|
-
* Create a PrivateEndpointConnections.
|
|
2123
|
-
* @param {AzureDigitalTwinsManagementClientContext} client Reference to the service client.
|
|
2124
|
-
*/
|
|
2125
|
-
function PrivateEndpointConnections(client) {
|
|
2126
|
-
this.client = client;
|
|
2127
|
-
}
|
|
2128
|
-
PrivateEndpointConnections.prototype.list = function (resourceGroupName, resourceName, options, callback) {
|
|
2129
|
-
return this.client.sendOperationRequest({
|
|
2130
|
-
resourceGroupName: resourceGroupName,
|
|
2131
|
-
resourceName: resourceName,
|
|
2132
|
-
options: options
|
|
2133
|
-
}, listOperationSpec$4, callback);
|
|
2134
|
-
};
|
|
2135
|
-
PrivateEndpointConnections.prototype.get = function (resourceGroupName, resourceName, privateEndpointConnectionName, options, callback) {
|
|
2136
|
-
return this.client.sendOperationRequest({
|
|
2137
|
-
resourceGroupName: resourceGroupName,
|
|
2138
|
-
resourceName: resourceName,
|
|
2139
|
-
privateEndpointConnectionName: privateEndpointConnectionName,
|
|
2140
|
-
options: options
|
|
2141
|
-
}, getOperationSpec$3, callback);
|
|
2142
|
-
};
|
|
2143
|
-
/**
|
|
2144
|
-
* Delete private endpoint connection with the specified name.
|
|
2145
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
2146
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
2147
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
2148
|
-
* @param [options] The optional parameters
|
|
2149
|
-
* @returns Promise<msRest.RestResponse>
|
|
2150
|
-
*/
|
|
2151
|
-
PrivateEndpointConnections.prototype.deleteMethod = function (resourceGroupName, resourceName, privateEndpointConnectionName, options) {
|
|
2152
|
-
return this.beginDeleteMethod(resourceGroupName, resourceName, privateEndpointConnectionName, options)
|
|
2153
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2154
|
-
};
|
|
2155
|
-
/**
|
|
2156
|
-
* Update the status of a private endpoint connection with the given name.
|
|
2157
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
2158
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
2159
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
2160
|
-
* @param properties
|
|
2161
|
-
* @param [options] The optional parameters
|
|
2162
|
-
* @returns Promise<Models.PrivateEndpointConnectionsCreateOrUpdateResponse>
|
|
2163
|
-
*/
|
|
2164
|
-
PrivateEndpointConnections.prototype.createOrUpdate = function (resourceGroupName, resourceName, privateEndpointConnectionName, properties, options) {
|
|
2165
|
-
return this.beginCreateOrUpdate(resourceGroupName, resourceName, privateEndpointConnectionName, properties, options)
|
|
2166
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2167
|
-
};
|
|
2168
|
-
/**
|
|
2169
|
-
* Delete private endpoint connection with the specified name.
|
|
2170
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
2171
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
2172
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
2173
|
-
* @param [options] The optional parameters
|
|
2174
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2175
|
-
*/
|
|
2176
|
-
PrivateEndpointConnections.prototype.beginDeleteMethod = function (resourceGroupName, resourceName, privateEndpointConnectionName, options) {
|
|
2177
|
-
return this.client.sendLRORequest({
|
|
2178
|
-
resourceGroupName: resourceGroupName,
|
|
2179
|
-
resourceName: resourceName,
|
|
2180
|
-
privateEndpointConnectionName: privateEndpointConnectionName,
|
|
2181
|
-
options: options
|
|
2182
|
-
}, beginDeleteMethodOperationSpec$2, options);
|
|
2183
|
-
};
|
|
2184
|
-
/**
|
|
2185
|
-
* Update the status of a private endpoint connection with the given name.
|
|
2186
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
2187
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
2188
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
2189
|
-
* @param properties
|
|
2190
|
-
* @param [options] The optional parameters
|
|
2191
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2192
|
-
*/
|
|
2193
|
-
PrivateEndpointConnections.prototype.beginCreateOrUpdate = function (resourceGroupName, resourceName, privateEndpointConnectionName, properties, options) {
|
|
2194
|
-
return this.client.sendLRORequest({
|
|
2195
|
-
resourceGroupName: resourceGroupName,
|
|
2196
|
-
resourceName: resourceName,
|
|
2197
|
-
privateEndpointConnectionName: privateEndpointConnectionName,
|
|
2198
|
-
properties: properties,
|
|
2199
|
-
options: options
|
|
2200
|
-
}, beginCreateOrUpdateOperationSpec$2, options);
|
|
2201
|
-
};
|
|
2202
|
-
return PrivateEndpointConnections;
|
|
2203
|
-
}());
|
|
2204
|
-
// Operation Specifications
|
|
2205
|
-
var serializer$4 = new msRest.Serializer(Mappers$4);
|
|
2206
|
-
var listOperationSpec$4 = {
|
|
2207
|
-
httpMethod: "GET",
|
|
2208
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateEndpointConnections",
|
|
2209
|
-
urlParameters: [
|
|
2210
|
-
subscriptionId,
|
|
2211
|
-
resourceGroupName,
|
|
2212
|
-
resourceName
|
|
2213
|
-
],
|
|
2214
|
-
queryParameters: [
|
|
2215
|
-
apiVersion
|
|
2216
|
-
],
|
|
2217
|
-
headerParameters: [
|
|
2218
|
-
acceptLanguage
|
|
2219
|
-
],
|
|
2220
|
-
responses: {
|
|
2221
|
-
200: {
|
|
2222
|
-
bodyMapper: PrivateEndpointConnectionsResponse
|
|
2223
|
-
},
|
|
2224
|
-
default: {
|
|
2225
|
-
bodyMapper: ErrorResponse
|
|
2226
|
-
}
|
|
2227
|
-
},
|
|
2228
|
-
serializer: serializer$4
|
|
2229
|
-
};
|
|
2230
|
-
var getOperationSpec$3 = {
|
|
2231
|
-
httpMethod: "GET",
|
|
2232
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
2233
|
-
urlParameters: [
|
|
2234
|
-
subscriptionId,
|
|
2235
|
-
resourceGroupName,
|
|
2236
|
-
resourceName,
|
|
2237
|
-
privateEndpointConnectionName
|
|
2238
|
-
],
|
|
2239
|
-
queryParameters: [
|
|
2240
|
-
apiVersion
|
|
2241
|
-
],
|
|
2242
|
-
headerParameters: [
|
|
2243
|
-
acceptLanguage
|
|
2244
|
-
],
|
|
2245
|
-
responses: {
|
|
2246
|
-
200: {
|
|
2247
|
-
bodyMapper: PrivateEndpointConnection
|
|
2248
|
-
},
|
|
2249
|
-
default: {
|
|
2250
|
-
bodyMapper: ErrorResponse
|
|
2251
|
-
}
|
|
2252
|
-
},
|
|
2253
|
-
serializer: serializer$4
|
|
2254
|
-
};
|
|
2255
|
-
var beginDeleteMethodOperationSpec$2 = {
|
|
2256
|
-
httpMethod: "DELETE",
|
|
2257
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
2258
|
-
urlParameters: [
|
|
2259
|
-
subscriptionId,
|
|
2260
|
-
resourceGroupName,
|
|
2261
|
-
resourceName,
|
|
2262
|
-
privateEndpointConnectionName
|
|
2263
|
-
],
|
|
2264
|
-
queryParameters: [
|
|
2265
|
-
apiVersion
|
|
2266
|
-
],
|
|
2267
|
-
headerParameters: [
|
|
2268
|
-
acceptLanguage
|
|
2269
|
-
],
|
|
2270
|
-
responses: {
|
|
2271
|
-
200: {},
|
|
2272
|
-
202: {},
|
|
2273
|
-
204: {},
|
|
2274
|
-
default: {
|
|
2275
|
-
bodyMapper: ErrorResponse
|
|
2276
|
-
}
|
|
2277
|
-
},
|
|
2278
|
-
serializer: serializer$4
|
|
2279
|
-
};
|
|
2280
|
-
var beginCreateOrUpdateOperationSpec$2 = {
|
|
2281
|
-
httpMethod: "PUT",
|
|
2282
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
2283
|
-
urlParameters: [
|
|
2284
|
-
subscriptionId,
|
|
2285
|
-
resourceGroupName,
|
|
2286
|
-
resourceName,
|
|
2287
|
-
privateEndpointConnectionName
|
|
2288
|
-
],
|
|
2289
|
-
queryParameters: [
|
|
2290
|
-
apiVersion
|
|
2291
|
-
],
|
|
2292
|
-
headerParameters: [
|
|
2293
|
-
acceptLanguage
|
|
2294
|
-
],
|
|
2295
|
-
requestBody: {
|
|
2296
|
-
parameterPath: {
|
|
2297
|
-
properties: "properties"
|
|
2298
|
-
},
|
|
2299
|
-
mapper: __assign(__assign({}, PrivateEndpointConnection), { required: true })
|
|
2300
|
-
},
|
|
2301
|
-
responses: {
|
|
2302
|
-
200: {
|
|
2303
|
-
bodyMapper: PrivateEndpointConnection
|
|
2304
|
-
},
|
|
2305
|
-
202: {
|
|
2306
|
-
bodyMapper: PrivateEndpointConnection
|
|
2307
|
-
},
|
|
2308
|
-
default: {
|
|
2309
|
-
bodyMapper: ErrorResponse
|
|
2310
|
-
}
|
|
2311
|
-
},
|
|
2312
|
-
serializer: serializer$4
|
|
2313
|
-
};
|
|
2314
|
-
|
|
2315
|
-
/*
|
|
2316
|
-
* Copyright (c) Microsoft Corporation.
|
|
2317
|
-
* Licensed under the MIT License.
|
|
2318
|
-
*
|
|
2319
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2320
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2321
|
-
* regenerated.
|
|
2322
|
-
*/
|
|
2323
|
-
var packageName = "@azure/arm-digitaltwins";
|
|
2324
|
-
var packageVersion = "2.1.1";
|
|
2325
|
-
var AzureDigitalTwinsManagementClientContext = /** @class */ (function (_super) {
|
|
2326
|
-
__extends(AzureDigitalTwinsManagementClientContext, _super);
|
|
2327
|
-
/**
|
|
2328
|
-
* Initializes a new instance of the AzureDigitalTwinsManagementClient class.
|
|
2329
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
2330
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
2331
|
-
* more information about these credentials, see
|
|
2332
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
2333
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
2334
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
2335
|
-
* @param subscriptionId The subscription identifier.
|
|
2336
|
-
* @param [options] The parameter options
|
|
2337
|
-
*/
|
|
2338
|
-
function AzureDigitalTwinsManagementClientContext(credentials, subscriptionId, options) {
|
|
2339
|
-
var _this = this;
|
|
2340
|
-
if (credentials == undefined) {
|
|
2341
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
2342
|
-
}
|
|
2343
|
-
if (subscriptionId == undefined) {
|
|
2344
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
2345
|
-
}
|
|
2346
|
-
if (!options) {
|
|
2347
|
-
options = {};
|
|
2348
|
-
}
|
|
2349
|
-
if (!options.userAgent) {
|
|
2350
|
-
var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
2351
|
-
options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
|
|
2352
|
-
}
|
|
2353
|
-
_this = _super.call(this, credentials, options) || this;
|
|
2354
|
-
_this.apiVersion = '2020-12-01';
|
|
2355
|
-
_this.acceptLanguage = 'en-US';
|
|
2356
|
-
_this.longRunningOperationRetryTimeout = 30;
|
|
2357
|
-
_this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
|
|
2358
|
-
_this.requestContentType = "application/json; charset=utf-8";
|
|
2359
|
-
_this.credentials = credentials;
|
|
2360
|
-
_this.subscriptionId = subscriptionId;
|
|
2361
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
2362
|
-
_this.acceptLanguage = options.acceptLanguage;
|
|
2363
|
-
}
|
|
2364
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
2365
|
-
_this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
2366
|
-
}
|
|
2367
|
-
return _this;
|
|
2368
|
-
}
|
|
2369
|
-
return AzureDigitalTwinsManagementClientContext;
|
|
2370
|
-
}(msRestAzure.AzureServiceClient));
|
|
2371
|
-
|
|
2372
|
-
/*
|
|
2373
|
-
* Copyright (c) Microsoft Corporation.
|
|
2374
|
-
* Licensed under the MIT License.
|
|
2375
|
-
*
|
|
2376
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2377
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2378
|
-
* regenerated.
|
|
2379
|
-
*/
|
|
2380
|
-
var AzureDigitalTwinsManagementClient = /** @class */ (function (_super) {
|
|
2381
|
-
__extends(AzureDigitalTwinsManagementClient, _super);
|
|
2382
|
-
/**
|
|
2383
|
-
* Initializes a new instance of the AzureDigitalTwinsManagementClient class.
|
|
2384
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
2385
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
2386
|
-
* more information about these credentials, see
|
|
2387
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
2388
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
2389
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
2390
|
-
* @param subscriptionId The subscription identifier.
|
|
2391
|
-
* @param [options] The parameter options
|
|
2392
|
-
*/
|
|
2393
|
-
function AzureDigitalTwinsManagementClient(credentials, subscriptionId, options) {
|
|
2394
|
-
var _this = _super.call(this, credentials, subscriptionId, options) || this;
|
|
2395
|
-
_this.digitalTwins = new DigitalTwins(_this);
|
|
2396
|
-
_this.digitalTwinsEndpoint = new DigitalTwinsEndpoint(_this);
|
|
2397
|
-
_this.operations = new Operations(_this);
|
|
2398
|
-
_this.privateLinkResources = new PrivateLinkResources(_this);
|
|
2399
|
-
_this.privateEndpointConnections = new PrivateEndpointConnections(_this);
|
|
2400
|
-
return _this;
|
|
2401
|
-
}
|
|
2402
|
-
return AzureDigitalTwinsManagementClient;
|
|
2403
|
-
}(AzureDigitalTwinsManagementClientContext));
|
|
2404
|
-
|
|
2405
|
-
exports.AzureDigitalTwinsManagementClient = AzureDigitalTwinsManagementClient;
|
|
2406
|
-
exports.AzureDigitalTwinsManagementClientContext = AzureDigitalTwinsManagementClientContext;
|
|
2407
|
-
exports.AzureDigitalTwinsManagementMappers = mappers;
|
|
2408
|
-
exports.AzureDigitalTwinsManagementModels = index;
|
|
2409
|
-
exports.DigitalTwins = DigitalTwins;
|
|
2410
|
-
exports.DigitalTwinsEndpoint = DigitalTwinsEndpoint;
|
|
2411
|
-
exports.Operations = Operations;
|
|
2412
|
-
exports.PrivateEndpointConnections = PrivateEndpointConnections;
|
|
2413
|
-
exports.PrivateLinkResources = PrivateLinkResources;
|
|
2414
|
-
|
|
2415
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2416
|
-
|
|
2417
|
-
})));
|
|
2418
|
-
//# sourceMappingURL=arm-digitaltwins.js.map
|