@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
|
@@ -3,25 +3,30 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
7
|
*/
|
|
9
8
|
|
|
10
|
-
import
|
|
11
|
-
import * as
|
|
12
|
-
import * as Mappers from "../models/
|
|
9
|
+
import { PrivateLinkResources } from "../operationsInterfaces";
|
|
10
|
+
import * as coreClient from "@azure/core-client";
|
|
11
|
+
import * as Mappers from "../models/mappers";
|
|
13
12
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
13
|
+
import { AzureDigitalTwinsManagementClient } from "../azureDigitalTwinsManagementClient";
|
|
14
|
+
import {
|
|
15
|
+
PrivateLinkResourcesListOptionalParams,
|
|
16
|
+
PrivateLinkResourcesListResponse,
|
|
17
|
+
PrivateLinkResourcesGetOptionalParams,
|
|
18
|
+
PrivateLinkResourcesGetResponse
|
|
19
|
+
} from "../models";
|
|
15
20
|
|
|
16
|
-
/** Class
|
|
17
|
-
export class PrivateLinkResources {
|
|
18
|
-
private readonly client:
|
|
21
|
+
/** Class containing PrivateLinkResources operations. */
|
|
22
|
+
export class PrivateLinkResourcesImpl implements PrivateLinkResources {
|
|
23
|
+
private readonly client: AzureDigitalTwinsManagementClient;
|
|
19
24
|
|
|
20
25
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @param
|
|
26
|
+
* Initialize a new instance of the class PrivateLinkResources class.
|
|
27
|
+
* @param client Reference to the service client
|
|
23
28
|
*/
|
|
24
|
-
constructor(client:
|
|
29
|
+
constructor(client: AzureDigitalTwinsManagementClient) {
|
|
25
30
|
this.client = client;
|
|
26
31
|
}
|
|
27
32
|
|
|
@@ -29,32 +34,17 @@ export class PrivateLinkResources {
|
|
|
29
34
|
* List private link resources for given Digital Twin.
|
|
30
35
|
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
31
36
|
* @param resourceName The name of the DigitalTwinsInstance.
|
|
32
|
-
* @param
|
|
33
|
-
* @returns Promise<Models.PrivateLinkResourcesListResponse>
|
|
37
|
+
* @param options The options parameters.
|
|
34
38
|
*/
|
|
35
|
-
list(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
*/
|
|
41
|
-
list(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Models.GroupIdInformationResponse>): void;
|
|
42
|
-
/**
|
|
43
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
44
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
45
|
-
* @param options The optional parameters
|
|
46
|
-
* @param callback The callback
|
|
47
|
-
*/
|
|
48
|
-
list(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.GroupIdInformationResponse>): void;
|
|
49
|
-
list(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.GroupIdInformationResponse>, callback?: msRest.ServiceCallback<Models.GroupIdInformationResponse>): Promise<Models.PrivateLinkResourcesListResponse> {
|
|
39
|
+
list(
|
|
40
|
+
resourceGroupName: string,
|
|
41
|
+
resourceName: string,
|
|
42
|
+
options?: PrivateLinkResourcesListOptionalParams
|
|
43
|
+
): Promise<PrivateLinkResourcesListResponse> {
|
|
50
44
|
return this.client.sendOperationRequest(
|
|
51
|
-
{
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
options
|
|
55
|
-
},
|
|
56
|
-
listOperationSpec,
|
|
57
|
-
callback) as Promise<Models.PrivateLinkResourcesListResponse>;
|
|
45
|
+
{ resourceGroupName, resourceName, options },
|
|
46
|
+
listOperationSpec
|
|
47
|
+
);
|
|
58
48
|
}
|
|
59
49
|
|
|
60
50
|
/**
|
|
@@ -62,54 +52,27 @@ export class PrivateLinkResources {
|
|
|
62
52
|
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
63
53
|
* @param resourceName The name of the DigitalTwinsInstance.
|
|
64
54
|
* @param resourceId The name of the private link resource.
|
|
65
|
-
* @param
|
|
66
|
-
* @returns Promise<Models.PrivateLinkResourcesGetResponse>
|
|
55
|
+
* @param options The options parameters.
|
|
67
56
|
*/
|
|
68
|
-
get(
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
*/
|
|
75
|
-
get(resourceGroupName: string, resourceName: string, resourceId: string, callback: msRest.ServiceCallback<Models.GroupIdInformation>): void;
|
|
76
|
-
/**
|
|
77
|
-
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
78
|
-
* @param resourceName The name of the DigitalTwinsInstance.
|
|
79
|
-
* @param resourceId The name of the private link resource.
|
|
80
|
-
* @param options The optional parameters
|
|
81
|
-
* @param callback The callback
|
|
82
|
-
*/
|
|
83
|
-
get(resourceGroupName: string, resourceName: string, resourceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.GroupIdInformation>): void;
|
|
84
|
-
get(resourceGroupName: string, resourceName: string, resourceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.GroupIdInformation>, callback?: msRest.ServiceCallback<Models.GroupIdInformation>): Promise<Models.PrivateLinkResourcesGetResponse> {
|
|
57
|
+
get(
|
|
58
|
+
resourceGroupName: string,
|
|
59
|
+
resourceName: string,
|
|
60
|
+
resourceId: string,
|
|
61
|
+
options?: PrivateLinkResourcesGetOptionalParams
|
|
62
|
+
): Promise<PrivateLinkResourcesGetResponse> {
|
|
85
63
|
return this.client.sendOperationRequest(
|
|
86
|
-
{
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
resourceId,
|
|
90
|
-
options
|
|
91
|
-
},
|
|
92
|
-
getOperationSpec,
|
|
93
|
-
callback) as Promise<Models.PrivateLinkResourcesGetResponse>;
|
|
64
|
+
{ resourceGroupName, resourceName, resourceId, options },
|
|
65
|
+
getOperationSpec
|
|
66
|
+
);
|
|
94
67
|
}
|
|
95
68
|
}
|
|
96
|
-
|
|
97
69
|
// Operation Specifications
|
|
98
|
-
const serializer =
|
|
99
|
-
|
|
70
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
71
|
+
|
|
72
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
73
|
+
path:
|
|
74
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateLinkResources",
|
|
100
75
|
httpMethod: "GET",
|
|
101
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateLinkResources",
|
|
102
|
-
urlParameters: [
|
|
103
|
-
Parameters.subscriptionId,
|
|
104
|
-
Parameters.resourceGroupName,
|
|
105
|
-
Parameters.resourceName
|
|
106
|
-
],
|
|
107
|
-
queryParameters: [
|
|
108
|
-
Parameters.apiVersion
|
|
109
|
-
],
|
|
110
|
-
headerParameters: [
|
|
111
|
-
Parameters.acceptLanguage
|
|
112
|
-
],
|
|
113
76
|
responses: {
|
|
114
77
|
200: {
|
|
115
78
|
bodyMapper: Mappers.GroupIdInformationResponse
|
|
@@ -118,24 +81,20 @@ const listOperationSpec: msRest.OperationSpec = {
|
|
|
118
81
|
bodyMapper: Mappers.ErrorResponse
|
|
119
82
|
}
|
|
120
83
|
},
|
|
121
|
-
|
|
122
|
-
};
|
|
123
|
-
|
|
124
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
125
|
-
httpMethod: "GET",
|
|
126
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateLinkResources/{resourceId}",
|
|
84
|
+
queryParameters: [Parameters.apiVersion],
|
|
127
85
|
urlParameters: [
|
|
86
|
+
Parameters.$host,
|
|
128
87
|
Parameters.subscriptionId,
|
|
129
88
|
Parameters.resourceGroupName,
|
|
130
|
-
Parameters.resourceName
|
|
131
|
-
Parameters.resourceId
|
|
132
|
-
],
|
|
133
|
-
queryParameters: [
|
|
134
|
-
Parameters.apiVersion
|
|
135
|
-
],
|
|
136
|
-
headerParameters: [
|
|
137
|
-
Parameters.acceptLanguage
|
|
89
|
+
Parameters.resourceName
|
|
138
90
|
],
|
|
91
|
+
headerParameters: [Parameters.accept],
|
|
92
|
+
serializer
|
|
93
|
+
};
|
|
94
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
95
|
+
path:
|
|
96
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateLinkResources/{resourceId}",
|
|
97
|
+
httpMethod: "GET",
|
|
139
98
|
responses: {
|
|
140
99
|
200: {
|
|
141
100
|
bodyMapper: Mappers.GroupIdInformation
|
|
@@ -144,5 +103,14 @@ const getOperationSpec: msRest.OperationSpec = {
|
|
|
144
103
|
bodyMapper: Mappers.ErrorResponse
|
|
145
104
|
}
|
|
146
105
|
},
|
|
106
|
+
queryParameters: [Parameters.apiVersion],
|
|
107
|
+
urlParameters: [
|
|
108
|
+
Parameters.$host,
|
|
109
|
+
Parameters.subscriptionId,
|
|
110
|
+
Parameters.resourceGroupName,
|
|
111
|
+
Parameters.resourceName,
|
|
112
|
+
Parameters.resourceId
|
|
113
|
+
],
|
|
114
|
+
headerParameters: [Parameters.accept],
|
|
147
115
|
serializer
|
|
148
116
|
};
|
|
@@ -0,0 +1,164 @@
|
|
|
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
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
DigitalTwinsDescription,
|
|
13
|
+
DigitalTwinsListOptionalParams,
|
|
14
|
+
DigitalTwinsListByResourceGroupOptionalParams,
|
|
15
|
+
DigitalTwinsGetOptionalParams,
|
|
16
|
+
DigitalTwinsGetResponse,
|
|
17
|
+
DigitalTwinsCreateOrUpdateOptionalParams,
|
|
18
|
+
DigitalTwinsCreateOrUpdateResponse,
|
|
19
|
+
DigitalTwinsPatchDescription,
|
|
20
|
+
DigitalTwinsUpdateOptionalParams,
|
|
21
|
+
DigitalTwinsUpdateResponse,
|
|
22
|
+
DigitalTwinsDeleteOptionalParams,
|
|
23
|
+
DigitalTwinsDeleteResponse,
|
|
24
|
+
CheckNameRequest,
|
|
25
|
+
DigitalTwinsCheckNameAvailabilityOptionalParams,
|
|
26
|
+
DigitalTwinsCheckNameAvailabilityResponse
|
|
27
|
+
} from "../models";
|
|
28
|
+
|
|
29
|
+
/// <reference lib="esnext.asynciterable" />
|
|
30
|
+
/** Interface representing a DigitalTwins. */
|
|
31
|
+
export interface DigitalTwins {
|
|
32
|
+
/**
|
|
33
|
+
* Get all the DigitalTwinsInstances in a subscription.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
list(
|
|
37
|
+
options?: DigitalTwinsListOptionalParams
|
|
38
|
+
): PagedAsyncIterableIterator<DigitalTwinsDescription>;
|
|
39
|
+
/**
|
|
40
|
+
* Get all the DigitalTwinsInstances in a resource group.
|
|
41
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
42
|
+
* @param options The options parameters.
|
|
43
|
+
*/
|
|
44
|
+
listByResourceGroup(
|
|
45
|
+
resourceGroupName: string,
|
|
46
|
+
options?: DigitalTwinsListByResourceGroupOptionalParams
|
|
47
|
+
): PagedAsyncIterableIterator<DigitalTwinsDescription>;
|
|
48
|
+
/**
|
|
49
|
+
* Get DigitalTwinsInstances resource.
|
|
50
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
51
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
52
|
+
* @param options The options parameters.
|
|
53
|
+
*/
|
|
54
|
+
get(
|
|
55
|
+
resourceGroupName: string,
|
|
56
|
+
resourceName: string,
|
|
57
|
+
options?: DigitalTwinsGetOptionalParams
|
|
58
|
+
): Promise<DigitalTwinsGetResponse>;
|
|
59
|
+
/**
|
|
60
|
+
* Create or update the metadata of a DigitalTwinsInstance. The usual pattern to modify a property is
|
|
61
|
+
* to retrieve the DigitalTwinsInstance and security metadata, and then combine them with the modified
|
|
62
|
+
* values in a new body to update the DigitalTwinsInstance.
|
|
63
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
64
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
65
|
+
* @param digitalTwinsCreate The DigitalTwinsInstance and security metadata.
|
|
66
|
+
* @param options The options parameters.
|
|
67
|
+
*/
|
|
68
|
+
beginCreateOrUpdate(
|
|
69
|
+
resourceGroupName: string,
|
|
70
|
+
resourceName: string,
|
|
71
|
+
digitalTwinsCreate: DigitalTwinsDescription,
|
|
72
|
+
options?: DigitalTwinsCreateOrUpdateOptionalParams
|
|
73
|
+
): Promise<
|
|
74
|
+
PollerLike<
|
|
75
|
+
PollOperationState<DigitalTwinsCreateOrUpdateResponse>,
|
|
76
|
+
DigitalTwinsCreateOrUpdateResponse
|
|
77
|
+
>
|
|
78
|
+
>;
|
|
79
|
+
/**
|
|
80
|
+
* Create or update the metadata of a DigitalTwinsInstance. The usual pattern to modify a property is
|
|
81
|
+
* to retrieve the DigitalTwinsInstance and security metadata, and then combine them with the modified
|
|
82
|
+
* values in a new body to update the DigitalTwinsInstance.
|
|
83
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
84
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
85
|
+
* @param digitalTwinsCreate The DigitalTwinsInstance and security metadata.
|
|
86
|
+
* @param options The options parameters.
|
|
87
|
+
*/
|
|
88
|
+
beginCreateOrUpdateAndWait(
|
|
89
|
+
resourceGroupName: string,
|
|
90
|
+
resourceName: string,
|
|
91
|
+
digitalTwinsCreate: DigitalTwinsDescription,
|
|
92
|
+
options?: DigitalTwinsCreateOrUpdateOptionalParams
|
|
93
|
+
): Promise<DigitalTwinsCreateOrUpdateResponse>;
|
|
94
|
+
/**
|
|
95
|
+
* Update metadata of DigitalTwinsInstance.
|
|
96
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
97
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
98
|
+
* @param digitalTwinsPatchDescription The DigitalTwinsInstance and security metadata.
|
|
99
|
+
* @param options The options parameters.
|
|
100
|
+
*/
|
|
101
|
+
beginUpdate(
|
|
102
|
+
resourceGroupName: string,
|
|
103
|
+
resourceName: string,
|
|
104
|
+
digitalTwinsPatchDescription: DigitalTwinsPatchDescription,
|
|
105
|
+
options?: DigitalTwinsUpdateOptionalParams
|
|
106
|
+
): Promise<
|
|
107
|
+
PollerLike<
|
|
108
|
+
PollOperationState<DigitalTwinsUpdateResponse>,
|
|
109
|
+
DigitalTwinsUpdateResponse
|
|
110
|
+
>
|
|
111
|
+
>;
|
|
112
|
+
/**
|
|
113
|
+
* Update metadata of DigitalTwinsInstance.
|
|
114
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
115
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
116
|
+
* @param digitalTwinsPatchDescription The DigitalTwinsInstance and security metadata.
|
|
117
|
+
* @param options The options parameters.
|
|
118
|
+
*/
|
|
119
|
+
beginUpdateAndWait(
|
|
120
|
+
resourceGroupName: string,
|
|
121
|
+
resourceName: string,
|
|
122
|
+
digitalTwinsPatchDescription: DigitalTwinsPatchDescription,
|
|
123
|
+
options?: DigitalTwinsUpdateOptionalParams
|
|
124
|
+
): Promise<DigitalTwinsUpdateResponse>;
|
|
125
|
+
/**
|
|
126
|
+
* Delete a DigitalTwinsInstance.
|
|
127
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
128
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
129
|
+
* @param options The options parameters.
|
|
130
|
+
*/
|
|
131
|
+
beginDelete(
|
|
132
|
+
resourceGroupName: string,
|
|
133
|
+
resourceName: string,
|
|
134
|
+
options?: DigitalTwinsDeleteOptionalParams
|
|
135
|
+
): Promise<
|
|
136
|
+
PollerLike<
|
|
137
|
+
PollOperationState<DigitalTwinsDeleteResponse>,
|
|
138
|
+
DigitalTwinsDeleteResponse
|
|
139
|
+
>
|
|
140
|
+
>;
|
|
141
|
+
/**
|
|
142
|
+
* Delete a DigitalTwinsInstance.
|
|
143
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
144
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
145
|
+
* @param options The options parameters.
|
|
146
|
+
*/
|
|
147
|
+
beginDeleteAndWait(
|
|
148
|
+
resourceGroupName: string,
|
|
149
|
+
resourceName: string,
|
|
150
|
+
options?: DigitalTwinsDeleteOptionalParams
|
|
151
|
+
): Promise<DigitalTwinsDeleteResponse>;
|
|
152
|
+
/**
|
|
153
|
+
* Check if a DigitalTwinsInstance name is available.
|
|
154
|
+
* @param location Location of DigitalTwinsInstance.
|
|
155
|
+
* @param digitalTwinsInstanceCheckName Set the name parameter in the DigitalTwinsInstanceCheckName
|
|
156
|
+
* structure to the name of the DigitalTwinsInstance to check.
|
|
157
|
+
* @param options The options parameters.
|
|
158
|
+
*/
|
|
159
|
+
checkNameAvailability(
|
|
160
|
+
location: string,
|
|
161
|
+
digitalTwinsInstanceCheckName: CheckNameRequest,
|
|
162
|
+
options?: DigitalTwinsCheckNameAvailabilityOptionalParams
|
|
163
|
+
): Promise<DigitalTwinsCheckNameAvailabilityResponse>;
|
|
164
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
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
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
DigitalTwinsEndpointResource,
|
|
13
|
+
DigitalTwinsEndpointListOptionalParams,
|
|
14
|
+
DigitalTwinsEndpointGetOptionalParams,
|
|
15
|
+
DigitalTwinsEndpointGetResponse,
|
|
16
|
+
DigitalTwinsEndpointCreateOrUpdateOptionalParams,
|
|
17
|
+
DigitalTwinsEndpointCreateOrUpdateResponse,
|
|
18
|
+
DigitalTwinsEndpointDeleteOptionalParams,
|
|
19
|
+
DigitalTwinsEndpointDeleteResponse
|
|
20
|
+
} from "../models";
|
|
21
|
+
|
|
22
|
+
/// <reference lib="esnext.asynciterable" />
|
|
23
|
+
/** Interface representing a DigitalTwinsEndpoint. */
|
|
24
|
+
export interface DigitalTwinsEndpoint {
|
|
25
|
+
/**
|
|
26
|
+
* Get DigitalTwinsInstance Endpoints.
|
|
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 options parameters.
|
|
30
|
+
*/
|
|
31
|
+
list(
|
|
32
|
+
resourceGroupName: string,
|
|
33
|
+
resourceName: string,
|
|
34
|
+
options?: DigitalTwinsEndpointListOptionalParams
|
|
35
|
+
): PagedAsyncIterableIterator<DigitalTwinsEndpointResource>;
|
|
36
|
+
/**
|
|
37
|
+
* Get DigitalTwinsInstances Endpoint.
|
|
38
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
39
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
40
|
+
* @param endpointName Name of Endpoint Resource.
|
|
41
|
+
* @param options The options parameters.
|
|
42
|
+
*/
|
|
43
|
+
get(
|
|
44
|
+
resourceGroupName: string,
|
|
45
|
+
resourceName: string,
|
|
46
|
+
endpointName: string,
|
|
47
|
+
options?: DigitalTwinsEndpointGetOptionalParams
|
|
48
|
+
): Promise<DigitalTwinsEndpointGetResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* Create or update DigitalTwinsInstance endpoint.
|
|
51
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
52
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
53
|
+
* @param endpointName Name of Endpoint Resource.
|
|
54
|
+
* @param endpointDescription The DigitalTwinsInstance endpoint metadata and security metadata.
|
|
55
|
+
* @param options The options parameters.
|
|
56
|
+
*/
|
|
57
|
+
beginCreateOrUpdate(
|
|
58
|
+
resourceGroupName: string,
|
|
59
|
+
resourceName: string,
|
|
60
|
+
endpointName: string,
|
|
61
|
+
endpointDescription: DigitalTwinsEndpointResource,
|
|
62
|
+
options?: DigitalTwinsEndpointCreateOrUpdateOptionalParams
|
|
63
|
+
): Promise<
|
|
64
|
+
PollerLike<
|
|
65
|
+
PollOperationState<DigitalTwinsEndpointCreateOrUpdateResponse>,
|
|
66
|
+
DigitalTwinsEndpointCreateOrUpdateResponse
|
|
67
|
+
>
|
|
68
|
+
>;
|
|
69
|
+
/**
|
|
70
|
+
* Create or update DigitalTwinsInstance endpoint.
|
|
71
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
72
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
73
|
+
* @param endpointName Name of Endpoint Resource.
|
|
74
|
+
* @param endpointDescription The DigitalTwinsInstance endpoint metadata and security metadata.
|
|
75
|
+
* @param options The options parameters.
|
|
76
|
+
*/
|
|
77
|
+
beginCreateOrUpdateAndWait(
|
|
78
|
+
resourceGroupName: string,
|
|
79
|
+
resourceName: string,
|
|
80
|
+
endpointName: string,
|
|
81
|
+
endpointDescription: DigitalTwinsEndpointResource,
|
|
82
|
+
options?: DigitalTwinsEndpointCreateOrUpdateOptionalParams
|
|
83
|
+
): Promise<DigitalTwinsEndpointCreateOrUpdateResponse>;
|
|
84
|
+
/**
|
|
85
|
+
* Delete a DigitalTwinsInstance endpoint.
|
|
86
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
87
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
88
|
+
* @param endpointName Name of Endpoint Resource.
|
|
89
|
+
* @param options The options parameters.
|
|
90
|
+
*/
|
|
91
|
+
beginDelete(
|
|
92
|
+
resourceGroupName: string,
|
|
93
|
+
resourceName: string,
|
|
94
|
+
endpointName: string,
|
|
95
|
+
options?: DigitalTwinsEndpointDeleteOptionalParams
|
|
96
|
+
): Promise<
|
|
97
|
+
PollerLike<
|
|
98
|
+
PollOperationState<DigitalTwinsEndpointDeleteResponse>,
|
|
99
|
+
DigitalTwinsEndpointDeleteResponse
|
|
100
|
+
>
|
|
101
|
+
>;
|
|
102
|
+
/**
|
|
103
|
+
* Delete a DigitalTwinsInstance endpoint.
|
|
104
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
105
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
106
|
+
* @param endpointName Name of Endpoint Resource.
|
|
107
|
+
* @param options The options parameters.
|
|
108
|
+
*/
|
|
109
|
+
beginDeleteAndWait(
|
|
110
|
+
resourceGroupName: string,
|
|
111
|
+
resourceName: string,
|
|
112
|
+
endpointName: string,
|
|
113
|
+
options?: DigitalTwinsEndpointDeleteOptionalParams
|
|
114
|
+
): Promise<DigitalTwinsEndpointDeleteResponse>;
|
|
115
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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 * from "./digitalTwins";
|
|
10
|
+
export * from "./digitalTwinsEndpoint";
|
|
11
|
+
export * from "./operations";
|
|
12
|
+
export * from "./privateLinkResources";
|
|
13
|
+
export * from "./privateEndpointConnections";
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { Operation, OperationsListOptionalParams } from "../models";
|
|
11
|
+
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Interface representing a Operations. */
|
|
14
|
+
export interface Operations {
|
|
15
|
+
/**
|
|
16
|
+
* Lists all of the available DigitalTwins service REST API operations.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
list(
|
|
20
|
+
options?: OperationsListOptionalParams
|
|
21
|
+
): PagedAsyncIterableIterator<Operation>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
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
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
10
|
+
import {
|
|
11
|
+
PrivateEndpointConnectionsListOptionalParams,
|
|
12
|
+
PrivateEndpointConnectionsListResponse,
|
|
13
|
+
PrivateEndpointConnectionsGetOptionalParams,
|
|
14
|
+
PrivateEndpointConnectionsGetResponse,
|
|
15
|
+
PrivateEndpointConnectionsDeleteOptionalParams,
|
|
16
|
+
PrivateEndpointConnection,
|
|
17
|
+
PrivateEndpointConnectionsCreateOrUpdateOptionalParams,
|
|
18
|
+
PrivateEndpointConnectionsCreateOrUpdateResponse
|
|
19
|
+
} from "../models";
|
|
20
|
+
|
|
21
|
+
/** Interface representing a PrivateEndpointConnections. */
|
|
22
|
+
export interface PrivateEndpointConnections {
|
|
23
|
+
/**
|
|
24
|
+
* List private endpoint connection properties.
|
|
25
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
26
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
list(
|
|
30
|
+
resourceGroupName: string,
|
|
31
|
+
resourceName: string,
|
|
32
|
+
options?: PrivateEndpointConnectionsListOptionalParams
|
|
33
|
+
): Promise<PrivateEndpointConnectionsListResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* Get private endpoint connection properties for the given private endpoint.
|
|
36
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
37
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
38
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
39
|
+
* @param options The options parameters.
|
|
40
|
+
*/
|
|
41
|
+
get(
|
|
42
|
+
resourceGroupName: string,
|
|
43
|
+
resourceName: string,
|
|
44
|
+
privateEndpointConnectionName: string,
|
|
45
|
+
options?: PrivateEndpointConnectionsGetOptionalParams
|
|
46
|
+
): Promise<PrivateEndpointConnectionsGetResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* Delete private endpoint connection with the specified name.
|
|
49
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
50
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
51
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
52
|
+
* @param options The options parameters.
|
|
53
|
+
*/
|
|
54
|
+
beginDelete(
|
|
55
|
+
resourceGroupName: string,
|
|
56
|
+
resourceName: string,
|
|
57
|
+
privateEndpointConnectionName: string,
|
|
58
|
+
options?: PrivateEndpointConnectionsDeleteOptionalParams
|
|
59
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
60
|
+
/**
|
|
61
|
+
* Delete private endpoint connection with the specified name.
|
|
62
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
63
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
64
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
65
|
+
* @param options The options parameters.
|
|
66
|
+
*/
|
|
67
|
+
beginDeleteAndWait(
|
|
68
|
+
resourceGroupName: string,
|
|
69
|
+
resourceName: string,
|
|
70
|
+
privateEndpointConnectionName: string,
|
|
71
|
+
options?: PrivateEndpointConnectionsDeleteOptionalParams
|
|
72
|
+
): Promise<void>;
|
|
73
|
+
/**
|
|
74
|
+
* Update the status of a private endpoint connection with the given name.
|
|
75
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
76
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
77
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
78
|
+
* @param privateEndpointConnection The private endpoint connection with updated properties.
|
|
79
|
+
* @param options The options parameters.
|
|
80
|
+
*/
|
|
81
|
+
beginCreateOrUpdate(
|
|
82
|
+
resourceGroupName: string,
|
|
83
|
+
resourceName: string,
|
|
84
|
+
privateEndpointConnectionName: string,
|
|
85
|
+
privateEndpointConnection: PrivateEndpointConnection,
|
|
86
|
+
options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams
|
|
87
|
+
): Promise<
|
|
88
|
+
PollerLike<
|
|
89
|
+
PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>,
|
|
90
|
+
PrivateEndpointConnectionsCreateOrUpdateResponse
|
|
91
|
+
>
|
|
92
|
+
>;
|
|
93
|
+
/**
|
|
94
|
+
* Update the status of a private endpoint connection with the given name.
|
|
95
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
96
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
97
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
98
|
+
* @param privateEndpointConnection The private endpoint connection with updated properties.
|
|
99
|
+
* @param options The options parameters.
|
|
100
|
+
*/
|
|
101
|
+
beginCreateOrUpdateAndWait(
|
|
102
|
+
resourceGroupName: string,
|
|
103
|
+
resourceName: string,
|
|
104
|
+
privateEndpointConnectionName: string,
|
|
105
|
+
privateEndpointConnection: PrivateEndpointConnection,
|
|
106
|
+
options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams
|
|
107
|
+
): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
|
|
108
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
import {
|
|
10
|
+
PrivateLinkResourcesListOptionalParams,
|
|
11
|
+
PrivateLinkResourcesListResponse,
|
|
12
|
+
PrivateLinkResourcesGetOptionalParams,
|
|
13
|
+
PrivateLinkResourcesGetResponse
|
|
14
|
+
} from "../models";
|
|
15
|
+
|
|
16
|
+
/** Interface representing a PrivateLinkResources. */
|
|
17
|
+
export interface PrivateLinkResources {
|
|
18
|
+
/**
|
|
19
|
+
* List private link resources for given Digital Twin.
|
|
20
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
21
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
list(
|
|
25
|
+
resourceGroupName: string,
|
|
26
|
+
resourceName: string,
|
|
27
|
+
options?: PrivateLinkResourcesListOptionalParams
|
|
28
|
+
): Promise<PrivateLinkResourcesListResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* Get the specified private link resource for the given Digital Twin.
|
|
31
|
+
* @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance.
|
|
32
|
+
* @param resourceName The name of the DigitalTwinsInstance.
|
|
33
|
+
* @param resourceId The name of the private link resource.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
get(
|
|
37
|
+
resourceGroupName: string,
|
|
38
|
+
resourceName: string,
|
|
39
|
+
resourceId: string,
|
|
40
|
+
options?: PrivateLinkResourcesGetOptionalParams
|
|
41
|
+
): Promise<PrivateLinkResourcesGetResponse>;
|
|
42
|
+
}
|