@distilled.cloud/azure 0.9.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 (140) hide show
  1. package/lib/services/app.d.ts +551 -0
  2. package/lib/services/app.d.ts.map +1 -1
  3. package/lib/services/app.js +788 -0
  4. package/lib/services/app.js.map +1 -1
  5. package/lib/services/applicationinsights.d.ts +56 -85
  6. package/lib/services/applicationinsights.d.ts.map +1 -1
  7. package/lib/services/applicationinsights.js +56 -120
  8. package/lib/services/applicationinsights.js.map +1 -1
  9. package/lib/services/authorization.d.ts +61 -243
  10. package/lib/services/authorization.d.ts.map +1 -1
  11. package/lib/services/authorization.js +61 -303
  12. package/lib/services/authorization.js.map +1 -1
  13. package/lib/services/automation.d.ts +764 -1010
  14. package/lib/services/automation.d.ts.map +1 -1
  15. package/lib/services/automation.js +764 -1070
  16. package/lib/services/automation.js.map +1 -1
  17. package/lib/services/azure-kusto.d.ts +440 -166
  18. package/lib/services/azure-kusto.d.ts.map +1 -1
  19. package/lib/services/azure-kusto.js +440 -166
  20. package/lib/services/azure-kusto.js.map +1 -1
  21. package/lib/services/batch.d.ts +1 -1
  22. package/lib/services/batch.js +1 -1
  23. package/lib/services/batch.js.map +1 -1
  24. package/lib/services/cognitiveservices.d.ts +2 -0
  25. package/lib/services/cognitiveservices.d.ts.map +1 -1
  26. package/lib/services/cognitiveservices.js +3 -1
  27. package/lib/services/cognitiveservices.js.map +1 -1
  28. package/lib/services/computelimit.d.ts +188 -0
  29. package/lib/services/computelimit.d.ts.map +1 -1
  30. package/lib/services/computelimit.js +236 -0
  31. package/lib/services/computelimit.js.map +1 -1
  32. package/lib/services/containerinstance.d.ts +210 -1291
  33. package/lib/services/containerinstance.d.ts.map +1 -1
  34. package/lib/services/containerinstance.js +250 -1355
  35. package/lib/services/containerinstance.js.map +1 -1
  36. package/lib/services/databricks.d.ts +111 -187
  37. package/lib/services/databricks.d.ts.map +1 -1
  38. package/lib/services/databricks.js +111 -220
  39. package/lib/services/databricks.js.map +1 -1
  40. package/lib/services/desktopvirtualization.d.ts +51 -575
  41. package/lib/services/desktopvirtualization.d.ts.map +1 -1
  42. package/lib/services/desktopvirtualization.js +56 -590
  43. package/lib/services/desktopvirtualization.js.map +1 -1
  44. package/lib/services/imagebuilder.d.ts +129 -15
  45. package/lib/services/imagebuilder.d.ts.map +1 -1
  46. package/lib/services/imagebuilder.js +129 -15
  47. package/lib/services/imagebuilder.js.map +1 -1
  48. package/lib/services/index.d.ts +2 -0
  49. package/lib/services/index.d.ts.map +1 -1
  50. package/lib/services/index.js +2 -0
  51. package/lib/services/index.js.map +1 -1
  52. package/lib/services/managednetworkfabric.d.ts +4283 -693
  53. package/lib/services/managednetworkfabric.d.ts.map +1 -1
  54. package/lib/services/managednetworkfabric.js +4833 -828
  55. package/lib/services/managednetworkfabric.js.map +1 -1
  56. package/lib/services/monitor.d.ts +81 -73
  57. package/lib/services/monitor.d.ts.map +1 -1
  58. package/lib/services/monitor.js +91 -88
  59. package/lib/services/monitor.js.map +1 -1
  60. package/lib/services/monitoringservice.d.ts +149 -0
  61. package/lib/services/monitoringservice.d.ts.map +1 -0
  62. package/lib/services/monitoringservice.js +216 -0
  63. package/lib/services/monitoringservice.js.map +1 -0
  64. package/lib/services/network.d.ts +4513 -3857
  65. package/lib/services/network.d.ts.map +1 -1
  66. package/lib/services/network.js +4544 -4056
  67. package/lib/services/network.js.map +1 -1
  68. package/lib/services/orbitalplanetarycomputer.d.ts +131 -0
  69. package/lib/services/orbitalplanetarycomputer.d.ts.map +1 -0
  70. package/lib/services/orbitalplanetarycomputer.js +183 -0
  71. package/lib/services/orbitalplanetarycomputer.js.map +1 -0
  72. package/lib/services/recoveryservicesbackup.d.ts +24 -312
  73. package/lib/services/recoveryservicesbackup.d.ts.map +1 -1
  74. package/lib/services/recoveryservicesbackup.js +24 -312
  75. package/lib/services/recoveryservicesbackup.js.map +1 -1
  76. package/lib/services/redhatopenshift.d.ts +9 -11
  77. package/lib/services/redhatopenshift.d.ts.map +1 -1
  78. package/lib/services/redhatopenshift.js +9 -11
  79. package/lib/services/redhatopenshift.js.map +1 -1
  80. package/lib/services/reservations.d.ts +159 -239
  81. package/lib/services/reservations.d.ts.map +1 -1
  82. package/lib/services/reservations.js +159 -369
  83. package/lib/services/reservations.js.map +1 -1
  84. package/lib/services/resourcegraph.d.ts +64 -30
  85. package/lib/services/resourcegraph.d.ts.map +1 -1
  86. package/lib/services/resourcegraph.js +74 -30
  87. package/lib/services/resourcegraph.js.map +1 -1
  88. package/lib/services/resources.d.ts +549 -3331
  89. package/lib/services/resources.d.ts.map +1 -1
  90. package/lib/services/resources.js +1029 -4846
  91. package/lib/services/resources.js.map +1 -1
  92. package/lib/services/search.d.ts +9 -2
  93. package/lib/services/search.d.ts.map +1 -1
  94. package/lib/services/search.js +9 -2
  95. package/lib/services/search.js.map +1 -1
  96. package/lib/services/sql.d.ts +4008 -2495
  97. package/lib/services/sql.d.ts.map +1 -1
  98. package/lib/services/sql.js +4208 -2521
  99. package/lib/services/sql.js.map +1 -1
  100. package/lib/services/storage.d.ts +4 -20
  101. package/lib/services/storage.d.ts.map +1 -1
  102. package/lib/services/storage.js +4 -20
  103. package/lib/services/storage.js.map +1 -1
  104. package/lib/services/storageactions.d.ts +18 -0
  105. package/lib/services/storageactions.d.ts.map +1 -1
  106. package/lib/services/storageactions.js +28 -0
  107. package/lib/services/storageactions.js.map +1 -1
  108. package/lib/services/storagecache.d.ts +288 -752
  109. package/lib/services/storagecache.d.ts.map +1 -1
  110. package/lib/services/storagecache.js +312 -930
  111. package/lib/services/storagecache.js.map +1 -1
  112. package/package.json +4 -4
  113. package/src/services/app.ts +1014 -0
  114. package/src/services/applicationinsights.ts +56 -169
  115. package/src/services/authorization.ts +65 -397
  116. package/src/services/automation.ts +1179 -1686
  117. package/src/services/azure-kusto.ts +494 -228
  118. package/src/services/batch.ts +1 -1
  119. package/src/services/cognitiveservices.ts +3 -1
  120. package/src/services/computelimit.ts +310 -0
  121. package/src/services/containerinstance.ts +1393 -3134
  122. package/src/services/databricks.ts +125 -294
  123. package/src/services/desktopvirtualization.ts +83 -859
  124. package/src/services/imagebuilder.ts +129 -21
  125. package/src/services/index.ts +2 -0
  126. package/src/services/managednetworkfabric.ts +7141 -1408
  127. package/src/services/monitor.ts +134 -136
  128. package/src/services/monitoringservice.ts +287 -0
  129. package/src/services/network.ts +5738 -6158
  130. package/src/services/orbitalplanetarycomputer.ts +233 -0
  131. package/src/services/recoveryservicesbackup.ts +26 -456
  132. package/src/services/redhatopenshift.ts +26 -34
  133. package/src/services/reservations.ts +209 -553
  134. package/src/services/resourcegraph.ts +123 -55
  135. package/src/services/resources.ts +1852 -8168
  136. package/src/services/search.ts +9 -2
  137. package/src/services/sql.ts +4552 -2757
  138. package/src/services/storage.ts +4 -22
  139. package/src/services/storageactions.ts +36 -0
  140. package/src/services/storagecache.ts +312 -1303
@@ -9,6 +9,983 @@ import { API } from "../client.ts";
9
9
  import * as T from "../traits.ts";
10
10
  import { SensitiveString } from "../sensitive.ts";
11
11
 
12
+ // Input Schema
13
+ export const AgentsConnectorsCreateOrUpdateInput =
14
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
15
+ subscriptionId: Schema.String.pipe(T.PathParam()),
16
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
17
+ agentName: Schema.String.pipe(T.PathParam()),
18
+ connectorName: Schema.String.pipe(T.PathParam()),
19
+ "api-version": Schema.String,
20
+ }).pipe(
21
+ T.Http({
22
+ method: "PUT",
23
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/agents/{agentName}/connectors/{connectorName}",
24
+ }),
25
+ );
26
+ export type AgentsConnectorsCreateOrUpdateInput =
27
+ typeof AgentsConnectorsCreateOrUpdateInput.Type;
28
+
29
+ // Output Schema
30
+ export const AgentsConnectorsCreateOrUpdateOutput =
31
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
32
+ export type AgentsConnectorsCreateOrUpdateOutput =
33
+ typeof AgentsConnectorsCreateOrUpdateOutput.Type;
34
+
35
+ // The operation
36
+ /**
37
+ * Creates or updates an Agent Connector
38
+ *
39
+ * @param api-version - The API version to use for this operation.
40
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
41
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
42
+ * @param agentName - The name of the Agent
43
+ * @param connectorName - The name of the AgentConnector
44
+ */
45
+ export const AgentsConnectorsCreateOrUpdate =
46
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
47
+ inputSchema: AgentsConnectorsCreateOrUpdateInput,
48
+ outputSchema: AgentsConnectorsCreateOrUpdateOutput,
49
+ }));
50
+ // Input Schema
51
+ export const AgentsConnectorsDeleteInput =
52
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
53
+ subscriptionId: Schema.String.pipe(T.PathParam()),
54
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
55
+ agentName: Schema.String.pipe(T.PathParam()),
56
+ connectorName: Schema.String.pipe(T.PathParam()),
57
+ "api-version": Schema.String,
58
+ }).pipe(
59
+ T.Http({
60
+ method: "DELETE",
61
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/agents/{agentName}/connectors/{connectorName}",
62
+ }),
63
+ );
64
+ export type AgentsConnectorsDeleteInput =
65
+ typeof AgentsConnectorsDeleteInput.Type;
66
+
67
+ // Output Schema
68
+ export const AgentsConnectorsDeleteOutput =
69
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
70
+ export type AgentsConnectorsDeleteOutput =
71
+ typeof AgentsConnectorsDeleteOutput.Type;
72
+
73
+ // The operation
74
+ /**
75
+ * Delete an Agent Connector
76
+ *
77
+ * @param api-version - The API version to use for this operation.
78
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
79
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
80
+ * @param agentName - The name of the Agent
81
+ * @param connectorName - The name of the AgentConnector
82
+ */
83
+ export const AgentsConnectorsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(
84
+ () => ({
85
+ inputSchema: AgentsConnectorsDeleteInput,
86
+ outputSchema: AgentsConnectorsDeleteOutput,
87
+ }),
88
+ );
89
+ // Input Schema
90
+ export const AgentsConnectorsGetInput =
91
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
92
+ subscriptionId: Schema.String.pipe(T.PathParam()),
93
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
94
+ agentName: Schema.String.pipe(T.PathParam()),
95
+ connectorName: Schema.String.pipe(T.PathParam()),
96
+ "api-version": Schema.String,
97
+ }).pipe(
98
+ T.Http({
99
+ method: "GET",
100
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/agents/{agentName}/connectors/{connectorName}",
101
+ }),
102
+ );
103
+ export type AgentsConnectorsGetInput = typeof AgentsConnectorsGetInput.Type;
104
+
105
+ // Output Schema
106
+ export const AgentsConnectorsGetOutput =
107
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
108
+ export type AgentsConnectorsGetOutput = typeof AgentsConnectorsGetOutput.Type;
109
+
110
+ // The operation
111
+ /**
112
+ * Get the properties of an Agent Connector
113
+ *
114
+ * @param api-version - The API version to use for this operation.
115
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
116
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
117
+ * @param agentName - The name of the Agent
118
+ * @param connectorName - The name of the AgentConnector
119
+ */
120
+ export const AgentsConnectorsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
121
+ inputSchema: AgentsConnectorsGetInput,
122
+ outputSchema: AgentsConnectorsGetOutput,
123
+ }));
124
+ // Input Schema
125
+ export const AgentsConnectorsListByAgentInput =
126
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
127
+ subscriptionId: Schema.String.pipe(T.PathParam()),
128
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
129
+ agentName: Schema.String.pipe(T.PathParam()),
130
+ "api-version": Schema.String,
131
+ }).pipe(
132
+ T.Http({
133
+ method: "GET",
134
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/agents/{agentName}/connectors",
135
+ }),
136
+ );
137
+ export type AgentsConnectorsListByAgentInput =
138
+ typeof AgentsConnectorsListByAgentInput.Type;
139
+
140
+ // Output Schema
141
+ export const AgentsConnectorsListByAgentOutput =
142
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
143
+ value: Schema.Array(Schema.Struct({})),
144
+ nextLink: Schema.optional(Schema.String),
145
+ });
146
+ export type AgentsConnectorsListByAgentOutput =
147
+ typeof AgentsConnectorsListByAgentOutput.Type;
148
+
149
+ // The operation
150
+ /**
151
+ * Get all the connectors for an Agent
152
+ *
153
+ * @param api-version - The API version to use for this operation.
154
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
155
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
156
+ * @param agentName - The name of the Agent
157
+ */
158
+ export const AgentsConnectorsListByAgent = /*@__PURE__*/ /*#__PURE__*/ API.make(
159
+ () => ({
160
+ inputSchema: AgentsConnectorsListByAgentInput,
161
+ outputSchema: AgentsConnectorsListByAgentOutput,
162
+ }),
163
+ );
164
+ // Input Schema
165
+ export const AgentsConnectorsListSecretsInput =
166
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
167
+ subscriptionId: Schema.String.pipe(T.PathParam()),
168
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
169
+ agentName: Schema.String.pipe(T.PathParam()),
170
+ connectorName: Schema.String.pipe(T.PathParam()),
171
+ "api-version": Schema.String,
172
+ }).pipe(
173
+ T.Http({
174
+ method: "POST",
175
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/agents/{agentName}/connectors/{connectorName}/listSecrets",
176
+ }),
177
+ );
178
+ export type AgentsConnectorsListSecretsInput =
179
+ typeof AgentsConnectorsListSecretsInput.Type;
180
+
181
+ // Output Schema
182
+ export const AgentsConnectorsListSecretsOutput =
183
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
184
+ export type AgentsConnectorsListSecretsOutput =
185
+ typeof AgentsConnectorsListSecretsOutput.Type;
186
+
187
+ // The operation
188
+ /**
189
+ * Get a Data Connector with secrets from an Agent
190
+ *
191
+ * @param api-version - The API version to use for this operation.
192
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
193
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
194
+ * @param agentName - The name of the Agent
195
+ * @param connectorName - The name of the AgentConnector
196
+ */
197
+ export const AgentsConnectorsListSecrets = /*@__PURE__*/ /*#__PURE__*/ API.make(
198
+ () => ({
199
+ inputSchema: AgentsConnectorsListSecretsInput,
200
+ outputSchema: AgentsConnectorsListSecretsOutput,
201
+ }),
202
+ );
203
+ // Input Schema
204
+ export const AgentsConnectorsListWithSecretsByAgentInput =
205
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
206
+ subscriptionId: Schema.String.pipe(T.PathParam()),
207
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
208
+ agentName: Schema.String.pipe(T.PathParam()),
209
+ "api-version": Schema.String,
210
+ }).pipe(
211
+ T.Http({
212
+ method: "POST",
213
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/agents/{agentName}/listConnectorsWithSecrets",
214
+ }),
215
+ );
216
+ export type AgentsConnectorsListWithSecretsByAgentInput =
217
+ typeof AgentsConnectorsListWithSecretsByAgentInput.Type;
218
+
219
+ // Output Schema
220
+ export const AgentsConnectorsListWithSecretsByAgentOutput =
221
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
222
+ value: Schema.Array(Schema.Struct({})),
223
+ nextLink: Schema.optional(Schema.String),
224
+ });
225
+ export type AgentsConnectorsListWithSecretsByAgentOutput =
226
+ typeof AgentsConnectorsListWithSecretsByAgentOutput.Type;
227
+
228
+ // The operation
229
+ /**
230
+ * List all Data Connectors with secrets from an Agent
231
+ *
232
+ * @param api-version - The API version to use for this operation.
233
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
234
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
235
+ * @param agentName - The name of the Agent
236
+ */
237
+ export const AgentsConnectorsListWithSecretsByAgent =
238
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
239
+ inputSchema: AgentsConnectorsListWithSecretsByAgentInput,
240
+ outputSchema: AgentsConnectorsListWithSecretsByAgentOutput,
241
+ }));
242
+ // Input Schema
243
+ export const AgentsCreateOrUpdateInput =
244
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
245
+ subscriptionId: Schema.String.pipe(T.PathParam()),
246
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
247
+ agentName: Schema.String.pipe(T.PathParam()),
248
+ "api-version": Schema.String,
249
+ }).pipe(
250
+ T.Http({
251
+ method: "PUT",
252
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/agents/{agentName}",
253
+ }),
254
+ );
255
+ export type AgentsCreateOrUpdateInput = typeof AgentsCreateOrUpdateInput.Type;
256
+
257
+ // Output Schema
258
+ export const AgentsCreateOrUpdateOutput =
259
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
260
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
261
+ location: Schema.String,
262
+ });
263
+ export type AgentsCreateOrUpdateOutput = typeof AgentsCreateOrUpdateOutput.Type;
264
+
265
+ // The operation
266
+ /**
267
+ * Creates or updates an Agent
268
+ *
269
+ * @param api-version - The API version to use for this operation.
270
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
271
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
272
+ * @param agentName - The name of the Agent
273
+ */
274
+ export const AgentsCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
275
+ () => ({
276
+ inputSchema: AgentsCreateOrUpdateInput,
277
+ outputSchema: AgentsCreateOrUpdateOutput,
278
+ }),
279
+ );
280
+ // Input Schema
281
+ export const AgentsDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
282
+ subscriptionId: Schema.String.pipe(T.PathParam()),
283
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
284
+ agentName: Schema.String.pipe(T.PathParam()),
285
+ "api-version": Schema.String,
286
+ }).pipe(
287
+ T.Http({
288
+ method: "DELETE",
289
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/agents/{agentName}",
290
+ }),
291
+ );
292
+ export type AgentsDeleteInput = typeof AgentsDeleteInput.Type;
293
+
294
+ // Output Schema
295
+ export const AgentsDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
296
+ export type AgentsDeleteOutput = typeof AgentsDeleteOutput.Type;
297
+
298
+ // The operation
299
+ /**
300
+ * Delete an Agent
301
+ *
302
+ * @param api-version - The API version to use for this operation.
303
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
304
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
305
+ * @param agentName - The name of the Agent
306
+ */
307
+ export const AgentsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
308
+ inputSchema: AgentsDeleteInput,
309
+ outputSchema: AgentsDeleteOutput,
310
+ }));
311
+ // Input Schema
312
+ export const AgentsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
313
+ subscriptionId: Schema.String.pipe(T.PathParam()),
314
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
315
+ agentName: Schema.String.pipe(T.PathParam()),
316
+ "api-version": Schema.String,
317
+ }).pipe(
318
+ T.Http({
319
+ method: "GET",
320
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/agents/{agentName}",
321
+ }),
322
+ );
323
+ export type AgentsGetInput = typeof AgentsGetInput.Type;
324
+
325
+ // Output Schema
326
+ export const AgentsGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
327
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
328
+ location: Schema.String,
329
+ });
330
+ export type AgentsGetOutput = typeof AgentsGetOutput.Type;
331
+
332
+ // The operation
333
+ /**
334
+ * Get the properties of an Agent
335
+ *
336
+ * @param api-version - The API version to use for this operation.
337
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
338
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
339
+ * @param agentName - The name of the Agent
340
+ */
341
+ export const AgentsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
342
+ inputSchema: AgentsGetInput,
343
+ outputSchema: AgentsGetOutput,
344
+ }));
345
+ // Input Schema
346
+ export const AgentsListByResourceGroupInput =
347
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
348
+ subscriptionId: Schema.String.pipe(T.PathParam()),
349
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
350
+ "api-version": Schema.String,
351
+ }).pipe(
352
+ T.Http({
353
+ method: "GET",
354
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/agents",
355
+ }),
356
+ );
357
+ export type AgentsListByResourceGroupInput =
358
+ typeof AgentsListByResourceGroupInput.Type;
359
+
360
+ // Output Schema
361
+ export const AgentsListByResourceGroupOutput =
362
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
363
+ value: Schema.Array(
364
+ Schema.Struct({
365
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
366
+ location: Schema.String,
367
+ }),
368
+ ),
369
+ nextLink: Schema.optional(Schema.String),
370
+ });
371
+ export type AgentsListByResourceGroupOutput =
372
+ typeof AgentsListByResourceGroupOutput.Type;
373
+
374
+ // The operation
375
+ /**
376
+ * Get all the agents in a resource group
377
+ *
378
+ * @param api-version - The API version to use for this operation.
379
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
380
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
381
+ */
382
+ export const AgentsListByResourceGroup = /*@__PURE__*/ /*#__PURE__*/ API.make(
383
+ () => ({
384
+ inputSchema: AgentsListByResourceGroupInput,
385
+ outputSchema: AgentsListByResourceGroupOutput,
386
+ }),
387
+ );
388
+ // Input Schema
389
+ export const AgentsListBySubscriptionInput =
390
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
391
+ subscriptionId: Schema.String.pipe(T.PathParam()),
392
+ "api-version": Schema.String,
393
+ }).pipe(
394
+ T.Http({
395
+ method: "GET",
396
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.App/agents",
397
+ }),
398
+ );
399
+ export type AgentsListBySubscriptionInput =
400
+ typeof AgentsListBySubscriptionInput.Type;
401
+
402
+ // Output Schema
403
+ export const AgentsListBySubscriptionOutput =
404
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
405
+ value: Schema.Array(
406
+ Schema.Struct({
407
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
408
+ location: Schema.String,
409
+ }),
410
+ ),
411
+ nextLink: Schema.optional(Schema.String),
412
+ });
413
+ export type AgentsListBySubscriptionOutput =
414
+ typeof AgentsListBySubscriptionOutput.Type;
415
+
416
+ // The operation
417
+ /**
418
+ * Get all agents for a subscription
419
+ *
420
+ * @param api-version - The API version to use for this operation.
421
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
422
+ */
423
+ export const AgentsListBySubscription = /*@__PURE__*/ /*#__PURE__*/ API.make(
424
+ () => ({
425
+ inputSchema: AgentsListBySubscriptionInput,
426
+ outputSchema: AgentsListBySubscriptionOutput,
427
+ }),
428
+ );
429
+ // Input Schema
430
+ export const AgentSpacesConnectorsCreateOrUpdateInput =
431
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
432
+ subscriptionId: Schema.String.pipe(T.PathParam()),
433
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
434
+ agentSpaceName: Schema.String.pipe(T.PathParam()),
435
+ connectorName: Schema.String.pipe(T.PathParam()),
436
+ "api-version": Schema.String,
437
+ }).pipe(
438
+ T.Http({
439
+ method: "PUT",
440
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/agentSpaces/{agentSpaceName}/connectors/{connectorName}",
441
+ }),
442
+ );
443
+ export type AgentSpacesConnectorsCreateOrUpdateInput =
444
+ typeof AgentSpacesConnectorsCreateOrUpdateInput.Type;
445
+
446
+ // Output Schema
447
+ export const AgentSpacesConnectorsCreateOrUpdateOutput =
448
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
449
+ export type AgentSpacesConnectorsCreateOrUpdateOutput =
450
+ typeof AgentSpacesConnectorsCreateOrUpdateOutput.Type;
451
+
452
+ // The operation
453
+ /**
454
+ * Creates or updates an Agent Space Connector
455
+ *
456
+ * @param api-version - The API version to use for this operation.
457
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
458
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
459
+ * @param agentSpaceName - The name of the AgentSpace
460
+ * @param connectorName - The name of the AgentSpaceConnector
461
+ */
462
+ export const AgentSpacesConnectorsCreateOrUpdate =
463
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
464
+ inputSchema: AgentSpacesConnectorsCreateOrUpdateInput,
465
+ outputSchema: AgentSpacesConnectorsCreateOrUpdateOutput,
466
+ }));
467
+ // Input Schema
468
+ export const AgentSpacesConnectorsDeleteInput =
469
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
470
+ subscriptionId: Schema.String.pipe(T.PathParam()),
471
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
472
+ agentSpaceName: Schema.String.pipe(T.PathParam()),
473
+ connectorName: Schema.String.pipe(T.PathParam()),
474
+ "api-version": Schema.String,
475
+ }).pipe(
476
+ T.Http({
477
+ method: "DELETE",
478
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/agentSpaces/{agentSpaceName}/connectors/{connectorName}",
479
+ }),
480
+ );
481
+ export type AgentSpacesConnectorsDeleteInput =
482
+ typeof AgentSpacesConnectorsDeleteInput.Type;
483
+
484
+ // Output Schema
485
+ export const AgentSpacesConnectorsDeleteOutput =
486
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
487
+ export type AgentSpacesConnectorsDeleteOutput =
488
+ typeof AgentSpacesConnectorsDeleteOutput.Type;
489
+
490
+ // The operation
491
+ /**
492
+ * Delete an Agent Space Connector
493
+ *
494
+ * @param api-version - The API version to use for this operation.
495
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
496
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
497
+ * @param agentSpaceName - The name of the AgentSpace
498
+ * @param connectorName - The name of the AgentSpaceConnector
499
+ */
500
+ export const AgentSpacesConnectorsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(
501
+ () => ({
502
+ inputSchema: AgentSpacesConnectorsDeleteInput,
503
+ outputSchema: AgentSpacesConnectorsDeleteOutput,
504
+ }),
505
+ );
506
+ // Input Schema
507
+ export const AgentSpacesConnectorsGetInput =
508
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
509
+ subscriptionId: Schema.String.pipe(T.PathParam()),
510
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
511
+ agentSpaceName: Schema.String.pipe(T.PathParam()),
512
+ connectorName: Schema.String.pipe(T.PathParam()),
513
+ "api-version": Schema.String,
514
+ }).pipe(
515
+ T.Http({
516
+ method: "GET",
517
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/agentSpaces/{agentSpaceName}/connectors/{connectorName}",
518
+ }),
519
+ );
520
+ export type AgentSpacesConnectorsGetInput =
521
+ typeof AgentSpacesConnectorsGetInput.Type;
522
+
523
+ // Output Schema
524
+ export const AgentSpacesConnectorsGetOutput =
525
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
526
+ export type AgentSpacesConnectorsGetOutput =
527
+ typeof AgentSpacesConnectorsGetOutput.Type;
528
+
529
+ // The operation
530
+ /**
531
+ * Get the properties of an Agent Space Connector
532
+ *
533
+ * @param api-version - The API version to use for this operation.
534
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
535
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
536
+ * @param agentSpaceName - The name of the AgentSpace
537
+ * @param connectorName - The name of the AgentSpaceConnector
538
+ */
539
+ export const AgentSpacesConnectorsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(
540
+ () => ({
541
+ inputSchema: AgentSpacesConnectorsGetInput,
542
+ outputSchema: AgentSpacesConnectorsGetOutput,
543
+ }),
544
+ );
545
+ // Input Schema
546
+ export const AgentSpacesConnectorsListAllSecretsInput =
547
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
548
+ subscriptionId: Schema.String.pipe(T.PathParam()),
549
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
550
+ agentSpaceName: Schema.String.pipe(T.PathParam()),
551
+ "api-version": Schema.String,
552
+ }).pipe(
553
+ T.Http({
554
+ method: "POST",
555
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/agentSpaces/{agentSpaceName}/listConnectorsWithSecrets",
556
+ }),
557
+ );
558
+ export type AgentSpacesConnectorsListAllSecretsInput =
559
+ typeof AgentSpacesConnectorsListAllSecretsInput.Type;
560
+
561
+ // Output Schema
562
+ export const AgentSpacesConnectorsListAllSecretsOutput =
563
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
564
+ value: Schema.Array(Schema.Struct({})),
565
+ nextLink: Schema.optional(Schema.String),
566
+ });
567
+ export type AgentSpacesConnectorsListAllSecretsOutput =
568
+ typeof AgentSpacesConnectorsListAllSecretsOutput.Type;
569
+
570
+ // The operation
571
+ /**
572
+ * List all secrets for AgentSpace Connectors
573
+ *
574
+ * @param api-version - The API version to use for this operation.
575
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
576
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
577
+ * @param agentSpaceName - The name of the AgentSpace
578
+ */
579
+ export const AgentSpacesConnectorsListAllSecrets =
580
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
581
+ inputSchema: AgentSpacesConnectorsListAllSecretsInput,
582
+ outputSchema: AgentSpacesConnectorsListAllSecretsOutput,
583
+ }));
584
+ // Input Schema
585
+ export const AgentSpacesConnectorsListByAgentSpaceInput =
586
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
587
+ subscriptionId: Schema.String.pipe(T.PathParam()),
588
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
589
+ agentSpaceName: Schema.String.pipe(T.PathParam()),
590
+ "api-version": Schema.String,
591
+ }).pipe(
592
+ T.Http({
593
+ method: "GET",
594
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/agentSpaces/{agentSpaceName}/connectors",
595
+ }),
596
+ );
597
+ export type AgentSpacesConnectorsListByAgentSpaceInput =
598
+ typeof AgentSpacesConnectorsListByAgentSpaceInput.Type;
599
+
600
+ // Output Schema
601
+ export const AgentSpacesConnectorsListByAgentSpaceOutput =
602
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
603
+ value: Schema.Array(Schema.Struct({})),
604
+ nextLink: Schema.optional(Schema.String),
605
+ });
606
+ export type AgentSpacesConnectorsListByAgentSpaceOutput =
607
+ typeof AgentSpacesConnectorsListByAgentSpaceOutput.Type;
608
+
609
+ // The operation
610
+ /**
611
+ * Get all the connectors for an Agent Space
612
+ *
613
+ * @param api-version - The API version to use for this operation.
614
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
615
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
616
+ * @param agentSpaceName - The name of the AgentSpace
617
+ */
618
+ export const AgentSpacesConnectorsListByAgentSpace =
619
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
620
+ inputSchema: AgentSpacesConnectorsListByAgentSpaceInput,
621
+ outputSchema: AgentSpacesConnectorsListByAgentSpaceOutput,
622
+ }));
623
+ // Input Schema
624
+ export const AgentSpacesConnectorsListSecretsInput =
625
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
626
+ subscriptionId: Schema.String.pipe(T.PathParam()),
627
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
628
+ agentSpaceName: Schema.String.pipe(T.PathParam()),
629
+ connectorName: Schema.String.pipe(T.PathParam()),
630
+ "api-version": Schema.String,
631
+ }).pipe(
632
+ T.Http({
633
+ method: "POST",
634
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/agentSpaces/{agentSpaceName}/connectors/{connectorName}/listSecrets",
635
+ }),
636
+ );
637
+ export type AgentSpacesConnectorsListSecretsInput =
638
+ typeof AgentSpacesConnectorsListSecretsInput.Type;
639
+
640
+ // Output Schema
641
+ export const AgentSpacesConnectorsListSecretsOutput =
642
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
643
+ export type AgentSpacesConnectorsListSecretsOutput =
644
+ typeof AgentSpacesConnectorsListSecretsOutput.Type;
645
+
646
+ // The operation
647
+ /**
648
+ * List secrets for an Agent Space Connector
649
+ *
650
+ * @param api-version - The API version to use for this operation.
651
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
652
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
653
+ * @param agentSpaceName - The name of the AgentSpace
654
+ * @param connectorName - The name of the AgentSpaceConnector
655
+ */
656
+ export const AgentSpacesConnectorsListSecrets =
657
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
658
+ inputSchema: AgentSpacesConnectorsListSecretsInput,
659
+ outputSchema: AgentSpacesConnectorsListSecretsOutput,
660
+ }));
661
+ // Input Schema
662
+ export const AgentSpacesCreateOrUpdateInput =
663
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
664
+ subscriptionId: Schema.String.pipe(T.PathParam()),
665
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
666
+ agentSpaceName: Schema.String.pipe(T.PathParam()),
667
+ "api-version": Schema.String,
668
+ }).pipe(
669
+ T.Http({
670
+ method: "PUT",
671
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/agentSpaces/{agentSpaceName}",
672
+ }),
673
+ );
674
+ export type AgentSpacesCreateOrUpdateInput =
675
+ typeof AgentSpacesCreateOrUpdateInput.Type;
676
+
677
+ // Output Schema
678
+ export const AgentSpacesCreateOrUpdateOutput =
679
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
680
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
681
+ location: Schema.String,
682
+ });
683
+ export type AgentSpacesCreateOrUpdateOutput =
684
+ typeof AgentSpacesCreateOrUpdateOutput.Type;
685
+
686
+ // The operation
687
+ /**
688
+ * Creates or updates an Agent Space
689
+ *
690
+ * @param api-version - The API version to use for this operation.
691
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
692
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
693
+ * @param agentSpaceName - The name of the AgentSpace
694
+ */
695
+ export const AgentSpacesCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
696
+ () => ({
697
+ inputSchema: AgentSpacesCreateOrUpdateInput,
698
+ outputSchema: AgentSpacesCreateOrUpdateOutput,
699
+ }),
700
+ );
701
+ // Input Schema
702
+ export const AgentSpacesDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
703
+ {
704
+ subscriptionId: Schema.String.pipe(T.PathParam()),
705
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
706
+ agentSpaceName: Schema.String.pipe(T.PathParam()),
707
+ "api-version": Schema.String,
708
+ },
709
+ ).pipe(
710
+ T.Http({
711
+ method: "DELETE",
712
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/agentSpaces/{agentSpaceName}",
713
+ }),
714
+ );
715
+ export type AgentSpacesDeleteInput = typeof AgentSpacesDeleteInput.Type;
716
+
717
+ // Output Schema
718
+ export const AgentSpacesDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
719
+ export type AgentSpacesDeleteOutput = typeof AgentSpacesDeleteOutput.Type;
720
+
721
+ // The operation
722
+ /**
723
+ * Delete an Agent Space
724
+ *
725
+ * @param api-version - The API version to use for this operation.
726
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
727
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
728
+ * @param agentSpaceName - The name of the AgentSpace
729
+ */
730
+ export const AgentSpacesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
731
+ inputSchema: AgentSpacesDeleteInput,
732
+ outputSchema: AgentSpacesDeleteOutput,
733
+ }));
734
+ // Input Schema
735
+ export const AgentSpacesGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
736
+ subscriptionId: Schema.String.pipe(T.PathParam()),
737
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
738
+ agentSpaceName: Schema.String.pipe(T.PathParam()),
739
+ "api-version": Schema.String,
740
+ }).pipe(
741
+ T.Http({
742
+ method: "GET",
743
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/agentSpaces/{agentSpaceName}",
744
+ }),
745
+ );
746
+ export type AgentSpacesGetInput = typeof AgentSpacesGetInput.Type;
747
+
748
+ // Output Schema
749
+ export const AgentSpacesGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
750
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
751
+ location: Schema.String,
752
+ });
753
+ export type AgentSpacesGetOutput = typeof AgentSpacesGetOutput.Type;
754
+
755
+ // The operation
756
+ /**
757
+ * Get the properties of an Agent Space
758
+ *
759
+ * @param api-version - The API version to use for this operation.
760
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
761
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
762
+ * @param agentSpaceName - The name of the AgentSpace
763
+ */
764
+ export const AgentSpacesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
765
+ inputSchema: AgentSpacesGetInput,
766
+ outputSchema: AgentSpacesGetOutput,
767
+ }));
768
+ // Input Schema
769
+ export const AgentSpacesListByResourceGroupInput =
770
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
771
+ subscriptionId: Schema.String.pipe(T.PathParam()),
772
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
773
+ "api-version": Schema.String,
774
+ }).pipe(
775
+ T.Http({
776
+ method: "GET",
777
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/agentSpaces",
778
+ }),
779
+ );
780
+ export type AgentSpacesListByResourceGroupInput =
781
+ typeof AgentSpacesListByResourceGroupInput.Type;
782
+
783
+ // Output Schema
784
+ export const AgentSpacesListByResourceGroupOutput =
785
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
786
+ value: Schema.Array(
787
+ Schema.Struct({
788
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
789
+ location: Schema.String,
790
+ }),
791
+ ),
792
+ nextLink: Schema.optional(Schema.String),
793
+ });
794
+ export type AgentSpacesListByResourceGroupOutput =
795
+ typeof AgentSpacesListByResourceGroupOutput.Type;
796
+
797
+ // The operation
798
+ /**
799
+ * Get all the agent spaces in a resource group
800
+ *
801
+ * @param api-version - The API version to use for this operation.
802
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
803
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
804
+ */
805
+ export const AgentSpacesListByResourceGroup =
806
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
807
+ inputSchema: AgentSpacesListByResourceGroupInput,
808
+ outputSchema: AgentSpacesListByResourceGroupOutput,
809
+ }));
810
+ // Input Schema
811
+ export const AgentSpacesListBySubscriptionInput =
812
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
813
+ subscriptionId: Schema.String.pipe(T.PathParam()),
814
+ "api-version": Schema.String,
815
+ }).pipe(
816
+ T.Http({
817
+ method: "GET",
818
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.App/agentSpaces",
819
+ }),
820
+ );
821
+ export type AgentSpacesListBySubscriptionInput =
822
+ typeof AgentSpacesListBySubscriptionInput.Type;
823
+
824
+ // Output Schema
825
+ export const AgentSpacesListBySubscriptionOutput =
826
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
827
+ value: Schema.Array(
828
+ Schema.Struct({
829
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
830
+ location: Schema.String,
831
+ }),
832
+ ),
833
+ nextLink: Schema.optional(Schema.String),
834
+ });
835
+ export type AgentSpacesListBySubscriptionOutput =
836
+ typeof AgentSpacesListBySubscriptionOutput.Type;
837
+
838
+ // The operation
839
+ /**
840
+ * Get all agent spaces for a subscription
841
+ *
842
+ * @param api-version - The API version to use for this operation.
843
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
844
+ */
845
+ export const AgentSpacesListBySubscription =
846
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
847
+ inputSchema: AgentSpacesListBySubscriptionInput,
848
+ outputSchema: AgentSpacesListBySubscriptionOutput,
849
+ }));
850
+ // Input Schema
851
+ export const AgentSpacesUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
852
+ {
853
+ subscriptionId: Schema.String.pipe(T.PathParam()),
854
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
855
+ agentSpaceName: Schema.String.pipe(T.PathParam()),
856
+ "api-version": Schema.String,
857
+ },
858
+ ).pipe(
859
+ T.Http({
860
+ method: "PATCH",
861
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/agentSpaces/{agentSpaceName}",
862
+ }),
863
+ );
864
+ export type AgentSpacesUpdateInput = typeof AgentSpacesUpdateInput.Type;
865
+
866
+ // Output Schema
867
+ export const AgentSpacesUpdateOutput =
868
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
869
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
870
+ location: Schema.String,
871
+ });
872
+ export type AgentSpacesUpdateOutput = typeof AgentSpacesUpdateOutput.Type;
873
+
874
+ // The operation
875
+ /**
876
+ * Update Agent Space's properties
877
+ *
878
+ * @param api-version - The API version to use for this operation.
879
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
880
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
881
+ * @param agentSpaceName - The name of the AgentSpace
882
+ */
883
+ export const AgentSpacesUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
884
+ inputSchema: AgentSpacesUpdateInput,
885
+ outputSchema: AgentSpacesUpdateOutput,
886
+ }));
887
+ // Input Schema
888
+ export const AgentsStartInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
889
+ subscriptionId: Schema.String.pipe(T.PathParam()),
890
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
891
+ agentName: Schema.String.pipe(T.PathParam()),
892
+ "api-version": Schema.String,
893
+ }).pipe(
894
+ T.Http({
895
+ method: "POST",
896
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/agents/{agentName}/start",
897
+ }),
898
+ );
899
+ export type AgentsStartInput = typeof AgentsStartInput.Type;
900
+
901
+ // Output Schema
902
+ export const AgentsStartOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
903
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
904
+ location: Schema.String,
905
+ });
906
+ export type AgentsStartOutput = typeof AgentsStartOutput.Type;
907
+
908
+ // The operation
909
+ /**
910
+ * Start an Agent
911
+ *
912
+ * @param api-version - The API version to use for this operation.
913
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
914
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
915
+ * @param agentName - The name of the Agent
916
+ */
917
+ export const AgentsStart = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
918
+ inputSchema: AgentsStartInput,
919
+ outputSchema: AgentsStartOutput,
920
+ }));
921
+ // Input Schema
922
+ export const AgentsStopInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
923
+ subscriptionId: Schema.String.pipe(T.PathParam()),
924
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
925
+ agentName: Schema.String.pipe(T.PathParam()),
926
+ "api-version": Schema.String,
927
+ }).pipe(
928
+ T.Http({
929
+ method: "POST",
930
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/agents/{agentName}/stop",
931
+ }),
932
+ );
933
+ export type AgentsStopInput = typeof AgentsStopInput.Type;
934
+
935
+ // Output Schema
936
+ export const AgentsStopOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
937
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
938
+ location: Schema.String,
939
+ });
940
+ export type AgentsStopOutput = typeof AgentsStopOutput.Type;
941
+
942
+ // The operation
943
+ /**
944
+ * Stop an Agent
945
+ *
946
+ * @param api-version - The API version to use for this operation.
947
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
948
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
949
+ * @param agentName - The name of the Agent
950
+ */
951
+ export const AgentsStop = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
952
+ inputSchema: AgentsStopInput,
953
+ outputSchema: AgentsStopOutput,
954
+ }));
955
+ // Input Schema
956
+ export const AgentsUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
957
+ subscriptionId: Schema.String.pipe(T.PathParam()),
958
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
959
+ agentName: Schema.String.pipe(T.PathParam()),
960
+ "api-version": Schema.String,
961
+ }).pipe(
962
+ T.Http({
963
+ method: "PATCH",
964
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/agents/{agentName}",
965
+ }),
966
+ );
967
+ export type AgentsUpdateInput = typeof AgentsUpdateInput.Type;
968
+
969
+ // Output Schema
970
+ export const AgentsUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
971
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
972
+ location: Schema.String,
973
+ });
974
+ export type AgentsUpdateOutput = typeof AgentsUpdateOutput.Type;
975
+
976
+ // The operation
977
+ /**
978
+ * Update Agent's properties
979
+ *
980
+ * @param api-version - The API version to use for this operation.
981
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
982
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
983
+ * @param agentName - The name of the Agent
984
+ */
985
+ export const AgentsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
986
+ inputSchema: AgentsUpdateInput,
987
+ outputSchema: AgentsUpdateOutput,
988
+ }));
12
989
  // Input Schema
13
990
  export const AvailableWorkloadProfilesGetInput =
14
991
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
@@ -5761,6 +6738,43 @@ export const OperationsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
5761
6738
  outputSchema: OperationsListOutput,
5762
6739
  }));
5763
6740
  // Input Schema
6741
+ export const SupportedAgentModelsListByLocationInput =
6742
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
6743
+ subscriptionId: Schema.String.pipe(T.PathParam()),
6744
+ location: Schema.String.pipe(T.PathParam()),
6745
+ "api-version": Schema.String,
6746
+ }).pipe(
6747
+ T.Http({
6748
+ method: "GET",
6749
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.App/locations/{location}/supportedAgentModels",
6750
+ }),
6751
+ );
6752
+ export type SupportedAgentModelsListByLocationInput =
6753
+ typeof SupportedAgentModelsListByLocationInput.Type;
6754
+
6755
+ // Output Schema
6756
+ export const SupportedAgentModelsListByLocationOutput =
6757
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
6758
+ value: Schema.Array(Schema.Struct({})),
6759
+ nextLink: Schema.optional(Schema.String),
6760
+ });
6761
+ export type SupportedAgentModelsListByLocationOutput =
6762
+ typeof SupportedAgentModelsListByLocationOutput.Type;
6763
+
6764
+ // The operation
6765
+ /**
6766
+ * List SupportedAgentModel resources by SubscriptionLocationResource
6767
+ *
6768
+ * @param api-version - The API version to use for this operation.
6769
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
6770
+ * @param location - The name of the Azure region.
6771
+ */
6772
+ export const SupportedAgentModelsListByLocation =
6773
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
6774
+ inputSchema: SupportedAgentModelsListByLocationInput,
6775
+ outputSchema: SupportedAgentModelsListByLocationOutput,
6776
+ }));
6777
+ // Input Schema
5764
6778
  export const UsagesListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
5765
6779
  location: Schema.String.pipe(T.PathParam()),
5766
6780
  subscriptionId: Schema.String.pipe(T.PathParam()),