@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
@@ -0,0 +1,287 @@
1
+ /**
2
+ * Azure Monitoringservice API
3
+ *
4
+ * Generated from the Azure REST API specs.
5
+ * DO NOT EDIT - regenerate with: bun run generate
6
+ */
7
+ import * as Schema from "effect/Schema";
8
+ import { API } from "../client.ts";
9
+ import * as T from "../traits.ts";
10
+
11
+ // Input Schema
12
+ export const AzureMonitorWorkspacesCreateInput =
13
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
14
+ subscriptionId: Schema.String.pipe(T.PathParam()),
15
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
16
+ "api-version": Schema.String,
17
+ }).pipe(
18
+ T.Http({
19
+ method: "PUT",
20
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Monitor/accounts/{azureMonitorWorkspaceName}",
21
+ }),
22
+ );
23
+ export type AzureMonitorWorkspacesCreateInput =
24
+ typeof AzureMonitorWorkspacesCreateInput.Type;
25
+
26
+ // Output Schema
27
+ export const AzureMonitorWorkspacesCreateOutput =
28
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
29
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
30
+ location: Schema.String,
31
+ });
32
+ export type AzureMonitorWorkspacesCreateOutput =
33
+ typeof AzureMonitorWorkspacesCreateOutput.Type;
34
+
35
+ // The operation
36
+ /**
37
+ * Creates or updates an Azure Monitor Workspace
38
+ *
39
+ * @param subscriptionId - The ID of the target subscription.
40
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
41
+ * @param api-version - The API version to use for this operation.
42
+ */
43
+ export const AzureMonitorWorkspacesCreate =
44
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
45
+ inputSchema: AzureMonitorWorkspacesCreateInput,
46
+ outputSchema: AzureMonitorWorkspacesCreateOutput,
47
+ }));
48
+ // Input Schema
49
+ export const AzureMonitorWorkspacesDeleteInput =
50
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
51
+ subscriptionId: Schema.String.pipe(T.PathParam()),
52
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
53
+ "api-version": Schema.String,
54
+ }).pipe(
55
+ T.Http({
56
+ method: "DELETE",
57
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Monitor/accounts/{azureMonitorWorkspaceName}",
58
+ }),
59
+ );
60
+ export type AzureMonitorWorkspacesDeleteInput =
61
+ typeof AzureMonitorWorkspacesDeleteInput.Type;
62
+
63
+ // Output Schema
64
+ export const AzureMonitorWorkspacesDeleteOutput =
65
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
66
+ export type AzureMonitorWorkspacesDeleteOutput =
67
+ typeof AzureMonitorWorkspacesDeleteOutput.Type;
68
+
69
+ // The operation
70
+ /**
71
+ * Deletes an Azure Monitor Workspace
72
+ *
73
+ * @param subscriptionId - The ID of the target subscription.
74
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
75
+ * @param api-version - The API version to use for this operation.
76
+ */
77
+ export const AzureMonitorWorkspacesDelete =
78
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
79
+ inputSchema: AzureMonitorWorkspacesDeleteInput,
80
+ outputSchema: AzureMonitorWorkspacesDeleteOutput,
81
+ }));
82
+ // Input Schema
83
+ export const AzureMonitorWorkspacesGetInput =
84
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
85
+ subscriptionId: Schema.String.pipe(T.PathParam()),
86
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
87
+ "api-version": Schema.String,
88
+ }).pipe(
89
+ T.Http({
90
+ method: "GET",
91
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Monitor/accounts/{azureMonitorWorkspaceName}",
92
+ }),
93
+ );
94
+ export type AzureMonitorWorkspacesGetInput =
95
+ typeof AzureMonitorWorkspacesGetInput.Type;
96
+
97
+ // Output Schema
98
+ export const AzureMonitorWorkspacesGetOutput =
99
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
100
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
101
+ location: Schema.String,
102
+ });
103
+ export type AzureMonitorWorkspacesGetOutput =
104
+ typeof AzureMonitorWorkspacesGetOutput.Type;
105
+
106
+ // The operation
107
+ /**
108
+ * Returns the specified Azure Monitor Workspace
109
+ *
110
+ * @param subscriptionId - The ID of the target subscription.
111
+ * @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.
113
+ */
114
+ export const AzureMonitorWorkspacesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(
115
+ () => ({
116
+ inputSchema: AzureMonitorWorkspacesGetInput,
117
+ outputSchema: AzureMonitorWorkspacesGetOutput,
118
+ }),
119
+ );
120
+ // Input Schema
121
+ export const AzureMonitorWorkspacesListByResourceGroupInput =
122
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
123
+ subscriptionId: Schema.String.pipe(T.PathParam()),
124
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
125
+ "api-version": Schema.String,
126
+ }).pipe(
127
+ T.Http({
128
+ method: "GET",
129
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Monitor/accounts",
130
+ }),
131
+ );
132
+ export type AzureMonitorWorkspacesListByResourceGroupInput =
133
+ typeof AzureMonitorWorkspacesListByResourceGroupInput.Type;
134
+
135
+ // Output Schema
136
+ export const AzureMonitorWorkspacesListByResourceGroupOutput =
137
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
138
+ value: Schema.Array(
139
+ Schema.Struct({
140
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
141
+ location: Schema.String,
142
+ }),
143
+ ),
144
+ nextLink: Schema.optional(Schema.String),
145
+ });
146
+ export type AzureMonitorWorkspacesListByResourceGroupOutput =
147
+ typeof AzureMonitorWorkspacesListByResourceGroupOutput.Type;
148
+
149
+ // The operation
150
+ /**
151
+ * Lists all Azure Monitor Workspaces in the specified resource group
152
+ *
153
+ * @param subscriptionId - The ID of the target subscription.
154
+ * @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
+ */
157
+ export const AzureMonitorWorkspacesListByResourceGroup =
158
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
159
+ inputSchema: AzureMonitorWorkspacesListByResourceGroupInput,
160
+ outputSchema: AzureMonitorWorkspacesListByResourceGroupOutput,
161
+ }));
162
+ // Input Schema
163
+ export const AzureMonitorWorkspacesListBySubscriptionInput =
164
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
165
+ subscriptionId: Schema.String.pipe(T.PathParam()),
166
+ "api-version": Schema.String,
167
+ }).pipe(
168
+ T.Http({
169
+ method: "GET",
170
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Monitor/accounts",
171
+ }),
172
+ );
173
+ export type AzureMonitorWorkspacesListBySubscriptionInput =
174
+ typeof AzureMonitorWorkspacesListBySubscriptionInput.Type;
175
+
176
+ // Output Schema
177
+ export const AzureMonitorWorkspacesListBySubscriptionOutput =
178
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
179
+ value: Schema.Array(
180
+ Schema.Struct({
181
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
182
+ location: Schema.String,
183
+ }),
184
+ ),
185
+ nextLink: Schema.optional(Schema.String),
186
+ });
187
+ export type AzureMonitorWorkspacesListBySubscriptionOutput =
188
+ typeof AzureMonitorWorkspacesListBySubscriptionOutput.Type;
189
+
190
+ // The operation
191
+ /**
192
+ * Lists all Azure Monitor Workspaces in the specified subscription
193
+ *
194
+ * @param subscriptionId - The ID of the target subscription.
195
+ * @param api-version - The API version to use for this operation.
196
+ */
197
+ export const AzureMonitorWorkspacesListBySubscription =
198
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
199
+ inputSchema: AzureMonitorWorkspacesListBySubscriptionInput,
200
+ outputSchema: AzureMonitorWorkspacesListBySubscriptionOutput,
201
+ }));
202
+ // Input Schema
203
+ export const AzureMonitorWorkspacesUpdateInput =
204
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
205
+ subscriptionId: Schema.String.pipe(T.PathParam()),
206
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
207
+ "api-version": Schema.String,
208
+ }).pipe(
209
+ T.Http({
210
+ method: "PATCH",
211
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Monitor/accounts/{azureMonitorWorkspaceName}",
212
+ }),
213
+ );
214
+ export type AzureMonitorWorkspacesUpdateInput =
215
+ typeof AzureMonitorWorkspacesUpdateInput.Type;
216
+
217
+ // Output Schema
218
+ export const AzureMonitorWorkspacesUpdateOutput =
219
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
220
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
221
+ location: Schema.String,
222
+ });
223
+ export type AzureMonitorWorkspacesUpdateOutput =
224
+ typeof AzureMonitorWorkspacesUpdateOutput.Type;
225
+
226
+ // The operation
227
+ /**
228
+ * Updates part of an Azure Monitor Workspace
229
+ *
230
+ * @param subscriptionId - The ID of the target subscription.
231
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
232
+ * @param api-version - The API version to use for this operation.
233
+ */
234
+ export const AzureMonitorWorkspacesUpdate =
235
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
236
+ inputSchema: AzureMonitorWorkspacesUpdateInput,
237
+ outputSchema: AzureMonitorWorkspacesUpdateOutput,
238
+ }));
239
+ // Input Schema
240
+ export const MonitorOperationsListInput =
241
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
242
+ "api-version": Schema.String,
243
+ }).pipe(
244
+ T.Http({ method: "GET", path: "/providers/Microsoft.Monitor/operations" }),
245
+ );
246
+ export type MonitorOperationsListInput = typeof MonitorOperationsListInput.Type;
247
+
248
+ // Output Schema
249
+ export const MonitorOperationsListOutput =
250
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
251
+ value: Schema.optional(
252
+ Schema.Array(
253
+ Schema.Struct({
254
+ name: Schema.optional(Schema.String),
255
+ isDataAction: Schema.optional(Schema.Boolean),
256
+ display: Schema.optional(
257
+ Schema.Struct({
258
+ provider: Schema.optional(Schema.String),
259
+ resource: Schema.optional(Schema.String),
260
+ operation: Schema.optional(Schema.String),
261
+ description: Schema.optional(Schema.String),
262
+ }),
263
+ ),
264
+ origin: Schema.optional(
265
+ Schema.Literals(["user", "system", "user,system"]),
266
+ ),
267
+ actionType: Schema.optional(Schema.Literals(["Internal"])),
268
+ }),
269
+ ),
270
+ ),
271
+ nextLink: Schema.optional(Schema.String),
272
+ });
273
+ export type MonitorOperationsListOutput =
274
+ typeof MonitorOperationsListOutput.Type;
275
+
276
+ // The operation
277
+ /**
278
+ * Lists available Operations for this Resource Provider
279
+ *
280
+ * @param api-version - The API version to use for this operation.
281
+ */
282
+ export const MonitorOperationsList = /*@__PURE__*/ /*#__PURE__*/ API.make(
283
+ () => ({
284
+ inputSchema: MonitorOperationsListInput,
285
+ outputSchema: MonitorOperationsListOutput,
286
+ }),
287
+ );