@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.
Files changed (174) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -83
  4. package/dist/index.js +2613 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/azureDigitalTwinsManagementClient.d.ts +22 -0
  9. package/dist-esm/src/azureDigitalTwinsManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/azureDigitalTwinsManagementClient.js +55 -0
  11. package/dist-esm/src/azureDigitalTwinsManagementClient.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/dist-esm/src/index.js +12 -0
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/lroImpl.d.ts +16 -0
  17. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  18. package/dist-esm/src/lroImpl.js +29 -0
  19. package/dist-esm/src/lroImpl.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +677 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +85 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +40 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +441 -491
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +19 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +171 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/digitalTwins.d.ts +119 -0
  33. package/dist-esm/src/operations/digitalTwins.d.ts.map +1 -0
  34. package/dist-esm/src/operations/digitalTwins.js +549 -0
  35. package/dist-esm/src/operations/digitalTwins.js.map +1 -0
  36. package/dist-esm/src/operations/digitalTwinsEndpoint.d.ts +81 -0
  37. package/dist-esm/src/operations/digitalTwinsEndpoint.d.ts.map +1 -0
  38. package/dist-esm/src/operations/digitalTwinsEndpoint.js +345 -0
  39. package/dist-esm/src/operations/digitalTwinsEndpoint.js.map +1 -0
  40. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  41. package/dist-esm/src/operations/index.d.ts.map +1 -0
  42. package/{esm → dist-esm/src}/operations/index.js +1 -2
  43. package/dist-esm/src/operations/index.js.map +1 -0
  44. package/dist-esm/src/operations/operations.d.ts +32 -0
  45. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  46. package/dist-esm/src/operations/operations.js +120 -0
  47. package/dist-esm/src/operations/operations.js.map +1 -0
  48. package/dist-esm/src/operations/privateEndpointConnections.d.ts +63 -0
  49. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  50. package/dist-esm/src/operations/privateEndpointConnections.js +264 -0
  51. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  52. package/dist-esm/src/operations/privateLinkResources.d.ts +28 -0
  53. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  54. package/dist-esm/src/operations/privateLinkResources.js +85 -0
  55. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/digitalTwins.d.ts +83 -0
  57. package/dist-esm/src/operationsInterfaces/digitalTwins.d.ts.map +1 -0
  58. package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/digitalTwins.js} +2 -9
  59. package/dist-esm/src/operationsInterfaces/digitalTwins.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/digitalTwinsEndpoint.d.ts +56 -0
  61. package/dist-esm/src/operationsInterfaces/digitalTwinsEndpoint.d.ts.map +1 -0
  62. package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/digitalTwinsEndpoint.js} +2 -2
  63. package/dist-esm/src/operationsInterfaces/digitalTwinsEndpoint.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
  65. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  66. package/dist-esm/src/operationsInterfaces/index.js +13 -0
  67. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  69. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  70. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/operations.js} +2 -1
  71. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +55 -0
  73. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  75. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +20 -0
  77. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  80. package/dist-esm/test/sampleTest.d.ts +2 -0
  81. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  82. package/dist-esm/test/sampleTest.js +40 -0
  83. package/dist-esm/test/sampleTest.js.map +1 -0
  84. package/package.json +65 -32
  85. package/review/arm-digitaltwins.api.md +620 -0
  86. package/rollup.config.js +181 -30
  87. package/src/azureDigitalTwinsManagementClient.ts +80 -40
  88. package/src/{models/privateLinkResourcesMappers.ts → index.ts} +4 -9
  89. package/src/lroImpl.ts +34 -0
  90. package/src/models/index.ts +589 -1071
  91. package/src/models/mappers.ts +444 -492
  92. package/src/models/parameters.ts +119 -54
  93. package/src/operations/digitalTwins.ts +555 -371
  94. package/src/operations/digitalTwinsEndpoint.ts +338 -192
  95. package/src/operations/index.ts +1 -2
  96. package/src/operations/operations.ts +85 -73
  97. package/src/operations/privateEndpointConnections.ts +246 -151
  98. package/src/operations/privateLinkResources.ts +60 -92
  99. package/src/operationsInterfaces/digitalTwins.ts +164 -0
  100. package/src/operationsInterfaces/digitalTwinsEndpoint.ts +115 -0
  101. package/src/operationsInterfaces/index.ts +13 -0
  102. package/src/operationsInterfaces/operations.ts +22 -0
  103. package/src/operationsInterfaces/privateEndpointConnections.ts +108 -0
  104. package/src/operationsInterfaces/privateLinkResources.ts +42 -0
  105. package/tsconfig.json +3 -3
  106. package/types/arm-digitaltwins.d.ts +1009 -0
  107. package/types/tsdoc-metadata.json +11 -0
  108. package/dist/arm-digitaltwins.js +0 -2418
  109. package/dist/arm-digitaltwins.js.map +0 -1
  110. package/dist/arm-digitaltwins.min.js +0 -1
  111. package/dist/arm-digitaltwins.min.js.map +0 -1
  112. package/esm/azureDigitalTwinsManagementClient.d.ts +0 -28
  113. package/esm/azureDigitalTwinsManagementClient.d.ts.map +0 -1
  114. package/esm/azureDigitalTwinsManagementClient.js +0 -41
  115. package/esm/azureDigitalTwinsManagementClient.js.map +0 -1
  116. package/esm/azureDigitalTwinsManagementClientContext.d.ts +0 -22
  117. package/esm/azureDigitalTwinsManagementClientContext.d.ts.map +0 -1
  118. package/esm/azureDigitalTwinsManagementClientContext.js +0 -60
  119. package/esm/azureDigitalTwinsManagementClientContext.js.map +0 -1
  120. package/esm/models/digitalTwinsEndpointMappers.d.ts +0 -2
  121. package/esm/models/digitalTwinsEndpointMappers.d.ts.map +0 -1
  122. package/esm/models/digitalTwinsEndpointMappers.js +0 -9
  123. package/esm/models/digitalTwinsEndpointMappers.js.map +0 -1
  124. package/esm/models/digitalTwinsMappers.d.ts +0 -2
  125. package/esm/models/digitalTwinsMappers.d.ts.map +0 -1
  126. package/esm/models/digitalTwinsMappers.js +0 -9
  127. package/esm/models/digitalTwinsMappers.js.map +0 -1
  128. package/esm/models/index.d.ts +0 -1169
  129. package/esm/models/index.d.ts.map +0 -1
  130. package/esm/models/index.js.map +0 -1
  131. package/esm/models/mappers.d.ts +0 -42
  132. package/esm/models/mappers.d.ts.map +0 -1
  133. package/esm/models/mappers.js.map +0 -1
  134. package/esm/models/operationsMappers.d.ts +0 -2
  135. package/esm/models/operationsMappers.d.ts.map +0 -1
  136. package/esm/models/operationsMappers.js.map +0 -1
  137. package/esm/models/parameters.d.ts +0 -12
  138. package/esm/models/parameters.d.ts.map +0 -1
  139. package/esm/models/parameters.js +0 -132
  140. package/esm/models/parameters.js.map +0 -1
  141. package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
  142. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
  143. package/esm/models/privateEndpointConnectionsMappers.js +0 -9
  144. package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
  145. package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
  146. package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
  147. package/esm/models/privateLinkResourcesMappers.js +0 -9
  148. package/esm/models/privateLinkResourcesMappers.js.map +0 -1
  149. package/esm/operations/digitalTwins.d.ts +0 -181
  150. package/esm/operations/digitalTwins.d.ts.map +0 -1
  151. package/esm/operations/digitalTwins.js +0 -383
  152. package/esm/operations/digitalTwins.js.map +0 -1
  153. package/esm/operations/digitalTwinsEndpoint.d.ts +0 -115
  154. package/esm/operations/digitalTwinsEndpoint.d.ts.map +0 -1
  155. package/esm/operations/digitalTwinsEndpoint.js +0 -242
  156. package/esm/operations/digitalTwinsEndpoint.js.map +0 -1
  157. package/esm/operations/index.d.ts.map +0 -1
  158. package/esm/operations/index.js.map +0 -1
  159. package/esm/operations/operations.d.ts +0 -46
  160. package/esm/operations/operations.d.ts.map +0 -1
  161. package/esm/operations/operations.js +0 -79
  162. package/esm/operations/operations.js.map +0 -1
  163. package/esm/operations/privateEndpointConnections.d.ts +0 -97
  164. package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
  165. package/esm/operations/privateEndpointConnections.js +0 -209
  166. package/esm/operations/privateEndpointConnections.js.map +0 -1
  167. package/esm/operations/privateLinkResources.d.ts +0 -58
  168. package/esm/operations/privateLinkResources.d.ts.map +0 -1
  169. package/esm/operations/privateLinkResources.js +0 -90
  170. package/esm/operations/privateLinkResources.js.map +0 -1
  171. package/src/azureDigitalTwinsManagementClientContext.ts +0 -67
  172. package/src/models/digitalTwinsEndpointMappers.ts +0 -31
  173. package/src/models/digitalTwinsMappers.ts +0 -35
  174. package/src/models/privateEndpointConnectionsMappers.ts +0 -31
@@ -5,36 +5,54 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __assign } from "tslib";
9
- import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js";
10
- export var CloudError = CloudErrorMapper;
11
- export var BaseResource = BaseResourceMapper;
12
- export var DigitalTwinsPatchProperties = {
13
- serializedName: "DigitalTwinsPatchProperties",
8
+ export const PrivateEndpointConnection = {
14
9
  type: {
15
10
  name: "Composite",
16
- className: "DigitalTwinsPatchProperties",
11
+ className: "PrivateEndpointConnection",
17
12
  modelProperties: {
18
- publicNetworkAccess: {
19
- nullable: true,
20
- serializedName: "publicNetworkAccess",
13
+ id: {
14
+ serializedName: "id",
15
+ readOnly: true,
16
+ type: {
17
+ name: "String"
18
+ }
19
+ },
20
+ name: {
21
+ constraints: {
22
+ Pattern: new RegExp("^(?![0-9]+$)(?!-)[a-zA-Z0-9-]{2,49}[a-zA-Z0-9]$")
23
+ },
24
+ serializedName: "name",
25
+ readOnly: true,
26
+ type: {
27
+ name: "String"
28
+ }
29
+ },
30
+ type: {
31
+ serializedName: "type",
32
+ readOnly: true,
21
33
  type: {
22
34
  name: "String"
23
35
  }
36
+ },
37
+ properties: {
38
+ serializedName: "properties",
39
+ type: {
40
+ name: "Composite",
41
+ className: "PrivateEndpointConnectionProperties"
42
+ }
24
43
  }
25
44
  }
26
45
  }
27
46
  };
28
- export var ConnectionProperties = {
29
- serializedName: "ConnectionProperties",
47
+ export const ConnectionProperties = {
30
48
  type: {
31
49
  name: "Composite",
32
50
  className: "ConnectionProperties",
33
51
  modelProperties: {
34
52
  provisioningState: {
35
- nullable: true,
36
- readOnly: true,
37
53
  serializedName: "provisioningState",
54
+ readOnly: true,
55
+ nullable: true,
38
56
  type: {
39
57
  name: "String"
40
58
  }
@@ -67,106 +85,94 @@ export var ConnectionProperties = {
67
85
  }
68
86
  }
69
87
  };
70
- export var PrivateEndpointConnectionProperties = {
71
- serializedName: "PrivateEndpointConnection_properties",
72
- type: {
73
- name: "Composite",
74
- className: "PrivateEndpointConnectionProperties",
75
- modelProperties: __assign({}, ConnectionProperties.type.modelProperties)
76
- }
77
- };
78
- export var PrivateEndpointConnection = {
79
- serializedName: "PrivateEndpointConnection",
88
+ export const PrivateEndpoint = {
80
89
  type: {
81
90
  name: "Composite",
82
- className: "PrivateEndpointConnection",
91
+ className: "PrivateEndpoint",
83
92
  modelProperties: {
84
93
  id: {
85
- readOnly: true,
86
94
  serializedName: "id",
95
+ readOnly: true,
87
96
  type: {
88
97
  name: "String"
89
98
  }
90
- },
91
- name: {
92
- readOnly: true,
93
- serializedName: "name",
94
- constraints: {
95
- Pattern: /^(?![0-9]+$)(?!-)[a-zA-Z0-9-]{2,49}[a-zA-Z0-9]$/
96
- },
99
+ }
100
+ }
101
+ }
102
+ };
103
+ export const ConnectionState = {
104
+ type: {
105
+ name: "Composite",
106
+ className: "ConnectionState",
107
+ modelProperties: {
108
+ status: {
109
+ serializedName: "status",
110
+ required: true,
97
111
  type: {
98
112
  name: "String"
99
113
  }
100
114
  },
101
- type: {
102
- readOnly: true,
103
- serializedName: "type",
115
+ description: {
116
+ serializedName: "description",
117
+ required: true,
104
118
  type: {
105
119
  name: "String"
106
120
  }
107
121
  },
108
- properties: {
109
- required: true,
110
- serializedName: "properties",
122
+ actionsRequired: {
123
+ serializedName: "actionsRequired",
111
124
  type: {
112
- name: "Composite",
113
- className: "PrivateEndpointConnectionProperties"
125
+ name: "String"
114
126
  }
115
127
  }
116
128
  }
117
129
  }
118
130
  };
119
- export var DigitalTwinsResource = {
120
- serializedName: "DigitalTwinsResource",
131
+ export const DigitalTwinsResource = {
121
132
  type: {
122
133
  name: "Composite",
123
134
  className: "DigitalTwinsResource",
124
135
  modelProperties: {
125
136
  id: {
126
- readOnly: true,
127
137
  serializedName: "id",
138
+ readOnly: true,
128
139
  type: {
129
140
  name: "String"
130
141
  }
131
142
  },
132
143
  name: {
133
- readOnly: true,
134
- serializedName: "name",
135
144
  constraints: {
136
- Pattern: /^(?!-)[A-Za-z0-9-]{3,63}(?<!-)$/
145
+ Pattern: new RegExp("^(?!-)[A-Za-z0-9-]{3,63}(?<!-)$")
137
146
  },
147
+ serializedName: "name",
148
+ readOnly: true,
138
149
  type: {
139
150
  name: "String"
140
151
  }
141
152
  },
142
153
  type: {
143
- readOnly: true,
144
154
  serializedName: "type",
155
+ readOnly: true,
145
156
  type: {
146
157
  name: "String"
147
158
  }
148
159
  },
149
160
  location: {
150
- required: true,
151
161
  serializedName: "location",
162
+ required: true,
152
163
  type: {
153
164
  name: "String"
154
165
  }
155
166
  },
156
167
  tags: {
157
- nullable: true,
158
168
  serializedName: "tags",
169
+ nullable: true,
159
170
  type: {
160
171
  name: "Dictionary",
161
- value: {
162
- type: {
163
- name: "String"
164
- }
165
- }
172
+ value: { type: { name: "String" } }
166
173
  }
167
174
  },
168
175
  identity: {
169
- nullable: true,
170
176
  serializedName: "identity",
171
177
  type: {
172
178
  name: "Composite",
@@ -176,107 +182,101 @@ export var DigitalTwinsResource = {
176
182
  }
177
183
  }
178
184
  };
179
- export var DigitalTwinsDescription = {
180
- serializedName: "DigitalTwinsDescription",
185
+ export const DigitalTwinsIdentity = {
181
186
  type: {
182
187
  name: "Composite",
183
- className: "DigitalTwinsDescription",
184
- modelProperties: __assign(__assign({}, DigitalTwinsResource.type.modelProperties), { createdTime: {
185
- readOnly: true,
186
- serializedName: "properties.createdTime",
187
- type: {
188
- name: "DateTime"
189
- }
190
- }, lastUpdatedTime: {
191
- readOnly: true,
192
- serializedName: "properties.lastUpdatedTime",
188
+ className: "DigitalTwinsIdentity",
189
+ modelProperties: {
190
+ type: {
191
+ serializedName: "type",
193
192
  type: {
194
- name: "DateTime"
193
+ name: "String"
195
194
  }
196
- }, provisioningState: {
195
+ },
196
+ principalId: {
197
+ serializedName: "principalId",
197
198
  readOnly: true,
198
- serializedName: "properties.provisioningState",
199
+ nullable: true,
199
200
  type: {
200
201
  name: "String"
201
202
  }
202
- }, hostName: {
203
- nullable: true,
203
+ },
204
+ tenantId: {
205
+ serializedName: "tenantId",
204
206
  readOnly: true,
205
- serializedName: "properties.hostName",
207
+ nullable: true,
206
208
  type: {
207
209
  name: "String"
208
210
  }
209
- }, privateEndpointConnections: {
210
- serializedName: "properties.privateEndpointConnections",
211
- type: {
212
- name: "Sequence",
213
- element: {
214
- type: {
215
- name: "Composite",
216
- className: "PrivateEndpointConnection"
217
- }
218
- }
219
- }
220
- }, publicNetworkAccess: {
221
- nullable: true,
222
- serializedName: "properties.publicNetworkAccess",
211
+ }
212
+ }
213
+ }
214
+ };
215
+ export const ErrorResponse = {
216
+ type: {
217
+ name: "Composite",
218
+ className: "ErrorResponse",
219
+ modelProperties: {
220
+ error: {
221
+ serializedName: "error",
223
222
  type: {
224
- name: "String"
223
+ name: "Composite",
224
+ className: "ErrorDefinition"
225
225
  }
226
- } })
226
+ }
227
+ }
227
228
  }
228
229
  };
229
- export var DigitalTwinsIdentity = {
230
- serializedName: "DigitalTwinsIdentity",
230
+ export const ErrorDefinition = {
231
231
  type: {
232
232
  name: "Composite",
233
- className: "DigitalTwinsIdentity",
233
+ className: "ErrorDefinition",
234
234
  modelProperties: {
235
- type: {
236
- serializedName: "type",
235
+ code: {
236
+ serializedName: "code",
237
+ readOnly: true,
237
238
  type: {
238
239
  name: "String"
239
240
  }
240
241
  },
241
- principalId: {
242
- nullable: true,
242
+ message: {
243
+ serializedName: "message",
243
244
  readOnly: true,
244
- serializedName: "principalId",
245
245
  type: {
246
246
  name: "String"
247
247
  }
248
248
  },
249
- tenantId: {
250
- nullable: true,
249
+ details: {
250
+ serializedName: "details",
251
251
  readOnly: true,
252
- serializedName: "tenantId",
252
+ nullable: true,
253
253
  type: {
254
- name: "String"
254
+ name: "Sequence",
255
+ element: {
256
+ type: {
257
+ name: "Composite",
258
+ className: "ErrorDefinition"
259
+ }
260
+ }
255
261
  }
256
262
  }
257
263
  }
258
264
  }
259
265
  };
260
- export var DigitalTwinsPatchDescription = {
261
- serializedName: "DigitalTwinsPatchDescription",
266
+ export const DigitalTwinsPatchDescription = {
262
267
  type: {
263
268
  name: "Composite",
264
269
  className: "DigitalTwinsPatchDescription",
265
270
  modelProperties: {
266
271
  tags: {
267
- nullable: true,
268
272
  serializedName: "tags",
273
+ nullable: true,
269
274
  type: {
270
275
  name: "Dictionary",
271
- value: {
272
- type: {
273
- name: "String"
274
- }
275
- }
276
+ value: { type: { name: "String" } }
276
277
  }
277
278
  },
278
279
  identity: {
279
- nullable: true,
280
280
  serializedName: "identity",
281
281
  type: {
282
282
  name: "Composite",
@@ -284,7 +284,6 @@ export var DigitalTwinsPatchDescription = {
284
284
  }
285
285
  },
286
286
  properties: {
287
- nullable: true,
288
287
  serializedName: "properties",
289
288
  type: {
290
289
  name: "Composite",
@@ -294,36 +293,40 @@ export var DigitalTwinsPatchDescription = {
294
293
  }
295
294
  }
296
295
  };
297
- export var ErrorDefinition = {
298
- serializedName: "ErrorDefinition",
296
+ export const DigitalTwinsPatchProperties = {
299
297
  type: {
300
298
  name: "Composite",
301
- className: "ErrorDefinition",
299
+ className: "DigitalTwinsPatchProperties",
302
300
  modelProperties: {
303
- code: {
304
- readOnly: true,
305
- serializedName: "code",
301
+ publicNetworkAccess: {
302
+ serializedName: "publicNetworkAccess",
306
303
  type: {
307
304
  name: "String"
308
305
  }
309
- },
310
- message: {
311
- readOnly: true,
312
- serializedName: "message",
306
+ }
307
+ }
308
+ }
309
+ };
310
+ export const DigitalTwinsEndpointResourceListResult = {
311
+ type: {
312
+ name: "Composite",
313
+ className: "DigitalTwinsEndpointResourceListResult",
314
+ modelProperties: {
315
+ nextLink: {
316
+ serializedName: "nextLink",
317
+ nullable: true,
313
318
  type: {
314
319
  name: "String"
315
320
  }
316
321
  },
317
- details: {
318
- nullable: true,
319
- readOnly: true,
320
- serializedName: "details",
322
+ value: {
323
+ serializedName: "value",
321
324
  type: {
322
325
  name: "Sequence",
323
326
  element: {
324
327
  type: {
325
328
  name: "Composite",
326
- className: "ErrorDefinition"
329
+ className: "DigitalTwinsEndpointResource"
327
330
  }
328
331
  }
329
332
  }
@@ -331,52 +334,55 @@ export var ErrorDefinition = {
331
334
  }
332
335
  }
333
336
  };
334
- export var ErrorResponse = {
335
- serializedName: "ErrorResponse",
337
+ export const DigitalTwinsEndpointResourceProperties = {
336
338
  type: {
337
339
  name: "Composite",
338
- className: "ErrorResponse",
340
+ className: "DigitalTwinsEndpointResourceProperties",
341
+ uberParent: "DigitalTwinsEndpointResourceProperties",
342
+ polymorphicDiscriminator: {
343
+ serializedName: "endpointType",
344
+ clientName: "endpointType"
345
+ },
339
346
  modelProperties: {
340
- error: {
341
- serializedName: "error",
347
+ endpointType: {
348
+ serializedName: "endpointType",
349
+ required: true,
342
350
  type: {
343
- name: "Composite",
344
- className: "ErrorDefinition"
351
+ name: "String"
345
352
  }
346
- }
347
- }
348
- }
349
- };
350
- export var OperationDisplay = {
351
- serializedName: "OperationDisplay",
352
- type: {
353
- name: "Composite",
354
- className: "OperationDisplay",
355
- modelProperties: {
356
- provider: {
353
+ },
354
+ provisioningState: {
355
+ serializedName: "provisioningState",
357
356
  readOnly: true,
358
- serializedName: "provider",
357
+ nullable: true,
359
358
  type: {
360
359
  name: "String"
361
360
  }
362
361
  },
363
- resource: {
362
+ createdTime: {
363
+ serializedName: "createdTime",
364
364
  readOnly: true,
365
- serializedName: "resource",
365
+ nullable: true,
366
366
  type: {
367
- name: "String"
367
+ name: "DateTime"
368
368
  }
369
369
  },
370
- operation: {
371
- readOnly: true,
372
- serializedName: "operation",
370
+ authenticationType: {
371
+ serializedName: "authenticationType",
373
372
  type: {
374
373
  name: "String"
375
374
  }
376
375
  },
377
- description: {
378
- readOnly: true,
379
- serializedName: "description",
376
+ deadLetterSecret: {
377
+ serializedName: "deadLetterSecret",
378
+ nullable: true,
379
+ type: {
380
+ name: "String"
381
+ }
382
+ },
383
+ deadLetterUri: {
384
+ serializedName: "deadLetterUri",
385
+ nullable: true,
380
386
  type: {
381
387
  name: "String"
382
388
  }
@@ -384,181 +390,159 @@ export var OperationDisplay = {
384
390
  }
385
391
  }
386
392
  };
387
- export var Operation = {
388
- serializedName: "Operation",
393
+ export const ExternalResource = {
389
394
  type: {
390
395
  name: "Composite",
391
- className: "Operation",
396
+ className: "ExternalResource",
392
397
  modelProperties: {
393
- name: {
398
+ id: {
399
+ serializedName: "id",
394
400
  readOnly: true,
395
- serializedName: "name",
396
401
  type: {
397
402
  name: "String"
398
403
  }
399
404
  },
400
- display: {
401
- serializedName: "display",
402
- type: {
403
- name: "Composite",
404
- className: "OperationDisplay"
405
- }
406
- },
407
- origin: {
408
- nullable: true,
405
+ name: {
406
+ constraints: {
407
+ Pattern: new RegExp("^(?![0-9]+$)(?!-)[a-zA-Z0-9-]{2,49}[a-zA-Z0-9]$")
408
+ },
409
+ serializedName: "name",
409
410
  readOnly: true,
410
- serializedName: "origin",
411
411
  type: {
412
412
  name: "String"
413
413
  }
414
414
  },
415
- isDataAction: {
415
+ type: {
416
+ serializedName: "type",
416
417
  readOnly: true,
417
- serializedName: "isDataAction",
418
418
  type: {
419
- name: "Boolean"
419
+ name: "String"
420
420
  }
421
421
  }
422
422
  }
423
423
  }
424
424
  };
425
- export var CheckNameRequest = {
426
- serializedName: "CheckNameRequest",
425
+ export const DigitalTwinsDescriptionListResult = {
427
426
  type: {
428
427
  name: "Composite",
429
- className: "CheckNameRequest",
428
+ className: "DigitalTwinsDescriptionListResult",
430
429
  modelProperties: {
431
- name: {
432
- required: true,
433
- serializedName: "name",
430
+ nextLink: {
431
+ serializedName: "nextLink",
432
+ nullable: true,
434
433
  type: {
435
434
  name: "String"
436
435
  }
437
436
  },
438
- type: {
439
- required: true,
440
- isConstant: true,
441
- serializedName: "type",
442
- defaultValue: 'Microsoft.DigitalTwins/digitalTwinsInstances',
437
+ value: {
438
+ serializedName: "value",
443
439
  type: {
444
- name: "String"
440
+ name: "Sequence",
441
+ element: {
442
+ type: {
443
+ name: "Composite",
444
+ className: "DigitalTwinsDescription"
445
+ }
446
+ }
445
447
  }
446
448
  }
447
449
  }
448
450
  }
449
451
  };
450
- export var CheckNameResult = {
451
- serializedName: "CheckNameResult",
452
+ export const OperationListResult = {
452
453
  type: {
453
454
  name: "Composite",
454
- className: "CheckNameResult",
455
+ className: "OperationListResult",
455
456
  modelProperties: {
456
- nameAvailable: {
457
- serializedName: "nameAvailable",
458
- type: {
459
- name: "Boolean"
460
- }
461
- },
462
- message: {
457
+ nextLink: {
458
+ serializedName: "nextLink",
463
459
  nullable: true,
464
- serializedName: "message",
465
460
  type: {
466
461
  name: "String"
467
462
  }
468
463
  },
469
- reason: {
470
- nullable: true,
471
- serializedName: "reason",
464
+ value: {
465
+ serializedName: "value",
466
+ readOnly: true,
472
467
  type: {
473
- name: "String"
468
+ name: "Sequence",
469
+ element: {
470
+ type: {
471
+ name: "Composite",
472
+ className: "Operation"
473
+ }
474
+ }
474
475
  }
475
476
  }
476
477
  }
477
478
  }
478
479
  };
479
- export var ExternalResource = {
480
- serializedName: "ExternalResource",
480
+ export const Operation = {
481
481
  type: {
482
482
  name: "Composite",
483
- className: "ExternalResource",
483
+ className: "Operation",
484
484
  modelProperties: {
485
- id: {
485
+ name: {
486
+ serializedName: "name",
486
487
  readOnly: true,
487
- serializedName: "id",
488
488
  type: {
489
489
  name: "String"
490
490
  }
491
491
  },
492
- name: {
492
+ display: {
493
+ serializedName: "display",
494
+ type: {
495
+ name: "Composite",
496
+ className: "OperationDisplay"
497
+ }
498
+ },
499
+ origin: {
500
+ serializedName: "origin",
493
501
  readOnly: true,
494
- serializedName: "name",
495
- constraints: {
496
- Pattern: /^(?![0-9]+$)(?!-)[a-zA-Z0-9-]{2,49}[a-zA-Z0-9]$/
497
- },
502
+ nullable: true,
498
503
  type: {
499
504
  name: "String"
500
505
  }
501
506
  },
502
- type: {
507
+ isDataAction: {
508
+ serializedName: "isDataAction",
503
509
  readOnly: true,
504
- serializedName: "type",
505
510
  type: {
506
- name: "String"
511
+ name: "Boolean"
507
512
  }
508
513
  }
509
514
  }
510
515
  }
511
516
  };
512
- export var DigitalTwinsEndpointResourceProperties = {
513
- serializedName: "DigitalTwinsEndpointResourceProperties",
517
+ export const OperationDisplay = {
514
518
  type: {
515
519
  name: "Composite",
516
- polymorphicDiscriminator: {
517
- serializedName: "endpointType",
518
- clientName: "endpointType"
519
- },
520
- uberParent: "DigitalTwinsEndpointResourceProperties",
521
- className: "DigitalTwinsEndpointResourceProperties",
520
+ className: "OperationDisplay",
522
521
  modelProperties: {
523
- provisioningState: {
524
- nullable: true,
522
+ provider: {
523
+ serializedName: "provider",
525
524
  readOnly: true,
526
- serializedName: "provisioningState",
527
525
  type: {
528
526
  name: "String"
529
527
  }
530
528
  },
531
- createdTime: {
532
- nullable: true,
529
+ resource: {
530
+ serializedName: "resource",
533
531
  readOnly: true,
534
- serializedName: "createdTime",
535
- type: {
536
- name: "DateTime"
537
- }
538
- },
539
- authenticationType: {
540
- serializedName: "authenticationType",
541
- type: {
542
- name: "String"
543
- }
544
- },
545
- deadLetterSecret: {
546
- nullable: true,
547
- serializedName: "deadLetterSecret",
548
532
  type: {
549
533
  name: "String"
550
534
  }
551
535
  },
552
- deadLetterUri: {
553
- nullable: true,
554
- serializedName: "deadLetterUri",
536
+ operation: {
537
+ serializedName: "operation",
538
+ readOnly: true,
555
539
  type: {
556
540
  name: "String"
557
541
  }
558
542
  },
559
- endpointType: {
560
- required: true,
561
- serializedName: "endpointType",
543
+ description: {
544
+ serializedName: "description",
545
+ readOnly: true,
562
546
  type: {
563
547
  name: "String"
564
548
  }
@@ -566,123 +550,119 @@ export var DigitalTwinsEndpointResourceProperties = {
566
550
  }
567
551
  }
568
552
  };
569
- export var DigitalTwinsEndpointResource = {
570
- serializedName: "DigitalTwinsEndpointResource",
553
+ export const CheckNameRequest = {
571
554
  type: {
572
555
  name: "Composite",
573
- className: "DigitalTwinsEndpointResource",
574
- modelProperties: __assign(__assign({}, ExternalResource.type.modelProperties), { properties: {
556
+ className: "CheckNameRequest",
557
+ modelProperties: {
558
+ name: {
559
+ serializedName: "name",
575
560
  required: true,
576
- serializedName: "properties",
577
561
  type: {
578
- name: "Composite",
579
- className: "DigitalTwinsEndpointResourceProperties"
562
+ name: "String"
580
563
  }
581
- } })
564
+ },
565
+ type: {
566
+ defaultValue: "Microsoft.DigitalTwins/digitalTwinsInstances",
567
+ isConstant: true,
568
+ serializedName: "type",
569
+ type: {
570
+ name: "String"
571
+ }
572
+ }
573
+ }
582
574
  }
583
575
  };
584
- export var ServiceBus = {
585
- serializedName: "ServiceBus",
576
+ export const CheckNameResult = {
586
577
  type: {
587
578
  name: "Composite",
588
- polymorphicDiscriminator: DigitalTwinsEndpointResourceProperties.type.polymorphicDiscriminator,
589
- uberParent: "DigitalTwinsEndpointResourceProperties",
590
- className: "ServiceBus",
591
- modelProperties: __assign(__assign({}, DigitalTwinsEndpointResourceProperties.type.modelProperties), { primaryConnectionString: {
592
- nullable: true,
593
- serializedName: "primaryConnectionString",
579
+ className: "CheckNameResult",
580
+ modelProperties: {
581
+ nameAvailable: {
582
+ serializedName: "nameAvailable",
594
583
  type: {
595
- name: "String"
584
+ name: "Boolean"
596
585
  }
597
- }, secondaryConnectionString: {
586
+ },
587
+ message: {
588
+ serializedName: "message",
598
589
  nullable: true,
599
- serializedName: "secondaryConnectionString",
600
590
  type: {
601
591
  name: "String"
602
592
  }
603
- }, endpointUri: {
593
+ },
594
+ reason: {
595
+ serializedName: "reason",
604
596
  nullable: true,
605
- serializedName: "endpointUri",
606
597
  type: {
607
598
  name: "String"
608
599
  }
609
- }, entityPath: {
610
- nullable: true,
611
- serializedName: "entityPath",
600
+ }
601
+ }
602
+ }
603
+ };
604
+ export const GroupIdInformationResponse = {
605
+ type: {
606
+ name: "Composite",
607
+ className: "GroupIdInformationResponse",
608
+ modelProperties: {
609
+ value: {
610
+ serializedName: "value",
612
611
  type: {
613
- name: "String"
612
+ name: "Sequence",
613
+ element: {
614
+ type: {
615
+ name: "Composite",
616
+ className: "GroupIdInformation"
617
+ }
618
+ }
614
619
  }
615
- } })
620
+ }
621
+ }
616
622
  }
617
623
  };
618
- export var EventHub = {
619
- serializedName: "EventHub",
624
+ export const GroupIdInformation = {
620
625
  type: {
621
626
  name: "Composite",
622
- polymorphicDiscriminator: DigitalTwinsEndpointResourceProperties.type.polymorphicDiscriminator,
623
- uberParent: "DigitalTwinsEndpointResourceProperties",
624
- className: "EventHub",
625
- modelProperties: __assign(__assign({}, DigitalTwinsEndpointResourceProperties.type.modelProperties), { connectionStringPrimaryKey: {
626
- nullable: true,
627
- serializedName: "connectionStringPrimaryKey",
627
+ className: "GroupIdInformation",
628
+ modelProperties: {
629
+ properties: {
630
+ serializedName: "properties",
628
631
  type: {
629
- name: "String"
632
+ name: "Composite",
633
+ className: "GroupIdInformationProperties"
630
634
  }
631
- }, connectionStringSecondaryKey: {
632
- nullable: true,
633
- serializedName: "connectionStringSecondaryKey",
635
+ },
636
+ id: {
637
+ serializedName: "id",
634
638
  type: {
635
639
  name: "String"
636
640
  }
637
- }, endpointUri: {
638
- nullable: true,
639
- serializedName: "endpointUri",
641
+ },
642
+ name: {
643
+ constraints: {
644
+ Pattern: new RegExp("^(?![0-9]+$)(?!-)[a-zA-Z0-9-]{2,49}[a-zA-Z0-9]$")
645
+ },
646
+ serializedName: "name",
647
+ readOnly: true,
640
648
  type: {
641
649
  name: "String"
642
650
  }
643
- }, entityPath: {
644
- nullable: true,
645
- serializedName: "entityPath",
651
+ },
652
+ type: {
653
+ serializedName: "type",
654
+ readOnly: true,
646
655
  type: {
647
656
  name: "String"
648
657
  }
649
- } })
658
+ }
659
+ }
650
660
  }
651
661
  };
652
- export var EventGrid = {
653
- serializedName: "EventGrid",
662
+ export const GroupIdInformationPropertiesAutoGenerated = {
654
663
  type: {
655
664
  name: "Composite",
656
- polymorphicDiscriminator: DigitalTwinsEndpointResourceProperties.type.polymorphicDiscriminator,
657
- uberParent: "DigitalTwinsEndpointResourceProperties",
658
- className: "EventGrid",
659
- modelProperties: __assign(__assign({}, DigitalTwinsEndpointResourceProperties.type.modelProperties), { topicEndpoint: {
660
- required: true,
661
- serializedName: "TopicEndpoint",
662
- type: {
663
- name: "String"
664
- }
665
- }, accessKey1: {
666
- required: true,
667
- nullable: true,
668
- serializedName: "accessKey1",
669
- type: {
670
- name: "String"
671
- }
672
- }, accessKey2: {
673
- nullable: true,
674
- serializedName: "accessKey2",
675
- type: {
676
- name: "String"
677
- }
678
- } })
679
- }
680
- };
681
- export var GroupIdInformationProperties = {
682
- serializedName: "GroupIdInformationProperties",
683
- type: {
684
- name: "Composite",
685
- className: "GroupIdInformationProperties",
665
+ className: "GroupIdInformationPropertiesAutoGenerated",
686
666
  modelProperties: {
687
667
  groupId: {
688
668
  serializedName: "groupId",
@@ -715,56 +695,7 @@ export var GroupIdInformationProperties = {
715
695
  }
716
696
  }
717
697
  };
718
- export var GroupIdInformationPropertiesModel = {
719
- serializedName: "GroupIdInformation_properties",
720
- type: {
721
- name: "Composite",
722
- className: "GroupIdInformationPropertiesModel",
723
- modelProperties: __assign({}, GroupIdInformationProperties.type.modelProperties)
724
- }
725
- };
726
- export var GroupIdInformation = {
727
- serializedName: "GroupIdInformation",
728
- type: {
729
- name: "Composite",
730
- className: "GroupIdInformation",
731
- modelProperties: {
732
- properties: {
733
- required: true,
734
- serializedName: "properties",
735
- type: {
736
- name: "Composite",
737
- className: "GroupIdInformationPropertiesModel"
738
- }
739
- },
740
- id: {
741
- serializedName: "id",
742
- type: {
743
- name: "String"
744
- }
745
- },
746
- name: {
747
- readOnly: true,
748
- serializedName: "name",
749
- constraints: {
750
- Pattern: /^(?![0-9]+$)(?!-)[a-zA-Z0-9-]{2,49}[a-zA-Z0-9]$/
751
- },
752
- type: {
753
- name: "String"
754
- }
755
- },
756
- type: {
757
- readOnly: true,
758
- serializedName: "type",
759
- type: {
760
- name: "String"
761
- }
762
- }
763
- }
764
- }
765
- };
766
- export var PrivateEndpointConnectionsResponse = {
767
- serializedName: "PrivateEndpointConnectionsResponse",
698
+ export const PrivateEndpointConnectionsResponse = {
768
699
  type: {
769
700
  name: "Composite",
770
701
  className: "PrivateEndpointConnectionsResponse",
@@ -784,177 +715,196 @@ export var PrivateEndpointConnectionsResponse = {
784
715
  }
785
716
  }
786
717
  };
787
- export var GroupIdInformationResponse = {
788
- serializedName: "GroupIdInformationResponse",
718
+ export const PrivateEndpointConnectionProperties = {
789
719
  type: {
790
720
  name: "Composite",
791
- className: "GroupIdInformationResponse",
792
- modelProperties: {
793
- value: {
794
- serializedName: "value",
721
+ className: "PrivateEndpointConnectionProperties",
722
+ modelProperties: Object.assign({}, ConnectionProperties.type.modelProperties)
723
+ }
724
+ };
725
+ export const ConnectionPropertiesPrivateEndpoint = {
726
+ type: {
727
+ name: "Composite",
728
+ className: "ConnectionPropertiesPrivateEndpoint",
729
+ modelProperties: Object.assign({}, PrivateEndpoint.type.modelProperties)
730
+ }
731
+ };
732
+ export const ConnectionPropertiesPrivateLinkServiceConnectionState = {
733
+ type: {
734
+ name: "Composite",
735
+ className: "ConnectionPropertiesPrivateLinkServiceConnectionState",
736
+ modelProperties: Object.assign({}, ConnectionState.type.modelProperties)
737
+ }
738
+ };
739
+ export const DigitalTwinsDescription = {
740
+ type: {
741
+ name: "Composite",
742
+ className: "DigitalTwinsDescription",
743
+ modelProperties: Object.assign(Object.assign({}, DigitalTwinsResource.type.modelProperties), { createdTime: {
744
+ serializedName: "properties.createdTime",
745
+ readOnly: true,
746
+ type: {
747
+ name: "DateTime"
748
+ }
749
+ }, lastUpdatedTime: {
750
+ serializedName: "properties.lastUpdatedTime",
751
+ readOnly: true,
752
+ type: {
753
+ name: "DateTime"
754
+ }
755
+ }, provisioningState: {
756
+ serializedName: "properties.provisioningState",
757
+ readOnly: true,
758
+ type: {
759
+ name: "String"
760
+ }
761
+ }, hostName: {
762
+ serializedName: "properties.hostName",
763
+ readOnly: true,
764
+ nullable: true,
765
+ type: {
766
+ name: "String"
767
+ }
768
+ }, privateEndpointConnections: {
769
+ serializedName: "properties.privateEndpointConnections",
795
770
  type: {
796
771
  name: "Sequence",
797
772
  element: {
798
773
  type: {
799
774
  name: "Composite",
800
- className: "GroupIdInformation"
775
+ className: "PrivateEndpointConnection"
801
776
  }
802
777
  }
803
778
  }
804
- }
805
- }
779
+ }, publicNetworkAccess: {
780
+ serializedName: "properties.publicNetworkAccess",
781
+ type: {
782
+ name: "String"
783
+ }
784
+ } })
806
785
  }
807
786
  };
808
- export var ConnectionState = {
809
- serializedName: "ConnectionState",
787
+ export const ServiceBus = {
788
+ serializedName: "ServiceBus",
810
789
  type: {
811
790
  name: "Composite",
812
- className: "ConnectionState",
813
- modelProperties: {
814
- status: {
815
- required: true,
816
- serializedName: "status",
791
+ className: "ServiceBus",
792
+ uberParent: "DigitalTwinsEndpointResourceProperties",
793
+ polymorphicDiscriminator: DigitalTwinsEndpointResourceProperties.type.polymorphicDiscriminator,
794
+ modelProperties: Object.assign(Object.assign({}, DigitalTwinsEndpointResourceProperties.type.modelProperties), { primaryConnectionString: {
795
+ serializedName: "primaryConnectionString",
796
+ nullable: true,
817
797
  type: {
818
798
  name: "String"
819
799
  }
820
- },
821
- description: {
822
- required: true,
823
- serializedName: "description",
800
+ }, secondaryConnectionString: {
801
+ serializedName: "secondaryConnectionString",
802
+ nullable: true,
824
803
  type: {
825
804
  name: "String"
826
805
  }
827
- },
828
- actionsRequired: {
829
- serializedName: "actionsRequired",
806
+ }, endpointUri: {
807
+ serializedName: "endpointUri",
808
+ nullable: true,
830
809
  type: {
831
810
  name: "String"
832
811
  }
833
- }
834
- }
835
- }
836
- };
837
- export var PrivateEndpoint = {
838
- serializedName: "PrivateEndpoint",
839
- type: {
840
- name: "Composite",
841
- className: "PrivateEndpoint",
842
- modelProperties: {
843
- id: {
844
- readOnly: true,
845
- serializedName: "id",
812
+ }, entityPath: {
813
+ serializedName: "entityPath",
814
+ nullable: true,
846
815
  type: {
847
816
  name: "String"
848
817
  }
849
- }
850
- }
851
- }
852
- };
853
- export var ConnectionPropertiesPrivateEndpoint = {
854
- serializedName: "ConnectionProperties_privateEndpoint",
855
- type: {
856
- name: "Composite",
857
- className: "ConnectionPropertiesPrivateEndpoint",
858
- modelProperties: __assign({}, PrivateEndpoint.type.modelProperties)
859
- }
860
- };
861
- export var ConnectionPropertiesPrivateLinkServiceConnectionState = {
862
- serializedName: "ConnectionProperties_privateLinkServiceConnectionState",
863
- type: {
864
- name: "Composite",
865
- className: "ConnectionPropertiesPrivateLinkServiceConnectionState",
866
- modelProperties: __assign({}, ConnectionState.type.modelProperties)
818
+ } })
867
819
  }
868
820
  };
869
- export var DigitalTwinsDescriptionListResult = {
870
- serializedName: "DigitalTwinsDescriptionListResult",
821
+ export const EventHub = {
822
+ serializedName: "EventHub",
871
823
  type: {
872
824
  name: "Composite",
873
- className: "DigitalTwinsDescriptionListResult",
874
- modelProperties: {
875
- nextLink: {
825
+ className: "EventHub",
826
+ uberParent: "DigitalTwinsEndpointResourceProperties",
827
+ polymorphicDiscriminator: DigitalTwinsEndpointResourceProperties.type.polymorphicDiscriminator,
828
+ modelProperties: Object.assign(Object.assign({}, DigitalTwinsEndpointResourceProperties.type.modelProperties), { connectionStringPrimaryKey: {
829
+ serializedName: "connectionStringPrimaryKey",
876
830
  nullable: true,
877
- serializedName: "nextLink",
878
831
  type: {
879
832
  name: "String"
880
833
  }
881
- },
882
- value: {
883
- serializedName: "",
834
+ }, connectionStringSecondaryKey: {
835
+ serializedName: "connectionStringSecondaryKey",
836
+ nullable: true,
884
837
  type: {
885
- name: "Sequence",
886
- element: {
887
- type: {
888
- name: "Composite",
889
- className: "DigitalTwinsDescription"
890
- }
891
- }
838
+ name: "String"
892
839
  }
893
- }
894
- }
895
- }
896
- };
897
- export var DigitalTwinsEndpointResourceListResult = {
898
- serializedName: "DigitalTwinsEndpointResourceListResult",
899
- type: {
900
- name: "Composite",
901
- className: "DigitalTwinsEndpointResourceListResult",
902
- modelProperties: {
903
- nextLink: {
840
+ }, endpointUri: {
841
+ serializedName: "endpointUri",
904
842
  nullable: true,
905
- serializedName: "nextLink",
906
843
  type: {
907
844
  name: "String"
908
845
  }
909
- },
910
- value: {
911
- serializedName: "",
846
+ }, entityPath: {
847
+ serializedName: "entityPath",
848
+ nullable: true,
912
849
  type: {
913
- name: "Sequence",
914
- element: {
915
- type: {
916
- name: "Composite",
917
- className: "DigitalTwinsEndpointResource"
918
- }
919
- }
850
+ name: "String"
920
851
  }
921
- }
922
- }
852
+ } })
923
853
  }
924
854
  };
925
- export var OperationListResult = {
926
- serializedName: "OperationListResult",
855
+ export const EventGrid = {
856
+ serializedName: "EventGrid",
927
857
  type: {
928
858
  name: "Composite",
929
- className: "OperationListResult",
930
- modelProperties: {
931
- nextLink: {
859
+ className: "EventGrid",
860
+ uberParent: "DigitalTwinsEndpointResourceProperties",
861
+ polymorphicDiscriminator: DigitalTwinsEndpointResourceProperties.type.polymorphicDiscriminator,
862
+ modelProperties: Object.assign(Object.assign({}, DigitalTwinsEndpointResourceProperties.type.modelProperties), { topicEndpoint: {
863
+ serializedName: "TopicEndpoint",
864
+ required: true,
865
+ type: {
866
+ name: "String"
867
+ }
868
+ }, accessKey1: {
869
+ serializedName: "accessKey1",
870
+ required: true,
932
871
  nullable: true,
933
- serializedName: "nextLink",
934
872
  type: {
935
873
  name: "String"
936
874
  }
937
- },
938
- value: {
939
- readOnly: true,
940
- serializedName: "",
875
+ }, accessKey2: {
876
+ serializedName: "accessKey2",
877
+ nullable: true,
941
878
  type: {
942
- name: "Sequence",
943
- element: {
944
- type: {
945
- name: "Composite",
946
- className: "Operation"
947
- }
948
- }
879
+ name: "String"
949
880
  }
950
- }
951
- }
881
+ } })
882
+ }
883
+ };
884
+ export const DigitalTwinsEndpointResource = {
885
+ type: {
886
+ name: "Composite",
887
+ className: "DigitalTwinsEndpointResource",
888
+ modelProperties: Object.assign(Object.assign({}, ExternalResource.type.modelProperties), { properties: {
889
+ serializedName: "properties",
890
+ type: {
891
+ name: "Composite",
892
+ className: "DigitalTwinsEndpointResourceProperties"
893
+ }
894
+ } })
895
+ }
896
+ };
897
+ export const GroupIdInformationProperties = {
898
+ type: {
899
+ name: "Composite",
900
+ className: "GroupIdInformationProperties",
901
+ modelProperties: Object.assign({}, GroupIdInformationPropertiesAutoGenerated.type.modelProperties)
952
902
  }
953
903
  };
954
- export var discriminators = {
955
- 'DigitalTwinsEndpointResourceProperties': DigitalTwinsEndpointResourceProperties,
956
- 'DigitalTwinsEndpointResourceProperties.ServiceBus': ServiceBus,
957
- 'DigitalTwinsEndpointResourceProperties.EventHub': EventHub,
958
- 'DigitalTwinsEndpointResourceProperties.EventGrid': EventGrid
904
+ export let discriminators = {
905
+ DigitalTwinsEndpointResourceProperties: DigitalTwinsEndpointResourceProperties,
906
+ "DigitalTwinsEndpointResourceProperties.ServiceBus": ServiceBus,
907
+ "DigitalTwinsEndpointResourceProperties.EventHub": EventHub,
908
+ "DigitalTwinsEndpointResourceProperties.EventGrid": EventGrid
959
909
  };
960
910
  //# sourceMappingURL=mappers.js.map