@distilled.cloud/azure 0.8.0 → 0.10.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 (151) hide show
  1. package/lib/credentials.d.ts +2 -2
  2. package/lib/credentials.d.ts.map +1 -1
  3. package/lib/credentials.js +2 -2
  4. package/lib/credentials.js.map +1 -1
  5. package/lib/errors.d.ts +24 -24
  6. package/lib/retry.d.ts +2 -2
  7. package/lib/retry.d.ts.map +1 -1
  8. package/lib/retry.js +2 -2
  9. package/lib/retry.js.map +1 -1
  10. package/lib/services/app.d.ts +551 -0
  11. package/lib/services/app.d.ts.map +1 -1
  12. package/lib/services/app.js +788 -0
  13. package/lib/services/app.js.map +1 -1
  14. package/lib/services/applicationinsights.d.ts +56 -85
  15. package/lib/services/applicationinsights.d.ts.map +1 -1
  16. package/lib/services/applicationinsights.js +56 -120
  17. package/lib/services/applicationinsights.js.map +1 -1
  18. package/lib/services/authorization.d.ts +61 -243
  19. package/lib/services/authorization.d.ts.map +1 -1
  20. package/lib/services/authorization.js +61 -303
  21. package/lib/services/authorization.js.map +1 -1
  22. package/lib/services/automation.d.ts +764 -1010
  23. package/lib/services/automation.d.ts.map +1 -1
  24. package/lib/services/automation.js +764 -1070
  25. package/lib/services/automation.js.map +1 -1
  26. package/lib/services/azure-kusto.d.ts +440 -166
  27. package/lib/services/azure-kusto.d.ts.map +1 -1
  28. package/lib/services/azure-kusto.js +440 -166
  29. package/lib/services/azure-kusto.js.map +1 -1
  30. package/lib/services/batch.d.ts +1 -1
  31. package/lib/services/batch.js +1 -1
  32. package/lib/services/batch.js.map +1 -1
  33. package/lib/services/cognitiveservices.d.ts +2 -0
  34. package/lib/services/cognitiveservices.d.ts.map +1 -1
  35. package/lib/services/cognitiveservices.js +3 -1
  36. package/lib/services/cognitiveservices.js.map +1 -1
  37. package/lib/services/computelimit.d.ts +188 -0
  38. package/lib/services/computelimit.d.ts.map +1 -1
  39. package/lib/services/computelimit.js +236 -0
  40. package/lib/services/computelimit.js.map +1 -1
  41. package/lib/services/containerinstance.d.ts +210 -1291
  42. package/lib/services/containerinstance.d.ts.map +1 -1
  43. package/lib/services/containerinstance.js +250 -1355
  44. package/lib/services/containerinstance.js.map +1 -1
  45. package/lib/services/databricks.d.ts +111 -187
  46. package/lib/services/databricks.d.ts.map +1 -1
  47. package/lib/services/databricks.js +111 -220
  48. package/lib/services/databricks.js.map +1 -1
  49. package/lib/services/desktopvirtualization.d.ts +51 -575
  50. package/lib/services/desktopvirtualization.d.ts.map +1 -1
  51. package/lib/services/desktopvirtualization.js +56 -590
  52. package/lib/services/desktopvirtualization.js.map +1 -1
  53. package/lib/services/imagebuilder.d.ts +129 -15
  54. package/lib/services/imagebuilder.d.ts.map +1 -1
  55. package/lib/services/imagebuilder.js +129 -15
  56. package/lib/services/imagebuilder.js.map +1 -1
  57. package/lib/services/index.d.ts +2 -0
  58. package/lib/services/index.d.ts.map +1 -1
  59. package/lib/services/index.js +2 -0
  60. package/lib/services/index.js.map +1 -1
  61. package/lib/services/managednetworkfabric.d.ts +4283 -693
  62. package/lib/services/managednetworkfabric.d.ts.map +1 -1
  63. package/lib/services/managednetworkfabric.js +4833 -828
  64. package/lib/services/managednetworkfabric.js.map +1 -1
  65. package/lib/services/monitor.d.ts +81 -73
  66. package/lib/services/monitor.d.ts.map +1 -1
  67. package/lib/services/monitor.js +91 -88
  68. package/lib/services/monitor.js.map +1 -1
  69. package/lib/services/monitoringservice.d.ts +149 -0
  70. package/lib/services/monitoringservice.d.ts.map +1 -0
  71. package/lib/services/monitoringservice.js +216 -0
  72. package/lib/services/monitoringservice.js.map +1 -0
  73. package/lib/services/network.d.ts +4513 -3857
  74. package/lib/services/network.d.ts.map +1 -1
  75. package/lib/services/network.js +4544 -4056
  76. package/lib/services/network.js.map +1 -1
  77. package/lib/services/orbitalplanetarycomputer.d.ts +131 -0
  78. package/lib/services/orbitalplanetarycomputer.d.ts.map +1 -0
  79. package/lib/services/orbitalplanetarycomputer.js +183 -0
  80. package/lib/services/orbitalplanetarycomputer.js.map +1 -0
  81. package/lib/services/recoveryservicesbackup.d.ts +24 -312
  82. package/lib/services/recoveryservicesbackup.d.ts.map +1 -1
  83. package/lib/services/recoveryservicesbackup.js +24 -312
  84. package/lib/services/recoveryservicesbackup.js.map +1 -1
  85. package/lib/services/redhatopenshift.d.ts +9 -11
  86. package/lib/services/redhatopenshift.d.ts.map +1 -1
  87. package/lib/services/redhatopenshift.js +9 -11
  88. package/lib/services/redhatopenshift.js.map +1 -1
  89. package/lib/services/reservations.d.ts +159 -239
  90. package/lib/services/reservations.d.ts.map +1 -1
  91. package/lib/services/reservations.js +159 -369
  92. package/lib/services/reservations.js.map +1 -1
  93. package/lib/services/resourcegraph.d.ts +64 -30
  94. package/lib/services/resourcegraph.d.ts.map +1 -1
  95. package/lib/services/resourcegraph.js +74 -30
  96. package/lib/services/resourcegraph.js.map +1 -1
  97. package/lib/services/resources.d.ts +549 -3331
  98. package/lib/services/resources.d.ts.map +1 -1
  99. package/lib/services/resources.js +1029 -4846
  100. package/lib/services/resources.js.map +1 -1
  101. package/lib/services/search.d.ts +9 -2
  102. package/lib/services/search.d.ts.map +1 -1
  103. package/lib/services/search.js +9 -2
  104. package/lib/services/search.js.map +1 -1
  105. package/lib/services/sql.d.ts +4008 -2495
  106. package/lib/services/sql.d.ts.map +1 -1
  107. package/lib/services/sql.js +4208 -2521
  108. package/lib/services/sql.js.map +1 -1
  109. package/lib/services/storage.d.ts +4 -20
  110. package/lib/services/storage.d.ts.map +1 -1
  111. package/lib/services/storage.js +4 -20
  112. package/lib/services/storage.js.map +1 -1
  113. package/lib/services/storageactions.d.ts +18 -0
  114. package/lib/services/storageactions.d.ts.map +1 -1
  115. package/lib/services/storageactions.js +28 -0
  116. package/lib/services/storageactions.js.map +1 -1
  117. package/lib/services/storagecache.d.ts +288 -752
  118. package/lib/services/storagecache.d.ts.map +1 -1
  119. package/lib/services/storagecache.js +312 -930
  120. package/lib/services/storagecache.js.map +1 -1
  121. package/package.json +4 -4
  122. package/src/credentials.ts +2 -2
  123. package/src/retry.ts +2 -2
  124. package/src/services/app.ts +1014 -0
  125. package/src/services/applicationinsights.ts +56 -169
  126. package/src/services/authorization.ts +65 -397
  127. package/src/services/automation.ts +1179 -1686
  128. package/src/services/azure-kusto.ts +494 -228
  129. package/src/services/batch.ts +1 -1
  130. package/src/services/cognitiveservices.ts +3 -1
  131. package/src/services/computelimit.ts +310 -0
  132. package/src/services/containerinstance.ts +1393 -3134
  133. package/src/services/databricks.ts +125 -294
  134. package/src/services/desktopvirtualization.ts +83 -859
  135. package/src/services/imagebuilder.ts +129 -21
  136. package/src/services/index.ts +2 -0
  137. package/src/services/managednetworkfabric.ts +7141 -1408
  138. package/src/services/monitor.ts +134 -136
  139. package/src/services/monitoringservice.ts +287 -0
  140. package/src/services/network.ts +5738 -6158
  141. package/src/services/orbitalplanetarycomputer.ts +233 -0
  142. package/src/services/recoveryservicesbackup.ts +26 -456
  143. package/src/services/redhatopenshift.ts +26 -34
  144. package/src/services/reservations.ts +209 -553
  145. package/src/services/resourcegraph.ts +123 -55
  146. package/src/services/resources.ts +1852 -8168
  147. package/src/services/search.ts +9 -2
  148. package/src/services/sql.ts +4552 -2757
  149. package/src/services/storage.ts +4 -22
  150. package/src/services/storageactions.ts +36 -0
  151. package/src/services/storagecache.ts +312 -1303
@@ -13,6 +13,7 @@ export const GraphQueryCreateOrUpdateInput =
13
13
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
14
14
  subscriptionId: Schema.String.pipe(T.PathParam()),
15
15
  resourceGroupName: Schema.String.pipe(T.PathParam()),
16
+ resourceName: Schema.String.pipe(T.PathParam()),
16
17
  "api-version": Schema.String,
17
18
  }).pipe(
18
19
  T.Http({
@@ -28,10 +29,21 @@ export const GraphQueryCreateOrUpdateOutput =
28
29
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
29
30
  id: Schema.optional(Schema.String),
30
31
  name: Schema.optional(Schema.String),
31
- location: Schema.optional(Schema.String),
32
32
  type: Schema.optional(Schema.String),
33
- etag: Schema.optional(Schema.String),
34
- tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
33
+ systemData: Schema.optional(
34
+ Schema.Struct({
35
+ createdBy: Schema.optional(Schema.String),
36
+ createdByType: Schema.optional(
37
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
38
+ ),
39
+ createdAt: Schema.optional(Schema.String),
40
+ lastModifiedBy: Schema.optional(Schema.String),
41
+ lastModifiedByType: Schema.optional(
42
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
43
+ ),
44
+ lastModifiedAt: Schema.optional(Schema.String),
45
+ }),
46
+ ),
35
47
  });
36
48
  export type GraphQueryCreateOrUpdateOutput =
37
49
  typeof GraphQueryCreateOrUpdateOutput.Type;
@@ -40,9 +52,10 @@ export type GraphQueryCreateOrUpdateOutput =
40
52
  /**
41
53
  * Create a new graph query.
42
54
  *
55
+ * @param api-version - The API version to use for this operation.
43
56
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
44
57
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
45
- * @param api-version - The API version to use for this operation.
58
+ * @param resourceName - The name of the Graph Query resource.
46
59
  */
47
60
  export const GraphQueryCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
48
61
  () => ({
@@ -54,6 +67,7 @@ export const GraphQueryCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
54
67
  export const GraphQueryDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
55
68
  subscriptionId: Schema.String.pipe(T.PathParam()),
56
69
  resourceGroupName: Schema.String.pipe(T.PathParam()),
70
+ resourceName: Schema.String.pipe(T.PathParam()),
57
71
  "api-version": Schema.String,
58
72
  }).pipe(
59
73
  T.Http({
@@ -71,9 +85,10 @@ export type GraphQueryDeleteOutput = typeof GraphQueryDeleteOutput.Type;
71
85
  /**
72
86
  * Delete a graph query.
73
87
  *
88
+ * @param api-version - The API version to use for this operation.
74
89
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
75
90
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
76
- * @param api-version - The API version to use for this operation.
91
+ * @param resourceName - The name of the Graph Query resource.
77
92
  */
78
93
  export const GraphQueryDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
79
94
  inputSchema: GraphQueryDeleteInput,
@@ -83,6 +98,7 @@ export const GraphQueryDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
83
98
  export const GraphQueryGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
84
99
  subscriptionId: Schema.String.pipe(T.PathParam()),
85
100
  resourceGroupName: Schema.String.pipe(T.PathParam()),
101
+ resourceName: Schema.String.pipe(T.PathParam()),
86
102
  "api-version": Schema.String,
87
103
  }).pipe(
88
104
  T.Http({
@@ -96,10 +112,21 @@ export type GraphQueryGetInput = typeof GraphQueryGetInput.Type;
96
112
  export const GraphQueryGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
97
113
  id: Schema.optional(Schema.String),
98
114
  name: Schema.optional(Schema.String),
99
- location: Schema.optional(Schema.String),
100
115
  type: Schema.optional(Schema.String),
101
- etag: Schema.optional(Schema.String),
102
- tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
116
+ systemData: Schema.optional(
117
+ Schema.Struct({
118
+ createdBy: Schema.optional(Schema.String),
119
+ createdByType: Schema.optional(
120
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
121
+ ),
122
+ createdAt: Schema.optional(Schema.String),
123
+ lastModifiedBy: Schema.optional(Schema.String),
124
+ lastModifiedByType: Schema.optional(
125
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
126
+ ),
127
+ lastModifiedAt: Schema.optional(Schema.String),
128
+ }),
129
+ ),
103
130
  });
104
131
  export type GraphQueryGetOutput = typeof GraphQueryGetOutput.Type;
105
132
 
@@ -107,9 +134,10 @@ export type GraphQueryGetOutput = typeof GraphQueryGetOutput.Type;
107
134
  /**
108
135
  * Get a single graph query by its resourceName.
109
136
  *
137
+ * @param api-version - The API version to use for this operation.
110
138
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
111
139
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
112
- * @param api-version - The API version to use for this operation.
140
+ * @param resourceName - The name of the Graph Query resource.
113
141
  */
114
142
  export const GraphQueryGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
115
143
  inputSchema: GraphQueryGetInput,
@@ -130,19 +158,28 @@ export type GraphQueryListInput = typeof GraphQueryListInput.Type;
130
158
 
131
159
  // Output Schema
132
160
  export const GraphQueryListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
133
- nextLink: Schema.optional(Schema.String),
134
- value: Schema.optional(
135
- Schema.Array(
136
- Schema.Struct({
137
- id: Schema.optional(Schema.String),
138
- name: Schema.optional(Schema.String),
139
- location: Schema.optional(Schema.String),
140
- type: Schema.optional(Schema.String),
141
- etag: Schema.optional(Schema.String),
142
- tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
143
- }),
144
- ),
161
+ value: Schema.Array(
162
+ Schema.Struct({
163
+ id: Schema.optional(Schema.String),
164
+ name: Schema.optional(Schema.String),
165
+ type: Schema.optional(Schema.String),
166
+ systemData: Schema.optional(
167
+ Schema.Struct({
168
+ createdBy: Schema.optional(Schema.String),
169
+ createdByType: Schema.optional(
170
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
171
+ ),
172
+ createdAt: Schema.optional(Schema.String),
173
+ lastModifiedBy: Schema.optional(Schema.String),
174
+ lastModifiedByType: Schema.optional(
175
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
176
+ ),
177
+ lastModifiedAt: Schema.optional(Schema.String),
178
+ }),
179
+ ),
180
+ }),
145
181
  ),
182
+ nextLink: Schema.optional(Schema.String),
146
183
  });
147
184
  export type GraphQueryListOutput = typeof GraphQueryListOutput.Type;
148
185
 
@@ -150,9 +187,9 @@ export type GraphQueryListOutput = typeof GraphQueryListOutput.Type;
150
187
  /**
151
188
  * Get all graph queries defined within a specified subscription and resource group.
152
189
  *
190
+ * @param api-version - The API version to use for this operation.
153
191
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
154
192
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
155
- * @param api-version - The API version to use for this operation.
156
193
  */
157
194
  export const GraphQueryList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
158
195
  inputSchema: GraphQueryListInput,
@@ -175,19 +212,38 @@ export type GraphQueryListBySubscriptionInput =
175
212
  // Output Schema
176
213
  export const GraphQueryListBySubscriptionOutput =
177
214
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
178
- nextLink: Schema.optional(Schema.String),
179
- value: Schema.optional(
180
- Schema.Array(
181
- Schema.Struct({
182
- id: Schema.optional(Schema.String),
183
- name: Schema.optional(Schema.String),
184
- location: Schema.optional(Schema.String),
185
- type: Schema.optional(Schema.String),
186
- etag: Schema.optional(Schema.String),
187
- tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
188
- }),
189
- ),
215
+ value: Schema.Array(
216
+ Schema.Struct({
217
+ id: Schema.optional(Schema.String),
218
+ name: Schema.optional(Schema.String),
219
+ type: Schema.optional(Schema.String),
220
+ systemData: Schema.optional(
221
+ Schema.Struct({
222
+ createdBy: Schema.optional(Schema.String),
223
+ createdByType: Schema.optional(
224
+ Schema.Literals([
225
+ "User",
226
+ "Application",
227
+ "ManagedIdentity",
228
+ "Key",
229
+ ]),
230
+ ),
231
+ createdAt: Schema.optional(Schema.String),
232
+ lastModifiedBy: Schema.optional(Schema.String),
233
+ lastModifiedByType: Schema.optional(
234
+ Schema.Literals([
235
+ "User",
236
+ "Application",
237
+ "ManagedIdentity",
238
+ "Key",
239
+ ]),
240
+ ),
241
+ lastModifiedAt: Schema.optional(Schema.String),
242
+ }),
243
+ ),
244
+ }),
190
245
  ),
246
+ nextLink: Schema.optional(Schema.String),
191
247
  });
192
248
  export type GraphQueryListBySubscriptionOutput =
193
249
  typeof GraphQueryListBySubscriptionOutput.Type;
@@ -196,8 +252,8 @@ export type GraphQueryListBySubscriptionOutput =
196
252
  /**
197
253
  * Get all graph queries defined within a specified subscription.
198
254
  *
199
- * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
200
255
  * @param api-version - The API version to use for this operation.
256
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
201
257
  */
202
258
  export const GraphQueryListBySubscription =
203
259
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -208,6 +264,7 @@ export const GraphQueryListBySubscription =
208
264
  export const GraphQueryUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
209
265
  subscriptionId: Schema.String.pipe(T.PathParam()),
210
266
  resourceGroupName: Schema.String.pipe(T.PathParam()),
267
+ resourceName: Schema.String.pipe(T.PathParam()),
211
268
  "api-version": Schema.String,
212
269
  }).pipe(
213
270
  T.Http({
@@ -222,10 +279,21 @@ export const GraphQueryUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
222
279
  {
223
280
  id: Schema.optional(Schema.String),
224
281
  name: Schema.optional(Schema.String),
225
- location: Schema.optional(Schema.String),
226
282
  type: Schema.optional(Schema.String),
227
- etag: Schema.optional(Schema.String),
228
- tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
283
+ systemData: Schema.optional(
284
+ Schema.Struct({
285
+ createdBy: Schema.optional(Schema.String),
286
+ createdByType: Schema.optional(
287
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
288
+ ),
289
+ createdAt: Schema.optional(Schema.String),
290
+ lastModifiedBy: Schema.optional(Schema.String),
291
+ lastModifiedByType: Schema.optional(
292
+ Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
293
+ ),
294
+ lastModifiedAt: Schema.optional(Schema.String),
295
+ }),
296
+ ),
229
297
  },
230
298
  );
231
299
  export type GraphQueryUpdateOutput = typeof GraphQueryUpdateOutput.Type;
@@ -234,9 +302,10 @@ export type GraphQueryUpdateOutput = typeof GraphQueryUpdateOutput.Type;
234
302
  /**
235
303
  * Updates a graph query that has already been added.
236
304
  *
305
+ * @param api-version - The API version to use for this operation.
237
306
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
238
307
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
239
- * @param api-version - The API version to use for this operation.
308
+ * @param resourceName - The name of the Graph Query resource.
240
309
  */
241
310
  export const GraphQueryUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
242
311
  inputSchema: GraphQueryUpdateInput,
@@ -255,28 +324,27 @@ export type OperationsListInput = typeof OperationsListInput.Type;
255
324
 
256
325
  // Output Schema
257
326
  export const OperationsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
258
- value: Schema.optional(
259
- Schema.Array(
260
- Schema.Struct({
261
- name: Schema.optional(Schema.String),
262
- display: Schema.optional(
263
- Schema.Struct({
264
- provider: Schema.optional(Schema.String),
265
- resource: Schema.optional(Schema.String),
266
- operation: Schema.optional(Schema.String),
267
- description: Schema.optional(Schema.String),
268
- }),
269
- ),
270
- origin: Schema.optional(Schema.String),
271
- }),
272
- ),
327
+ value: Schema.Array(
328
+ Schema.Struct({
329
+ name: Schema.optional(Schema.String),
330
+ display: Schema.optional(
331
+ Schema.Struct({
332
+ provider: Schema.optional(Schema.String),
333
+ resource: Schema.optional(Schema.String),
334
+ operation: Schema.optional(Schema.String),
335
+ description: Schema.optional(Schema.String),
336
+ }),
337
+ ),
338
+ origin: Schema.optional(Schema.String),
339
+ }),
273
340
  ),
341
+ nextLink: Schema.optional(Schema.String),
274
342
  });
275
343
  export type OperationsListOutput = typeof OperationsListOutput.Type;
276
344
 
277
345
  // The operation
278
346
  /**
279
- * Lists all of the available REST API operations.
347
+ * List the operations for the provider
280
348
  *
281
349
  * @param api-version - The API version to use for this operation.
282
350
  */