@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.
- package/lib/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +2 -2
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts +24 -24
- package/lib/retry.d.ts +2 -2
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +2 -2
- package/lib/retry.js.map +1 -1
- package/lib/services/app.d.ts +551 -0
- package/lib/services/app.d.ts.map +1 -1
- package/lib/services/app.js +788 -0
- package/lib/services/app.js.map +1 -1
- package/lib/services/applicationinsights.d.ts +56 -85
- package/lib/services/applicationinsights.d.ts.map +1 -1
- package/lib/services/applicationinsights.js +56 -120
- package/lib/services/applicationinsights.js.map +1 -1
- package/lib/services/authorization.d.ts +61 -243
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +61 -303
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +764 -1010
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +764 -1070
- package/lib/services/automation.js.map +1 -1
- package/lib/services/azure-kusto.d.ts +440 -166
- package/lib/services/azure-kusto.d.ts.map +1 -1
- package/lib/services/azure-kusto.js +440 -166
- package/lib/services/azure-kusto.js.map +1 -1
- package/lib/services/batch.d.ts +1 -1
- package/lib/services/batch.js +1 -1
- package/lib/services/batch.js.map +1 -1
- package/lib/services/cognitiveservices.d.ts +2 -0
- package/lib/services/cognitiveservices.d.ts.map +1 -1
- package/lib/services/cognitiveservices.js +3 -1
- package/lib/services/cognitiveservices.js.map +1 -1
- package/lib/services/computelimit.d.ts +188 -0
- package/lib/services/computelimit.d.ts.map +1 -1
- package/lib/services/computelimit.js +236 -0
- package/lib/services/computelimit.js.map +1 -1
- package/lib/services/containerinstance.d.ts +210 -1291
- package/lib/services/containerinstance.d.ts.map +1 -1
- package/lib/services/containerinstance.js +250 -1355
- package/lib/services/containerinstance.js.map +1 -1
- package/lib/services/databricks.d.ts +111 -187
- package/lib/services/databricks.d.ts.map +1 -1
- package/lib/services/databricks.js +111 -220
- package/lib/services/databricks.js.map +1 -1
- package/lib/services/desktopvirtualization.d.ts +51 -575
- package/lib/services/desktopvirtualization.d.ts.map +1 -1
- package/lib/services/desktopvirtualization.js +56 -590
- package/lib/services/desktopvirtualization.js.map +1 -1
- package/lib/services/imagebuilder.d.ts +129 -15
- package/lib/services/imagebuilder.d.ts.map +1 -1
- package/lib/services/imagebuilder.js +129 -15
- package/lib/services/imagebuilder.js.map +1 -1
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +2 -0
- package/lib/services/index.js.map +1 -1
- package/lib/services/managednetworkfabric.d.ts +4283 -693
- package/lib/services/managednetworkfabric.d.ts.map +1 -1
- package/lib/services/managednetworkfabric.js +4833 -828
- package/lib/services/managednetworkfabric.js.map +1 -1
- package/lib/services/monitor.d.ts +81 -73
- package/lib/services/monitor.d.ts.map +1 -1
- package/lib/services/monitor.js +91 -88
- package/lib/services/monitor.js.map +1 -1
- package/lib/services/monitoringservice.d.ts +149 -0
- package/lib/services/monitoringservice.d.ts.map +1 -0
- package/lib/services/monitoringservice.js +216 -0
- package/lib/services/monitoringservice.js.map +1 -0
- package/lib/services/network.d.ts +4513 -3857
- package/lib/services/network.d.ts.map +1 -1
- package/lib/services/network.js +4544 -4056
- package/lib/services/network.js.map +1 -1
- package/lib/services/orbitalplanetarycomputer.d.ts +131 -0
- package/lib/services/orbitalplanetarycomputer.d.ts.map +1 -0
- package/lib/services/orbitalplanetarycomputer.js +183 -0
- package/lib/services/orbitalplanetarycomputer.js.map +1 -0
- package/lib/services/recoveryservicesbackup.d.ts +24 -312
- package/lib/services/recoveryservicesbackup.d.ts.map +1 -1
- package/lib/services/recoveryservicesbackup.js +24 -312
- package/lib/services/recoveryservicesbackup.js.map +1 -1
- package/lib/services/redhatopenshift.d.ts +9 -11
- package/lib/services/redhatopenshift.d.ts.map +1 -1
- package/lib/services/redhatopenshift.js +9 -11
- package/lib/services/redhatopenshift.js.map +1 -1
- package/lib/services/reservations.d.ts +159 -239
- package/lib/services/reservations.d.ts.map +1 -1
- package/lib/services/reservations.js +159 -369
- package/lib/services/reservations.js.map +1 -1
- package/lib/services/resourcegraph.d.ts +64 -30
- package/lib/services/resourcegraph.d.ts.map +1 -1
- package/lib/services/resourcegraph.js +74 -30
- package/lib/services/resourcegraph.js.map +1 -1
- package/lib/services/resources.d.ts +549 -3331
- package/lib/services/resources.d.ts.map +1 -1
- package/lib/services/resources.js +1029 -4846
- package/lib/services/resources.js.map +1 -1
- package/lib/services/search.d.ts +9 -2
- package/lib/services/search.d.ts.map +1 -1
- package/lib/services/search.js +9 -2
- package/lib/services/search.js.map +1 -1
- package/lib/services/sql.d.ts +4008 -2495
- package/lib/services/sql.d.ts.map +1 -1
- package/lib/services/sql.js +4208 -2521
- package/lib/services/sql.js.map +1 -1
- package/lib/services/storage.d.ts +4 -20
- package/lib/services/storage.d.ts.map +1 -1
- package/lib/services/storage.js +4 -20
- package/lib/services/storage.js.map +1 -1
- package/lib/services/storageactions.d.ts +18 -0
- package/lib/services/storageactions.d.ts.map +1 -1
- package/lib/services/storageactions.js +28 -0
- package/lib/services/storageactions.js.map +1 -1
- package/lib/services/storagecache.d.ts +288 -752
- package/lib/services/storagecache.d.ts.map +1 -1
- package/lib/services/storagecache.js +312 -930
- package/lib/services/storagecache.js.map +1 -1
- package/package.json +4 -4
- package/src/credentials.ts +2 -2
- package/src/retry.ts +2 -2
- package/src/services/app.ts +1014 -0
- package/src/services/applicationinsights.ts +56 -169
- package/src/services/authorization.ts +65 -397
- package/src/services/automation.ts +1179 -1686
- package/src/services/azure-kusto.ts +494 -228
- package/src/services/batch.ts +1 -1
- package/src/services/cognitiveservices.ts +3 -1
- package/src/services/computelimit.ts +310 -0
- package/src/services/containerinstance.ts +1393 -3134
- package/src/services/databricks.ts +125 -294
- package/src/services/desktopvirtualization.ts +83 -859
- package/src/services/imagebuilder.ts +129 -21
- package/src/services/index.ts +2 -0
- package/src/services/managednetworkfabric.ts +7141 -1408
- package/src/services/monitor.ts +134 -136
- package/src/services/monitoringservice.ts +287 -0
- package/src/services/network.ts +5738 -6158
- package/src/services/orbitalplanetarycomputer.ts +233 -0
- package/src/services/recoveryservicesbackup.ts +26 -456
- package/src/services/redhatopenshift.ts +26 -34
- package/src/services/reservations.ts +209 -553
- package/src/services/resourcegraph.ts +123 -55
- package/src/services/resources.ts +1852 -8168
- package/src/services/search.ts +9 -2
- package/src/services/sql.ts +4552 -2757
- package/src/services/storage.ts +4 -22
- package/src/services/storageactions.ts +36 -0
- package/src/services/storagecache.ts +312 -1303
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
import * as Schema from "effect/Schema";
|
|
8
8
|
import { API } from "../client.js";
|
|
9
9
|
import * as T from "../traits.js";
|
|
10
|
-
import { SensitiveString } from "../sensitive.js";
|
|
11
10
|
// Input Schema
|
|
12
11
|
export const AmlFilesystemsArchiveInput =
|
|
13
12
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
15
13
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
14
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
15
|
+
amlFilesystemName: Schema.String.pipe(T.PathParam()),
|
|
16
16
|
"api-version": Schema.String,
|
|
17
17
|
}).pipe(T.Http({
|
|
18
18
|
method: "POST",
|
|
@@ -25,9 +25,10 @@ export const AmlFilesystemsArchiveOutput =
|
|
|
25
25
|
/**
|
|
26
26
|
* Archive data from the AML file system.
|
|
27
27
|
*
|
|
28
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
29
28
|
* @param api-version - The API version to use for this operation.
|
|
30
29
|
* @param subscriptionId - The ID of the target subscription.
|
|
30
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
31
|
+
* @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
31
32
|
*/
|
|
32
33
|
export const amlFilesystemsArchive = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
33
34
|
inputSchema: AmlFilesystemsArchiveInput,
|
|
@@ -36,8 +37,9 @@ export const amlFilesystemsArchive = /*@__PURE__*/ /*#__PURE__*/ API.make(() =>
|
|
|
36
37
|
// Input Schema
|
|
37
38
|
export const AmlFilesystemsCancelArchiveInput =
|
|
38
39
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
39
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
40
40
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
41
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
42
|
+
amlFilesystemName: Schema.String.pipe(T.PathParam()),
|
|
41
43
|
"api-version": Schema.String,
|
|
42
44
|
}).pipe(T.Http({
|
|
43
45
|
method: "POST",
|
|
@@ -50,9 +52,10 @@ export const AmlFilesystemsCancelArchiveOutput =
|
|
|
50
52
|
/**
|
|
51
53
|
* Cancel archiving data from the AML file system.
|
|
52
54
|
*
|
|
53
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
54
55
|
* @param api-version - The API version to use for this operation.
|
|
55
56
|
* @param subscriptionId - The ID of the target subscription.
|
|
57
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
58
|
+
* @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
56
59
|
*/
|
|
57
60
|
export const amlFilesystemsCancelArchive = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
58
61
|
inputSchema: AmlFilesystemsCancelArchiveInput,
|
|
@@ -61,8 +64,9 @@ export const amlFilesystemsCancelArchive = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
|
61
64
|
// Input Schema
|
|
62
65
|
export const AmlFilesystemsCreateOrUpdateInput =
|
|
63
66
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
64
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
65
67
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
68
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
69
|
+
amlFilesystemName: Schema.String.pipe(T.PathParam()),
|
|
66
70
|
"api-version": Schema.String,
|
|
67
71
|
}).pipe(T.Http({
|
|
68
72
|
method: "PUT",
|
|
@@ -78,9 +82,10 @@ export const AmlFilesystemsCreateOrUpdateOutput =
|
|
|
78
82
|
/**
|
|
79
83
|
* Create or update an AML file system.
|
|
80
84
|
*
|
|
81
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
82
85
|
* @param api-version - The API version to use for this operation.
|
|
83
86
|
* @param subscriptionId - The ID of the target subscription.
|
|
87
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
88
|
+
* @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
84
89
|
*/
|
|
85
90
|
export const amlFilesystemsCreateOrUpdate =
|
|
86
91
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -90,8 +95,9 @@ export const amlFilesystemsCreateOrUpdate =
|
|
|
90
95
|
// Input Schema
|
|
91
96
|
export const AmlFilesystemsDeleteInput =
|
|
92
97
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
93
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
94
98
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
99
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
100
|
+
amlFilesystemName: Schema.String.pipe(T.PathParam()),
|
|
95
101
|
"api-version": Schema.String,
|
|
96
102
|
}).pipe(T.Http({
|
|
97
103
|
method: "DELETE",
|
|
@@ -104,9 +110,10 @@ export const AmlFilesystemsDeleteOutput =
|
|
|
104
110
|
/**
|
|
105
111
|
* Schedules an AML file system for deletion.
|
|
106
112
|
*
|
|
107
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
108
113
|
* @param api-version - The API version to use for this operation.
|
|
109
114
|
* @param subscriptionId - The ID of the target subscription.
|
|
115
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
116
|
+
* @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
110
117
|
*/
|
|
111
118
|
export const amlFilesystemsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
112
119
|
inputSchema: AmlFilesystemsDeleteInput,
|
|
@@ -114,8 +121,9 @@ export const amlFilesystemsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => (
|
|
|
114
121
|
}));
|
|
115
122
|
// Input Schema
|
|
116
123
|
export const AmlFilesystemsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
117
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
118
124
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
125
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
126
|
+
amlFilesystemName: Schema.String.pipe(T.PathParam()),
|
|
119
127
|
"api-version": Schema.String,
|
|
120
128
|
}).pipe(T.Http({
|
|
121
129
|
method: "GET",
|
|
@@ -131,9 +139,10 @@ export const AmlFilesystemsGetOutput =
|
|
|
131
139
|
/**
|
|
132
140
|
* Returns an AML file system.
|
|
133
141
|
*
|
|
134
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
135
142
|
* @param api-version - The API version to use for this operation.
|
|
136
143
|
* @param subscriptionId - The ID of the target subscription.
|
|
144
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
145
|
+
* @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
137
146
|
*/
|
|
138
147
|
export const amlFilesystemsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
139
148
|
inputSchema: AmlFilesystemsGetInput,
|
|
@@ -151,11 +160,11 @@ export const AmlFilesystemsListInput =
|
|
|
151
160
|
// Output Schema
|
|
152
161
|
export const AmlFilesystemsListOutput =
|
|
153
162
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
154
|
-
nextLink: Schema.optional(Schema.String),
|
|
155
163
|
value: Schema.optional(Schema.Array(Schema.Struct({
|
|
156
164
|
tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
157
165
|
location: Schema.String,
|
|
158
166
|
}))),
|
|
167
|
+
nextLink: Schema.optional(Schema.String),
|
|
159
168
|
});
|
|
160
169
|
// The operation
|
|
161
170
|
/**
|
|
@@ -171,8 +180,8 @@ export const amlFilesystemsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
171
180
|
// Input Schema
|
|
172
181
|
export const AmlFilesystemsListByResourceGroupInput =
|
|
173
182
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
174
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
175
183
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
184
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
176
185
|
"api-version": Schema.String,
|
|
177
186
|
}).pipe(T.Http({
|
|
178
187
|
method: "GET",
|
|
@@ -181,19 +190,19 @@ export const AmlFilesystemsListByResourceGroupInput =
|
|
|
181
190
|
// Output Schema
|
|
182
191
|
export const AmlFilesystemsListByResourceGroupOutput =
|
|
183
192
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
184
|
-
nextLink: Schema.optional(Schema.String),
|
|
185
193
|
value: Schema.optional(Schema.Array(Schema.Struct({
|
|
186
194
|
tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
187
195
|
location: Schema.String,
|
|
188
196
|
}))),
|
|
197
|
+
nextLink: Schema.optional(Schema.String),
|
|
189
198
|
});
|
|
190
199
|
// The operation
|
|
191
200
|
/**
|
|
192
201
|
* Returns all AML file systems the user has access to under a resource group.
|
|
193
202
|
*
|
|
194
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
195
203
|
* @param api-version - The API version to use for this operation.
|
|
196
204
|
* @param subscriptionId - The ID of the target subscription.
|
|
205
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
197
206
|
*/
|
|
198
207
|
export const amlFilesystemsListByResourceGroup =
|
|
199
208
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -203,8 +212,9 @@ export const amlFilesystemsListByResourceGroup =
|
|
|
203
212
|
// Input Schema
|
|
204
213
|
export const AmlFilesystemsUpdateInput =
|
|
205
214
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
206
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
207
215
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
216
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
217
|
+
amlFilesystemName: Schema.String.pipe(T.PathParam()),
|
|
208
218
|
"api-version": Schema.String,
|
|
209
219
|
}).pipe(T.Http({
|
|
210
220
|
method: "PATCH",
|
|
@@ -220,9 +230,10 @@ export const AmlFilesystemsUpdateOutput =
|
|
|
220
230
|
/**
|
|
221
231
|
* Update an AML file system instance.
|
|
222
232
|
*
|
|
223
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
224
233
|
* @param api-version - The API version to use for this operation.
|
|
225
234
|
* @param subscriptionId - The ID of the target subscription.
|
|
235
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
236
|
+
* @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
226
237
|
*/
|
|
227
238
|
export const amlFilesystemsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
228
239
|
inputSchema: AmlFilesystemsUpdateInput,
|
|
@@ -277,7 +288,6 @@ export const AscUsagesListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
277
288
|
}));
|
|
278
289
|
// Output Schema
|
|
279
290
|
export const AscUsagesListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
280
|
-
nextLink: Schema.optional(Schema.String),
|
|
281
291
|
value: Schema.optional(Schema.Array(Schema.Struct({
|
|
282
292
|
limit: Schema.optional(Schema.Number),
|
|
283
293
|
unit: Schema.optional(Schema.String),
|
|
@@ -287,6 +297,7 @@ export const AscUsagesListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
287
297
|
localizedValue: Schema.optional(Schema.String),
|
|
288
298
|
})),
|
|
289
299
|
}))),
|
|
300
|
+
nextLink: Schema.optional(Schema.String),
|
|
290
301
|
});
|
|
291
302
|
// The operation
|
|
292
303
|
/**
|
|
@@ -294,7 +305,7 @@ export const AscUsagesListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
294
305
|
*
|
|
295
306
|
* @param api-version - The API version to use for this operation.
|
|
296
307
|
* @param subscriptionId - The ID of the target subscription.
|
|
297
|
-
* @param location - The name of
|
|
308
|
+
* @param location - The name of Azure region.
|
|
298
309
|
*/
|
|
299
310
|
export const AscUsagesList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
300
311
|
inputSchema: AscUsagesListInput,
|
|
@@ -303,8 +314,10 @@ export const AscUsagesList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
303
314
|
// Input Schema
|
|
304
315
|
export const AutoExportJobsCreateOrUpdateInput =
|
|
305
316
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
306
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
307
317
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
318
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
319
|
+
amlFilesystemName: Schema.String.pipe(T.PathParam()),
|
|
320
|
+
autoExportJobName: Schema.String.pipe(T.PathParam()),
|
|
308
321
|
"api-version": Schema.String,
|
|
309
322
|
}).pipe(T.Http({
|
|
310
323
|
method: "PUT",
|
|
@@ -320,9 +333,11 @@ export const AutoExportJobsCreateOrUpdateOutput =
|
|
|
320
333
|
/**
|
|
321
334
|
* Create or update an auto export job.
|
|
322
335
|
*
|
|
323
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
324
336
|
* @param api-version - The API version to use for this operation.
|
|
325
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
337
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
338
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
339
|
+
* @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
340
|
+
* @param autoExportJobName - Name for the auto export job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
326
341
|
*/
|
|
327
342
|
export const autoExportJobsCreateOrUpdate =
|
|
328
343
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -332,8 +347,10 @@ export const autoExportJobsCreateOrUpdate =
|
|
|
332
347
|
// Input Schema
|
|
333
348
|
export const AutoExportJobsDeleteInput =
|
|
334
349
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
335
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
336
350
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
351
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
352
|
+
amlFilesystemName: Schema.String.pipe(T.PathParam()),
|
|
353
|
+
autoExportJobName: Schema.String.pipe(T.PathParam()),
|
|
337
354
|
"api-version": Schema.String,
|
|
338
355
|
}).pipe(T.Http({
|
|
339
356
|
method: "DELETE",
|
|
@@ -346,9 +363,11 @@ export const AutoExportJobsDeleteOutput =
|
|
|
346
363
|
/**
|
|
347
364
|
* Schedules an auto export job for deletion.
|
|
348
365
|
*
|
|
349
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
350
366
|
* @param api-version - The API version to use for this operation.
|
|
351
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
367
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
368
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
369
|
+
* @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
370
|
+
* @param autoExportJobName - Name for the auto export job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
352
371
|
*/
|
|
353
372
|
export const autoExportJobsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
354
373
|
inputSchema: AutoExportJobsDeleteInput,
|
|
@@ -356,8 +375,10 @@ export const autoExportJobsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => (
|
|
|
356
375
|
}));
|
|
357
376
|
// Input Schema
|
|
358
377
|
export const AutoExportJobsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
359
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
360
378
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
379
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
380
|
+
amlFilesystemName: Schema.String.pipe(T.PathParam()),
|
|
381
|
+
autoExportJobName: Schema.String.pipe(T.PathParam()),
|
|
361
382
|
"api-version": Schema.String,
|
|
362
383
|
}).pipe(T.Http({
|
|
363
384
|
method: "GET",
|
|
@@ -373,9 +394,11 @@ export const AutoExportJobsGetOutput =
|
|
|
373
394
|
/**
|
|
374
395
|
* Returns an auto export job.
|
|
375
396
|
*
|
|
376
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
377
397
|
* @param api-version - The API version to use for this operation.
|
|
378
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
398
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
399
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
400
|
+
* @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
401
|
+
* @param autoExportJobName - Name for the auto export job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
379
402
|
*/
|
|
380
403
|
export const autoExportJobsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
381
404
|
inputSchema: AutoExportJobsGetInput,
|
|
@@ -384,8 +407,9 @@ export const autoExportJobsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
384
407
|
// Input Schema
|
|
385
408
|
export const AutoExportJobsListByAmlFilesystemInput =
|
|
386
409
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
387
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
388
410
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
411
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
412
|
+
amlFilesystemName: Schema.String.pipe(T.PathParam()),
|
|
389
413
|
"api-version": Schema.String,
|
|
390
414
|
}).pipe(T.Http({
|
|
391
415
|
method: "GET",
|
|
@@ -394,19 +418,20 @@ export const AutoExportJobsListByAmlFilesystemInput =
|
|
|
394
418
|
// Output Schema
|
|
395
419
|
export const AutoExportJobsListByAmlFilesystemOutput =
|
|
396
420
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
397
|
-
nextLink: Schema.optional(Schema.String),
|
|
398
421
|
value: Schema.optional(Schema.Array(Schema.Struct({
|
|
399
422
|
tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
400
423
|
location: Schema.String,
|
|
401
424
|
}))),
|
|
425
|
+
nextLink: Schema.optional(Schema.String),
|
|
402
426
|
});
|
|
403
427
|
// The operation
|
|
404
428
|
/**
|
|
405
429
|
* Returns all the auto export jobs the user has access to under an AML File System.
|
|
406
430
|
*
|
|
407
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
408
431
|
* @param api-version - The API version to use for this operation.
|
|
409
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
432
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
433
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
434
|
+
* @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
410
435
|
*/
|
|
411
436
|
export const autoExportJobsListByAmlFilesystem =
|
|
412
437
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -416,8 +441,10 @@ export const autoExportJobsListByAmlFilesystem =
|
|
|
416
441
|
// Input Schema
|
|
417
442
|
export const AutoExportJobsUpdateInput =
|
|
418
443
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
419
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
420
444
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
445
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
446
|
+
amlFilesystemName: Schema.String.pipe(T.PathParam()),
|
|
447
|
+
autoExportJobName: Schema.String.pipe(T.PathParam()),
|
|
421
448
|
"api-version": Schema.String,
|
|
422
449
|
}).pipe(T.Http({
|
|
423
450
|
method: "PATCH",
|
|
@@ -433,9 +460,11 @@ export const AutoExportJobsUpdateOutput =
|
|
|
433
460
|
/**
|
|
434
461
|
* Update an auto export job instance.
|
|
435
462
|
*
|
|
436
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
437
463
|
* @param api-version - The API version to use for this operation.
|
|
438
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
464
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
465
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
466
|
+
* @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
467
|
+
* @param autoExportJobName - Name for the auto export job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
439
468
|
*/
|
|
440
469
|
export const autoExportJobsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
441
470
|
inputSchema: AutoExportJobsUpdateInput,
|
|
@@ -444,8 +473,10 @@ export const autoExportJobsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => (
|
|
|
444
473
|
// Input Schema
|
|
445
474
|
export const AutoImportJobsCreateOrUpdateInput =
|
|
446
475
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
447
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
448
476
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
477
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
478
|
+
amlFilesystemName: Schema.String.pipe(T.PathParam()),
|
|
479
|
+
autoImportJobName: Schema.String.pipe(T.PathParam()),
|
|
449
480
|
"api-version": Schema.String,
|
|
450
481
|
}).pipe(T.Http({
|
|
451
482
|
method: "PUT",
|
|
@@ -461,9 +492,11 @@ export const AutoImportJobsCreateOrUpdateOutput =
|
|
|
461
492
|
/**
|
|
462
493
|
* Create or update an auto import job.
|
|
463
494
|
*
|
|
464
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
465
495
|
* @param api-version - The API version to use for this operation.
|
|
466
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
496
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
497
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
498
|
+
* @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
499
|
+
* @param autoImportJobName - Name for the auto import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
467
500
|
*/
|
|
468
501
|
export const autoImportJobsCreateOrUpdate =
|
|
469
502
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -473,8 +506,10 @@ export const autoImportJobsCreateOrUpdate =
|
|
|
473
506
|
// Input Schema
|
|
474
507
|
export const AutoImportJobsDeleteInput =
|
|
475
508
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
476
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
477
509
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
510
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
511
|
+
amlFilesystemName: Schema.String.pipe(T.PathParam()),
|
|
512
|
+
autoImportJobName: Schema.String.pipe(T.PathParam()),
|
|
478
513
|
"api-version": Schema.String,
|
|
479
514
|
}).pipe(T.Http({
|
|
480
515
|
method: "DELETE",
|
|
@@ -487,9 +522,11 @@ export const AutoImportJobsDeleteOutput =
|
|
|
487
522
|
/**
|
|
488
523
|
* Schedules an auto import job for deletion.
|
|
489
524
|
*
|
|
490
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
491
525
|
* @param api-version - The API version to use for this operation.
|
|
492
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
526
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
527
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
528
|
+
* @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
529
|
+
* @param autoImportJobName - Name for the auto import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
493
530
|
*/
|
|
494
531
|
export const autoImportJobsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
495
532
|
inputSchema: AutoImportJobsDeleteInput,
|
|
@@ -497,8 +534,10 @@ export const autoImportJobsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => (
|
|
|
497
534
|
}));
|
|
498
535
|
// Input Schema
|
|
499
536
|
export const AutoImportJobsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
500
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
501
537
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
538
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
539
|
+
amlFilesystemName: Schema.String.pipe(T.PathParam()),
|
|
540
|
+
autoImportJobName: Schema.String.pipe(T.PathParam()),
|
|
502
541
|
"api-version": Schema.String,
|
|
503
542
|
}).pipe(T.Http({
|
|
504
543
|
method: "GET",
|
|
@@ -514,9 +553,11 @@ export const AutoImportJobsGetOutput =
|
|
|
514
553
|
/**
|
|
515
554
|
* Returns an auto import job.
|
|
516
555
|
*
|
|
517
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
518
556
|
* @param api-version - The API version to use for this operation.
|
|
519
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
557
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
558
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
559
|
+
* @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
560
|
+
* @param autoImportJobName - Name for the auto import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
520
561
|
*/
|
|
521
562
|
export const autoImportJobsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
522
563
|
inputSchema: AutoImportJobsGetInput,
|
|
@@ -525,8 +566,9 @@ export const autoImportJobsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
525
566
|
// Input Schema
|
|
526
567
|
export const AutoImportJobsListByAmlFilesystemInput =
|
|
527
568
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
528
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
529
569
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
570
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
571
|
+
amlFilesystemName: Schema.String.pipe(T.PathParam()),
|
|
530
572
|
"api-version": Schema.String,
|
|
531
573
|
}).pipe(T.Http({
|
|
532
574
|
method: "GET",
|
|
@@ -545,9 +587,10 @@ export const AutoImportJobsListByAmlFilesystemOutput =
|
|
|
545
587
|
/**
|
|
546
588
|
* Returns all the auto import jobs the user has access to under an AML File System.
|
|
547
589
|
*
|
|
548
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
549
590
|
* @param api-version - The API version to use for this operation.
|
|
550
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
591
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
592
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
593
|
+
* @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
551
594
|
*/
|
|
552
595
|
export const autoImportJobsListByAmlFilesystem =
|
|
553
596
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -557,8 +600,10 @@ export const autoImportJobsListByAmlFilesystem =
|
|
|
557
600
|
// Input Schema
|
|
558
601
|
export const AutoImportJobsUpdateInput =
|
|
559
602
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
560
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
561
603
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
604
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
605
|
+
amlFilesystemName: Schema.String.pipe(T.PathParam()),
|
|
606
|
+
autoImportJobName: Schema.String.pipe(T.PathParam()),
|
|
562
607
|
"api-version": Schema.String,
|
|
563
608
|
}).pipe(T.Http({
|
|
564
609
|
method: "PATCH",
|
|
@@ -574,9 +619,11 @@ export const AutoImportJobsUpdateOutput =
|
|
|
574
619
|
/**
|
|
575
620
|
* Update an auto import job instance.
|
|
576
621
|
*
|
|
577
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
578
622
|
* @param api-version - The API version to use for this operation.
|
|
579
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
623
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
624
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
625
|
+
* @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
626
|
+
* @param autoImportJobName - Name for the auto import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
580
627
|
*/
|
|
581
628
|
export const autoImportJobsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
582
629
|
inputSchema: AutoImportJobsUpdateInput,
|
|
@@ -585,35 +632,20 @@ export const autoImportJobsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => (
|
|
|
585
632
|
// Input Schema
|
|
586
633
|
export const CachesCreateOrUpdateInput =
|
|
587
634
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
588
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
589
635
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
636
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
637
|
+
cacheName: Schema.String.pipe(T.PathParam()),
|
|
590
638
|
"api-version": Schema.String,
|
|
591
639
|
}).pipe(T.Http({
|
|
592
640
|
method: "PUT",
|
|
593
|
-
path: "/subscriptions/{subscriptionId}/
|
|
641
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}",
|
|
594
642
|
}));
|
|
595
643
|
// Output Schema
|
|
596
644
|
export const CachesCreateOrUpdateOutput =
|
|
597
645
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
598
|
-
tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
599
646
|
id: Schema.optional(Schema.String),
|
|
600
|
-
location: Schema.optional(Schema.String),
|
|
601
647
|
name: Schema.optional(Schema.String),
|
|
602
648
|
type: Schema.optional(Schema.String),
|
|
603
|
-
identity: Schema.optional(Schema.Struct({
|
|
604
|
-
principalId: Schema.optional(Schema.String),
|
|
605
|
-
tenantId: Schema.optional(Schema.String),
|
|
606
|
-
type: Schema.optional(Schema.Literals([
|
|
607
|
-
"SystemAssigned",
|
|
608
|
-
"UserAssigned",
|
|
609
|
-
"SystemAssigned, UserAssigned",
|
|
610
|
-
"None",
|
|
611
|
-
])),
|
|
612
|
-
userAssignedIdentities: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
613
|
-
principalId: Schema.optional(Schema.String),
|
|
614
|
-
clientId: Schema.optional(Schema.String),
|
|
615
|
-
}))),
|
|
616
|
-
})),
|
|
617
649
|
systemData: Schema.optional(Schema.Struct({
|
|
618
650
|
createdBy: Schema.optional(Schema.String),
|
|
619
651
|
createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
@@ -622,138 +654,15 @@ export const CachesCreateOrUpdateOutput =
|
|
|
622
654
|
lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
623
655
|
lastModifiedAt: Schema.optional(Schema.String),
|
|
624
656
|
})),
|
|
625
|
-
properties: Schema.optional(Schema.Struct({
|
|
626
|
-
cacheSizeGB: Schema.optional(Schema.Number),
|
|
627
|
-
health: Schema.optional(Schema.Struct({
|
|
628
|
-
state: Schema.optional(Schema.Literals([
|
|
629
|
-
"Unknown",
|
|
630
|
-
"Healthy",
|
|
631
|
-
"Degraded",
|
|
632
|
-
"Down",
|
|
633
|
-
"Transitioning",
|
|
634
|
-
"Stopping",
|
|
635
|
-
"Stopped",
|
|
636
|
-
"Upgrading",
|
|
637
|
-
"Flushing",
|
|
638
|
-
"WaitingForKey",
|
|
639
|
-
"StartFailed",
|
|
640
|
-
"UpgradeFailed",
|
|
641
|
-
])),
|
|
642
|
-
statusDescription: Schema.optional(Schema.String),
|
|
643
|
-
conditions: Schema.optional(Schema.Array(Schema.Struct({
|
|
644
|
-
timestamp: Schema.optional(Schema.String),
|
|
645
|
-
message: Schema.optional(Schema.String),
|
|
646
|
-
}))),
|
|
647
|
-
})),
|
|
648
|
-
mountAddresses: Schema.optional(Schema.Array(Schema.String)),
|
|
649
|
-
provisioningState: Schema.optional(Schema.Literals([
|
|
650
|
-
"Succeeded",
|
|
651
|
-
"Failed",
|
|
652
|
-
"Canceled",
|
|
653
|
-
"Creating",
|
|
654
|
-
"Deleting",
|
|
655
|
-
"Updating",
|
|
656
|
-
])),
|
|
657
|
-
subnet: Schema.optional(Schema.String),
|
|
658
|
-
upgradeStatus: Schema.optional(Schema.Struct({
|
|
659
|
-
currentFirmwareVersion: Schema.optional(Schema.String),
|
|
660
|
-
firmwareUpdateStatus: Schema.optional(Schema.Literals(["available", "unavailable"])),
|
|
661
|
-
firmwareUpdateDeadline: Schema.optional(Schema.String),
|
|
662
|
-
lastFirmwareUpdate: Schema.optional(Schema.String),
|
|
663
|
-
pendingFirmwareVersion: Schema.optional(Schema.String),
|
|
664
|
-
})),
|
|
665
|
-
upgradeSettings: Schema.optional(Schema.Struct({
|
|
666
|
-
upgradeScheduleEnabled: Schema.optional(Schema.Boolean),
|
|
667
|
-
scheduledTime: Schema.optional(Schema.String),
|
|
668
|
-
})),
|
|
669
|
-
networkSettings: Schema.optional(Schema.Struct({
|
|
670
|
-
mtu: Schema.optional(Schema.Number),
|
|
671
|
-
utilityAddresses: Schema.optional(Schema.Array(Schema.String)),
|
|
672
|
-
dnsServers: Schema.optional(Schema.Array(Schema.String)),
|
|
673
|
-
dnsSearchDomain: Schema.optional(Schema.String),
|
|
674
|
-
ntpServer: Schema.optional(Schema.String),
|
|
675
|
-
})),
|
|
676
|
-
encryptionSettings: Schema.optional(Schema.Struct({
|
|
677
|
-
keyEncryptionKey: Schema.optional(Schema.Struct({
|
|
678
|
-
keyUrl: Schema.String,
|
|
679
|
-
sourceVault: Schema.Struct({
|
|
680
|
-
id: Schema.optional(Schema.String),
|
|
681
|
-
}),
|
|
682
|
-
})),
|
|
683
|
-
rotationToLatestKeyVersionEnabled: Schema.optional(Schema.Boolean),
|
|
684
|
-
})),
|
|
685
|
-
securitySettings: Schema.optional(Schema.Struct({
|
|
686
|
-
accessPolicies: Schema.optional(Schema.Array(Schema.Struct({
|
|
687
|
-
name: Schema.String,
|
|
688
|
-
accessRules: Schema.Array(Schema.Struct({
|
|
689
|
-
scope: Schema.Literals(["default", "network", "host"]),
|
|
690
|
-
filter: Schema.optional(Schema.String),
|
|
691
|
-
access: Schema.Literals(["no", "ro", "rw"]),
|
|
692
|
-
suid: Schema.optional(Schema.Boolean),
|
|
693
|
-
submountAccess: Schema.optional(Schema.Boolean),
|
|
694
|
-
rootSquash: Schema.optional(Schema.Boolean),
|
|
695
|
-
anonymousUID: Schema.optional(Schema.String),
|
|
696
|
-
anonymousGID: Schema.optional(Schema.String),
|
|
697
|
-
})),
|
|
698
|
-
}))),
|
|
699
|
-
})),
|
|
700
|
-
directoryServicesSettings: Schema.optional(Schema.Struct({
|
|
701
|
-
activeDirectory: Schema.optional(Schema.Struct({
|
|
702
|
-
primaryDnsIpAddress: Schema.String,
|
|
703
|
-
secondaryDnsIpAddress: Schema.optional(Schema.String),
|
|
704
|
-
domainName: Schema.String,
|
|
705
|
-
domainNetBiosName: Schema.String,
|
|
706
|
-
cacheNetBiosName: Schema.String,
|
|
707
|
-
domainJoined: Schema.optional(Schema.Literals(["Yes", "No", "Error"])),
|
|
708
|
-
credentials: Schema.optional(Schema.Struct({
|
|
709
|
-
username: Schema.String,
|
|
710
|
-
password: Schema.optional(SensitiveString),
|
|
711
|
-
})),
|
|
712
|
-
})),
|
|
713
|
-
usernameDownload: Schema.optional(Schema.Struct({
|
|
714
|
-
extendedGroups: Schema.optional(Schema.Boolean),
|
|
715
|
-
usernameSource: Schema.optional(Schema.Literals(["AD", "LDAP", "File", "None"])),
|
|
716
|
-
groupFileURI: Schema.optional(Schema.String),
|
|
717
|
-
userFileURI: Schema.optional(Schema.String),
|
|
718
|
-
ldapServer: Schema.optional(Schema.String),
|
|
719
|
-
ldapBaseDN: Schema.optional(Schema.String),
|
|
720
|
-
encryptLdapConnection: Schema.optional(Schema.Boolean),
|
|
721
|
-
requireValidCertificate: Schema.optional(Schema.Boolean),
|
|
722
|
-
autoDownloadCertificate: Schema.optional(Schema.Boolean),
|
|
723
|
-
caCertificateURI: Schema.optional(Schema.String),
|
|
724
|
-
usernameDownloaded: Schema.optional(Schema.Literals(["Yes", "No", "Error"])),
|
|
725
|
-
credentials: Schema.optional(Schema.Struct({
|
|
726
|
-
bindDn: Schema.optional(Schema.String),
|
|
727
|
-
bindPassword: Schema.optional(SensitiveString),
|
|
728
|
-
})),
|
|
729
|
-
})),
|
|
730
|
-
})),
|
|
731
|
-
zones: Schema.optional(Schema.Array(Schema.String)),
|
|
732
|
-
primingJobs: Schema.optional(Schema.Array(Schema.Struct({
|
|
733
|
-
primingJobName: Schema.String,
|
|
734
|
-
primingManifestUrl: Schema.String,
|
|
735
|
-
primingJobId: Schema.optional(Schema.String),
|
|
736
|
-
primingJobState: Schema.optional(Schema.Literals(["Queued", "Running", "Paused", "Complete"])),
|
|
737
|
-
primingJobStatus: Schema.optional(Schema.String),
|
|
738
|
-
primingJobDetails: Schema.optional(Schema.String),
|
|
739
|
-
primingJobPercentComplete: Schema.optional(Schema.Number),
|
|
740
|
-
}))),
|
|
741
|
-
spaceAllocation: Schema.optional(Schema.Array(Schema.Struct({
|
|
742
|
-
name: Schema.optional(Schema.String),
|
|
743
|
-
allocationPercentage: Schema.optional(Schema.Number),
|
|
744
|
-
}))),
|
|
745
|
-
})),
|
|
746
|
-
sku: Schema.optional(Schema.Struct({
|
|
747
|
-
name: Schema.optional(Schema.String),
|
|
748
|
-
})),
|
|
749
657
|
});
|
|
750
658
|
// The operation
|
|
751
659
|
/**
|
|
752
660
|
* Create or update a cache.
|
|
753
661
|
*
|
|
754
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
755
662
|
* @param api-version - The API version to use for this operation.
|
|
756
663
|
* @param subscriptionId - The ID of the target subscription.
|
|
664
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
665
|
+
* @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
|
|
757
666
|
*/
|
|
758
667
|
export const CachesCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
759
668
|
inputSchema: CachesCreateOrUpdateInput,
|
|
@@ -761,12 +670,13 @@ export const CachesCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => (
|
|
|
761
670
|
}));
|
|
762
671
|
// Input Schema
|
|
763
672
|
export const CachesDebugInfoInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
764
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
765
673
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
674
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
675
|
+
cacheName: Schema.String.pipe(T.PathParam()),
|
|
766
676
|
"api-version": Schema.String,
|
|
767
677
|
}).pipe(T.Http({
|
|
768
678
|
method: "POST",
|
|
769
|
-
path: "/subscriptions/{subscriptionId}/
|
|
679
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/debugInfo",
|
|
770
680
|
}));
|
|
771
681
|
// Output Schema
|
|
772
682
|
export const CachesDebugInfoOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
@@ -774,9 +684,10 @@ export const CachesDebugInfoOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
|
774
684
|
/**
|
|
775
685
|
* Tells a cache to write generate debug info for support to process.
|
|
776
686
|
*
|
|
777
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
778
687
|
* @param api-version - The API version to use for this operation.
|
|
779
688
|
* @param subscriptionId - The ID of the target subscription.
|
|
689
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
690
|
+
* @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
|
|
780
691
|
*/
|
|
781
692
|
export const CachesDebugInfo = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
782
693
|
inputSchema: CachesDebugInfoInput,
|
|
@@ -784,12 +695,13 @@ export const CachesDebugInfo = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
784
695
|
}));
|
|
785
696
|
// Input Schema
|
|
786
697
|
export const CachesDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
787
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
788
698
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
699
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
700
|
+
cacheName: Schema.String.pipe(T.PathParam()),
|
|
789
701
|
"api-version": Schema.String,
|
|
790
702
|
}).pipe(T.Http({
|
|
791
703
|
method: "DELETE",
|
|
792
|
-
path: "/subscriptions/{subscriptionId}/
|
|
704
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}",
|
|
793
705
|
}));
|
|
794
706
|
// Output Schema
|
|
795
707
|
export const CachesDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
@@ -797,9 +709,10 @@ export const CachesDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
|
797
709
|
/**
|
|
798
710
|
* Schedules a cache for deletion.
|
|
799
711
|
*
|
|
800
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
801
712
|
* @param api-version - The API version to use for this operation.
|
|
802
713
|
* @param subscriptionId - The ID of the target subscription.
|
|
714
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
715
|
+
* @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
|
|
803
716
|
*/
|
|
804
717
|
export const CachesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
805
718
|
inputSchema: CachesDeleteInput,
|
|
@@ -807,12 +720,13 @@ export const CachesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
807
720
|
}));
|
|
808
721
|
// Input Schema
|
|
809
722
|
export const CachesFlushInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
810
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
811
723
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
724
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
725
|
+
cacheName: Schema.String.pipe(T.PathParam()),
|
|
812
726
|
"api-version": Schema.String,
|
|
813
727
|
}).pipe(T.Http({
|
|
814
728
|
method: "POST",
|
|
815
|
-
path: "/subscriptions/{subscriptionId}/
|
|
729
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/flush",
|
|
816
730
|
}));
|
|
817
731
|
// Output Schema
|
|
818
732
|
export const CachesFlushOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
@@ -820,9 +734,10 @@ export const CachesFlushOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
|
820
734
|
/**
|
|
821
735
|
* Tells a cache to write all dirty data to the Storage Target(s). During the flush, clients will see errors returned until the flush is complete.
|
|
822
736
|
*
|
|
823
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
824
737
|
* @param api-version - The API version to use for this operation.
|
|
825
738
|
* @param subscriptionId - The ID of the target subscription.
|
|
739
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
740
|
+
* @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
|
|
826
741
|
*/
|
|
827
742
|
export const CachesFlush = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
828
743
|
inputSchema: CachesFlushInput,
|
|
@@ -830,34 +745,19 @@ export const CachesFlush = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
830
745
|
}));
|
|
831
746
|
// Input Schema
|
|
832
747
|
export const CachesGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
833
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
834
748
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
749
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
750
|
+
cacheName: Schema.String.pipe(T.PathParam()),
|
|
835
751
|
"api-version": Schema.String,
|
|
836
752
|
}).pipe(T.Http({
|
|
837
753
|
method: "GET",
|
|
838
|
-
path: "/subscriptions/{subscriptionId}/
|
|
754
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}",
|
|
839
755
|
}));
|
|
840
756
|
// Output Schema
|
|
841
757
|
export const CachesGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
842
|
-
tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
843
758
|
id: Schema.optional(Schema.String),
|
|
844
|
-
location: Schema.optional(Schema.String),
|
|
845
759
|
name: Schema.optional(Schema.String),
|
|
846
760
|
type: Schema.optional(Schema.String),
|
|
847
|
-
identity: Schema.optional(Schema.Struct({
|
|
848
|
-
principalId: Schema.optional(Schema.String),
|
|
849
|
-
tenantId: Schema.optional(Schema.String),
|
|
850
|
-
type: Schema.optional(Schema.Literals([
|
|
851
|
-
"SystemAssigned",
|
|
852
|
-
"UserAssigned",
|
|
853
|
-
"SystemAssigned, UserAssigned",
|
|
854
|
-
"None",
|
|
855
|
-
])),
|
|
856
|
-
userAssignedIdentities: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
857
|
-
principalId: Schema.optional(Schema.String),
|
|
858
|
-
clientId: Schema.optional(Schema.String),
|
|
859
|
-
}))),
|
|
860
|
-
})),
|
|
861
761
|
systemData: Schema.optional(Schema.Struct({
|
|
862
762
|
createdBy: Schema.optional(Schema.String),
|
|
863
763
|
createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
@@ -866,138 +766,15 @@ export const CachesGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
866
766
|
lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
867
767
|
lastModifiedAt: Schema.optional(Schema.String),
|
|
868
768
|
})),
|
|
869
|
-
properties: Schema.optional(Schema.Struct({
|
|
870
|
-
cacheSizeGB: Schema.optional(Schema.Number),
|
|
871
|
-
health: Schema.optional(Schema.Struct({
|
|
872
|
-
state: Schema.optional(Schema.Literals([
|
|
873
|
-
"Unknown",
|
|
874
|
-
"Healthy",
|
|
875
|
-
"Degraded",
|
|
876
|
-
"Down",
|
|
877
|
-
"Transitioning",
|
|
878
|
-
"Stopping",
|
|
879
|
-
"Stopped",
|
|
880
|
-
"Upgrading",
|
|
881
|
-
"Flushing",
|
|
882
|
-
"WaitingForKey",
|
|
883
|
-
"StartFailed",
|
|
884
|
-
"UpgradeFailed",
|
|
885
|
-
])),
|
|
886
|
-
statusDescription: Schema.optional(Schema.String),
|
|
887
|
-
conditions: Schema.optional(Schema.Array(Schema.Struct({
|
|
888
|
-
timestamp: Schema.optional(Schema.String),
|
|
889
|
-
message: Schema.optional(Schema.String),
|
|
890
|
-
}))),
|
|
891
|
-
})),
|
|
892
|
-
mountAddresses: Schema.optional(Schema.Array(Schema.String)),
|
|
893
|
-
provisioningState: Schema.optional(Schema.Literals([
|
|
894
|
-
"Succeeded",
|
|
895
|
-
"Failed",
|
|
896
|
-
"Canceled",
|
|
897
|
-
"Creating",
|
|
898
|
-
"Deleting",
|
|
899
|
-
"Updating",
|
|
900
|
-
])),
|
|
901
|
-
subnet: Schema.optional(Schema.String),
|
|
902
|
-
upgradeStatus: Schema.optional(Schema.Struct({
|
|
903
|
-
currentFirmwareVersion: Schema.optional(Schema.String),
|
|
904
|
-
firmwareUpdateStatus: Schema.optional(Schema.Literals(["available", "unavailable"])),
|
|
905
|
-
firmwareUpdateDeadline: Schema.optional(Schema.String),
|
|
906
|
-
lastFirmwareUpdate: Schema.optional(Schema.String),
|
|
907
|
-
pendingFirmwareVersion: Schema.optional(Schema.String),
|
|
908
|
-
})),
|
|
909
|
-
upgradeSettings: Schema.optional(Schema.Struct({
|
|
910
|
-
upgradeScheduleEnabled: Schema.optional(Schema.Boolean),
|
|
911
|
-
scheduledTime: Schema.optional(Schema.String),
|
|
912
|
-
})),
|
|
913
|
-
networkSettings: Schema.optional(Schema.Struct({
|
|
914
|
-
mtu: Schema.optional(Schema.Number),
|
|
915
|
-
utilityAddresses: Schema.optional(Schema.Array(Schema.String)),
|
|
916
|
-
dnsServers: Schema.optional(Schema.Array(Schema.String)),
|
|
917
|
-
dnsSearchDomain: Schema.optional(Schema.String),
|
|
918
|
-
ntpServer: Schema.optional(Schema.String),
|
|
919
|
-
})),
|
|
920
|
-
encryptionSettings: Schema.optional(Schema.Struct({
|
|
921
|
-
keyEncryptionKey: Schema.optional(Schema.Struct({
|
|
922
|
-
keyUrl: Schema.String,
|
|
923
|
-
sourceVault: Schema.Struct({
|
|
924
|
-
id: Schema.optional(Schema.String),
|
|
925
|
-
}),
|
|
926
|
-
})),
|
|
927
|
-
rotationToLatestKeyVersionEnabled: Schema.optional(Schema.Boolean),
|
|
928
|
-
})),
|
|
929
|
-
securitySettings: Schema.optional(Schema.Struct({
|
|
930
|
-
accessPolicies: Schema.optional(Schema.Array(Schema.Struct({
|
|
931
|
-
name: Schema.String,
|
|
932
|
-
accessRules: Schema.Array(Schema.Struct({
|
|
933
|
-
scope: Schema.Literals(["default", "network", "host"]),
|
|
934
|
-
filter: Schema.optional(Schema.String),
|
|
935
|
-
access: Schema.Literals(["no", "ro", "rw"]),
|
|
936
|
-
suid: Schema.optional(Schema.Boolean),
|
|
937
|
-
submountAccess: Schema.optional(Schema.Boolean),
|
|
938
|
-
rootSquash: Schema.optional(Schema.Boolean),
|
|
939
|
-
anonymousUID: Schema.optional(Schema.String),
|
|
940
|
-
anonymousGID: Schema.optional(Schema.String),
|
|
941
|
-
})),
|
|
942
|
-
}))),
|
|
943
|
-
})),
|
|
944
|
-
directoryServicesSettings: Schema.optional(Schema.Struct({
|
|
945
|
-
activeDirectory: Schema.optional(Schema.Struct({
|
|
946
|
-
primaryDnsIpAddress: Schema.String,
|
|
947
|
-
secondaryDnsIpAddress: Schema.optional(Schema.String),
|
|
948
|
-
domainName: Schema.String,
|
|
949
|
-
domainNetBiosName: Schema.String,
|
|
950
|
-
cacheNetBiosName: Schema.String,
|
|
951
|
-
domainJoined: Schema.optional(Schema.Literals(["Yes", "No", "Error"])),
|
|
952
|
-
credentials: Schema.optional(Schema.Struct({
|
|
953
|
-
username: Schema.String,
|
|
954
|
-
password: Schema.optional(SensitiveString),
|
|
955
|
-
})),
|
|
956
|
-
})),
|
|
957
|
-
usernameDownload: Schema.optional(Schema.Struct({
|
|
958
|
-
extendedGroups: Schema.optional(Schema.Boolean),
|
|
959
|
-
usernameSource: Schema.optional(Schema.Literals(["AD", "LDAP", "File", "None"])),
|
|
960
|
-
groupFileURI: Schema.optional(Schema.String),
|
|
961
|
-
userFileURI: Schema.optional(Schema.String),
|
|
962
|
-
ldapServer: Schema.optional(Schema.String),
|
|
963
|
-
ldapBaseDN: Schema.optional(Schema.String),
|
|
964
|
-
encryptLdapConnection: Schema.optional(Schema.Boolean),
|
|
965
|
-
requireValidCertificate: Schema.optional(Schema.Boolean),
|
|
966
|
-
autoDownloadCertificate: Schema.optional(Schema.Boolean),
|
|
967
|
-
caCertificateURI: Schema.optional(Schema.String),
|
|
968
|
-
usernameDownloaded: Schema.optional(Schema.Literals(["Yes", "No", "Error"])),
|
|
969
|
-
credentials: Schema.optional(Schema.Struct({
|
|
970
|
-
bindDn: Schema.optional(Schema.String),
|
|
971
|
-
bindPassword: Schema.optional(SensitiveString),
|
|
972
|
-
})),
|
|
973
|
-
})),
|
|
974
|
-
})),
|
|
975
|
-
zones: Schema.optional(Schema.Array(Schema.String)),
|
|
976
|
-
primingJobs: Schema.optional(Schema.Array(Schema.Struct({
|
|
977
|
-
primingJobName: Schema.String,
|
|
978
|
-
primingManifestUrl: Schema.String,
|
|
979
|
-
primingJobId: Schema.optional(Schema.String),
|
|
980
|
-
primingJobState: Schema.optional(Schema.Literals(["Queued", "Running", "Paused", "Complete"])),
|
|
981
|
-
primingJobStatus: Schema.optional(Schema.String),
|
|
982
|
-
primingJobDetails: Schema.optional(Schema.String),
|
|
983
|
-
primingJobPercentComplete: Schema.optional(Schema.Number),
|
|
984
|
-
}))),
|
|
985
|
-
spaceAllocation: Schema.optional(Schema.Array(Schema.Struct({
|
|
986
|
-
name: Schema.optional(Schema.String),
|
|
987
|
-
allocationPercentage: Schema.optional(Schema.Number),
|
|
988
|
-
}))),
|
|
989
|
-
})),
|
|
990
|
-
sku: Schema.optional(Schema.Struct({
|
|
991
|
-
name: Schema.optional(Schema.String),
|
|
992
|
-
})),
|
|
993
769
|
});
|
|
994
770
|
// The operation
|
|
995
771
|
/**
|
|
996
772
|
* Returns a cache.
|
|
997
773
|
*
|
|
998
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
999
774
|
* @param api-version - The API version to use for this operation.
|
|
1000
775
|
* @param subscriptionId - The ID of the target subscription.
|
|
776
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
777
|
+
* @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
|
|
1001
778
|
*/
|
|
1002
779
|
export const CachesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1003
780
|
inputSchema: CachesGetInput,
|
|
@@ -1013,27 +790,10 @@ export const CachesListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1013
790
|
}));
|
|
1014
791
|
// Output Schema
|
|
1015
792
|
export const CachesListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1016
|
-
nextLink: Schema.optional(Schema.String),
|
|
1017
793
|
value: Schema.optional(Schema.Array(Schema.Struct({
|
|
1018
|
-
tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
1019
794
|
id: Schema.optional(Schema.String),
|
|
1020
|
-
location: Schema.optional(Schema.String),
|
|
1021
795
|
name: Schema.optional(Schema.String),
|
|
1022
796
|
type: Schema.optional(Schema.String),
|
|
1023
|
-
identity: Schema.optional(Schema.Struct({
|
|
1024
|
-
principalId: Schema.optional(Schema.String),
|
|
1025
|
-
tenantId: Schema.optional(Schema.String),
|
|
1026
|
-
type: Schema.optional(Schema.Literals([
|
|
1027
|
-
"SystemAssigned",
|
|
1028
|
-
"UserAssigned",
|
|
1029
|
-
"SystemAssigned, UserAssigned",
|
|
1030
|
-
"None",
|
|
1031
|
-
])),
|
|
1032
|
-
userAssignedIdentities: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
1033
|
-
principalId: Schema.optional(Schema.String),
|
|
1034
|
-
clientId: Schema.optional(Schema.String),
|
|
1035
|
-
}))),
|
|
1036
|
-
})),
|
|
1037
797
|
systemData: Schema.optional(Schema.Struct({
|
|
1038
798
|
createdBy: Schema.optional(Schema.String),
|
|
1039
799
|
createdByType: Schema.optional(Schema.Literals([
|
|
@@ -1052,140 +812,8 @@ export const CachesListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1052
812
|
])),
|
|
1053
813
|
lastModifiedAt: Schema.optional(Schema.String),
|
|
1054
814
|
})),
|
|
1055
|
-
properties: Schema.optional(Schema.Struct({
|
|
1056
|
-
cacheSizeGB: Schema.optional(Schema.Number),
|
|
1057
|
-
health: Schema.optional(Schema.Struct({
|
|
1058
|
-
state: Schema.optional(Schema.Literals([
|
|
1059
|
-
"Unknown",
|
|
1060
|
-
"Healthy",
|
|
1061
|
-
"Degraded",
|
|
1062
|
-
"Down",
|
|
1063
|
-
"Transitioning",
|
|
1064
|
-
"Stopping",
|
|
1065
|
-
"Stopped",
|
|
1066
|
-
"Upgrading",
|
|
1067
|
-
"Flushing",
|
|
1068
|
-
"WaitingForKey",
|
|
1069
|
-
"StartFailed",
|
|
1070
|
-
"UpgradeFailed",
|
|
1071
|
-
])),
|
|
1072
|
-
statusDescription: Schema.optional(Schema.String),
|
|
1073
|
-
conditions: Schema.optional(Schema.Array(Schema.Struct({
|
|
1074
|
-
timestamp: Schema.optional(Schema.String),
|
|
1075
|
-
message: Schema.optional(Schema.String),
|
|
1076
|
-
}))),
|
|
1077
|
-
})),
|
|
1078
|
-
mountAddresses: Schema.optional(Schema.Array(Schema.String)),
|
|
1079
|
-
provisioningState: Schema.optional(Schema.Literals([
|
|
1080
|
-
"Succeeded",
|
|
1081
|
-
"Failed",
|
|
1082
|
-
"Canceled",
|
|
1083
|
-
"Creating",
|
|
1084
|
-
"Deleting",
|
|
1085
|
-
"Updating",
|
|
1086
|
-
])),
|
|
1087
|
-
subnet: Schema.optional(Schema.String),
|
|
1088
|
-
upgradeStatus: Schema.optional(Schema.Struct({
|
|
1089
|
-
currentFirmwareVersion: Schema.optional(Schema.String),
|
|
1090
|
-
firmwareUpdateStatus: Schema.optional(Schema.Literals(["available", "unavailable"])),
|
|
1091
|
-
firmwareUpdateDeadline: Schema.optional(Schema.String),
|
|
1092
|
-
lastFirmwareUpdate: Schema.optional(Schema.String),
|
|
1093
|
-
pendingFirmwareVersion: Schema.optional(Schema.String),
|
|
1094
|
-
})),
|
|
1095
|
-
upgradeSettings: Schema.optional(Schema.Struct({
|
|
1096
|
-
upgradeScheduleEnabled: Schema.optional(Schema.Boolean),
|
|
1097
|
-
scheduledTime: Schema.optional(Schema.String),
|
|
1098
|
-
})),
|
|
1099
|
-
networkSettings: Schema.optional(Schema.Struct({
|
|
1100
|
-
mtu: Schema.optional(Schema.Number),
|
|
1101
|
-
utilityAddresses: Schema.optional(Schema.Array(Schema.String)),
|
|
1102
|
-
dnsServers: Schema.optional(Schema.Array(Schema.String)),
|
|
1103
|
-
dnsSearchDomain: Schema.optional(Schema.String),
|
|
1104
|
-
ntpServer: Schema.optional(Schema.String),
|
|
1105
|
-
})),
|
|
1106
|
-
encryptionSettings: Schema.optional(Schema.Struct({
|
|
1107
|
-
keyEncryptionKey: Schema.optional(Schema.Struct({
|
|
1108
|
-
keyUrl: Schema.String,
|
|
1109
|
-
sourceVault: Schema.Struct({
|
|
1110
|
-
id: Schema.optional(Schema.String),
|
|
1111
|
-
}),
|
|
1112
|
-
})),
|
|
1113
|
-
rotationToLatestKeyVersionEnabled: Schema.optional(Schema.Boolean),
|
|
1114
|
-
})),
|
|
1115
|
-
securitySettings: Schema.optional(Schema.Struct({
|
|
1116
|
-
accessPolicies: Schema.optional(Schema.Array(Schema.Struct({
|
|
1117
|
-
name: Schema.String,
|
|
1118
|
-
accessRules: Schema.Array(Schema.Struct({
|
|
1119
|
-
scope: Schema.Literals([
|
|
1120
|
-
"default",
|
|
1121
|
-
"network",
|
|
1122
|
-
"host",
|
|
1123
|
-
]),
|
|
1124
|
-
filter: Schema.optional(Schema.String),
|
|
1125
|
-
access: Schema.Literals(["no", "ro", "rw"]),
|
|
1126
|
-
suid: Schema.optional(Schema.Boolean),
|
|
1127
|
-
submountAccess: Schema.optional(Schema.Boolean),
|
|
1128
|
-
rootSquash: Schema.optional(Schema.Boolean),
|
|
1129
|
-
anonymousUID: Schema.optional(Schema.String),
|
|
1130
|
-
anonymousGID: Schema.optional(Schema.String),
|
|
1131
|
-
})),
|
|
1132
|
-
}))),
|
|
1133
|
-
})),
|
|
1134
|
-
directoryServicesSettings: Schema.optional(Schema.Struct({
|
|
1135
|
-
activeDirectory: Schema.optional(Schema.Struct({
|
|
1136
|
-
primaryDnsIpAddress: Schema.String,
|
|
1137
|
-
secondaryDnsIpAddress: Schema.optional(Schema.String),
|
|
1138
|
-
domainName: Schema.String,
|
|
1139
|
-
domainNetBiosName: Schema.String,
|
|
1140
|
-
cacheNetBiosName: Schema.String,
|
|
1141
|
-
domainJoined: Schema.optional(Schema.Literals(["Yes", "No", "Error"])),
|
|
1142
|
-
credentials: Schema.optional(Schema.Struct({
|
|
1143
|
-
username: Schema.String,
|
|
1144
|
-
password: Schema.optional(SensitiveString),
|
|
1145
|
-
})),
|
|
1146
|
-
})),
|
|
1147
|
-
usernameDownload: Schema.optional(Schema.Struct({
|
|
1148
|
-
extendedGroups: Schema.optional(Schema.Boolean),
|
|
1149
|
-
usernameSource: Schema.optional(Schema.Literals(["AD", "LDAP", "File", "None"])),
|
|
1150
|
-
groupFileURI: Schema.optional(Schema.String),
|
|
1151
|
-
userFileURI: Schema.optional(Schema.String),
|
|
1152
|
-
ldapServer: Schema.optional(Schema.String),
|
|
1153
|
-
ldapBaseDN: Schema.optional(Schema.String),
|
|
1154
|
-
encryptLdapConnection: Schema.optional(Schema.Boolean),
|
|
1155
|
-
requireValidCertificate: Schema.optional(Schema.Boolean),
|
|
1156
|
-
autoDownloadCertificate: Schema.optional(Schema.Boolean),
|
|
1157
|
-
caCertificateURI: Schema.optional(Schema.String),
|
|
1158
|
-
usernameDownloaded: Schema.optional(Schema.Literals(["Yes", "No", "Error"])),
|
|
1159
|
-
credentials: Schema.optional(Schema.Struct({
|
|
1160
|
-
bindDn: Schema.optional(Schema.String),
|
|
1161
|
-
bindPassword: Schema.optional(SensitiveString),
|
|
1162
|
-
})),
|
|
1163
|
-
})),
|
|
1164
|
-
})),
|
|
1165
|
-
zones: Schema.optional(Schema.Array(Schema.String)),
|
|
1166
|
-
primingJobs: Schema.optional(Schema.Array(Schema.Struct({
|
|
1167
|
-
primingJobName: Schema.String,
|
|
1168
|
-
primingManifestUrl: Schema.String,
|
|
1169
|
-
primingJobId: Schema.optional(Schema.String),
|
|
1170
|
-
primingJobState: Schema.optional(Schema.Literals([
|
|
1171
|
-
"Queued",
|
|
1172
|
-
"Running",
|
|
1173
|
-
"Paused",
|
|
1174
|
-
"Complete",
|
|
1175
|
-
])),
|
|
1176
|
-
primingJobStatus: Schema.optional(Schema.String),
|
|
1177
|
-
primingJobDetails: Schema.optional(Schema.String),
|
|
1178
|
-
primingJobPercentComplete: Schema.optional(Schema.Number),
|
|
1179
|
-
}))),
|
|
1180
|
-
spaceAllocation: Schema.optional(Schema.Array(Schema.Struct({
|
|
1181
|
-
name: Schema.optional(Schema.String),
|
|
1182
|
-
allocationPercentage: Schema.optional(Schema.Number),
|
|
1183
|
-
}))),
|
|
1184
|
-
})),
|
|
1185
|
-
sku: Schema.optional(Schema.Struct({
|
|
1186
|
-
name: Schema.optional(Schema.String),
|
|
1187
|
-
})),
|
|
1188
815
|
}))),
|
|
816
|
+
nextLink: Schema.optional(Schema.String),
|
|
1189
817
|
});
|
|
1190
818
|
// The operation
|
|
1191
819
|
/**
|
|
@@ -1201,37 +829,20 @@ export const CachesList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
1201
829
|
// Input Schema
|
|
1202
830
|
export const CachesListByResourceGroupInput =
|
|
1203
831
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1204
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1205
832
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
833
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1206
834
|
"api-version": Schema.String,
|
|
1207
835
|
}).pipe(T.Http({
|
|
1208
836
|
method: "GET",
|
|
1209
|
-
path: "/subscriptions/{subscriptionId}/
|
|
837
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches",
|
|
1210
838
|
}));
|
|
1211
839
|
// Output Schema
|
|
1212
840
|
export const CachesListByResourceGroupOutput =
|
|
1213
841
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1214
|
-
nextLink: Schema.optional(Schema.String),
|
|
1215
842
|
value: Schema.optional(Schema.Array(Schema.Struct({
|
|
1216
|
-
tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
1217
843
|
id: Schema.optional(Schema.String),
|
|
1218
|
-
location: Schema.optional(Schema.String),
|
|
1219
844
|
name: Schema.optional(Schema.String),
|
|
1220
845
|
type: Schema.optional(Schema.String),
|
|
1221
|
-
identity: Schema.optional(Schema.Struct({
|
|
1222
|
-
principalId: Schema.optional(Schema.String),
|
|
1223
|
-
tenantId: Schema.optional(Schema.String),
|
|
1224
|
-
type: Schema.optional(Schema.Literals([
|
|
1225
|
-
"SystemAssigned",
|
|
1226
|
-
"UserAssigned",
|
|
1227
|
-
"SystemAssigned, UserAssigned",
|
|
1228
|
-
"None",
|
|
1229
|
-
])),
|
|
1230
|
-
userAssignedIdentities: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
1231
|
-
principalId: Schema.optional(Schema.String),
|
|
1232
|
-
clientId: Schema.optional(Schema.String),
|
|
1233
|
-
}))),
|
|
1234
|
-
})),
|
|
1235
846
|
systemData: Schema.optional(Schema.Struct({
|
|
1236
847
|
createdBy: Schema.optional(Schema.String),
|
|
1237
848
|
createdByType: Schema.optional(Schema.Literals([
|
|
@@ -1250,148 +861,16 @@ export const CachesListByResourceGroupOutput =
|
|
|
1250
861
|
])),
|
|
1251
862
|
lastModifiedAt: Schema.optional(Schema.String),
|
|
1252
863
|
})),
|
|
1253
|
-
properties: Schema.optional(Schema.Struct({
|
|
1254
|
-
cacheSizeGB: Schema.optional(Schema.Number),
|
|
1255
|
-
health: Schema.optional(Schema.Struct({
|
|
1256
|
-
state: Schema.optional(Schema.Literals([
|
|
1257
|
-
"Unknown",
|
|
1258
|
-
"Healthy",
|
|
1259
|
-
"Degraded",
|
|
1260
|
-
"Down",
|
|
1261
|
-
"Transitioning",
|
|
1262
|
-
"Stopping",
|
|
1263
|
-
"Stopped",
|
|
1264
|
-
"Upgrading",
|
|
1265
|
-
"Flushing",
|
|
1266
|
-
"WaitingForKey",
|
|
1267
|
-
"StartFailed",
|
|
1268
|
-
"UpgradeFailed",
|
|
1269
|
-
])),
|
|
1270
|
-
statusDescription: Schema.optional(Schema.String),
|
|
1271
|
-
conditions: Schema.optional(Schema.Array(Schema.Struct({
|
|
1272
|
-
timestamp: Schema.optional(Schema.String),
|
|
1273
|
-
message: Schema.optional(Schema.String),
|
|
1274
|
-
}))),
|
|
1275
|
-
})),
|
|
1276
|
-
mountAddresses: Schema.optional(Schema.Array(Schema.String)),
|
|
1277
|
-
provisioningState: Schema.optional(Schema.Literals([
|
|
1278
|
-
"Succeeded",
|
|
1279
|
-
"Failed",
|
|
1280
|
-
"Canceled",
|
|
1281
|
-
"Creating",
|
|
1282
|
-
"Deleting",
|
|
1283
|
-
"Updating",
|
|
1284
|
-
])),
|
|
1285
|
-
subnet: Schema.optional(Schema.String),
|
|
1286
|
-
upgradeStatus: Schema.optional(Schema.Struct({
|
|
1287
|
-
currentFirmwareVersion: Schema.optional(Schema.String),
|
|
1288
|
-
firmwareUpdateStatus: Schema.optional(Schema.Literals(["available", "unavailable"])),
|
|
1289
|
-
firmwareUpdateDeadline: Schema.optional(Schema.String),
|
|
1290
|
-
lastFirmwareUpdate: Schema.optional(Schema.String),
|
|
1291
|
-
pendingFirmwareVersion: Schema.optional(Schema.String),
|
|
1292
|
-
})),
|
|
1293
|
-
upgradeSettings: Schema.optional(Schema.Struct({
|
|
1294
|
-
upgradeScheduleEnabled: Schema.optional(Schema.Boolean),
|
|
1295
|
-
scheduledTime: Schema.optional(Schema.String),
|
|
1296
|
-
})),
|
|
1297
|
-
networkSettings: Schema.optional(Schema.Struct({
|
|
1298
|
-
mtu: Schema.optional(Schema.Number),
|
|
1299
|
-
utilityAddresses: Schema.optional(Schema.Array(Schema.String)),
|
|
1300
|
-
dnsServers: Schema.optional(Schema.Array(Schema.String)),
|
|
1301
|
-
dnsSearchDomain: Schema.optional(Schema.String),
|
|
1302
|
-
ntpServer: Schema.optional(Schema.String),
|
|
1303
|
-
})),
|
|
1304
|
-
encryptionSettings: Schema.optional(Schema.Struct({
|
|
1305
|
-
keyEncryptionKey: Schema.optional(Schema.Struct({
|
|
1306
|
-
keyUrl: Schema.String,
|
|
1307
|
-
sourceVault: Schema.Struct({
|
|
1308
|
-
id: Schema.optional(Schema.String),
|
|
1309
|
-
}),
|
|
1310
|
-
})),
|
|
1311
|
-
rotationToLatestKeyVersionEnabled: Schema.optional(Schema.Boolean),
|
|
1312
|
-
})),
|
|
1313
|
-
securitySettings: Schema.optional(Schema.Struct({
|
|
1314
|
-
accessPolicies: Schema.optional(Schema.Array(Schema.Struct({
|
|
1315
|
-
name: Schema.String,
|
|
1316
|
-
accessRules: Schema.Array(Schema.Struct({
|
|
1317
|
-
scope: Schema.Literals([
|
|
1318
|
-
"default",
|
|
1319
|
-
"network",
|
|
1320
|
-
"host",
|
|
1321
|
-
]),
|
|
1322
|
-
filter: Schema.optional(Schema.String),
|
|
1323
|
-
access: Schema.Literals(["no", "ro", "rw"]),
|
|
1324
|
-
suid: Schema.optional(Schema.Boolean),
|
|
1325
|
-
submountAccess: Schema.optional(Schema.Boolean),
|
|
1326
|
-
rootSquash: Schema.optional(Schema.Boolean),
|
|
1327
|
-
anonymousUID: Schema.optional(Schema.String),
|
|
1328
|
-
anonymousGID: Schema.optional(Schema.String),
|
|
1329
|
-
})),
|
|
1330
|
-
}))),
|
|
1331
|
-
})),
|
|
1332
|
-
directoryServicesSettings: Schema.optional(Schema.Struct({
|
|
1333
|
-
activeDirectory: Schema.optional(Schema.Struct({
|
|
1334
|
-
primaryDnsIpAddress: Schema.String,
|
|
1335
|
-
secondaryDnsIpAddress: Schema.optional(Schema.String),
|
|
1336
|
-
domainName: Schema.String,
|
|
1337
|
-
domainNetBiosName: Schema.String,
|
|
1338
|
-
cacheNetBiosName: Schema.String,
|
|
1339
|
-
domainJoined: Schema.optional(Schema.Literals(["Yes", "No", "Error"])),
|
|
1340
|
-
credentials: Schema.optional(Schema.Struct({
|
|
1341
|
-
username: Schema.String,
|
|
1342
|
-
password: Schema.optional(SensitiveString),
|
|
1343
|
-
})),
|
|
1344
|
-
})),
|
|
1345
|
-
usernameDownload: Schema.optional(Schema.Struct({
|
|
1346
|
-
extendedGroups: Schema.optional(Schema.Boolean),
|
|
1347
|
-
usernameSource: Schema.optional(Schema.Literals(["AD", "LDAP", "File", "None"])),
|
|
1348
|
-
groupFileURI: Schema.optional(Schema.String),
|
|
1349
|
-
userFileURI: Schema.optional(Schema.String),
|
|
1350
|
-
ldapServer: Schema.optional(Schema.String),
|
|
1351
|
-
ldapBaseDN: Schema.optional(Schema.String),
|
|
1352
|
-
encryptLdapConnection: Schema.optional(Schema.Boolean),
|
|
1353
|
-
requireValidCertificate: Schema.optional(Schema.Boolean),
|
|
1354
|
-
autoDownloadCertificate: Schema.optional(Schema.Boolean),
|
|
1355
|
-
caCertificateURI: Schema.optional(Schema.String),
|
|
1356
|
-
usernameDownloaded: Schema.optional(Schema.Literals(["Yes", "No", "Error"])),
|
|
1357
|
-
credentials: Schema.optional(Schema.Struct({
|
|
1358
|
-
bindDn: Schema.optional(Schema.String),
|
|
1359
|
-
bindPassword: Schema.optional(SensitiveString),
|
|
1360
|
-
})),
|
|
1361
|
-
})),
|
|
1362
|
-
})),
|
|
1363
|
-
zones: Schema.optional(Schema.Array(Schema.String)),
|
|
1364
|
-
primingJobs: Schema.optional(Schema.Array(Schema.Struct({
|
|
1365
|
-
primingJobName: Schema.String,
|
|
1366
|
-
primingManifestUrl: Schema.String,
|
|
1367
|
-
primingJobId: Schema.optional(Schema.String),
|
|
1368
|
-
primingJobState: Schema.optional(Schema.Literals([
|
|
1369
|
-
"Queued",
|
|
1370
|
-
"Running",
|
|
1371
|
-
"Paused",
|
|
1372
|
-
"Complete",
|
|
1373
|
-
])),
|
|
1374
|
-
primingJobStatus: Schema.optional(Schema.String),
|
|
1375
|
-
primingJobDetails: Schema.optional(Schema.String),
|
|
1376
|
-
primingJobPercentComplete: Schema.optional(Schema.Number),
|
|
1377
|
-
}))),
|
|
1378
|
-
spaceAllocation: Schema.optional(Schema.Array(Schema.Struct({
|
|
1379
|
-
name: Schema.optional(Schema.String),
|
|
1380
|
-
allocationPercentage: Schema.optional(Schema.Number),
|
|
1381
|
-
}))),
|
|
1382
|
-
})),
|
|
1383
|
-
sku: Schema.optional(Schema.Struct({
|
|
1384
|
-
name: Schema.optional(Schema.String),
|
|
1385
|
-
})),
|
|
1386
864
|
}))),
|
|
865
|
+
nextLink: Schema.optional(Schema.String),
|
|
1387
866
|
});
|
|
1388
867
|
// The operation
|
|
1389
868
|
/**
|
|
1390
869
|
* Returns all caches the user has access to under a resource group.
|
|
1391
870
|
*
|
|
1392
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1393
871
|
* @param api-version - The API version to use for this operation.
|
|
1394
872
|
* @param subscriptionId - The ID of the target subscription.
|
|
873
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1395
874
|
*/
|
|
1396
875
|
export const CachesListByResourceGroup = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1397
876
|
inputSchema: CachesListByResourceGroupInput,
|
|
@@ -1400,12 +879,13 @@ export const CachesListByResourceGroup = /*@__PURE__*/ /*#__PURE__*/ API.make(()
|
|
|
1400
879
|
// Input Schema
|
|
1401
880
|
export const CachesPausePrimingJobInput =
|
|
1402
881
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1403
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1404
882
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
883
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
884
|
+
cacheName: Schema.String.pipe(T.PathParam()),
|
|
1405
885
|
"api-version": Schema.String,
|
|
1406
886
|
}).pipe(T.Http({
|
|
1407
887
|
method: "POST",
|
|
1408
|
-
path: "/subscriptions/{subscriptionId}/
|
|
888
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/pausePrimingJob",
|
|
1409
889
|
}));
|
|
1410
890
|
// Output Schema
|
|
1411
891
|
export const CachesPausePrimingJobOutput =
|
|
@@ -1414,9 +894,10 @@ export const CachesPausePrimingJobOutput =
|
|
|
1414
894
|
/**
|
|
1415
895
|
* Schedule a priming job to be paused.
|
|
1416
896
|
*
|
|
1417
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1418
897
|
* @param api-version - The API version to use for this operation.
|
|
1419
898
|
* @param subscriptionId - The ID of the target subscription.
|
|
899
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
900
|
+
* @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
|
|
1420
901
|
*/
|
|
1421
902
|
export const CachesPausePrimingJob = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1422
903
|
inputSchema: CachesPausePrimingJobInput,
|
|
@@ -1425,12 +906,13 @@ export const CachesPausePrimingJob = /*@__PURE__*/ /*#__PURE__*/ API.make(() =>
|
|
|
1425
906
|
// Input Schema
|
|
1426
907
|
export const CachesResumePrimingJobInput =
|
|
1427
908
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1428
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1429
909
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
910
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
911
|
+
cacheName: Schema.String.pipe(T.PathParam()),
|
|
1430
912
|
"api-version": Schema.String,
|
|
1431
913
|
}).pipe(T.Http({
|
|
1432
914
|
method: "POST",
|
|
1433
|
-
path: "/subscriptions/{subscriptionId}/
|
|
915
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/resumePrimingJob",
|
|
1434
916
|
}));
|
|
1435
917
|
// Output Schema
|
|
1436
918
|
export const CachesResumePrimingJobOutput =
|
|
@@ -1439,9 +921,10 @@ export const CachesResumePrimingJobOutput =
|
|
|
1439
921
|
/**
|
|
1440
922
|
* Resumes a paused priming job.
|
|
1441
923
|
*
|
|
1442
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1443
924
|
* @param api-version - The API version to use for this operation.
|
|
1444
925
|
* @param subscriptionId - The ID of the target subscription.
|
|
926
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
927
|
+
* @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
|
|
1445
928
|
*/
|
|
1446
929
|
export const CachesResumePrimingJob = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1447
930
|
inputSchema: CachesResumePrimingJobInput,
|
|
@@ -1450,12 +933,13 @@ export const CachesResumePrimingJob = /*@__PURE__*/ /*#__PURE__*/ API.make(() =>
|
|
|
1450
933
|
// Input Schema
|
|
1451
934
|
export const CachesSpaceAllocationInput =
|
|
1452
935
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1453
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1454
936
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
937
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
938
|
+
cacheName: Schema.String.pipe(T.PathParam()),
|
|
1455
939
|
"api-version": Schema.String,
|
|
1456
940
|
}).pipe(T.Http({
|
|
1457
941
|
method: "POST",
|
|
1458
|
-
path: "/subscriptions/{subscriptionId}/
|
|
942
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/spaceAllocation",
|
|
1459
943
|
}));
|
|
1460
944
|
// Output Schema
|
|
1461
945
|
export const CachesSpaceAllocationOutput =
|
|
@@ -1464,9 +948,10 @@ export const CachesSpaceAllocationOutput =
|
|
|
1464
948
|
/**
|
|
1465
949
|
* Update cache space allocation.
|
|
1466
950
|
*
|
|
1467
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1468
951
|
* @param api-version - The API version to use for this operation.
|
|
1469
952
|
* @param subscriptionId - The ID of the target subscription.
|
|
953
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
954
|
+
* @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
|
|
1470
955
|
*/
|
|
1471
956
|
export const CachesSpaceAllocation = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1472
957
|
inputSchema: CachesSpaceAllocationInput,
|
|
@@ -1474,12 +959,13 @@ export const CachesSpaceAllocation = /*@__PURE__*/ /*#__PURE__*/ API.make(() =>
|
|
|
1474
959
|
}));
|
|
1475
960
|
// Input Schema
|
|
1476
961
|
export const CachesStartInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1477
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1478
962
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
963
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
964
|
+
cacheName: Schema.String.pipe(T.PathParam()),
|
|
1479
965
|
"api-version": Schema.String,
|
|
1480
966
|
}).pipe(T.Http({
|
|
1481
967
|
method: "POST",
|
|
1482
|
-
path: "/subscriptions/{subscriptionId}/
|
|
968
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/start",
|
|
1483
969
|
}));
|
|
1484
970
|
// Output Schema
|
|
1485
971
|
export const CachesStartOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
@@ -1487,9 +973,10 @@ export const CachesStartOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
|
1487
973
|
/**
|
|
1488
974
|
* Tells a Stopped state cache to transition to Active state.
|
|
1489
975
|
*
|
|
1490
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1491
976
|
* @param api-version - The API version to use for this operation.
|
|
1492
977
|
* @param subscriptionId - The ID of the target subscription.
|
|
978
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
979
|
+
* @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
|
|
1493
980
|
*/
|
|
1494
981
|
export const CachesStart = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1495
982
|
inputSchema: CachesStartInput,
|
|
@@ -1498,12 +985,13 @@ export const CachesStart = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
1498
985
|
// Input Schema
|
|
1499
986
|
export const CachesStartPrimingJobInput =
|
|
1500
987
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1501
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1502
988
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
989
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
990
|
+
cacheName: Schema.String.pipe(T.PathParam()),
|
|
1503
991
|
"api-version": Schema.String,
|
|
1504
992
|
}).pipe(T.Http({
|
|
1505
993
|
method: "POST",
|
|
1506
|
-
path: "/subscriptions/{subscriptionId}/
|
|
994
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/startPrimingJob",
|
|
1507
995
|
}));
|
|
1508
996
|
// Output Schema
|
|
1509
997
|
export const CachesStartPrimingJobOutput =
|
|
@@ -1512,9 +1000,10 @@ export const CachesStartPrimingJobOutput =
|
|
|
1512
1000
|
/**
|
|
1513
1001
|
* Create a priming job. This operation is only allowed when the cache is healthy.
|
|
1514
1002
|
*
|
|
1515
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1516
1003
|
* @param api-version - The API version to use for this operation.
|
|
1517
1004
|
* @param subscriptionId - The ID of the target subscription.
|
|
1005
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1006
|
+
* @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
|
|
1518
1007
|
*/
|
|
1519
1008
|
export const CachesStartPrimingJob = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1520
1009
|
inputSchema: CachesStartPrimingJobInput,
|
|
@@ -1522,12 +1011,13 @@ export const CachesStartPrimingJob = /*@__PURE__*/ /*#__PURE__*/ API.make(() =>
|
|
|
1522
1011
|
}));
|
|
1523
1012
|
// Input Schema
|
|
1524
1013
|
export const CachesStopInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1525
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1526
1014
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1015
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1016
|
+
cacheName: Schema.String.pipe(T.PathParam()),
|
|
1527
1017
|
"api-version": Schema.String,
|
|
1528
1018
|
}).pipe(T.Http({
|
|
1529
1019
|
method: "POST",
|
|
1530
|
-
path: "/subscriptions/{subscriptionId}/
|
|
1020
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/stop",
|
|
1531
1021
|
}));
|
|
1532
1022
|
// Output Schema
|
|
1533
1023
|
export const CachesStopOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
@@ -1535,9 +1025,10 @@ export const CachesStopOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
|
1535
1025
|
/**
|
|
1536
1026
|
* Tells an Active cache to transition to Stopped state.
|
|
1537
1027
|
*
|
|
1538
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1539
1028
|
* @param api-version - The API version to use for this operation.
|
|
1540
1029
|
* @param subscriptionId - The ID of the target subscription.
|
|
1030
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1031
|
+
* @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
|
|
1541
1032
|
*/
|
|
1542
1033
|
export const CachesStop = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1543
1034
|
inputSchema: CachesStopInput,
|
|
@@ -1546,12 +1037,13 @@ export const CachesStop = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
1546
1037
|
// Input Schema
|
|
1547
1038
|
export const CachesStopPrimingJobInput =
|
|
1548
1039
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1549
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1550
1040
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1041
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1042
|
+
cacheName: Schema.String.pipe(T.PathParam()),
|
|
1551
1043
|
"api-version": Schema.String,
|
|
1552
1044
|
}).pipe(T.Http({
|
|
1553
1045
|
method: "POST",
|
|
1554
|
-
path: "/subscriptions/{subscriptionId}/
|
|
1046
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/stopPrimingJob",
|
|
1555
1047
|
}));
|
|
1556
1048
|
// Output Schema
|
|
1557
1049
|
export const CachesStopPrimingJobOutput =
|
|
@@ -1560,9 +1052,10 @@ export const CachesStopPrimingJobOutput =
|
|
|
1560
1052
|
/**
|
|
1561
1053
|
* Schedule a priming job for deletion.
|
|
1562
1054
|
*
|
|
1563
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1564
1055
|
* @param api-version - The API version to use for this operation.
|
|
1565
1056
|
* @param subscriptionId - The ID of the target subscription.
|
|
1057
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1058
|
+
* @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
|
|
1566
1059
|
*/
|
|
1567
1060
|
export const CachesStopPrimingJob = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1568
1061
|
inputSchema: CachesStopPrimingJobInput,
|
|
@@ -1570,34 +1063,19 @@ export const CachesStopPrimingJob = /*@__PURE__*/ /*#__PURE__*/ API.make(() => (
|
|
|
1570
1063
|
}));
|
|
1571
1064
|
// Input Schema
|
|
1572
1065
|
export const CachesUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1573
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1574
1066
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1067
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1068
|
+
cacheName: Schema.String.pipe(T.PathParam()),
|
|
1575
1069
|
"api-version": Schema.String,
|
|
1576
1070
|
}).pipe(T.Http({
|
|
1577
1071
|
method: "PATCH",
|
|
1578
|
-
path: "/subscriptions/{subscriptionId}/
|
|
1072
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}",
|
|
1579
1073
|
}));
|
|
1580
1074
|
// Output Schema
|
|
1581
1075
|
export const CachesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1582
|
-
tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
1583
1076
|
id: Schema.optional(Schema.String),
|
|
1584
|
-
location: Schema.optional(Schema.String),
|
|
1585
1077
|
name: Schema.optional(Schema.String),
|
|
1586
1078
|
type: Schema.optional(Schema.String),
|
|
1587
|
-
identity: Schema.optional(Schema.Struct({
|
|
1588
|
-
principalId: Schema.optional(Schema.String),
|
|
1589
|
-
tenantId: Schema.optional(Schema.String),
|
|
1590
|
-
type: Schema.optional(Schema.Literals([
|
|
1591
|
-
"SystemAssigned",
|
|
1592
|
-
"UserAssigned",
|
|
1593
|
-
"SystemAssigned, UserAssigned",
|
|
1594
|
-
"None",
|
|
1595
|
-
])),
|
|
1596
|
-
userAssignedIdentities: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
1597
|
-
principalId: Schema.optional(Schema.String),
|
|
1598
|
-
clientId: Schema.optional(Schema.String),
|
|
1599
|
-
}))),
|
|
1600
|
-
})),
|
|
1601
1079
|
systemData: Schema.optional(Schema.Struct({
|
|
1602
1080
|
createdBy: Schema.optional(Schema.String),
|
|
1603
1081
|
createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
@@ -1606,138 +1084,15 @@ export const CachesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1606
1084
|
lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
1607
1085
|
lastModifiedAt: Schema.optional(Schema.String),
|
|
1608
1086
|
})),
|
|
1609
|
-
properties: Schema.optional(Schema.Struct({
|
|
1610
|
-
cacheSizeGB: Schema.optional(Schema.Number),
|
|
1611
|
-
health: Schema.optional(Schema.Struct({
|
|
1612
|
-
state: Schema.optional(Schema.Literals([
|
|
1613
|
-
"Unknown",
|
|
1614
|
-
"Healthy",
|
|
1615
|
-
"Degraded",
|
|
1616
|
-
"Down",
|
|
1617
|
-
"Transitioning",
|
|
1618
|
-
"Stopping",
|
|
1619
|
-
"Stopped",
|
|
1620
|
-
"Upgrading",
|
|
1621
|
-
"Flushing",
|
|
1622
|
-
"WaitingForKey",
|
|
1623
|
-
"StartFailed",
|
|
1624
|
-
"UpgradeFailed",
|
|
1625
|
-
])),
|
|
1626
|
-
statusDescription: Schema.optional(Schema.String),
|
|
1627
|
-
conditions: Schema.optional(Schema.Array(Schema.Struct({
|
|
1628
|
-
timestamp: Schema.optional(Schema.String),
|
|
1629
|
-
message: Schema.optional(Schema.String),
|
|
1630
|
-
}))),
|
|
1631
|
-
})),
|
|
1632
|
-
mountAddresses: Schema.optional(Schema.Array(Schema.String)),
|
|
1633
|
-
provisioningState: Schema.optional(Schema.Literals([
|
|
1634
|
-
"Succeeded",
|
|
1635
|
-
"Failed",
|
|
1636
|
-
"Canceled",
|
|
1637
|
-
"Creating",
|
|
1638
|
-
"Deleting",
|
|
1639
|
-
"Updating",
|
|
1640
|
-
])),
|
|
1641
|
-
subnet: Schema.optional(Schema.String),
|
|
1642
|
-
upgradeStatus: Schema.optional(Schema.Struct({
|
|
1643
|
-
currentFirmwareVersion: Schema.optional(Schema.String),
|
|
1644
|
-
firmwareUpdateStatus: Schema.optional(Schema.Literals(["available", "unavailable"])),
|
|
1645
|
-
firmwareUpdateDeadline: Schema.optional(Schema.String),
|
|
1646
|
-
lastFirmwareUpdate: Schema.optional(Schema.String),
|
|
1647
|
-
pendingFirmwareVersion: Schema.optional(Schema.String),
|
|
1648
|
-
})),
|
|
1649
|
-
upgradeSettings: Schema.optional(Schema.Struct({
|
|
1650
|
-
upgradeScheduleEnabled: Schema.optional(Schema.Boolean),
|
|
1651
|
-
scheduledTime: Schema.optional(Schema.String),
|
|
1652
|
-
})),
|
|
1653
|
-
networkSettings: Schema.optional(Schema.Struct({
|
|
1654
|
-
mtu: Schema.optional(Schema.Number),
|
|
1655
|
-
utilityAddresses: Schema.optional(Schema.Array(Schema.String)),
|
|
1656
|
-
dnsServers: Schema.optional(Schema.Array(Schema.String)),
|
|
1657
|
-
dnsSearchDomain: Schema.optional(Schema.String),
|
|
1658
|
-
ntpServer: Schema.optional(Schema.String),
|
|
1659
|
-
})),
|
|
1660
|
-
encryptionSettings: Schema.optional(Schema.Struct({
|
|
1661
|
-
keyEncryptionKey: Schema.optional(Schema.Struct({
|
|
1662
|
-
keyUrl: Schema.String,
|
|
1663
|
-
sourceVault: Schema.Struct({
|
|
1664
|
-
id: Schema.optional(Schema.String),
|
|
1665
|
-
}),
|
|
1666
|
-
})),
|
|
1667
|
-
rotationToLatestKeyVersionEnabled: Schema.optional(Schema.Boolean),
|
|
1668
|
-
})),
|
|
1669
|
-
securitySettings: Schema.optional(Schema.Struct({
|
|
1670
|
-
accessPolicies: Schema.optional(Schema.Array(Schema.Struct({
|
|
1671
|
-
name: Schema.String,
|
|
1672
|
-
accessRules: Schema.Array(Schema.Struct({
|
|
1673
|
-
scope: Schema.Literals(["default", "network", "host"]),
|
|
1674
|
-
filter: Schema.optional(Schema.String),
|
|
1675
|
-
access: Schema.Literals(["no", "ro", "rw"]),
|
|
1676
|
-
suid: Schema.optional(Schema.Boolean),
|
|
1677
|
-
submountAccess: Schema.optional(Schema.Boolean),
|
|
1678
|
-
rootSquash: Schema.optional(Schema.Boolean),
|
|
1679
|
-
anonymousUID: Schema.optional(Schema.String),
|
|
1680
|
-
anonymousGID: Schema.optional(Schema.String),
|
|
1681
|
-
})),
|
|
1682
|
-
}))),
|
|
1683
|
-
})),
|
|
1684
|
-
directoryServicesSettings: Schema.optional(Schema.Struct({
|
|
1685
|
-
activeDirectory: Schema.optional(Schema.Struct({
|
|
1686
|
-
primaryDnsIpAddress: Schema.String,
|
|
1687
|
-
secondaryDnsIpAddress: Schema.optional(Schema.String),
|
|
1688
|
-
domainName: Schema.String,
|
|
1689
|
-
domainNetBiosName: Schema.String,
|
|
1690
|
-
cacheNetBiosName: Schema.String,
|
|
1691
|
-
domainJoined: Schema.optional(Schema.Literals(["Yes", "No", "Error"])),
|
|
1692
|
-
credentials: Schema.optional(Schema.Struct({
|
|
1693
|
-
username: Schema.String,
|
|
1694
|
-
password: Schema.optional(SensitiveString),
|
|
1695
|
-
})),
|
|
1696
|
-
})),
|
|
1697
|
-
usernameDownload: Schema.optional(Schema.Struct({
|
|
1698
|
-
extendedGroups: Schema.optional(Schema.Boolean),
|
|
1699
|
-
usernameSource: Schema.optional(Schema.Literals(["AD", "LDAP", "File", "None"])),
|
|
1700
|
-
groupFileURI: Schema.optional(Schema.String),
|
|
1701
|
-
userFileURI: Schema.optional(Schema.String),
|
|
1702
|
-
ldapServer: Schema.optional(Schema.String),
|
|
1703
|
-
ldapBaseDN: Schema.optional(Schema.String),
|
|
1704
|
-
encryptLdapConnection: Schema.optional(Schema.Boolean),
|
|
1705
|
-
requireValidCertificate: Schema.optional(Schema.Boolean),
|
|
1706
|
-
autoDownloadCertificate: Schema.optional(Schema.Boolean),
|
|
1707
|
-
caCertificateURI: Schema.optional(Schema.String),
|
|
1708
|
-
usernameDownloaded: Schema.optional(Schema.Literals(["Yes", "No", "Error"])),
|
|
1709
|
-
credentials: Schema.optional(Schema.Struct({
|
|
1710
|
-
bindDn: Schema.optional(Schema.String),
|
|
1711
|
-
bindPassword: Schema.optional(SensitiveString),
|
|
1712
|
-
})),
|
|
1713
|
-
})),
|
|
1714
|
-
})),
|
|
1715
|
-
zones: Schema.optional(Schema.Array(Schema.String)),
|
|
1716
|
-
primingJobs: Schema.optional(Schema.Array(Schema.Struct({
|
|
1717
|
-
primingJobName: Schema.String,
|
|
1718
|
-
primingManifestUrl: Schema.String,
|
|
1719
|
-
primingJobId: Schema.optional(Schema.String),
|
|
1720
|
-
primingJobState: Schema.optional(Schema.Literals(["Queued", "Running", "Paused", "Complete"])),
|
|
1721
|
-
primingJobStatus: Schema.optional(Schema.String),
|
|
1722
|
-
primingJobDetails: Schema.optional(Schema.String),
|
|
1723
|
-
primingJobPercentComplete: Schema.optional(Schema.Number),
|
|
1724
|
-
}))),
|
|
1725
|
-
spaceAllocation: Schema.optional(Schema.Array(Schema.Struct({
|
|
1726
|
-
name: Schema.optional(Schema.String),
|
|
1727
|
-
allocationPercentage: Schema.optional(Schema.Number),
|
|
1728
|
-
}))),
|
|
1729
|
-
})),
|
|
1730
|
-
sku: Schema.optional(Schema.Struct({
|
|
1731
|
-
name: Schema.optional(Schema.String),
|
|
1732
|
-
})),
|
|
1733
1087
|
});
|
|
1734
1088
|
// The operation
|
|
1735
1089
|
/**
|
|
1736
1090
|
* Update a cache instance.
|
|
1737
1091
|
*
|
|
1738
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1739
1092
|
* @param api-version - The API version to use for this operation.
|
|
1740
1093
|
* @param subscriptionId - The ID of the target subscription.
|
|
1094
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1095
|
+
* @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
|
|
1741
1096
|
*/
|
|
1742
1097
|
export const CachesUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1743
1098
|
inputSchema: CachesUpdateInput,
|
|
@@ -1746,12 +1101,13 @@ export const CachesUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
1746
1101
|
// Input Schema
|
|
1747
1102
|
export const CachesUpgradeFirmwareInput =
|
|
1748
1103
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1749
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1750
1104
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1105
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1106
|
+
cacheName: Schema.String.pipe(T.PathParam()),
|
|
1751
1107
|
"api-version": Schema.String,
|
|
1752
1108
|
}).pipe(T.Http({
|
|
1753
1109
|
method: "POST",
|
|
1754
|
-
path: "/subscriptions/{subscriptionId}/
|
|
1110
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/upgrade",
|
|
1755
1111
|
}));
|
|
1756
1112
|
// Output Schema
|
|
1757
1113
|
export const CachesUpgradeFirmwareOutput =
|
|
@@ -1760,9 +1116,10 @@ export const CachesUpgradeFirmwareOutput =
|
|
|
1760
1116
|
/**
|
|
1761
1117
|
* Upgrade a cache's firmware if a new version is available. Otherwise, this operation has no effect.
|
|
1762
1118
|
*
|
|
1763
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1764
1119
|
* @param api-version - The API version to use for this operation.
|
|
1765
1120
|
* @param subscriptionId - The ID of the target subscription.
|
|
1121
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1122
|
+
* @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
|
|
1766
1123
|
*/
|
|
1767
1124
|
export const CachesUpgradeFirmware = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1768
1125
|
inputSchema: CachesUpgradeFirmwareInput,
|
|
@@ -1792,8 +1149,10 @@ export const checkAmlFSSubnets = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
1792
1149
|
// Input Schema
|
|
1793
1150
|
export const ExpansionJobsCreateOrUpdateInput =
|
|
1794
1151
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1795
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1796
1152
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1153
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1154
|
+
amlFilesystemName: Schema.String.pipe(T.PathParam()),
|
|
1155
|
+
expansionJobName: Schema.String.pipe(T.PathParam()),
|
|
1797
1156
|
"api-version": Schema.String,
|
|
1798
1157
|
}).pipe(T.Http({
|
|
1799
1158
|
method: "PUT",
|
|
@@ -1809,9 +1168,11 @@ export const ExpansionJobsCreateOrUpdateOutput =
|
|
|
1809
1168
|
/**
|
|
1810
1169
|
* Create or update an expansion job.
|
|
1811
1170
|
*
|
|
1812
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1813
1171
|
* @param api-version - The API version to use for this operation.
|
|
1814
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
1172
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
1173
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1174
|
+
* @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
1175
|
+
* @param expansionJobName - Name for the expansion job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
1815
1176
|
*/
|
|
1816
1177
|
export const expansionJobsCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1817
1178
|
inputSchema: ExpansionJobsCreateOrUpdateInput,
|
|
@@ -1820,8 +1181,10 @@ export const expansionJobsCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
|
1820
1181
|
// Input Schema
|
|
1821
1182
|
export const ExpansionJobsDeleteInput =
|
|
1822
1183
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1823
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1824
1184
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1185
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1186
|
+
amlFilesystemName: Schema.String.pipe(T.PathParam()),
|
|
1187
|
+
expansionJobName: Schema.String.pipe(T.PathParam()),
|
|
1825
1188
|
"api-version": Schema.String,
|
|
1826
1189
|
}).pipe(T.Http({
|
|
1827
1190
|
method: "DELETE",
|
|
@@ -1834,9 +1197,11 @@ export const ExpansionJobsDeleteOutput =
|
|
|
1834
1197
|
/**
|
|
1835
1198
|
* Schedules an expansion job for deletion.
|
|
1836
1199
|
*
|
|
1837
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1838
1200
|
* @param api-version - The API version to use for this operation.
|
|
1839
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
1201
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
1202
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1203
|
+
* @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
1204
|
+
* @param expansionJobName - Name for the expansion job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
1840
1205
|
*/
|
|
1841
1206
|
export const expansionJobsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1842
1207
|
inputSchema: ExpansionJobsDeleteInput,
|
|
@@ -1844,8 +1209,10 @@ export const expansionJobsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
1844
1209
|
}));
|
|
1845
1210
|
// Input Schema
|
|
1846
1211
|
export const ExpansionJobsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1847
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1848
1212
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1213
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1214
|
+
amlFilesystemName: Schema.String.pipe(T.PathParam()),
|
|
1215
|
+
expansionJobName: Schema.String.pipe(T.PathParam()),
|
|
1849
1216
|
"api-version": Schema.String,
|
|
1850
1217
|
}).pipe(T.Http({
|
|
1851
1218
|
method: "GET",
|
|
@@ -1860,9 +1227,11 @@ export const ExpansionJobsGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
1860
1227
|
/**
|
|
1861
1228
|
* Returns an expansion job.
|
|
1862
1229
|
*
|
|
1863
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1864
1230
|
* @param api-version - The API version to use for this operation.
|
|
1865
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
1231
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
1232
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1233
|
+
* @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
1234
|
+
* @param expansionJobName - Name for the expansion job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
1866
1235
|
*/
|
|
1867
1236
|
export const expansionJobsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1868
1237
|
inputSchema: ExpansionJobsGetInput,
|
|
@@ -1871,8 +1240,9 @@ export const expansionJobsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
1871
1240
|
// Input Schema
|
|
1872
1241
|
export const ExpansionJobsListByAmlFilesystemInput =
|
|
1873
1242
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1874
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1875
1243
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1244
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1245
|
+
amlFilesystemName: Schema.String.pipe(T.PathParam()),
|
|
1876
1246
|
"api-version": Schema.String,
|
|
1877
1247
|
}).pipe(T.Http({
|
|
1878
1248
|
method: "GET",
|
|
@@ -1891,9 +1261,10 @@ export const ExpansionJobsListByAmlFilesystemOutput =
|
|
|
1891
1261
|
/**
|
|
1892
1262
|
* Returns all the expansion jobs the user has access to under an AML File System.
|
|
1893
1263
|
*
|
|
1894
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1895
1264
|
* @param api-version - The API version to use for this operation.
|
|
1896
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
1265
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
1266
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1267
|
+
* @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
1897
1268
|
*/
|
|
1898
1269
|
export const expansionJobsListByAmlFilesystem =
|
|
1899
1270
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -1903,8 +1274,10 @@ export const expansionJobsListByAmlFilesystem =
|
|
|
1903
1274
|
// Input Schema
|
|
1904
1275
|
export const ExpansionJobsUpdateInput =
|
|
1905
1276
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1906
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1907
1277
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1278
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1279
|
+
amlFilesystemName: Schema.String.pipe(T.PathParam()),
|
|
1280
|
+
expansionJobName: Schema.String.pipe(T.PathParam()),
|
|
1908
1281
|
"api-version": Schema.String,
|
|
1909
1282
|
}).pipe(T.Http({
|
|
1910
1283
|
method: "PATCH",
|
|
@@ -1920,9 +1293,11 @@ export const ExpansionJobsUpdateOutput =
|
|
|
1920
1293
|
/**
|
|
1921
1294
|
* Update an expansion job instance.
|
|
1922
1295
|
*
|
|
1923
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1924
1296
|
* @param api-version - The API version to use for this operation.
|
|
1925
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
1297
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
1298
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1299
|
+
* @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
1300
|
+
* @param expansionJobName - Name for the expansion job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
1926
1301
|
*/
|
|
1927
1302
|
export const expansionJobsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1928
1303
|
inputSchema: ExpansionJobsUpdateInput,
|
|
@@ -1956,8 +1331,10 @@ export const getRequiredAmlFSSubnetsSize = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
|
1956
1331
|
// Input Schema
|
|
1957
1332
|
export const ImportJobsCreateOrUpdateInput =
|
|
1958
1333
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1959
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1960
1334
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1335
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1336
|
+
amlFilesystemName: Schema.String.pipe(T.PathParam()),
|
|
1337
|
+
importJobName: Schema.String.pipe(T.PathParam()),
|
|
1961
1338
|
"api-version": Schema.String,
|
|
1962
1339
|
}).pipe(T.Http({
|
|
1963
1340
|
method: "PUT",
|
|
@@ -1973,9 +1350,11 @@ export const ImportJobsCreateOrUpdateOutput =
|
|
|
1973
1350
|
/**
|
|
1974
1351
|
* Create or update an import job.
|
|
1975
1352
|
*
|
|
1976
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1977
1353
|
* @param api-version - The API version to use for this operation.
|
|
1978
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
1354
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
1355
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1356
|
+
* @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
1357
|
+
* @param importJobName - Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
1979
1358
|
*/
|
|
1980
1359
|
export const importJobsCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1981
1360
|
inputSchema: ImportJobsCreateOrUpdateInput,
|
|
@@ -1983,8 +1362,10 @@ export const importJobsCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(()
|
|
|
1983
1362
|
}));
|
|
1984
1363
|
// Input Schema
|
|
1985
1364
|
export const ImportJobsDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1986
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1987
1365
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1366
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1367
|
+
amlFilesystemName: Schema.String.pipe(T.PathParam()),
|
|
1368
|
+
importJobName: Schema.String.pipe(T.PathParam()),
|
|
1988
1369
|
"api-version": Schema.String,
|
|
1989
1370
|
}).pipe(T.Http({
|
|
1990
1371
|
method: "DELETE",
|
|
@@ -1996,9 +1377,11 @@ export const ImportJobsDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
|
1996
1377
|
/**
|
|
1997
1378
|
* Schedules an import job for deletion.
|
|
1998
1379
|
*
|
|
1999
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2000
1380
|
* @param api-version - The API version to use for this operation.
|
|
2001
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
1381
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
1382
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1383
|
+
* @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
1384
|
+
* @param importJobName - Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
2002
1385
|
*/
|
|
2003
1386
|
export const importJobsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2004
1387
|
inputSchema: ImportJobsDeleteInput,
|
|
@@ -2006,8 +1389,10 @@ export const importJobsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
2006
1389
|
}));
|
|
2007
1390
|
// Input Schema
|
|
2008
1391
|
export const ImportJobsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2009
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2010
1392
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1393
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1394
|
+
amlFilesystemName: Schema.String.pipe(T.PathParam()),
|
|
1395
|
+
importJobName: Schema.String.pipe(T.PathParam()),
|
|
2011
1396
|
"api-version": Schema.String,
|
|
2012
1397
|
}).pipe(T.Http({
|
|
2013
1398
|
method: "GET",
|
|
@@ -2022,9 +1407,11 @@ export const ImportJobsGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2022
1407
|
/**
|
|
2023
1408
|
* Returns an import job.
|
|
2024
1409
|
*
|
|
2025
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2026
1410
|
* @param api-version - The API version to use for this operation.
|
|
2027
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
1411
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
1412
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1413
|
+
* @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
1414
|
+
* @param importJobName - Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
2028
1415
|
*/
|
|
2029
1416
|
export const importJobsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2030
1417
|
inputSchema: ImportJobsGetInput,
|
|
@@ -2033,8 +1420,9 @@ export const importJobsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
2033
1420
|
// Input Schema
|
|
2034
1421
|
export const ImportJobsListByAmlFilesystemInput =
|
|
2035
1422
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2036
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2037
1423
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1424
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1425
|
+
amlFilesystemName: Schema.String.pipe(T.PathParam()),
|
|
2038
1426
|
"api-version": Schema.String,
|
|
2039
1427
|
}).pipe(T.Http({
|
|
2040
1428
|
method: "GET",
|
|
@@ -2043,19 +1431,20 @@ export const ImportJobsListByAmlFilesystemInput =
|
|
|
2043
1431
|
// Output Schema
|
|
2044
1432
|
export const ImportJobsListByAmlFilesystemOutput =
|
|
2045
1433
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2046
|
-
nextLink: Schema.optional(Schema.String),
|
|
2047
1434
|
value: Schema.optional(Schema.Array(Schema.Struct({
|
|
2048
1435
|
tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
2049
1436
|
location: Schema.String,
|
|
2050
1437
|
}))),
|
|
1438
|
+
nextLink: Schema.optional(Schema.String),
|
|
2051
1439
|
});
|
|
2052
1440
|
// The operation
|
|
2053
1441
|
/**
|
|
2054
1442
|
* Returns all import jobs the user has access to under an AML File System.
|
|
2055
1443
|
*
|
|
2056
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2057
1444
|
* @param api-version - The API version to use for this operation.
|
|
2058
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
1445
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
1446
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1447
|
+
* @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
2059
1448
|
*/
|
|
2060
1449
|
export const importJobsListByAmlFilesystem =
|
|
2061
1450
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -2064,8 +1453,10 @@ export const importJobsListByAmlFilesystem =
|
|
|
2064
1453
|
}));
|
|
2065
1454
|
// Input Schema
|
|
2066
1455
|
export const ImportJobsUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2067
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2068
1456
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1457
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1458
|
+
amlFilesystemName: Schema.String.pipe(T.PathParam()),
|
|
1459
|
+
importJobName: Schema.String.pipe(T.PathParam()),
|
|
2069
1460
|
"api-version": Schema.String,
|
|
2070
1461
|
}).pipe(T.Http({
|
|
2071
1462
|
method: "PATCH",
|
|
@@ -2080,9 +1471,11 @@ export const ImportJobsUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
2080
1471
|
/**
|
|
2081
1472
|
* Update an import job instance.
|
|
2082
1473
|
*
|
|
2083
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2084
1474
|
* @param api-version - The API version to use for this operation.
|
|
2085
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
1475
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
1476
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1477
|
+
* @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
1478
|
+
* @param importJobName - Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
|
|
2086
1479
|
*/
|
|
2087
1480
|
export const importJobsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2088
1481
|
inputSchema: ImportJobsUpdateInput,
|
|
@@ -2097,7 +1490,6 @@ export const OperationsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2097
1490
|
}));
|
|
2098
1491
|
// Output Schema
|
|
2099
1492
|
export const OperationsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2100
|
-
nextLink: Schema.optional(Schema.String),
|
|
2101
1493
|
value: Schema.optional(Schema.Array(Schema.Struct({
|
|
2102
1494
|
display: Schema.optional(Schema.Struct({
|
|
2103
1495
|
operation: Schema.optional(Schema.String),
|
|
@@ -2140,6 +1532,7 @@ export const OperationsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2140
1532
|
})),
|
|
2141
1533
|
})),
|
|
2142
1534
|
}))),
|
|
1535
|
+
nextLink: Schema.optional(Schema.String),
|
|
2143
1536
|
});
|
|
2144
1537
|
// The operation
|
|
2145
1538
|
/**
|
|
@@ -2161,7 +1554,6 @@ export const SkusListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2161
1554
|
}));
|
|
2162
1555
|
// Output Schema
|
|
2163
1556
|
export const SkusListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2164
|
-
nextLink: Schema.optional(Schema.String),
|
|
2165
1557
|
value: Schema.optional(Schema.Array(Schema.Struct({
|
|
2166
1558
|
resourceType: Schema.optional(Schema.String),
|
|
2167
1559
|
capabilities: Schema.optional(Schema.Array(Schema.Struct({
|
|
@@ -2180,6 +1572,7 @@ export const SkusListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2180
1572
|
reasonCode: Schema.optional(Schema.Literals(["QuotaId", "NotAvailableForSubscription"])),
|
|
2181
1573
|
}))),
|
|
2182
1574
|
}))),
|
|
1575
|
+
nextLink: Schema.optional(Schema.String),
|
|
2183
1576
|
});
|
|
2184
1577
|
// The operation
|
|
2185
1578
|
/**
|
|
@@ -2195,12 +1588,14 @@ export const SkusList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
2195
1588
|
// Input Schema
|
|
2196
1589
|
export const StorageTargetFlushInput =
|
|
2197
1590
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2198
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2199
1591
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1592
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1593
|
+
cacheName: Schema.String.pipe(T.PathParam()),
|
|
1594
|
+
storageTargetName: Schema.String.pipe(T.PathParam()),
|
|
2200
1595
|
"api-version": Schema.String,
|
|
2201
1596
|
}).pipe(T.Http({
|
|
2202
1597
|
method: "POST",
|
|
2203
|
-
path: "/subscriptions/{subscriptionId}/
|
|
1598
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/flush",
|
|
2204
1599
|
}));
|
|
2205
1600
|
// Output Schema
|
|
2206
1601
|
export const StorageTargetFlushOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
@@ -2208,9 +1603,11 @@ export const StorageTargetFlushOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
|
2208
1603
|
/**
|
|
2209
1604
|
* Tells the cache to write all dirty data to the Storage Target's backend storage. Client requests to this storage target's namespace will return errors until the flush operation completes.
|
|
2210
1605
|
*
|
|
2211
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2212
1606
|
* @param api-version - The API version to use for this operation.
|
|
2213
1607
|
* @param subscriptionId - The ID of the target subscription.
|
|
1608
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1609
|
+
* @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
|
|
1610
|
+
* @param storageTargetName - Name of Storage Target.
|
|
2214
1611
|
*/
|
|
2215
1612
|
export const StorageTargetFlush = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2216
1613
|
inputSchema: StorageTargetFlushInput,
|
|
@@ -2219,12 +1616,14 @@ export const StorageTargetFlush = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
2219
1616
|
// Input Schema
|
|
2220
1617
|
export const StorageTargetInvalidateInput =
|
|
2221
1618
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2222
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2223
1619
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1620
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1621
|
+
cacheName: Schema.String.pipe(T.PathParam()),
|
|
1622
|
+
storageTargetName: Schema.String.pipe(T.PathParam()),
|
|
2224
1623
|
"api-version": Schema.String,
|
|
2225
1624
|
}).pipe(T.Http({
|
|
2226
1625
|
method: "POST",
|
|
2227
|
-
path: "/subscriptions/{subscriptionId}/
|
|
1626
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/invalidate",
|
|
2228
1627
|
}));
|
|
2229
1628
|
// Output Schema
|
|
2230
1629
|
export const StorageTargetInvalidateOutput =
|
|
@@ -2233,9 +1632,11 @@ export const StorageTargetInvalidateOutput =
|
|
|
2233
1632
|
/**
|
|
2234
1633
|
* Invalidate all cached data for a storage target. Cached files are discarded and fetched from the back end on the next request.
|
|
2235
1634
|
*
|
|
2236
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2237
1635
|
* @param api-version - The API version to use for this operation.
|
|
2238
1636
|
* @param subscriptionId - The ID of the target subscription.
|
|
1637
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1638
|
+
* @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
|
|
1639
|
+
* @param storageTargetName - Name of Storage Target.
|
|
2239
1640
|
*/
|
|
2240
1641
|
export const StorageTargetInvalidate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2241
1642
|
inputSchema: StorageTargetInvalidateInput,
|
|
@@ -2244,12 +1645,14 @@ export const StorageTargetInvalidate = /*@__PURE__*/ /*#__PURE__*/ API.make(() =
|
|
|
2244
1645
|
// Input Schema
|
|
2245
1646
|
export const StorageTargetResumeInput =
|
|
2246
1647
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2247
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2248
1648
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1649
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1650
|
+
cacheName: Schema.String.pipe(T.PathParam()),
|
|
1651
|
+
storageTargetName: Schema.String.pipe(T.PathParam()),
|
|
2249
1652
|
"api-version": Schema.String,
|
|
2250
1653
|
}).pipe(T.Http({
|
|
2251
1654
|
method: "POST",
|
|
2252
|
-
path: "/subscriptions/{subscriptionId}/
|
|
1655
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/resume",
|
|
2253
1656
|
}));
|
|
2254
1657
|
// Output Schema
|
|
2255
1658
|
export const StorageTargetResumeOutput =
|
|
@@ -2258,9 +1661,11 @@ export const StorageTargetResumeOutput =
|
|
|
2258
1661
|
/**
|
|
2259
1662
|
* Resumes client access to a previously suspended storage target.
|
|
2260
1663
|
*
|
|
2261
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2262
1664
|
* @param api-version - The API version to use for this operation.
|
|
2263
1665
|
* @param subscriptionId - The ID of the target subscription.
|
|
1666
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1667
|
+
* @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
|
|
1668
|
+
* @param storageTargetName - Name of Storage Target.
|
|
2264
1669
|
*/
|
|
2265
1670
|
export const StorageTargetResume = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2266
1671
|
inputSchema: StorageTargetResumeInput,
|
|
@@ -2269,36 +1674,27 @@ export const StorageTargetResume = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
2269
1674
|
// Input Schema
|
|
2270
1675
|
export const StorageTargetsCreateOrUpdateInput =
|
|
2271
1676
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2272
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2273
1677
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1678
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1679
|
+
cacheName: Schema.String.pipe(T.PathParam()),
|
|
1680
|
+
storageTargetName: Schema.String.pipe(T.PathParam()),
|
|
2274
1681
|
"api-version": Schema.String,
|
|
2275
1682
|
}).pipe(T.Http({
|
|
2276
1683
|
method: "PUT",
|
|
2277
|
-
path: "/subscriptions/{subscriptionId}/
|
|
1684
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}",
|
|
2278
1685
|
}));
|
|
2279
1686
|
// Output Schema
|
|
2280
1687
|
export const StorageTargetsCreateOrUpdateOutput =
|
|
2281
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2282
|
-
name: Schema.optional(Schema.String),
|
|
2283
|
-
id: Schema.optional(Schema.String),
|
|
2284
|
-
type: Schema.optional(Schema.String),
|
|
2285
|
-
location: Schema.optional(Schema.String),
|
|
2286
|
-
systemData: Schema.optional(Schema.Struct({
|
|
2287
|
-
createdBy: Schema.optional(Schema.String),
|
|
2288
|
-
createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
2289
|
-
createdAt: Schema.optional(Schema.String),
|
|
2290
|
-
lastModifiedBy: Schema.optional(Schema.String),
|
|
2291
|
-
lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
2292
|
-
lastModifiedAt: Schema.optional(Schema.String),
|
|
2293
|
-
})),
|
|
2294
|
-
});
|
|
1688
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
2295
1689
|
// The operation
|
|
2296
1690
|
/**
|
|
2297
1691
|
* Create or update a Storage Target. This operation is allowed at any time, but if the cache is down or unhealthy, the actual creation/modification of the Storage Target may be delayed until the cache is healthy again.
|
|
2298
1692
|
*
|
|
2299
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2300
1693
|
* @param api-version - The API version to use for this operation.
|
|
2301
1694
|
* @param subscriptionId - The ID of the target subscription.
|
|
1695
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1696
|
+
* @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
|
|
1697
|
+
* @param storageTargetName - Name of Storage Target.
|
|
2302
1698
|
*/
|
|
2303
1699
|
export const StorageTargetsCreateOrUpdate =
|
|
2304
1700
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -2308,13 +1704,15 @@ export const StorageTargetsCreateOrUpdate =
|
|
|
2308
1704
|
// Input Schema
|
|
2309
1705
|
export const StorageTargetsDeleteInput =
|
|
2310
1706
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2311
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2312
1707
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1708
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1709
|
+
cacheName: Schema.String.pipe(T.PathParam()),
|
|
1710
|
+
storageTargetName: Schema.String.pipe(T.PathParam()),
|
|
2313
1711
|
"api-version": Schema.String,
|
|
2314
1712
|
force: Schema.optional(Schema.String),
|
|
2315
1713
|
}).pipe(T.Http({
|
|
2316
1714
|
method: "DELETE",
|
|
2317
|
-
path: "/subscriptions/{subscriptionId}/
|
|
1715
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}",
|
|
2318
1716
|
}));
|
|
2319
1717
|
// Output Schema
|
|
2320
1718
|
export const StorageTargetsDeleteOutput =
|
|
@@ -2323,9 +1721,11 @@ export const StorageTargetsDeleteOutput =
|
|
|
2323
1721
|
/**
|
|
2324
1722
|
* Removes a Storage Target from a cache. This operation is allowed at any time, but if the cache is down or unhealthy, the actual removal of the Storage Target may be delayed until the cache is healthy again. Note that if the cache has data to flush to the Storage Target, the data will be flushed before the Storage Target will be deleted.
|
|
2325
1723
|
*
|
|
2326
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2327
1724
|
* @param api-version - The API version to use for this operation.
|
|
2328
1725
|
* @param subscriptionId - The ID of the target subscription.
|
|
1726
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1727
|
+
* @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
|
|
1728
|
+
* @param storageTargetName - Name of Storage Target.
|
|
2329
1729
|
* @param force - Boolean value requesting the force delete operation for a storage target. Force delete discards unwritten-data in the cache instead of flushing it to back-end storage.
|
|
2330
1730
|
*/
|
|
2331
1731
|
export const StorageTargetsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -2335,12 +1735,14 @@ export const StorageTargetsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => (
|
|
|
2335
1735
|
// Input Schema
|
|
2336
1736
|
export const StorageTargetsDnsRefreshInput =
|
|
2337
1737
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2338
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2339
1738
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1739
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1740
|
+
cacheName: Schema.String.pipe(T.PathParam()),
|
|
1741
|
+
storageTargetName: Schema.String.pipe(T.PathParam()),
|
|
2340
1742
|
"api-version": Schema.String,
|
|
2341
1743
|
}).pipe(T.Http({
|
|
2342
1744
|
method: "POST",
|
|
2343
|
-
path: "/subscriptions/{subscriptionId}/
|
|
1745
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/dnsRefresh",
|
|
2344
1746
|
}));
|
|
2345
1747
|
// Output Schema
|
|
2346
1748
|
export const StorageTargetsDnsRefreshOutput =
|
|
@@ -2349,9 +1751,11 @@ export const StorageTargetsDnsRefreshOutput =
|
|
|
2349
1751
|
/**
|
|
2350
1752
|
* Tells a storage target to refresh its DNS information.
|
|
2351
1753
|
*
|
|
2352
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2353
1754
|
* @param api-version - The API version to use for this operation.
|
|
2354
1755
|
* @param subscriptionId - The ID of the target subscription.
|
|
1756
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1757
|
+
* @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
|
|
1758
|
+
* @param storageTargetName - Name of Storage Target.
|
|
2355
1759
|
*/
|
|
2356
1760
|
export const StorageTargetsDnsRefresh = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2357
1761
|
inputSchema: StorageTargetsDnsRefreshInput,
|
|
@@ -2359,36 +1763,27 @@ export const StorageTargetsDnsRefresh = /*@__PURE__*/ /*#__PURE__*/ API.make(()
|
|
|
2359
1763
|
}));
|
|
2360
1764
|
// Input Schema
|
|
2361
1765
|
export const StorageTargetsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2362
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2363
1766
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1767
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1768
|
+
cacheName: Schema.String.pipe(T.PathParam()),
|
|
1769
|
+
storageTargetName: Schema.String.pipe(T.PathParam()),
|
|
2364
1770
|
"api-version": Schema.String,
|
|
2365
1771
|
}).pipe(T.Http({
|
|
2366
1772
|
method: "GET",
|
|
2367
|
-
path: "/subscriptions/{subscriptionId}/
|
|
1773
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}",
|
|
2368
1774
|
}));
|
|
2369
1775
|
// Output Schema
|
|
2370
1776
|
export const StorageTargetsGetOutput =
|
|
2371
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2372
|
-
name: Schema.optional(Schema.String),
|
|
2373
|
-
id: Schema.optional(Schema.String),
|
|
2374
|
-
type: Schema.optional(Schema.String),
|
|
2375
|
-
location: Schema.optional(Schema.String),
|
|
2376
|
-
systemData: Schema.optional(Schema.Struct({
|
|
2377
|
-
createdBy: Schema.optional(Schema.String),
|
|
2378
|
-
createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
2379
|
-
createdAt: Schema.optional(Schema.String),
|
|
2380
|
-
lastModifiedBy: Schema.optional(Schema.String),
|
|
2381
|
-
lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
2382
|
-
lastModifiedAt: Schema.optional(Schema.String),
|
|
2383
|
-
})),
|
|
2384
|
-
});
|
|
1777
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
2385
1778
|
// The operation
|
|
2386
1779
|
/**
|
|
2387
1780
|
* Returns a Storage Target from a cache.
|
|
2388
1781
|
*
|
|
2389
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2390
1782
|
* @param api-version - The API version to use for this operation.
|
|
2391
1783
|
* @param subscriptionId - The ID of the target subscription.
|
|
1784
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1785
|
+
* @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
|
|
1786
|
+
* @param storageTargetName - Name of Storage Target.
|
|
2392
1787
|
*/
|
|
2393
1788
|
export const StorageTargetsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2394
1789
|
inputSchema: StorageTargetsGetInput,
|
|
@@ -2397,49 +1792,28 @@ export const StorageTargetsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
2397
1792
|
// Input Schema
|
|
2398
1793
|
export const StorageTargetsListByCacheInput =
|
|
2399
1794
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2400
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2401
1795
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1796
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1797
|
+
cacheName: Schema.String.pipe(T.PathParam()),
|
|
2402
1798
|
"api-version": Schema.String,
|
|
2403
1799
|
}).pipe(T.Http({
|
|
2404
1800
|
method: "GET",
|
|
2405
|
-
path: "/subscriptions/{subscriptionId}/
|
|
1801
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets",
|
|
2406
1802
|
}));
|
|
2407
1803
|
// Output Schema
|
|
2408
1804
|
export const StorageTargetsListByCacheOutput =
|
|
2409
1805
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1806
|
+
value: Schema.optional(Schema.Array(Schema.Struct({}))),
|
|
2410
1807
|
nextLink: Schema.optional(Schema.String),
|
|
2411
|
-
value: Schema.optional(Schema.Array(Schema.Struct({
|
|
2412
|
-
name: Schema.optional(Schema.String),
|
|
2413
|
-
id: Schema.optional(Schema.String),
|
|
2414
|
-
type: Schema.optional(Schema.String),
|
|
2415
|
-
location: Schema.optional(Schema.String),
|
|
2416
|
-
systemData: Schema.optional(Schema.Struct({
|
|
2417
|
-
createdBy: Schema.optional(Schema.String),
|
|
2418
|
-
createdByType: Schema.optional(Schema.Literals([
|
|
2419
|
-
"User",
|
|
2420
|
-
"Application",
|
|
2421
|
-
"ManagedIdentity",
|
|
2422
|
-
"Key",
|
|
2423
|
-
])),
|
|
2424
|
-
createdAt: Schema.optional(Schema.String),
|
|
2425
|
-
lastModifiedBy: Schema.optional(Schema.String),
|
|
2426
|
-
lastModifiedByType: Schema.optional(Schema.Literals([
|
|
2427
|
-
"User",
|
|
2428
|
-
"Application",
|
|
2429
|
-
"ManagedIdentity",
|
|
2430
|
-
"Key",
|
|
2431
|
-
])),
|
|
2432
|
-
lastModifiedAt: Schema.optional(Schema.String),
|
|
2433
|
-
})),
|
|
2434
|
-
}))),
|
|
2435
1808
|
});
|
|
2436
1809
|
// The operation
|
|
2437
1810
|
/**
|
|
2438
1811
|
* Returns a list of Storage Targets for the specified cache.
|
|
2439
1812
|
*
|
|
2440
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2441
1813
|
* @param api-version - The API version to use for this operation.
|
|
2442
1814
|
* @param subscriptionId - The ID of the target subscription.
|
|
1815
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1816
|
+
* @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
|
|
2443
1817
|
*/
|
|
2444
1818
|
export const StorageTargetsListByCache = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2445
1819
|
inputSchema: StorageTargetsListByCacheInput,
|
|
@@ -2448,8 +1822,10 @@ export const StorageTargetsListByCache = /*@__PURE__*/ /*#__PURE__*/ API.make(()
|
|
|
2448
1822
|
// Input Schema
|
|
2449
1823
|
export const StorageTargetsRestoreDefaultsInput =
|
|
2450
1824
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2451
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2452
1825
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1826
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1827
|
+
cacheName: Schema.String.pipe(T.PathParam()),
|
|
1828
|
+
storageTargetName: Schema.String.pipe(T.PathParam()),
|
|
2453
1829
|
"api-version": Schema.String,
|
|
2454
1830
|
}).pipe(T.Http({
|
|
2455
1831
|
method: "POST",
|
|
@@ -2462,9 +1838,11 @@ export const StorageTargetsRestoreDefaultsOutput =
|
|
|
2462
1838
|
/**
|
|
2463
1839
|
* Tells a storage target to restore its settings to their default values.
|
|
2464
1840
|
*
|
|
2465
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2466
1841
|
* @param api-version - The API version to use for this operation.
|
|
2467
1842
|
* @param subscriptionId - The ID of the target subscription.
|
|
1843
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1844
|
+
* @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
|
|
1845
|
+
* @param storageTargetName - Name of Storage Target.
|
|
2468
1846
|
*/
|
|
2469
1847
|
export const StorageTargetsRestoreDefaults =
|
|
2470
1848
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -2474,12 +1852,14 @@ export const StorageTargetsRestoreDefaults =
|
|
|
2474
1852
|
// Input Schema
|
|
2475
1853
|
export const StorageTargetSuspendInput =
|
|
2476
1854
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2477
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2478
1855
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1856
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1857
|
+
cacheName: Schema.String.pipe(T.PathParam()),
|
|
1858
|
+
storageTargetName: Schema.String.pipe(T.PathParam()),
|
|
2479
1859
|
"api-version": Schema.String,
|
|
2480
1860
|
}).pipe(T.Http({
|
|
2481
1861
|
method: "POST",
|
|
2482
|
-
path: "/subscriptions/{subscriptionId}/
|
|
1862
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/suspend",
|
|
2483
1863
|
}));
|
|
2484
1864
|
// Output Schema
|
|
2485
1865
|
export const StorageTargetSuspendOutput =
|
|
@@ -2488,9 +1868,11 @@ export const StorageTargetSuspendOutput =
|
|
|
2488
1868
|
/**
|
|
2489
1869
|
* Suspends client access to a storage target.
|
|
2490
1870
|
*
|
|
2491
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2492
1871
|
* @param api-version - The API version to use for this operation.
|
|
2493
1872
|
* @param subscriptionId - The ID of the target subscription.
|
|
1873
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1874
|
+
* @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
|
|
1875
|
+
* @param storageTargetName - Name of Storage Target.
|
|
2494
1876
|
*/
|
|
2495
1877
|
export const StorageTargetSuspend = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2496
1878
|
inputSchema: StorageTargetSuspendInput,
|
|
@@ -2506,7 +1888,6 @@ export const UsageModelsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2506
1888
|
}));
|
|
2507
1889
|
// Output Schema
|
|
2508
1890
|
export const UsageModelsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2509
|
-
nextLink: Schema.optional(Schema.String),
|
|
2510
1891
|
value: Schema.optional(Schema.Array(Schema.Struct({
|
|
2511
1892
|
display: Schema.optional(Schema.Struct({
|
|
2512
1893
|
description: Schema.optional(Schema.String),
|
|
@@ -2514,6 +1895,7 @@ export const UsageModelsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2514
1895
|
modelName: Schema.optional(Schema.String),
|
|
2515
1896
|
targetType: Schema.optional(Schema.String),
|
|
2516
1897
|
}))),
|
|
1898
|
+
nextLink: Schema.optional(Schema.String),
|
|
2517
1899
|
});
|
|
2518
1900
|
// The operation
|
|
2519
1901
|
/**
|