@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
|
@@ -1,209 +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
|
|
7
|
-
* regenerated.
|
|
8
|
-
*/
|
|
9
|
-
import { __assign } from "tslib";
|
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
11
|
-
import * as Mappers from "../models/privateEndpointConnectionsMappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
13
|
-
/** Class representing a PrivateEndpointConnections. */
|
|
14
|
-
var PrivateEndpointConnections = /** @class */ (function () {
|
|
15
|
-
/**
|
|
16
|
-
* Create a PrivateEndpointConnections.
|
|
17
|
-
* @param {AzureDigitalTwinsManagementClientContext} client Reference to the service client.
|
|
18
|
-
*/
|
|
19
|
-
function PrivateEndpointConnections(client) {
|
|
20
|
-
this.client = client;
|
|
21
|
-
}
|
|
22
|
-
PrivateEndpointConnections.prototype.list = function (resourceGroupName, resourceName, options, callback) {
|
|
23
|
-
return this.client.sendOperationRequest({
|
|
24
|
-
resourceGroupName: resourceGroupName,
|
|
25
|
-
resourceName: resourceName,
|
|
26
|
-
options: options
|
|
27
|
-
}, listOperationSpec, callback);
|
|
28
|
-
};
|
|
29
|
-
PrivateEndpointConnections.prototype.get = function (resourceGroupName, resourceName, privateEndpointConnectionName, options, callback) {
|
|
30
|
-
return this.client.sendOperationRequest({
|
|
31
|
-
resourceGroupName: resourceGroupName,
|
|
32
|
-
resourceName: resourceName,
|
|
33
|
-
privateEndpointConnectionName: privateEndpointConnectionName,
|
|
34
|
-
options: options
|
|
35
|
-
}, getOperationSpec, callback);
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* Delete private endpoint connection with the specified name.
|
|
39
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
40
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
41
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
42
|
-
* @param [options] The optional parameters
|
|
43
|
-
* @returns Promise<msRest.RestResponse>
|
|
44
|
-
*/
|
|
45
|
-
PrivateEndpointConnections.prototype.deleteMethod = function (resourceGroupName, resourceName, privateEndpointConnectionName, options) {
|
|
46
|
-
return this.beginDeleteMethod(resourceGroupName, resourceName, privateEndpointConnectionName, options)
|
|
47
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
48
|
-
};
|
|
49
|
-
/**
|
|
50
|
-
* Update the status of a private endpoint connection with the given name.
|
|
51
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
52
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
53
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
54
|
-
* @param properties
|
|
55
|
-
* @param [options] The optional parameters
|
|
56
|
-
* @returns Promise<Models.PrivateEndpointConnectionsCreateOrUpdateResponse>
|
|
57
|
-
*/
|
|
58
|
-
PrivateEndpointConnections.prototype.createOrUpdate = function (resourceGroupName, resourceName, privateEndpointConnectionName, properties, options) {
|
|
59
|
-
return this.beginCreateOrUpdate(resourceGroupName, resourceName, privateEndpointConnectionName, properties, options)
|
|
60
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
61
|
-
};
|
|
62
|
-
/**
|
|
63
|
-
* Delete private endpoint connection with the specified name.
|
|
64
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
65
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
66
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
67
|
-
* @param [options] The optional parameters
|
|
68
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
69
|
-
*/
|
|
70
|
-
PrivateEndpointConnections.prototype.beginDeleteMethod = function (resourceGroupName, resourceName, privateEndpointConnectionName, options) {
|
|
71
|
-
return this.client.sendLRORequest({
|
|
72
|
-
resourceGroupName: resourceGroupName,
|
|
73
|
-
resourceName: resourceName,
|
|
74
|
-
privateEndpointConnectionName: privateEndpointConnectionName,
|
|
75
|
-
options: options
|
|
76
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
77
|
-
};
|
|
78
|
-
/**
|
|
79
|
-
* Update the status of a private endpoint connection with the given name.
|
|
80
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
81
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
82
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
83
|
-
* @param properties
|
|
84
|
-
* @param [options] The optional parameters
|
|
85
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
86
|
-
*/
|
|
87
|
-
PrivateEndpointConnections.prototype.beginCreateOrUpdate = function (resourceGroupName, resourceName, privateEndpointConnectionName, properties, options) {
|
|
88
|
-
return this.client.sendLRORequest({
|
|
89
|
-
resourceGroupName: resourceGroupName,
|
|
90
|
-
resourceName: resourceName,
|
|
91
|
-
privateEndpointConnectionName: privateEndpointConnectionName,
|
|
92
|
-
properties: properties,
|
|
93
|
-
options: options
|
|
94
|
-
}, beginCreateOrUpdateOperationSpec, options);
|
|
95
|
-
};
|
|
96
|
-
return PrivateEndpointConnections;
|
|
97
|
-
}());
|
|
98
|
-
export { PrivateEndpointConnections };
|
|
99
|
-
// Operation Specifications
|
|
100
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
101
|
-
var listOperationSpec = {
|
|
102
|
-
httpMethod: "GET",
|
|
103
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateEndpointConnections",
|
|
104
|
-
urlParameters: [
|
|
105
|
-
Parameters.subscriptionId,
|
|
106
|
-
Parameters.resourceGroupName,
|
|
107
|
-
Parameters.resourceName
|
|
108
|
-
],
|
|
109
|
-
queryParameters: [
|
|
110
|
-
Parameters.apiVersion
|
|
111
|
-
],
|
|
112
|
-
headerParameters: [
|
|
113
|
-
Parameters.acceptLanguage
|
|
114
|
-
],
|
|
115
|
-
responses: {
|
|
116
|
-
200: {
|
|
117
|
-
bodyMapper: Mappers.PrivateEndpointConnectionsResponse
|
|
118
|
-
},
|
|
119
|
-
default: {
|
|
120
|
-
bodyMapper: Mappers.ErrorResponse
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
serializer: serializer
|
|
124
|
-
};
|
|
125
|
-
var getOperationSpec = {
|
|
126
|
-
httpMethod: "GET",
|
|
127
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
128
|
-
urlParameters: [
|
|
129
|
-
Parameters.subscriptionId,
|
|
130
|
-
Parameters.resourceGroupName,
|
|
131
|
-
Parameters.resourceName,
|
|
132
|
-
Parameters.privateEndpointConnectionName
|
|
133
|
-
],
|
|
134
|
-
queryParameters: [
|
|
135
|
-
Parameters.apiVersion
|
|
136
|
-
],
|
|
137
|
-
headerParameters: [
|
|
138
|
-
Parameters.acceptLanguage
|
|
139
|
-
],
|
|
140
|
-
responses: {
|
|
141
|
-
200: {
|
|
142
|
-
bodyMapper: Mappers.PrivateEndpointConnection
|
|
143
|
-
},
|
|
144
|
-
default: {
|
|
145
|
-
bodyMapper: Mappers.ErrorResponse
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
serializer: serializer
|
|
149
|
-
};
|
|
150
|
-
var beginDeleteMethodOperationSpec = {
|
|
151
|
-
httpMethod: "DELETE",
|
|
152
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
153
|
-
urlParameters: [
|
|
154
|
-
Parameters.subscriptionId,
|
|
155
|
-
Parameters.resourceGroupName,
|
|
156
|
-
Parameters.resourceName,
|
|
157
|
-
Parameters.privateEndpointConnectionName
|
|
158
|
-
],
|
|
159
|
-
queryParameters: [
|
|
160
|
-
Parameters.apiVersion
|
|
161
|
-
],
|
|
162
|
-
headerParameters: [
|
|
163
|
-
Parameters.acceptLanguage
|
|
164
|
-
],
|
|
165
|
-
responses: {
|
|
166
|
-
200: {},
|
|
167
|
-
202: {},
|
|
168
|
-
204: {},
|
|
169
|
-
default: {
|
|
170
|
-
bodyMapper: Mappers.ErrorResponse
|
|
171
|
-
}
|
|
172
|
-
},
|
|
173
|
-
serializer: serializer
|
|
174
|
-
};
|
|
175
|
-
var beginCreateOrUpdateOperationSpec = {
|
|
176
|
-
httpMethod: "PUT",
|
|
177
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
178
|
-
urlParameters: [
|
|
179
|
-
Parameters.subscriptionId,
|
|
180
|
-
Parameters.resourceGroupName,
|
|
181
|
-
Parameters.resourceName,
|
|
182
|
-
Parameters.privateEndpointConnectionName
|
|
183
|
-
],
|
|
184
|
-
queryParameters: [
|
|
185
|
-
Parameters.apiVersion
|
|
186
|
-
],
|
|
187
|
-
headerParameters: [
|
|
188
|
-
Parameters.acceptLanguage
|
|
189
|
-
],
|
|
190
|
-
requestBody: {
|
|
191
|
-
parameterPath: {
|
|
192
|
-
properties: "properties"
|
|
193
|
-
},
|
|
194
|
-
mapper: __assign(__assign({}, Mappers.PrivateEndpointConnection), { required: true })
|
|
195
|
-
},
|
|
196
|
-
responses: {
|
|
197
|
-
200: {
|
|
198
|
-
bodyMapper: Mappers.PrivateEndpointConnection
|
|
199
|
-
},
|
|
200
|
-
202: {
|
|
201
|
-
bodyMapper: Mappers.PrivateEndpointConnection
|
|
202
|
-
},
|
|
203
|
-
default: {
|
|
204
|
-
bodyMapper: Mappers.ErrorResponse
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
serializer: serializer
|
|
208
|
-
};
|
|
209
|
-
//# sourceMappingURL=privateEndpointConnections.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,OAAO,MAAM,6CAA6C,CAAC;AACvE,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,uDAAuD;AACvD;IAGE;;;OAGG;IACH,oCAAY,MAAgD;QAC1D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAuBD,yCAAI,GAAJ,UAAK,iBAAyB,EAAE,YAAoB,EAAE,OAAuG,EAAE,QAA4E;QACzO,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,YAAY,cAAA;YACZ,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAA2D,CAAC;IACxE,CAAC;IA0BD,wCAAG,GAAH,UAAI,iBAAyB,EAAE,YAAoB,EAAE,6BAAqC,EAAE,OAA8F,EAAE,QAAmE;QAC7P,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,YAAY,cAAA;YACZ,6BAA6B,+BAAA;YAC7B,OAAO,SAAA;SACR,EACD,gBAAgB,EAChB,QAAQ,CAA0D,CAAC;IACvE,CAAC;IAED;;;;;;;OAOG;IACH,iDAAY,GAAZ,UAAa,iBAAyB,EAAE,YAAoB,EAAE,6BAAqC,EAAE,OAAmC;QACtI,OAAO,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,EAAC,YAAY,EAAC,6BAA6B,EAAC,OAAO,CAAC;aAChG,IAAI,CAAC,UAAA,SAAS,IAAI,OAAA,SAAS,CAAC,iBAAiB,EAAE,EAA7B,CAA6B,CAAC,CAAC;IACtD,CAAC;IAED;;;;;;;;OAQG;IACH,mDAA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AE,oMAAoM;IAC1M,aAAa,EAAE;QACb,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,6BAA6B;KACzC;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,WAAW,EAAE;QACX,aAAa,EAAE;YACb,UAAU,EAAE,YAAY;SACzB;QACD,MAAM,wBACD,OAAO,CAAC,yBAAyB,KACpC,QAAQ,EAAE,IAAI,GACf;KACF;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yBAAyB;SAC9C;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yBAAyB;SAC9C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as Models from "../models";
|
|
3
|
-
import { AzureDigitalTwinsManagementClientContext } from "../azureDigitalTwinsManagementClientContext";
|
|
4
|
-
/** Class representing a PrivateLinkResources. */
|
|
5
|
-
export declare class PrivateLinkResources {
|
|
6
|
-
private readonly client;
|
|
7
|
-
/**
|
|
8
|
-
* Create a PrivateLinkResources.
|
|
9
|
-
* @param {AzureDigitalTwinsManagementClientContext} client Reference to the service client.
|
|
10
|
-
*/
|
|
11
|
-
constructor(client: AzureDigitalTwinsManagementClientContext);
|
|
12
|
-
/**
|
|
13
|
-
* List private link resources for given Digital Twin.
|
|
14
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
15
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
16
|
-
* @param [options] The optional parameters
|
|
17
|
-
* @returns Promise<Models.PrivateLinkResourcesListResponse>
|
|
18
|
-
*/
|
|
19
|
-
list(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.PrivateLinkResourcesListResponse>;
|
|
20
|
-
/**
|
|
21
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
22
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
23
|
-
* @param callback The callback
|
|
24
|
-
*/
|
|
25
|
-
list(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Models.GroupIdInformationResponse>): void;
|
|
26
|
-
/**
|
|
27
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
28
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
29
|
-
* @param options The optional parameters
|
|
30
|
-
* @param callback The callback
|
|
31
|
-
*/
|
|
32
|
-
list(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.GroupIdInformationResponse>): void;
|
|
33
|
-
/**
|
|
34
|
-
* Get the specified private link resource for the given Digital Twin.
|
|
35
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
36
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
37
|
-
* @param resourceId The name of the private link resource.
|
|
38
|
-
* @param [options] The optional parameters
|
|
39
|
-
* @returns Promise<Models.PrivateLinkResourcesGetResponse>
|
|
40
|
-
*/
|
|
41
|
-
get(resourceGroupName: string, resourceName: string, resourceId: string, options?: msRest.RequestOptionsBase): Promise<Models.PrivateLinkResourcesGetResponse>;
|
|
42
|
-
/**
|
|
43
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
44
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
45
|
-
* @param resourceId The name of the private link resource.
|
|
46
|
-
* @param callback The callback
|
|
47
|
-
*/
|
|
48
|
-
get(resourceGroupName: string, resourceName: string, resourceId: string, callback: msRest.ServiceCallback<Models.GroupIdInformation>): void;
|
|
49
|
-
/**
|
|
50
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
51
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
52
|
-
* @param resourceId The name of the private link resource.
|
|
53
|
-
* @param options The optional parameters
|
|
54
|
-
* @param callback The callback
|
|
55
|
-
*/
|
|
56
|
-
get(resourceGroupName: string, resourceName: string, resourceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.GroupIdInformation>): void;
|
|
57
|
-
}
|
|
58
|
-
//# sourceMappingURL=privateLinkResources.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,wCAAwC,EAAE,MAAM,6CAA6C,CAAC;AAEvG,iDAAiD;AACjD,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2C;IAElE;;;OAGG;gBACS,MAAM,EAAE,wCAAwC;IAI5D;;;;;;OAMG;IACH,IAAI,CAAC,iBAAiB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,gCAAgC,CAAC;IAC5I;;;;OAIG;IACH,IAAI,CAAC,iBAAiB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,0BAA0B,CAAC,GAAG,IAAI;IAChI;;;;;OAKG;IACH,IAAI,CAAC,iBAAiB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,0BAA0B,CAAC,GAAG,IAAI;IAYpK;;;;;;;OAOG;IACH,GAAG,CAAC,iBAAiB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,+BAA+B,CAAC;IAC9J;;;;;OAKG;IACH,GAAG,CAAC,iBAAiB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,kBAAkB,CAAC,GAAG,IAAI;IAC3I;;;;;;OAMG;IACH,GAAG,CAAC,iBAAiB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,kBAAkB,CAAC,GAAG,IAAI;CAYhL"}
|
|
@@ -1,90 +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
|
|
7
|
-
* regenerated.
|
|
8
|
-
*/
|
|
9
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
10
|
-
import * as Mappers from "../models/privateLinkResourcesMappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
12
|
-
/** Class representing a PrivateLinkResources. */
|
|
13
|
-
var PrivateLinkResources = /** @class */ (function () {
|
|
14
|
-
/**
|
|
15
|
-
* Create a PrivateLinkResources.
|
|
16
|
-
* @param {AzureDigitalTwinsManagementClientContext} client Reference to the service client.
|
|
17
|
-
*/
|
|
18
|
-
function PrivateLinkResources(client) {
|
|
19
|
-
this.client = client;
|
|
20
|
-
}
|
|
21
|
-
PrivateLinkResources.prototype.list = function (resourceGroupName, resourceName, options, callback) {
|
|
22
|
-
return this.client.sendOperationRequest({
|
|
23
|
-
resourceGroupName: resourceGroupName,
|
|
24
|
-
resourceName: resourceName,
|
|
25
|
-
options: options
|
|
26
|
-
}, listOperationSpec, callback);
|
|
27
|
-
};
|
|
28
|
-
PrivateLinkResources.prototype.get = function (resourceGroupName, resourceName, resourceId, options, callback) {
|
|
29
|
-
return this.client.sendOperationRequest({
|
|
30
|
-
resourceGroupName: resourceGroupName,
|
|
31
|
-
resourceName: resourceName,
|
|
32
|
-
resourceId: resourceId,
|
|
33
|
-
options: options
|
|
34
|
-
}, getOperationSpec, callback);
|
|
35
|
-
};
|
|
36
|
-
return PrivateLinkResources;
|
|
37
|
-
}());
|
|
38
|
-
export { PrivateLinkResources };
|
|
39
|
-
// Operation Specifications
|
|
40
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
41
|
-
var listOperationSpec = {
|
|
42
|
-
httpMethod: "GET",
|
|
43
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateLinkResources",
|
|
44
|
-
urlParameters: [
|
|
45
|
-
Parameters.subscriptionId,
|
|
46
|
-
Parameters.resourceGroupName,
|
|
47
|
-
Parameters.resourceName
|
|
48
|
-
],
|
|
49
|
-
queryParameters: [
|
|
50
|
-
Parameters.apiVersion
|
|
51
|
-
],
|
|
52
|
-
headerParameters: [
|
|
53
|
-
Parameters.acceptLanguage
|
|
54
|
-
],
|
|
55
|
-
responses: {
|
|
56
|
-
200: {
|
|
57
|
-
bodyMapper: Mappers.GroupIdInformationResponse
|
|
58
|
-
},
|
|
59
|
-
default: {
|
|
60
|
-
bodyMapper: Mappers.ErrorResponse
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
serializer: serializer
|
|
64
|
-
};
|
|
65
|
-
var getOperationSpec = {
|
|
66
|
-
httpMethod: "GET",
|
|
67
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateLinkResources/{resourceId}",
|
|
68
|
-
urlParameters: [
|
|
69
|
-
Parameters.subscriptionId,
|
|
70
|
-
Parameters.resourceGroupName,
|
|
71
|
-
Parameters.resourceName,
|
|
72
|
-
Parameters.resourceId
|
|
73
|
-
],
|
|
74
|
-
queryParameters: [
|
|
75
|
-
Parameters.apiVersion
|
|
76
|
-
],
|
|
77
|
-
headerParameters: [
|
|
78
|
-
Parameters.acceptLanguage
|
|
79
|
-
],
|
|
80
|
-
responses: {
|
|
81
|
-
200: {
|
|
82
|
-
bodyMapper: Mappers.GroupIdInformation
|
|
83
|
-
},
|
|
84
|
-
default: {
|
|
85
|
-
bodyMapper: Mappers.ErrorResponse
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
serializer: serializer
|
|
89
|
-
};
|
|
90
|
-
//# sourceMappingURL=privateLinkResources.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,uCAAuC,CAAC;AACjE,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,iDAAiD;AACjD;IAGE;;;OAGG;IACH,8BAAY,MAAgD;QAC1D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAuBD,mCAAI,GAAJ,UAAK,iBAAyB,EAAE,YAAoB,EAAE,OAA+F,EAAE,QAAoE;QACzN,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,YAAY,cAAA;YACZ,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAAqD,CAAC;IAClE,CAAC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YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -1,67 +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
|
|
7
|
-
* regenerated.
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
import * as Models from "./models";
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import { TokenCredential } from "@azure/core-auth";
|
|
13
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
14
|
-
|
|
15
|
-
const packageName = "@azure/arm-digitaltwins";
|
|
16
|
-
const packageVersion = "2.1.1";
|
|
17
|
-
|
|
18
|
-
export class AzureDigitalTwinsManagementClientContext extends msRestAzure.AzureServiceClient {
|
|
19
|
-
credentials: msRest.ServiceClientCredentials | TokenCredential;
|
|
20
|
-
subscriptionId: string;
|
|
21
|
-
apiVersion?: string;
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Initializes a new instance of the AzureDigitalTwinsManagementClient class.
|
|
25
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
26
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
27
|
-
* more information about these credentials, see
|
|
28
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
29
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
30
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
31
|
-
* @param subscriptionId The subscription identifier.
|
|
32
|
-
* @param [options] The parameter options
|
|
33
|
-
*/
|
|
34
|
-
constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureDigitalTwinsManagementClientOptions) {
|
|
35
|
-
if (credentials == undefined) {
|
|
36
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
37
|
-
}
|
|
38
|
-
if (subscriptionId == undefined) {
|
|
39
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
if (!options) {
|
|
43
|
-
options = {};
|
|
44
|
-
}
|
|
45
|
-
if (!options.userAgent) {
|
|
46
|
-
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
47
|
-
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
super(credentials, options);
|
|
51
|
-
|
|
52
|
-
this.apiVersion = '2020-12-01';
|
|
53
|
-
this.acceptLanguage = 'en-US';
|
|
54
|
-
this.longRunningOperationRetryTimeout = 30;
|
|
55
|
-
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
|
|
56
|
-
this.requestContentType = "application/json; charset=utf-8";
|
|
57
|
-
this.credentials = credentials;
|
|
58
|
-
this.subscriptionId = subscriptionId;
|
|
59
|
-
|
|
60
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
61
|
-
this.acceptLanguage = options.acceptLanguage;
|
|
62
|
-
}
|
|
63
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
64
|
-
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
@@ -1,31 +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
|
-
|
|
9
|
-
export {
|
|
10
|
-
discriminators,
|
|
11
|
-
BaseResource,
|
|
12
|
-
ConnectionProperties,
|
|
13
|
-
ConnectionPropertiesPrivateEndpoint,
|
|
14
|
-
ConnectionPropertiesPrivateLinkServiceConnectionState,
|
|
15
|
-
ConnectionState,
|
|
16
|
-
DigitalTwinsDescription,
|
|
17
|
-
DigitalTwinsEndpointResource,
|
|
18
|
-
DigitalTwinsEndpointResourceListResult,
|
|
19
|
-
DigitalTwinsEndpointResourceProperties,
|
|
20
|
-
DigitalTwinsIdentity,
|
|
21
|
-
DigitalTwinsResource,
|
|
22
|
-
ErrorDefinition,
|
|
23
|
-
ErrorResponse,
|
|
24
|
-
EventGrid,
|
|
25
|
-
EventHub,
|
|
26
|
-
ExternalResource,
|
|
27
|
-
PrivateEndpoint,
|
|
28
|
-
PrivateEndpointConnection,
|
|
29
|
-
PrivateEndpointConnectionProperties,
|
|
30
|
-
ServiceBus
|
|
31
|
-
} from "../models/mappers";
|
|
@@ -1,35 +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
|
-
|
|
9
|
-
export {
|
|
10
|
-
discriminators,
|
|
11
|
-
BaseResource,
|
|
12
|
-
CheckNameRequest,
|
|
13
|
-
CheckNameResult,
|
|
14
|
-
ConnectionProperties,
|
|
15
|
-
ConnectionPropertiesPrivateEndpoint,
|
|
16
|
-
ConnectionPropertiesPrivateLinkServiceConnectionState,
|
|
17
|
-
ConnectionState,
|
|
18
|
-
DigitalTwinsDescription,
|
|
19
|
-
DigitalTwinsDescriptionListResult,
|
|
20
|
-
DigitalTwinsEndpointResource,
|
|
21
|
-
DigitalTwinsEndpointResourceProperties,
|
|
22
|
-
DigitalTwinsIdentity,
|
|
23
|
-
DigitalTwinsPatchDescription,
|
|
24
|
-
DigitalTwinsPatchProperties,
|
|
25
|
-
DigitalTwinsResource,
|
|
26
|
-
ErrorDefinition,
|
|
27
|
-
ErrorResponse,
|
|
28
|
-
EventGrid,
|
|
29
|
-
EventHub,
|
|
30
|
-
ExternalResource,
|
|
31
|
-
PrivateEndpoint,
|
|
32
|
-
PrivateEndpointConnection,
|
|
33
|
-
PrivateEndpointConnectionProperties,
|
|
34
|
-
ServiceBus
|
|
35
|
-
} from "../models/mappers";
|
|
@@ -1,31 +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
|
-
|
|
9
|
-
export {
|
|
10
|
-
discriminators,
|
|
11
|
-
BaseResource,
|
|
12
|
-
ConnectionProperties,
|
|
13
|
-
ConnectionPropertiesPrivateEndpoint,
|
|
14
|
-
ConnectionPropertiesPrivateLinkServiceConnectionState,
|
|
15
|
-
ConnectionState,
|
|
16
|
-
DigitalTwinsDescription,
|
|
17
|
-
DigitalTwinsEndpointResource,
|
|
18
|
-
DigitalTwinsEndpointResourceProperties,
|
|
19
|
-
DigitalTwinsIdentity,
|
|
20
|
-
DigitalTwinsResource,
|
|
21
|
-
ErrorDefinition,
|
|
22
|
-
ErrorResponse,
|
|
23
|
-
EventGrid,
|
|
24
|
-
EventHub,
|
|
25
|
-
ExternalResource,
|
|
26
|
-
PrivateEndpoint,
|
|
27
|
-
PrivateEndpointConnection,
|
|
28
|
-
PrivateEndpointConnectionProperties,
|
|
29
|
-
PrivateEndpointConnectionsResponse,
|
|
30
|
-
ServiceBus
|
|
31
|
-
} from "../models/mappers";
|