@azure/arm-storagecache 7.0.0-beta.1 → 7.0.1-alpha.20230621.2
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/CHANGELOG.md +15 -4
- package/README.md +2 -2
- package/dist/index.js +3670 -3582
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/amlFilesystemsArchiveSample.js +1 -1
- package/dist-esm/samples-dev/amlFilesystemsCancelArchiveSample.js +1 -1
- package/dist-esm/samples-dev/amlFilesystemsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/amlFilesystemsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/amlFilesystemsGetSample.js +1 -1
- package/dist-esm/samples-dev/amlFilesystemsListByResourceGroupSample.js +13 -6
- package/dist-esm/samples-dev/amlFilesystemsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/amlFilesystemsListSample.js +13 -6
- package/dist-esm/samples-dev/amlFilesystemsListSample.js.map +1 -1
- package/dist-esm/samples-dev/amlFilesystemsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/ascOperationsGetSample.js +1 -1
- package/dist-esm/samples-dev/ascUsagesListSample.js +13 -6
- package/dist-esm/samples-dev/ascUsagesListSample.js.map +1 -1
- package/dist-esm/samples-dev/cachesCreateOrUpdateSample.js +2 -4
- package/dist-esm/samples-dev/cachesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/cachesDebugInfoSample.js +1 -1
- package/dist-esm/samples-dev/cachesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/cachesFlushSample.js +1 -1
- package/dist-esm/samples-dev/cachesGetSample.js +1 -1
- package/dist-esm/samples-dev/cachesListByResourceGroupSample.js +13 -6
- package/dist-esm/samples-dev/cachesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/cachesListSample.js +13 -6
- package/dist-esm/samples-dev/cachesListSample.js.map +1 -1
- package/dist-esm/samples-dev/cachesPausePrimingJobSample.js +1 -1
- package/dist-esm/samples-dev/cachesResumePrimingJobSample.js +1 -1
- package/dist-esm/samples-dev/cachesSpaceAllocationSample.js +1 -1
- package/dist-esm/samples-dev/cachesStartPrimingJobSample.js +1 -1
- package/dist-esm/samples-dev/cachesStartSample.js +1 -1
- package/dist-esm/samples-dev/cachesStopPrimingJobSample.js +1 -1
- package/dist-esm/samples-dev/cachesStopSample.js +1 -1
- package/dist-esm/samples-dev/cachesUpdateSample.js +3 -5
- package/dist-esm/samples-dev/cachesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/cachesUpgradeFirmwareSample.js +1 -1
- package/dist-esm/samples-dev/checkAmlFsSubnetsSample.js +1 -1
- package/dist-esm/samples-dev/getRequiredAmlFsSubnetsSizeSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +13 -6
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/skusListSample.js +13 -6
- package/dist-esm/samples-dev/skusListSample.js.map +1 -1
- package/dist-esm/samples-dev/storageTargetFlushSample.js +1 -1
- package/dist-esm/samples-dev/storageTargetInvalidateSample.js +1 -1
- package/dist-esm/samples-dev/storageTargetResumeSample.js +1 -1
- package/dist-esm/samples-dev/storageTargetSuspendSample.js +1 -1
- package/dist-esm/samples-dev/storageTargetsCreateOrUpdateSample.js +3 -3
- package/dist-esm/samples-dev/storageTargetsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/storageTargetsDnsRefreshSample.js +1 -1
- package/dist-esm/samples-dev/storageTargetsGetSample.js +1 -1
- package/dist-esm/samples-dev/storageTargetsListByCacheSample.js +13 -6
- package/dist-esm/samples-dev/storageTargetsListByCacheSample.js.map +1 -1
- package/dist-esm/samples-dev/storageTargetsRestoreDefaultsSample.js +1 -1
- package/dist-esm/samples-dev/usageModelsListSample.js +13 -6
- package/dist-esm/samples-dev/usageModelsListSample.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +581 -564
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +70 -70
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +31 -30
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +1386 -1362
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +9 -9
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +70 -70
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/amlFilesystems.js +28 -14
- package/dist-esm/src/operations/amlFilesystems.js.map +1 -1
- package/dist-esm/src/operations/ascUsages.js +13 -6
- package/dist-esm/src/operations/ascUsages.js.map +1 -1
- package/dist-esm/src/operations/caches.js +28 -14
- package/dist-esm/src/operations/caches.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +1 -1
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -1
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/operations.js +12 -5
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/skus.js +14 -7
- package/dist-esm/src/operations/skus.js.map +1 -1
- package/dist-esm/src/operations/storageTargets.js +13 -6
- package/dist-esm/src/operations/storageTargets.js.map +1 -1
- package/dist-esm/src/operations/usageModels.js +14 -7
- package/dist-esm/src/operations/usageModels.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -1
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/storageCacheManagementClient.d.ts +2 -2
- package/dist-esm/src/storageCacheManagementClient.d.ts.map +1 -1
- package/dist-esm/src/storageCacheManagementClient.js +4 -4
- package/dist-esm/src/storageCacheManagementClient.js.map +1 -1
- package/dist-esm/test/storagecache_operations_test.spec.js +24 -11
- package/dist-esm/test/storagecache_operations_test.spec.js.map +1 -1
- package/package.json +4 -4
- package/review/arm-storagecache.api.md +17 -11
- package/src/models/index.ts +679 -661
- package/src/models/mappers.ts +1399 -1376
- package/src/models/parameters.ts +82 -82
- package/src/operations/amlFilesystems.ts +4 -4
- package/src/operations/ascUsages.ts +1 -1
- package/src/operations/caches.ts +4 -4
- package/src/operations/index.ts +1 -1
- package/src/operations/skus.ts +2 -2
- package/src/operations/storageTargets.ts +1 -1
- package/src/operations/usageModels.ts +2 -2
- package/src/operationsInterfaces/index.ts +1 -1
- package/src/storageCacheManagementClient.ts +8 -8
- package/types/arm-storagecache.d.ts +48 -30
- package/types/tsdoc-metadata.json +1 -1
package/src/models/parameters.ts
CHANGED
|
@@ -12,15 +12,15 @@ import {
|
|
|
12
12
|
OperationQueryParameter
|
|
13
13
|
} from "@azure/core-client";
|
|
14
14
|
import {
|
|
15
|
-
Cache as CacheMapper,
|
|
16
|
-
PrimingJob as PrimingJobMapper,
|
|
17
|
-
PrimingJobIdParameter as PrimingJobIdParameterMapper,
|
|
18
|
-
StorageTarget as StorageTargetMapper,
|
|
19
15
|
AmlFilesystem as AmlFilesystemMapper,
|
|
20
16
|
AmlFilesystemUpdate as AmlFilesystemUpdateMapper,
|
|
21
17
|
AmlFilesystemArchiveInfo as AmlFilesystemArchiveInfoMapper,
|
|
22
18
|
AmlFilesystemSubnetInfo as AmlFilesystemSubnetInfoMapper,
|
|
23
|
-
RequiredAmlFilesystemSubnetsSizeInfo as RequiredAmlFilesystemSubnetsSizeInfoMapper
|
|
19
|
+
RequiredAmlFilesystemSubnetsSizeInfo as RequiredAmlFilesystemSubnetsSizeInfoMapper,
|
|
20
|
+
Cache as CacheMapper,
|
|
21
|
+
PrimingJob as PrimingJobMapper,
|
|
22
|
+
PrimingJobIdParameter as PrimingJobIdParameterMapper,
|
|
23
|
+
StorageTarget as StorageTargetMapper
|
|
24
24
|
} from "../models/mappers";
|
|
25
25
|
|
|
26
26
|
export const accept: OperationParameter = {
|
|
@@ -50,7 +50,7 @@ export const $host: OperationURLParameter = {
|
|
|
50
50
|
export const apiVersion: OperationQueryParameter = {
|
|
51
51
|
parameterPath: "apiVersion",
|
|
52
52
|
mapper: {
|
|
53
|
-
defaultValue: "2023-
|
|
53
|
+
defaultValue: "2023-05-01",
|
|
54
54
|
isConstant: true,
|
|
55
55
|
serializedName: "api-version",
|
|
56
56
|
type: {
|
|
@@ -59,18 +59,6 @@ export const apiVersion: OperationQueryParameter = {
|
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
|
|
62
|
-
export const nextLink: OperationURLParameter = {
|
|
63
|
-
parameterPath: "nextLink",
|
|
64
|
-
mapper: {
|
|
65
|
-
serializedName: "nextLink",
|
|
66
|
-
required: true,
|
|
67
|
-
type: {
|
|
68
|
-
name: "String"
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
skipEncoding: true
|
|
72
|
-
};
|
|
73
|
-
|
|
74
62
|
export const subscriptionId: OperationURLParameter = {
|
|
75
63
|
parameterPath: "subscriptionId",
|
|
76
64
|
mapper: {
|
|
@@ -85,13 +73,14 @@ export const subscriptionId: OperationURLParameter = {
|
|
|
85
73
|
}
|
|
86
74
|
};
|
|
87
75
|
|
|
88
|
-
export const
|
|
89
|
-
parameterPath: "
|
|
76
|
+
export const resourceGroupName: OperationURLParameter = {
|
|
77
|
+
parameterPath: "resourceGroupName",
|
|
90
78
|
mapper: {
|
|
91
79
|
constraints: {
|
|
80
|
+
MaxLength: 90,
|
|
92
81
|
MinLength: 1
|
|
93
82
|
},
|
|
94
|
-
serializedName: "
|
|
83
|
+
serializedName: "resourceGroupName",
|
|
95
84
|
required: true,
|
|
96
85
|
type: {
|
|
97
86
|
name: "String"
|
|
@@ -99,13 +88,15 @@ export const location: OperationURLParameter = {
|
|
|
99
88
|
}
|
|
100
89
|
};
|
|
101
90
|
|
|
102
|
-
export const
|
|
103
|
-
parameterPath: "
|
|
91
|
+
export const amlFilesystemName: OperationURLParameter = {
|
|
92
|
+
parameterPath: "amlFilesystemName",
|
|
104
93
|
mapper: {
|
|
105
94
|
constraints: {
|
|
106
|
-
|
|
95
|
+
Pattern: new RegExp("^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$"),
|
|
96
|
+
MaxLength: 80,
|
|
97
|
+
MinLength: 2
|
|
107
98
|
},
|
|
108
|
-
serializedName: "
|
|
99
|
+
serializedName: "amlFilesystemName",
|
|
109
100
|
required: true,
|
|
110
101
|
type: {
|
|
111
102
|
name: "String"
|
|
@@ -113,9 +104,61 @@ export const operationId: OperationURLParameter = {
|
|
|
113
104
|
}
|
|
114
105
|
};
|
|
115
106
|
|
|
116
|
-
export const
|
|
107
|
+
export const contentType: OperationParameter = {
|
|
108
|
+
parameterPath: ["options", "contentType"],
|
|
109
|
+
mapper: {
|
|
110
|
+
defaultValue: "application/json",
|
|
111
|
+
isConstant: true,
|
|
112
|
+
serializedName: "Content-Type",
|
|
113
|
+
type: {
|
|
114
|
+
name: "String"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
export const amlFilesystem: OperationParameter = {
|
|
120
|
+
parameterPath: "amlFilesystem",
|
|
121
|
+
mapper: AmlFilesystemMapper
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
export const amlFilesystem1: OperationParameter = {
|
|
125
|
+
parameterPath: "amlFilesystem",
|
|
126
|
+
mapper: AmlFilesystemUpdateMapper
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
export const archiveInfo: OperationParameter = {
|
|
130
|
+
parameterPath: ["options", "archiveInfo"],
|
|
131
|
+
mapper: AmlFilesystemArchiveInfoMapper
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
export const nextLink: OperationURLParameter = {
|
|
135
|
+
parameterPath: "nextLink",
|
|
136
|
+
mapper: {
|
|
137
|
+
serializedName: "nextLink",
|
|
138
|
+
required: true,
|
|
139
|
+
type: {
|
|
140
|
+
name: "String"
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
skipEncoding: true
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
export const amlFilesystemSubnetInfo: OperationParameter = {
|
|
147
|
+
parameterPath: ["options", "amlFilesystemSubnetInfo"],
|
|
148
|
+
mapper: AmlFilesystemSubnetInfoMapper
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
export const requiredAMLFilesystemSubnetsSizeInfo: OperationParameter = {
|
|
152
|
+
parameterPath: ["options", "requiredAMLFilesystemSubnetsSizeInfo"],
|
|
153
|
+
mapper: RequiredAmlFilesystemSubnetsSizeInfoMapper
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
export const location: OperationURLParameter = {
|
|
117
157
|
parameterPath: "location",
|
|
118
158
|
mapper: {
|
|
159
|
+
constraints: {
|
|
160
|
+
MinLength: 1
|
|
161
|
+
},
|
|
119
162
|
serializedName: "location",
|
|
120
163
|
required: true,
|
|
121
164
|
type: {
|
|
@@ -124,14 +167,13 @@ export const location1: OperationURLParameter = {
|
|
|
124
167
|
}
|
|
125
168
|
};
|
|
126
169
|
|
|
127
|
-
export const
|
|
128
|
-
parameterPath: "
|
|
170
|
+
export const operationId: OperationURLParameter = {
|
|
171
|
+
parameterPath: "operationId",
|
|
129
172
|
mapper: {
|
|
130
173
|
constraints: {
|
|
131
|
-
MaxLength: 90,
|
|
132
174
|
MinLength: 1
|
|
133
175
|
},
|
|
134
|
-
serializedName: "
|
|
176
|
+
serializedName: "operationId",
|
|
135
177
|
required: true,
|
|
136
178
|
type: {
|
|
137
179
|
name: "String"
|
|
@@ -139,13 +181,10 @@ export const resourceGroupName: OperationURLParameter = {
|
|
|
139
181
|
}
|
|
140
182
|
};
|
|
141
183
|
|
|
142
|
-
export const
|
|
143
|
-
parameterPath: "
|
|
184
|
+
export const location1: OperationURLParameter = {
|
|
185
|
+
parameterPath: "location",
|
|
144
186
|
mapper: {
|
|
145
|
-
|
|
146
|
-
Pattern: new RegExp("^[-0-9a-zA-Z_]{1,80}$")
|
|
147
|
-
},
|
|
148
|
-
serializedName: "cacheName",
|
|
187
|
+
serializedName: "location",
|
|
149
188
|
required: true,
|
|
150
189
|
type: {
|
|
151
190
|
name: "String"
|
|
@@ -153,12 +192,14 @@ export const cacheName: OperationURLParameter = {
|
|
|
153
192
|
}
|
|
154
193
|
};
|
|
155
194
|
|
|
156
|
-
export const
|
|
157
|
-
parameterPath:
|
|
195
|
+
export const cacheName: OperationURLParameter = {
|
|
196
|
+
parameterPath: "cacheName",
|
|
158
197
|
mapper: {
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
198
|
+
constraints: {
|
|
199
|
+
Pattern: new RegExp("^[-0-9a-zA-Z_]{1,80}$")
|
|
200
|
+
},
|
|
201
|
+
serializedName: "cacheName",
|
|
202
|
+
required: true,
|
|
162
203
|
type: {
|
|
163
204
|
name: "String"
|
|
164
205
|
}
|
|
@@ -229,44 +270,3 @@ export const storagetarget: OperationParameter = {
|
|
|
229
270
|
parameterPath: "storagetarget",
|
|
230
271
|
mapper: StorageTargetMapper
|
|
231
272
|
};
|
|
232
|
-
|
|
233
|
-
export const amlFilesystemName: OperationURLParameter = {
|
|
234
|
-
parameterPath: "amlFilesystemName",
|
|
235
|
-
mapper: {
|
|
236
|
-
constraints: {
|
|
237
|
-
Pattern: new RegExp("^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$"),
|
|
238
|
-
MaxLength: 80,
|
|
239
|
-
MinLength: 2
|
|
240
|
-
},
|
|
241
|
-
serializedName: "amlFilesystemName",
|
|
242
|
-
required: true,
|
|
243
|
-
type: {
|
|
244
|
-
name: "String"
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
};
|
|
248
|
-
|
|
249
|
-
export const amlFilesystem: OperationParameter = {
|
|
250
|
-
parameterPath: "amlFilesystem",
|
|
251
|
-
mapper: AmlFilesystemMapper
|
|
252
|
-
};
|
|
253
|
-
|
|
254
|
-
export const amlFilesystem1: OperationParameter = {
|
|
255
|
-
parameterPath: "amlFilesystem",
|
|
256
|
-
mapper: AmlFilesystemUpdateMapper
|
|
257
|
-
};
|
|
258
|
-
|
|
259
|
-
export const archiveInfo: OperationParameter = {
|
|
260
|
-
parameterPath: ["options", "archiveInfo"],
|
|
261
|
-
mapper: AmlFilesystemArchiveInfoMapper
|
|
262
|
-
};
|
|
263
|
-
|
|
264
|
-
export const amlFilesystemSubnetInfo: OperationParameter = {
|
|
265
|
-
parameterPath: ["options", "amlFilesystemSubnetInfo"],
|
|
266
|
-
mapper: AmlFilesystemSubnetInfoMapper
|
|
267
|
-
};
|
|
268
|
-
|
|
269
|
-
export const requiredAMLFilesystemSubnetsSizeInfo: OperationParameter = {
|
|
270
|
-
parameterPath: ["options", "requiredAMLFilesystemSubnetsSizeInfo"],
|
|
271
|
-
mapper: RequiredAmlFilesystemSubnetsSizeInfoMapper
|
|
272
|
-
};
|
|
@@ -780,8 +780,8 @@ const listNextOperationSpec: coreClient.OperationSpec = {
|
|
|
780
780
|
},
|
|
781
781
|
urlParameters: [
|
|
782
782
|
Parameters.$host,
|
|
783
|
-
Parameters.
|
|
784
|
-
Parameters.
|
|
783
|
+
Parameters.subscriptionId,
|
|
784
|
+
Parameters.nextLink
|
|
785
785
|
],
|
|
786
786
|
headerParameters: [Parameters.accept],
|
|
787
787
|
serializer
|
|
@@ -799,9 +799,9 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
|
799
799
|
},
|
|
800
800
|
urlParameters: [
|
|
801
801
|
Parameters.$host,
|
|
802
|
-
Parameters.nextLink,
|
|
803
802
|
Parameters.subscriptionId,
|
|
804
|
-
Parameters.resourceGroupName
|
|
803
|
+
Parameters.resourceGroupName,
|
|
804
|
+
Parameters.nextLink
|
|
805
805
|
],
|
|
806
806
|
headerParameters: [Parameters.accept],
|
|
807
807
|
serializer
|
|
@@ -161,8 +161,8 @@ const listNextOperationSpec: coreClient.OperationSpec = {
|
|
|
161
161
|
},
|
|
162
162
|
urlParameters: [
|
|
163
163
|
Parameters.$host,
|
|
164
|
-
Parameters.nextLink,
|
|
165
164
|
Parameters.subscriptionId,
|
|
165
|
+
Parameters.nextLink,
|
|
166
166
|
Parameters.location1
|
|
167
167
|
],
|
|
168
168
|
headerParameters: [Parameters.accept],
|
package/src/operations/caches.ts
CHANGED
|
@@ -1862,8 +1862,8 @@ const listNextOperationSpec: coreClient.OperationSpec = {
|
|
|
1862
1862
|
},
|
|
1863
1863
|
urlParameters: [
|
|
1864
1864
|
Parameters.$host,
|
|
1865
|
-
Parameters.
|
|
1866
|
-
Parameters.
|
|
1865
|
+
Parameters.subscriptionId,
|
|
1866
|
+
Parameters.nextLink
|
|
1867
1867
|
],
|
|
1868
1868
|
headerParameters: [Parameters.accept],
|
|
1869
1869
|
serializer
|
|
@@ -1881,9 +1881,9 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
|
1881
1881
|
},
|
|
1882
1882
|
urlParameters: [
|
|
1883
1883
|
Parameters.$host,
|
|
1884
|
-
Parameters.nextLink,
|
|
1885
1884
|
Parameters.subscriptionId,
|
|
1886
|
-
Parameters.resourceGroupName
|
|
1885
|
+
Parameters.resourceGroupName,
|
|
1886
|
+
Parameters.nextLink
|
|
1887
1887
|
],
|
|
1888
1888
|
headerParameters: [Parameters.accept],
|
|
1889
1889
|
serializer
|
package/src/operations/index.ts
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
+
export * from "./amlFilesystems";
|
|
9
10
|
export * from "./operations";
|
|
10
11
|
export * from "./skus";
|
|
11
12
|
export * from "./usageModels";
|
|
@@ -14,4 +15,3 @@ export * from "./ascUsages";
|
|
|
14
15
|
export * from "./caches";
|
|
15
16
|
export * from "./storageTargets";
|
|
16
17
|
export * from "./storageTargetOperations";
|
|
17
|
-
export * from "./amlFilesystems";
|
package/src/operations/skus.ts
CHANGED
|
@@ -143,8 +143,8 @@ const listNextOperationSpec: coreClient.OperationSpec = {
|
|
|
143
143
|
},
|
|
144
144
|
urlParameters: [
|
|
145
145
|
Parameters.$host,
|
|
146
|
-
Parameters.
|
|
147
|
-
Parameters.
|
|
146
|
+
Parameters.subscriptionId,
|
|
147
|
+
Parameters.nextLink
|
|
148
148
|
],
|
|
149
149
|
headerParameters: [Parameters.accept],
|
|
150
150
|
serializer
|
|
@@ -740,9 +740,9 @@ const listByCacheNextOperationSpec: coreClient.OperationSpec = {
|
|
|
740
740
|
},
|
|
741
741
|
urlParameters: [
|
|
742
742
|
Parameters.$host,
|
|
743
|
-
Parameters.nextLink,
|
|
744
743
|
Parameters.subscriptionId,
|
|
745
744
|
Parameters.resourceGroupName,
|
|
745
|
+
Parameters.nextLink,
|
|
746
746
|
Parameters.cacheName
|
|
747
747
|
],
|
|
748
748
|
headerParameters: [Parameters.accept],
|
|
@@ -146,8 +146,8 @@ const listNextOperationSpec: coreClient.OperationSpec = {
|
|
|
146
146
|
},
|
|
147
147
|
urlParameters: [
|
|
148
148
|
Parameters.$host,
|
|
149
|
-
Parameters.
|
|
150
|
-
Parameters.
|
|
149
|
+
Parameters.subscriptionId,
|
|
150
|
+
Parameters.nextLink
|
|
151
151
|
],
|
|
152
152
|
headerParameters: [Parameters.accept],
|
|
153
153
|
serializer
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
+
export * from "./amlFilesystems";
|
|
9
10
|
export * from "./operations";
|
|
10
11
|
export * from "./skus";
|
|
11
12
|
export * from "./usageModels";
|
|
@@ -14,4 +15,3 @@ export * from "./ascUsages";
|
|
|
14
15
|
export * from "./caches";
|
|
15
16
|
export * from "./storageTargets";
|
|
16
17
|
export * from "./storageTargetOperations";
|
|
17
|
-
export * from "./amlFilesystems";
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
} from "@azure/core-rest-pipeline";
|
|
16
16
|
import * as coreAuth from "@azure/core-auth";
|
|
17
17
|
import {
|
|
18
|
+
AmlFilesystemsImpl,
|
|
18
19
|
OperationsImpl,
|
|
19
20
|
SkusImpl,
|
|
20
21
|
UsageModelsImpl,
|
|
@@ -22,10 +23,10 @@ import {
|
|
|
22
23
|
AscUsagesImpl,
|
|
23
24
|
CachesImpl,
|
|
24
25
|
StorageTargetsImpl,
|
|
25
|
-
StorageTargetOperationsImpl
|
|
26
|
-
AmlFilesystemsImpl
|
|
26
|
+
StorageTargetOperationsImpl
|
|
27
27
|
} from "./operations";
|
|
28
28
|
import {
|
|
29
|
+
AmlFilesystems,
|
|
29
30
|
Operations,
|
|
30
31
|
Skus,
|
|
31
32
|
UsageModels,
|
|
@@ -33,8 +34,7 @@ import {
|
|
|
33
34
|
AscUsages,
|
|
34
35
|
Caches,
|
|
35
36
|
StorageTargets,
|
|
36
|
-
StorageTargetOperations
|
|
37
|
-
AmlFilesystems
|
|
37
|
+
StorageTargetOperations
|
|
38
38
|
} from "./operationsInterfaces";
|
|
39
39
|
import * as Parameters from "./models/parameters";
|
|
40
40
|
import * as Mappers from "./models/mappers";
|
|
@@ -77,7 +77,7 @@ export class StorageCacheManagementClient extends coreClient.ServiceClient {
|
|
|
77
77
|
credential: credentials
|
|
78
78
|
};
|
|
79
79
|
|
|
80
|
-
const packageDetails = `azsdk-js-arm-storagecache/7.0.
|
|
80
|
+
const packageDetails = `azsdk-js-arm-storagecache/7.0.1`;
|
|
81
81
|
const userAgentPrefix =
|
|
82
82
|
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
83
83
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
@@ -130,7 +130,8 @@ export class StorageCacheManagementClient extends coreClient.ServiceClient {
|
|
|
130
130
|
|
|
131
131
|
// Assigning values to Constant parameters
|
|
132
132
|
this.$host = options.$host || "https://management.azure.com";
|
|
133
|
-
this.apiVersion = options.apiVersion || "2023-
|
|
133
|
+
this.apiVersion = options.apiVersion || "2023-05-01";
|
|
134
|
+
this.amlFilesystems = new AmlFilesystemsImpl(this);
|
|
134
135
|
this.operations = new OperationsImpl(this);
|
|
135
136
|
this.skus = new SkusImpl(this);
|
|
136
137
|
this.usageModels = new UsageModelsImpl(this);
|
|
@@ -139,7 +140,6 @@ export class StorageCacheManagementClient extends coreClient.ServiceClient {
|
|
|
139
140
|
this.caches = new CachesImpl(this);
|
|
140
141
|
this.storageTargets = new StorageTargetsImpl(this);
|
|
141
142
|
this.storageTargetOperations = new StorageTargetOperationsImpl(this);
|
|
142
|
-
this.amlFilesystems = new AmlFilesystemsImpl(this);
|
|
143
143
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
144
144
|
}
|
|
145
145
|
|
|
@@ -195,6 +195,7 @@ export class StorageCacheManagementClient extends coreClient.ServiceClient {
|
|
|
195
195
|
);
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
+
amlFilesystems: AmlFilesystems;
|
|
198
199
|
operations: Operations;
|
|
199
200
|
skus: Skus;
|
|
200
201
|
usageModels: UsageModels;
|
|
@@ -203,7 +204,6 @@ export class StorageCacheManagementClient extends coreClient.ServiceClient {
|
|
|
203
204
|
caches: Caches;
|
|
204
205
|
storageTargets: StorageTargets;
|
|
205
206
|
storageTargetOperations: StorageTargetOperations;
|
|
206
|
-
amlFilesystems: AmlFilesystems;
|
|
207
207
|
}
|
|
208
208
|
// Operation Specifications
|
|
209
209
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
@@ -27,20 +27,10 @@ export declare interface AmlFilesystem extends TrackedResource {
|
|
|
27
27
|
/** Subnet used for managing the AML file system and for client-facing operations. This subnet should have at least a /24 subnet mask within the VNET's address space. */
|
|
28
28
|
filesystemSubnet?: string;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
32
|
-
*/
|
|
33
|
-
readonly mgsAddress?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Recommended command to mount the AML file system
|
|
30
|
+
* Client information for the AML file system.
|
|
36
31
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
37
32
|
*/
|
|
38
|
-
readonly
|
|
39
|
-
/**
|
|
40
|
-
* The version of Lustre running in the AML file system
|
|
41
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
42
|
-
*/
|
|
43
|
-
readonly lustreVersion?: string;
|
|
33
|
+
readonly clientInfo?: AmlFilesystemClientInfo;
|
|
44
34
|
/**
|
|
45
35
|
* Throughput provisioned in MB per sec, calculated as storageCapacityTiB * per-unit storage throughput
|
|
46
36
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -122,6 +112,49 @@ export declare interface AmlFilesystemCheckSubnetErrorFilesystemSubnet {
|
|
|
122
112
|
message?: string;
|
|
123
113
|
}
|
|
124
114
|
|
|
115
|
+
/** AML file system client information */
|
|
116
|
+
export declare interface AmlFilesystemClientInfo {
|
|
117
|
+
/**
|
|
118
|
+
* The IPv4 address used by clients to mount the AML file system's Lustre Management Service (MGS).
|
|
119
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
120
|
+
*/
|
|
121
|
+
readonly mgsAddress?: string;
|
|
122
|
+
/**
|
|
123
|
+
* Recommended command to mount the AML file system
|
|
124
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
125
|
+
*/
|
|
126
|
+
readonly mountCommand?: string;
|
|
127
|
+
/**
|
|
128
|
+
* The version of Lustre running in the AML file system
|
|
129
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
130
|
+
*/
|
|
131
|
+
readonly lustreVersion?: string;
|
|
132
|
+
/**
|
|
133
|
+
* Container Storage Interface information for the AML file system.
|
|
134
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
135
|
+
*/
|
|
136
|
+
readonly containerStorageInterface?: AmlFilesystemContainerStorageInterface;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/** AML file system container storage interface information */
|
|
140
|
+
export declare interface AmlFilesystemContainerStorageInterface {
|
|
141
|
+
/**
|
|
142
|
+
* Recommended AKS Persistent Volume Claim for the CSI driver, in Base64 encoded YAML
|
|
143
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
144
|
+
*/
|
|
145
|
+
readonly persistentVolumeClaim?: string;
|
|
146
|
+
/**
|
|
147
|
+
* Recommended AKS Persistent Volume for the CSI driver, in Base64 encoded YAML
|
|
148
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
149
|
+
*/
|
|
150
|
+
readonly persistentVolume?: string;
|
|
151
|
+
/**
|
|
152
|
+
* Recommended AKS Storage Class for the CSI driver, in Base64 encoded YAML
|
|
153
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
154
|
+
*/
|
|
155
|
+
readonly storageClass?: string;
|
|
156
|
+
}
|
|
157
|
+
|
|
125
158
|
/** AML file system encryption settings. */
|
|
126
159
|
export declare interface AmlFilesystemEncryptionSettings {
|
|
127
160
|
/** Specifies the location of the encryption key in Key Vault. */
|
|
@@ -177,7 +210,7 @@ export declare interface AmlFilesystemIdentity {
|
|
|
177
210
|
type?: AmlFilesystemIdentityType;
|
|
178
211
|
/** A dictionary where each key is a user assigned identity resource ID, and each key's value is an empty dictionary. */
|
|
179
212
|
userAssignedIdentities?: {
|
|
180
|
-
[propertyName: string]:
|
|
213
|
+
[propertyName: string]: UserAssignedIdentitiesValue;
|
|
181
214
|
};
|
|
182
215
|
}
|
|
183
216
|
|
|
@@ -613,10 +646,8 @@ declare interface Cache_2 {
|
|
|
613
646
|
readonly systemData?: SystemData;
|
|
614
647
|
/** SKU for the cache. */
|
|
615
648
|
sku?: CacheSku;
|
|
616
|
-
/** The size of this
|
|
649
|
+
/** The size of this Cache, in GB. */
|
|
617
650
|
cacheSizeGB?: number;
|
|
618
|
-
/** Multiplier that sets the current storage and throughput capacity of the cache. Values depend on the cache SKU - <a href="https://learn.microsoft.com/en-us/rest/api/storagecache/skus/list?tabs=HTTP">List SKUs</a>. Values above 1.0 increase the cache size and throughput - for example, the scaling factor 1.33 gives a cache that's 33% larger than its base size. */
|
|
619
|
-
scalingFactor?: number;
|
|
620
651
|
/**
|
|
621
652
|
* Health of the cache.
|
|
622
653
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -2189,6 +2220,7 @@ export declare class StorageCacheManagementClient extends coreClient.ServiceClie
|
|
|
2189
2220
|
* @param options The options parameters.
|
|
2190
2221
|
*/
|
|
2191
2222
|
getRequiredAmlFSSubnetsSize(options?: GetRequiredAmlFSSubnetsSizeOptionalParams): Promise<GetRequiredAmlFSSubnetsSizeResponse>;
|
|
2223
|
+
amlFilesystems: AmlFilesystems;
|
|
2192
2224
|
operations: Operations;
|
|
2193
2225
|
skus: Skus;
|
|
2194
2226
|
usageModels: UsageModels;
|
|
@@ -2197,7 +2229,6 @@ export declare class StorageCacheManagementClient extends coreClient.ServiceClie
|
|
|
2197
2229
|
caches: Caches;
|
|
2198
2230
|
storageTargets: StorageTargets;
|
|
2199
2231
|
storageTargetOperations: StorageTargetOperations;
|
|
2200
|
-
amlFilesystems: AmlFilesystems;
|
|
2201
2232
|
}
|
|
2202
2233
|
|
|
2203
2234
|
/** Optional parameters. */
|
|
@@ -2720,19 +2751,6 @@ export declare interface UserAssignedIdentitiesValue {
|
|
|
2720
2751
|
readonly clientId?: string;
|
|
2721
2752
|
}
|
|
2722
2753
|
|
|
2723
|
-
export declare interface UserAssignedIdentitiesValueAutoGenerated {
|
|
2724
|
-
/**
|
|
2725
|
-
* The principal ID of the user-assigned identity.
|
|
2726
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2727
|
-
*/
|
|
2728
|
-
readonly principalId?: string;
|
|
2729
|
-
/**
|
|
2730
|
-
* The client ID of the user-assigned identity.
|
|
2731
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2732
|
-
*/
|
|
2733
|
-
readonly clientId?: string;
|
|
2734
|
-
}
|
|
2735
|
-
|
|
2736
2754
|
/**
|
|
2737
2755
|
* Defines values for UsernameDownloadedType. \
|
|
2738
2756
|
* {@link KnownUsernameDownloadedType} can be used interchangeably with UsernameDownloadedType,
|