@azure/arm-storage 17.0.1-alpha.20220202.1 → 17.1.0-alpha.20220307.1
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 +42 -11
- package/LICENSE +1 -1
- package/dist/index.js +836 -452
- 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/src/models/index.d.ts +147 -21
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +12 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +6 -2
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +241 -53
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +2 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +20 -2
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/fileServices.js +3 -3
- package/dist-esm/src/operations/fileServices.js.map +1 -1
- package/dist-esm/src/operations/fileShares.js +8 -8
- package/dist-esm/src/operations/fileShares.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/localUsersOperations.d.ts +97 -0
- package/dist-esm/src/operations/localUsersOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/localUsersOperations.js +287 -0
- package/dist-esm/src/operations/localUsersOperations.js.map +1 -0
- package/dist-esm/src/operations/queue.js +6 -6
- package/dist-esm/src/operations/queue.js.map +1 -1
- package/dist-esm/src/operations/queueServices.js +3 -3
- package/dist-esm/src/operations/queueServices.js.map +1 -1
- package/dist-esm/src/operations/tableOperations.js +6 -6
- package/dist-esm/src/operations/tableOperations.js.map +1 -1
- package/dist-esm/src/operations/tableServices.js +3 -3
- package/dist-esm/src/operations/tableServices.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/localUsersOperations.d.ts +77 -0
- package/dist-esm/src/operationsInterfaces/localUsersOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/localUsersOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/localUsersOperations.js.map +1 -0
- package/dist-esm/src/storageManagementClient.d.ts +2 -1
- package/dist-esm/src/storageManagementClient.d.ts.map +1 -1
- package/dist-esm/src/storageManagementClient.js +4 -3
- package/dist-esm/src/storageManagementClient.js.map +1 -1
- package/dist-esm/test/storage_examples.js +1 -1
- package/dist-esm/test/storage_examples.js.map +1 -1
- package/package.json +21 -7
- package/review/arm-storage.api.md +126 -13
- package/src/models/index.ts +168 -23
- package/src/models/mappers.ts +260 -55
- package/src/models/parameters.ts +22 -1
- package/src/operations/fileServices.ts +3 -3
- package/src/operations/fileShares.ts +8 -8
- package/src/operations/index.ts +1 -0
- package/src/operations/localUsersOperations.ts +371 -0
- package/src/operations/queue.ts +6 -6
- package/src/operations/queueServices.ts +3 -3
- package/src/operations/tableOperations.ts +6 -6
- package/src/operations/tableServices.ts +3 -3
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/localUsersOperations.ts +128 -0
- package/src/storageManagementClient.ts +6 -2
- package/tsconfig.json +18 -5
- package/types/arm-storage.d.ts +244 -23
package/dist/index.js
CHANGED
|
@@ -6,26 +6,6 @@ var coreClient = require('@azure/core-client');
|
|
|
6
6
|
var tslib = require('tslib');
|
|
7
7
|
var coreLro = require('@azure/core-lro');
|
|
8
8
|
|
|
9
|
-
function _interopNamespace(e) {
|
|
10
|
-
if (e && e.__esModule) return e;
|
|
11
|
-
var n = Object.create(null);
|
|
12
|
-
if (e) {
|
|
13
|
-
Object.keys(e).forEach(function (k) {
|
|
14
|
-
if (k !== 'default') {
|
|
15
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return e[k]; }
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
n["default"] = e;
|
|
24
|
-
return Object.freeze(n);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
|
|
28
|
-
|
|
29
9
|
/*
|
|
30
10
|
* Copyright (c) Microsoft Corporation.
|
|
31
11
|
* Licensed under the MIT License.
|
|
@@ -33,8 +13,6 @@ var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
|
|
|
33
13
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
34
14
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
35
15
|
*/
|
|
36
|
-
/** Known values of {@link SkuName} that the service accepts. */
|
|
37
|
-
exports.KnownSkuName = void 0;
|
|
38
16
|
(function (KnownSkuName) {
|
|
39
17
|
KnownSkuName["StandardLRS"] = "Standard_LRS";
|
|
40
18
|
KnownSkuName["StandardGRS"] = "Standard_GRS";
|
|
@@ -45,8 +23,6 @@ exports.KnownSkuName = void 0;
|
|
|
45
23
|
KnownSkuName["StandardGzrs"] = "Standard_GZRS";
|
|
46
24
|
KnownSkuName["StandardRagzrs"] = "Standard_RAGZRS";
|
|
47
25
|
})(exports.KnownSkuName || (exports.KnownSkuName = {}));
|
|
48
|
-
/** Known values of {@link Kind} that the service accepts. */
|
|
49
|
-
exports.KnownKind = void 0;
|
|
50
26
|
(function (KnownKind) {
|
|
51
27
|
KnownKind["Storage"] = "Storage";
|
|
52
28
|
KnownKind["StorageV2"] = "StorageV2";
|
|
@@ -54,58 +30,44 @@ exports.KnownKind = void 0;
|
|
|
54
30
|
KnownKind["FileStorage"] = "FileStorage";
|
|
55
31
|
KnownKind["BlockBlobStorage"] = "BlockBlobStorage";
|
|
56
32
|
})(exports.KnownKind || (exports.KnownKind = {}));
|
|
57
|
-
/** Known values of {@link ReasonCode} that the service accepts. */
|
|
58
|
-
exports.KnownReasonCode = void 0;
|
|
59
33
|
(function (KnownReasonCode) {
|
|
60
34
|
KnownReasonCode["QuotaId"] = "QuotaId";
|
|
61
35
|
KnownReasonCode["NotAvailableForSubscription"] = "NotAvailableForSubscription";
|
|
62
36
|
})(exports.KnownReasonCode || (exports.KnownReasonCode = {}));
|
|
63
|
-
/** Known values of {@link ExtendedLocationTypes} that the service accepts. */
|
|
64
|
-
exports.KnownExtendedLocationTypes = void 0;
|
|
65
37
|
(function (KnownExtendedLocationTypes) {
|
|
66
38
|
KnownExtendedLocationTypes["EdgeZone"] = "EdgeZone";
|
|
67
39
|
})(exports.KnownExtendedLocationTypes || (exports.KnownExtendedLocationTypes = {}));
|
|
68
|
-
/** Known values of {@link IdentityType} that the service accepts. */
|
|
69
|
-
exports.KnownIdentityType = void 0;
|
|
70
40
|
(function (KnownIdentityType) {
|
|
71
41
|
KnownIdentityType["None"] = "None";
|
|
72
42
|
KnownIdentityType["SystemAssigned"] = "SystemAssigned";
|
|
73
43
|
KnownIdentityType["UserAssigned"] = "UserAssigned";
|
|
74
44
|
KnownIdentityType["SystemAssignedUserAssigned"] = "SystemAssigned,UserAssigned";
|
|
75
45
|
})(exports.KnownIdentityType || (exports.KnownIdentityType = {}));
|
|
76
|
-
|
|
77
|
-
|
|
46
|
+
(function (KnownAllowedCopyScope) {
|
|
47
|
+
KnownAllowedCopyScope["PrivateLink"] = "PrivateLink";
|
|
48
|
+
KnownAllowedCopyScope["AAD"] = "AAD";
|
|
49
|
+
})(exports.KnownAllowedCopyScope || (exports.KnownAllowedCopyScope = {}));
|
|
78
50
|
(function (KnownPublicNetworkAccess) {
|
|
79
51
|
KnownPublicNetworkAccess["Enabled"] = "Enabled";
|
|
80
52
|
KnownPublicNetworkAccess["Disabled"] = "Disabled";
|
|
81
53
|
})(exports.KnownPublicNetworkAccess || (exports.KnownPublicNetworkAccess = {}));
|
|
82
|
-
/** Known values of {@link ExpirationAction} that the service accepts. */
|
|
83
|
-
exports.KnownExpirationAction = void 0;
|
|
84
54
|
(function (KnownExpirationAction) {
|
|
85
55
|
KnownExpirationAction["Log"] = "Log";
|
|
86
56
|
})(exports.KnownExpirationAction || (exports.KnownExpirationAction = {}));
|
|
87
|
-
/** Known values of {@link KeyType} that the service accepts. */
|
|
88
|
-
exports.KnownKeyType = void 0;
|
|
89
57
|
(function (KnownKeyType) {
|
|
90
58
|
KnownKeyType["Service"] = "Service";
|
|
91
59
|
KnownKeyType["Account"] = "Account";
|
|
92
60
|
})(exports.KnownKeyType || (exports.KnownKeyType = {}));
|
|
93
|
-
/** Known values of {@link KeySource} that the service accepts. */
|
|
94
|
-
exports.KnownKeySource = void 0;
|
|
95
61
|
(function (KnownKeySource) {
|
|
96
62
|
KnownKeySource["MicrosoftStorage"] = "Microsoft.Storage";
|
|
97
63
|
KnownKeySource["MicrosoftKeyvault"] = "Microsoft.Keyvault";
|
|
98
64
|
})(exports.KnownKeySource || (exports.KnownKeySource = {}));
|
|
99
|
-
/** Known values of {@link Bypass} that the service accepts. */
|
|
100
|
-
exports.KnownBypass = void 0;
|
|
101
65
|
(function (KnownBypass) {
|
|
102
66
|
KnownBypass["None"] = "None";
|
|
103
67
|
KnownBypass["Logging"] = "Logging";
|
|
104
68
|
KnownBypass["Metrics"] = "Metrics";
|
|
105
69
|
KnownBypass["AzureServices"] = "AzureServices";
|
|
106
70
|
})(exports.KnownBypass || (exports.KnownBypass = {}));
|
|
107
|
-
/** Known values of {@link State} that the service accepts. */
|
|
108
|
-
exports.KnownState = void 0;
|
|
109
71
|
(function (KnownState) {
|
|
110
72
|
KnownState["Provisioning"] = "Provisioning";
|
|
111
73
|
KnownState["Deprovisioning"] = "Deprovisioning";
|
|
@@ -113,93 +75,71 @@ exports.KnownState = void 0;
|
|
|
113
75
|
KnownState["Failed"] = "Failed";
|
|
114
76
|
KnownState["NetworkSourceDeleted"] = "NetworkSourceDeleted";
|
|
115
77
|
})(exports.KnownState || (exports.KnownState = {}));
|
|
116
|
-
/** Known values of {@link DirectoryServiceOptions} that the service accepts. */
|
|
117
|
-
exports.KnownDirectoryServiceOptions = void 0;
|
|
118
78
|
(function (KnownDirectoryServiceOptions) {
|
|
119
79
|
KnownDirectoryServiceOptions["None"] = "None";
|
|
120
80
|
KnownDirectoryServiceOptions["Aadds"] = "AADDS";
|
|
121
81
|
KnownDirectoryServiceOptions["AD"] = "AD";
|
|
122
82
|
})(exports.KnownDirectoryServiceOptions || (exports.KnownDirectoryServiceOptions = {}));
|
|
123
|
-
|
|
124
|
-
|
|
83
|
+
(function (KnownActiveDirectoryPropertiesAccountType) {
|
|
84
|
+
KnownActiveDirectoryPropertiesAccountType["User"] = "User";
|
|
85
|
+
KnownActiveDirectoryPropertiesAccountType["Computer"] = "Computer";
|
|
86
|
+
})(exports.KnownActiveDirectoryPropertiesAccountType || (exports.KnownActiveDirectoryPropertiesAccountType = {}));
|
|
125
87
|
(function (KnownDefaultSharePermission) {
|
|
126
88
|
KnownDefaultSharePermission["None"] = "None";
|
|
127
89
|
KnownDefaultSharePermission["StorageFileDataSmbShareReader"] = "StorageFileDataSmbShareReader";
|
|
128
90
|
KnownDefaultSharePermission["StorageFileDataSmbShareContributor"] = "StorageFileDataSmbShareContributor";
|
|
129
91
|
KnownDefaultSharePermission["StorageFileDataSmbShareElevatedContributor"] = "StorageFileDataSmbShareElevatedContributor";
|
|
130
92
|
})(exports.KnownDefaultSharePermission || (exports.KnownDefaultSharePermission = {}));
|
|
131
|
-
/** Known values of {@link LargeFileSharesState} that the service accepts. */
|
|
132
|
-
exports.KnownLargeFileSharesState = void 0;
|
|
133
93
|
(function (KnownLargeFileSharesState) {
|
|
134
94
|
KnownLargeFileSharesState["Disabled"] = "Disabled";
|
|
135
95
|
KnownLargeFileSharesState["Enabled"] = "Enabled";
|
|
136
96
|
})(exports.KnownLargeFileSharesState || (exports.KnownLargeFileSharesState = {}));
|
|
137
|
-
/** Known values of {@link RoutingChoice} that the service accepts. */
|
|
138
|
-
exports.KnownRoutingChoice = void 0;
|
|
139
97
|
(function (KnownRoutingChoice) {
|
|
140
98
|
KnownRoutingChoice["MicrosoftRouting"] = "MicrosoftRouting";
|
|
141
99
|
KnownRoutingChoice["InternetRouting"] = "InternetRouting";
|
|
142
100
|
})(exports.KnownRoutingChoice || (exports.KnownRoutingChoice = {}));
|
|
143
|
-
/** Known values of {@link MinimumTlsVersion} that the service accepts. */
|
|
144
|
-
exports.KnownMinimumTlsVersion = void 0;
|
|
145
101
|
(function (KnownMinimumTlsVersion) {
|
|
146
102
|
KnownMinimumTlsVersion["TLS10"] = "TLS1_0";
|
|
147
103
|
KnownMinimumTlsVersion["TLS11"] = "TLS1_1";
|
|
148
104
|
KnownMinimumTlsVersion["TLS12"] = "TLS1_2";
|
|
149
105
|
})(exports.KnownMinimumTlsVersion || (exports.KnownMinimumTlsVersion = {}));
|
|
150
|
-
/** Known values of {@link AccountImmutabilityPolicyState} that the service accepts. */
|
|
151
|
-
exports.KnownAccountImmutabilityPolicyState = void 0;
|
|
152
106
|
(function (KnownAccountImmutabilityPolicyState) {
|
|
153
107
|
KnownAccountImmutabilityPolicyState["Unlocked"] = "Unlocked";
|
|
154
108
|
KnownAccountImmutabilityPolicyState["Locked"] = "Locked";
|
|
155
109
|
KnownAccountImmutabilityPolicyState["Disabled"] = "Disabled";
|
|
156
110
|
})(exports.KnownAccountImmutabilityPolicyState || (exports.KnownAccountImmutabilityPolicyState = {}));
|
|
157
|
-
/** Known values of {@link GeoReplicationStatus} that the service accepts. */
|
|
158
|
-
exports.KnownGeoReplicationStatus = void 0;
|
|
159
111
|
(function (KnownGeoReplicationStatus) {
|
|
160
112
|
KnownGeoReplicationStatus["Live"] = "Live";
|
|
161
113
|
KnownGeoReplicationStatus["Bootstrap"] = "Bootstrap";
|
|
162
114
|
KnownGeoReplicationStatus["Unavailable"] = "Unavailable";
|
|
163
115
|
})(exports.KnownGeoReplicationStatus || (exports.KnownGeoReplicationStatus = {}));
|
|
164
|
-
/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
|
|
165
|
-
exports.KnownPrivateEndpointServiceConnectionStatus = void 0;
|
|
166
116
|
(function (KnownPrivateEndpointServiceConnectionStatus) {
|
|
167
117
|
KnownPrivateEndpointServiceConnectionStatus["Pending"] = "Pending";
|
|
168
118
|
KnownPrivateEndpointServiceConnectionStatus["Approved"] = "Approved";
|
|
169
119
|
KnownPrivateEndpointServiceConnectionStatus["Rejected"] = "Rejected";
|
|
170
120
|
})(exports.KnownPrivateEndpointServiceConnectionStatus || (exports.KnownPrivateEndpointServiceConnectionStatus = {}));
|
|
171
|
-
/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
|
|
172
|
-
exports.KnownPrivateEndpointConnectionProvisioningState = void 0;
|
|
173
121
|
(function (KnownPrivateEndpointConnectionProvisioningState) {
|
|
174
122
|
KnownPrivateEndpointConnectionProvisioningState["Succeeded"] = "Succeeded";
|
|
175
123
|
KnownPrivateEndpointConnectionProvisioningState["Creating"] = "Creating";
|
|
176
124
|
KnownPrivateEndpointConnectionProvisioningState["Deleting"] = "Deleting";
|
|
177
125
|
KnownPrivateEndpointConnectionProvisioningState["Failed"] = "Failed";
|
|
178
126
|
})(exports.KnownPrivateEndpointConnectionProvisioningState || (exports.KnownPrivateEndpointConnectionProvisioningState = {}));
|
|
179
|
-
/** Known values of {@link BlobRestoreProgressStatus} that the service accepts. */
|
|
180
|
-
exports.KnownBlobRestoreProgressStatus = void 0;
|
|
181
127
|
(function (KnownBlobRestoreProgressStatus) {
|
|
182
128
|
KnownBlobRestoreProgressStatus["InProgress"] = "InProgress";
|
|
183
129
|
KnownBlobRestoreProgressStatus["Complete"] = "Complete";
|
|
184
130
|
KnownBlobRestoreProgressStatus["Failed"] = "Failed";
|
|
185
131
|
})(exports.KnownBlobRestoreProgressStatus || (exports.KnownBlobRestoreProgressStatus = {}));
|
|
186
|
-
/** Known values of {@link Services} that the service accepts. */
|
|
187
|
-
exports.KnownServices = void 0;
|
|
188
132
|
(function (KnownServices) {
|
|
189
133
|
KnownServices["B"] = "b";
|
|
190
134
|
KnownServices["Q"] = "q";
|
|
191
135
|
KnownServices["T"] = "t";
|
|
192
136
|
KnownServices["F"] = "f";
|
|
193
137
|
})(exports.KnownServices || (exports.KnownServices = {}));
|
|
194
|
-
/** Known values of {@link SignedResourceTypes} that the service accepts. */
|
|
195
|
-
exports.KnownSignedResourceTypes = void 0;
|
|
196
138
|
(function (KnownSignedResourceTypes) {
|
|
197
139
|
KnownSignedResourceTypes["S"] = "s";
|
|
198
140
|
KnownSignedResourceTypes["C"] = "c";
|
|
199
141
|
KnownSignedResourceTypes["O"] = "o";
|
|
200
142
|
})(exports.KnownSignedResourceTypes || (exports.KnownSignedResourceTypes = {}));
|
|
201
|
-
/** Known values of {@link Permissions} that the service accepts. */
|
|
202
|
-
exports.KnownPermissions = void 0;
|
|
203
143
|
(function (KnownPermissions) {
|
|
204
144
|
KnownPermissions["R"] = "r";
|
|
205
145
|
KnownPermissions["D"] = "d";
|
|
@@ -210,74 +150,50 @@ exports.KnownPermissions = void 0;
|
|
|
210
150
|
KnownPermissions["U"] = "u";
|
|
211
151
|
KnownPermissions["P"] = "p";
|
|
212
152
|
})(exports.KnownPermissions || (exports.KnownPermissions = {}));
|
|
213
|
-
/** Known values of {@link SignedResource} that the service accepts. */
|
|
214
|
-
exports.KnownSignedResource = void 0;
|
|
215
153
|
(function (KnownSignedResource) {
|
|
216
154
|
KnownSignedResource["B"] = "b";
|
|
217
155
|
KnownSignedResource["C"] = "c";
|
|
218
156
|
KnownSignedResource["F"] = "f";
|
|
219
157
|
KnownSignedResource["S"] = "s";
|
|
220
158
|
})(exports.KnownSignedResource || (exports.KnownSignedResource = {}));
|
|
221
|
-
/** Known values of {@link ManagementPolicyName} that the service accepts. */
|
|
222
|
-
exports.KnownManagementPolicyName = void 0;
|
|
223
159
|
(function (KnownManagementPolicyName) {
|
|
224
160
|
KnownManagementPolicyName["Default"] = "default";
|
|
225
161
|
})(exports.KnownManagementPolicyName || (exports.KnownManagementPolicyName = {}));
|
|
226
|
-
/** Known values of {@link RuleType} that the service accepts. */
|
|
227
|
-
exports.KnownRuleType = void 0;
|
|
228
162
|
(function (KnownRuleType) {
|
|
229
163
|
KnownRuleType["Lifecycle"] = "Lifecycle";
|
|
230
164
|
})(exports.KnownRuleType || (exports.KnownRuleType = {}));
|
|
231
|
-
/** Known values of {@link BlobInventoryPolicyName} that the service accepts. */
|
|
232
|
-
exports.KnownBlobInventoryPolicyName = void 0;
|
|
233
165
|
(function (KnownBlobInventoryPolicyName) {
|
|
234
166
|
KnownBlobInventoryPolicyName["Default"] = "default";
|
|
235
167
|
})(exports.KnownBlobInventoryPolicyName || (exports.KnownBlobInventoryPolicyName = {}));
|
|
236
|
-
/** Known values of {@link InventoryRuleType} that the service accepts. */
|
|
237
|
-
exports.KnownInventoryRuleType = void 0;
|
|
238
168
|
(function (KnownInventoryRuleType) {
|
|
239
169
|
KnownInventoryRuleType["Inventory"] = "Inventory";
|
|
240
170
|
})(exports.KnownInventoryRuleType || (exports.KnownInventoryRuleType = {}));
|
|
241
|
-
/** Known values of {@link Format} that the service accepts. */
|
|
242
|
-
exports.KnownFormat = void 0;
|
|
243
171
|
(function (KnownFormat) {
|
|
244
172
|
KnownFormat["Csv"] = "Csv";
|
|
245
173
|
KnownFormat["Parquet"] = "Parquet";
|
|
246
174
|
})(exports.KnownFormat || (exports.KnownFormat = {}));
|
|
247
|
-
/** Known values of {@link Schedule} that the service accepts. */
|
|
248
|
-
exports.KnownSchedule = void 0;
|
|
249
175
|
(function (KnownSchedule) {
|
|
250
176
|
KnownSchedule["Daily"] = "Daily";
|
|
251
177
|
KnownSchedule["Weekly"] = "Weekly";
|
|
252
178
|
})(exports.KnownSchedule || (exports.KnownSchedule = {}));
|
|
253
|
-
/** Known values of {@link ObjectType} that the service accepts. */
|
|
254
|
-
exports.KnownObjectType = void 0;
|
|
255
179
|
(function (KnownObjectType) {
|
|
256
180
|
KnownObjectType["Blob"] = "Blob";
|
|
257
181
|
KnownObjectType["Container"] = "Container";
|
|
258
182
|
})(exports.KnownObjectType || (exports.KnownObjectType = {}));
|
|
259
|
-
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
260
|
-
exports.KnownCreatedByType = void 0;
|
|
261
183
|
(function (KnownCreatedByType) {
|
|
262
184
|
KnownCreatedByType["User"] = "User";
|
|
263
185
|
KnownCreatedByType["Application"] = "Application";
|
|
264
186
|
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
265
187
|
KnownCreatedByType["Key"] = "Key";
|
|
266
188
|
})(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
|
|
267
|
-
/** Known values of {@link EncryptionScopeSource} that the service accepts. */
|
|
268
|
-
exports.KnownEncryptionScopeSource = void 0;
|
|
269
189
|
(function (KnownEncryptionScopeSource) {
|
|
270
190
|
KnownEncryptionScopeSource["MicrosoftStorage"] = "Microsoft.Storage";
|
|
271
191
|
KnownEncryptionScopeSource["MicrosoftKeyVault"] = "Microsoft.KeyVault";
|
|
272
192
|
})(exports.KnownEncryptionScopeSource || (exports.KnownEncryptionScopeSource = {}));
|
|
273
|
-
/** Known values of {@link EncryptionScopeState} that the service accepts. */
|
|
274
|
-
exports.KnownEncryptionScopeState = void 0;
|
|
275
193
|
(function (KnownEncryptionScopeState) {
|
|
276
194
|
KnownEncryptionScopeState["Enabled"] = "Enabled";
|
|
277
195
|
KnownEncryptionScopeState["Disabled"] = "Disabled";
|
|
278
196
|
})(exports.KnownEncryptionScopeState || (exports.KnownEncryptionScopeState = {}));
|
|
279
|
-
/** Known values of {@link CorsRuleAllowedMethodsItem} that the service accepts. */
|
|
280
|
-
exports.KnownCorsRuleAllowedMethodsItem = void 0;
|
|
281
197
|
(function (KnownCorsRuleAllowedMethodsItem) {
|
|
282
198
|
KnownCorsRuleAllowedMethodsItem["Delete"] = "DELETE";
|
|
283
199
|
KnownCorsRuleAllowedMethodsItem["GET"] = "GET";
|
|
@@ -287,24 +203,16 @@ exports.KnownCorsRuleAllowedMethodsItem = void 0;
|
|
|
287
203
|
KnownCorsRuleAllowedMethodsItem["Options"] = "OPTIONS";
|
|
288
204
|
KnownCorsRuleAllowedMethodsItem["PUT"] = "PUT";
|
|
289
205
|
})(exports.KnownCorsRuleAllowedMethodsItem || (exports.KnownCorsRuleAllowedMethodsItem = {}));
|
|
290
|
-
/** Known values of {@link Name} that the service accepts. */
|
|
291
|
-
exports.KnownName = void 0;
|
|
292
206
|
(function (KnownName) {
|
|
293
207
|
KnownName["AccessTimeTracking"] = "AccessTimeTracking";
|
|
294
208
|
})(exports.KnownName || (exports.KnownName = {}));
|
|
295
|
-
/** Known values of {@link ListContainersInclude} that the service accepts. */
|
|
296
|
-
exports.KnownListContainersInclude = void 0;
|
|
297
209
|
(function (KnownListContainersInclude) {
|
|
298
210
|
KnownListContainersInclude["Deleted"] = "deleted";
|
|
299
211
|
})(exports.KnownListContainersInclude || (exports.KnownListContainersInclude = {}));
|
|
300
|
-
/** Known values of {@link LeaseStatus} that the service accepts. */
|
|
301
|
-
exports.KnownLeaseStatus = void 0;
|
|
302
212
|
(function (KnownLeaseStatus) {
|
|
303
213
|
KnownLeaseStatus["Locked"] = "Locked";
|
|
304
214
|
KnownLeaseStatus["Unlocked"] = "Unlocked";
|
|
305
215
|
})(exports.KnownLeaseStatus || (exports.KnownLeaseStatus = {}));
|
|
306
|
-
/** Known values of {@link LeaseState} that the service accepts. */
|
|
307
|
-
exports.KnownLeaseState = void 0;
|
|
308
216
|
(function (KnownLeaseState) {
|
|
309
217
|
KnownLeaseState["Available"] = "Available";
|
|
310
218
|
KnownLeaseState["Leased"] = "Leased";
|
|
@@ -312,33 +220,23 @@ exports.KnownLeaseState = void 0;
|
|
|
312
220
|
KnownLeaseState["Breaking"] = "Breaking";
|
|
313
221
|
KnownLeaseState["Broken"] = "Broken";
|
|
314
222
|
})(exports.KnownLeaseState || (exports.KnownLeaseState = {}));
|
|
315
|
-
/** Known values of {@link LeaseDuration} that the service accepts. */
|
|
316
|
-
exports.KnownLeaseDuration = void 0;
|
|
317
223
|
(function (KnownLeaseDuration) {
|
|
318
224
|
KnownLeaseDuration["Infinite"] = "Infinite";
|
|
319
225
|
KnownLeaseDuration["Fixed"] = "Fixed";
|
|
320
226
|
})(exports.KnownLeaseDuration || (exports.KnownLeaseDuration = {}));
|
|
321
|
-
/** Known values of {@link ImmutabilityPolicyState} that the service accepts. */
|
|
322
|
-
exports.KnownImmutabilityPolicyState = void 0;
|
|
323
227
|
(function (KnownImmutabilityPolicyState) {
|
|
324
228
|
KnownImmutabilityPolicyState["Locked"] = "Locked";
|
|
325
229
|
KnownImmutabilityPolicyState["Unlocked"] = "Unlocked";
|
|
326
230
|
})(exports.KnownImmutabilityPolicyState || (exports.KnownImmutabilityPolicyState = {}));
|
|
327
|
-
/** Known values of {@link ImmutabilityPolicyUpdateType} that the service accepts. */
|
|
328
|
-
exports.KnownImmutabilityPolicyUpdateType = void 0;
|
|
329
231
|
(function (KnownImmutabilityPolicyUpdateType) {
|
|
330
232
|
KnownImmutabilityPolicyUpdateType["Put"] = "put";
|
|
331
233
|
KnownImmutabilityPolicyUpdateType["Lock"] = "lock";
|
|
332
234
|
KnownImmutabilityPolicyUpdateType["Extend"] = "extend";
|
|
333
235
|
})(exports.KnownImmutabilityPolicyUpdateType || (exports.KnownImmutabilityPolicyUpdateType = {}));
|
|
334
|
-
/** Known values of {@link MigrationState} that the service accepts. */
|
|
335
|
-
exports.KnownMigrationState = void 0;
|
|
336
236
|
(function (KnownMigrationState) {
|
|
337
237
|
KnownMigrationState["InProgress"] = "InProgress";
|
|
338
238
|
KnownMigrationState["Completed"] = "Completed";
|
|
339
239
|
})(exports.KnownMigrationState || (exports.KnownMigrationState = {}));
|
|
340
|
-
/** Known values of {@link LeaseContainerRequestAction} that the service accepts. */
|
|
341
|
-
exports.KnownLeaseContainerRequestAction = void 0;
|
|
342
240
|
(function (KnownLeaseContainerRequestAction) {
|
|
343
241
|
KnownLeaseContainerRequestAction["Acquire"] = "Acquire";
|
|
344
242
|
KnownLeaseContainerRequestAction["Renew"] = "Renew";
|
|
@@ -346,29 +244,21 @@ exports.KnownLeaseContainerRequestAction = void 0;
|
|
|
346
244
|
KnownLeaseContainerRequestAction["Release"] = "Release";
|
|
347
245
|
KnownLeaseContainerRequestAction["Break"] = "Break";
|
|
348
246
|
})(exports.KnownLeaseContainerRequestAction || (exports.KnownLeaseContainerRequestAction = {}));
|
|
349
|
-
/** Known values of {@link EnabledProtocols} that the service accepts. */
|
|
350
|
-
exports.KnownEnabledProtocols = void 0;
|
|
351
247
|
(function (KnownEnabledProtocols) {
|
|
352
248
|
KnownEnabledProtocols["SMB"] = "SMB";
|
|
353
249
|
KnownEnabledProtocols["NFS"] = "NFS";
|
|
354
250
|
})(exports.KnownEnabledProtocols || (exports.KnownEnabledProtocols = {}));
|
|
355
|
-
/** Known values of {@link RootSquashType} that the service accepts. */
|
|
356
|
-
exports.KnownRootSquashType = void 0;
|
|
357
251
|
(function (KnownRootSquashType) {
|
|
358
252
|
KnownRootSquashType["NoRootSquash"] = "NoRootSquash";
|
|
359
253
|
KnownRootSquashType["RootSquash"] = "RootSquash";
|
|
360
254
|
KnownRootSquashType["AllSquash"] = "AllSquash";
|
|
361
255
|
})(exports.KnownRootSquashType || (exports.KnownRootSquashType = {}));
|
|
362
|
-
/** Known values of {@link ShareAccessTier} that the service accepts. */
|
|
363
|
-
exports.KnownShareAccessTier = void 0;
|
|
364
256
|
(function (KnownShareAccessTier) {
|
|
365
257
|
KnownShareAccessTier["TransactionOptimized"] = "TransactionOptimized";
|
|
366
258
|
KnownShareAccessTier["Hot"] = "Hot";
|
|
367
259
|
KnownShareAccessTier["Cool"] = "Cool";
|
|
368
260
|
KnownShareAccessTier["Premium"] = "Premium";
|
|
369
261
|
})(exports.KnownShareAccessTier || (exports.KnownShareAccessTier = {}));
|
|
370
|
-
/** Known values of {@link LeaseShareAction} that the service accepts. */
|
|
371
|
-
exports.KnownLeaseShareAction = void 0;
|
|
372
262
|
(function (KnownLeaseShareAction) {
|
|
373
263
|
KnownLeaseShareAction["Acquire"] = "Acquire";
|
|
374
264
|
KnownLeaseShareAction["Renew"] = "Renew";
|
|
@@ -828,6 +718,12 @@ const StorageAccountCreateParameters = {
|
|
|
828
718
|
className: "Identity"
|
|
829
719
|
}
|
|
830
720
|
},
|
|
721
|
+
allowedCopyScope: {
|
|
722
|
+
serializedName: "properties.allowedCopyScope",
|
|
723
|
+
type: {
|
|
724
|
+
name: "String"
|
|
725
|
+
}
|
|
726
|
+
},
|
|
831
727
|
publicNetworkAccess: {
|
|
832
728
|
serializedName: "properties.publicNetworkAccess",
|
|
833
729
|
type: {
|
|
@@ -889,6 +785,18 @@ const StorageAccountCreateParameters = {
|
|
|
889
785
|
name: "Boolean"
|
|
890
786
|
}
|
|
891
787
|
},
|
|
788
|
+
isSftpEnabled: {
|
|
789
|
+
serializedName: "properties.isSftpEnabled",
|
|
790
|
+
type: {
|
|
791
|
+
name: "Boolean"
|
|
792
|
+
}
|
|
793
|
+
},
|
|
794
|
+
isLocalUserEnabled: {
|
|
795
|
+
serializedName: "properties.isLocalUserEnabled",
|
|
796
|
+
type: {
|
|
797
|
+
name: "Boolean"
|
|
798
|
+
}
|
|
799
|
+
},
|
|
892
800
|
isHnsEnabled: {
|
|
893
801
|
serializedName: "properties.isHnsEnabled",
|
|
894
802
|
type: {
|
|
@@ -1272,6 +1180,12 @@ const EncryptionIdentity = {
|
|
|
1272
1180
|
type: {
|
|
1273
1181
|
name: "String"
|
|
1274
1182
|
}
|
|
1183
|
+
},
|
|
1184
|
+
encryptionFederatedIdentityClientId: {
|
|
1185
|
+
serializedName: "federatedIdentityClientId",
|
|
1186
|
+
type: {
|
|
1187
|
+
name: "String"
|
|
1188
|
+
}
|
|
1275
1189
|
}
|
|
1276
1190
|
}
|
|
1277
1191
|
}
|
|
@@ -1482,6 +1396,18 @@ const ActiveDirectoryProperties = {
|
|
|
1482
1396
|
type: {
|
|
1483
1397
|
name: "String"
|
|
1484
1398
|
}
|
|
1399
|
+
},
|
|
1400
|
+
samAccountName: {
|
|
1401
|
+
serializedName: "samAccountName",
|
|
1402
|
+
type: {
|
|
1403
|
+
name: "String"
|
|
1404
|
+
}
|
|
1405
|
+
},
|
|
1406
|
+
accountType: {
|
|
1407
|
+
serializedName: "accountType",
|
|
1408
|
+
type: {
|
|
1409
|
+
name: "String"
|
|
1410
|
+
}
|
|
1485
1411
|
}
|
|
1486
1412
|
}
|
|
1487
1413
|
}
|
|
@@ -1998,6 +1924,18 @@ const StorageAccountUpdateParameters = {
|
|
|
1998
1924
|
name: "Boolean"
|
|
1999
1925
|
}
|
|
2000
1926
|
},
|
|
1927
|
+
isSftpEnabled: {
|
|
1928
|
+
serializedName: "properties.isSftpEnabled",
|
|
1929
|
+
type: {
|
|
1930
|
+
name: "Boolean"
|
|
1931
|
+
}
|
|
1932
|
+
},
|
|
1933
|
+
isLocalUserEnabled: {
|
|
1934
|
+
serializedName: "properties.isLocalUserEnabled",
|
|
1935
|
+
type: {
|
|
1936
|
+
name: "Boolean"
|
|
1937
|
+
}
|
|
1938
|
+
},
|
|
2001
1939
|
networkRuleSet: {
|
|
2002
1940
|
serializedName: "properties.networkAcls",
|
|
2003
1941
|
type: {
|
|
@@ -2060,6 +1998,12 @@ const StorageAccountUpdateParameters = {
|
|
|
2060
1998
|
name: "Composite",
|
|
2061
1999
|
className: "ImmutableStorageAccount"
|
|
2062
2000
|
}
|
|
2001
|
+
},
|
|
2002
|
+
allowedCopyScope: {
|
|
2003
|
+
serializedName: "properties.allowedCopyScope",
|
|
2004
|
+
type: {
|
|
2005
|
+
name: "String"
|
|
2006
|
+
}
|
|
2063
2007
|
}
|
|
2064
2008
|
}
|
|
2065
2009
|
}
|
|
@@ -3198,6 +3142,117 @@ const ObjectReplicationPolicyFilter = {
|
|
|
3198
3142
|
}
|
|
3199
3143
|
}
|
|
3200
3144
|
};
|
|
3145
|
+
const LocalUsers = {
|
|
3146
|
+
type: {
|
|
3147
|
+
name: "Composite",
|
|
3148
|
+
className: "LocalUsers",
|
|
3149
|
+
modelProperties: {
|
|
3150
|
+
value: {
|
|
3151
|
+
serializedName: "value",
|
|
3152
|
+
type: {
|
|
3153
|
+
name: "Sequence",
|
|
3154
|
+
element: {
|
|
3155
|
+
type: {
|
|
3156
|
+
name: "Composite",
|
|
3157
|
+
className: "LocalUser"
|
|
3158
|
+
}
|
|
3159
|
+
}
|
|
3160
|
+
}
|
|
3161
|
+
}
|
|
3162
|
+
}
|
|
3163
|
+
}
|
|
3164
|
+
};
|
|
3165
|
+
const PermissionScope = {
|
|
3166
|
+
type: {
|
|
3167
|
+
name: "Composite",
|
|
3168
|
+
className: "PermissionScope",
|
|
3169
|
+
modelProperties: {
|
|
3170
|
+
permissions: {
|
|
3171
|
+
serializedName: "permissions",
|
|
3172
|
+
required: true,
|
|
3173
|
+
type: {
|
|
3174
|
+
name: "String"
|
|
3175
|
+
}
|
|
3176
|
+
},
|
|
3177
|
+
service: {
|
|
3178
|
+
serializedName: "service",
|
|
3179
|
+
required: true,
|
|
3180
|
+
type: {
|
|
3181
|
+
name: "String"
|
|
3182
|
+
}
|
|
3183
|
+
},
|
|
3184
|
+
resourceName: {
|
|
3185
|
+
serializedName: "resourceName",
|
|
3186
|
+
required: true,
|
|
3187
|
+
type: {
|
|
3188
|
+
name: "String"
|
|
3189
|
+
}
|
|
3190
|
+
}
|
|
3191
|
+
}
|
|
3192
|
+
}
|
|
3193
|
+
};
|
|
3194
|
+
const SshPublicKey = {
|
|
3195
|
+
type: {
|
|
3196
|
+
name: "Composite",
|
|
3197
|
+
className: "SshPublicKey",
|
|
3198
|
+
modelProperties: {
|
|
3199
|
+
description: {
|
|
3200
|
+
serializedName: "description",
|
|
3201
|
+
type: {
|
|
3202
|
+
name: "String"
|
|
3203
|
+
}
|
|
3204
|
+
},
|
|
3205
|
+
key: {
|
|
3206
|
+
serializedName: "key",
|
|
3207
|
+
type: {
|
|
3208
|
+
name: "String"
|
|
3209
|
+
}
|
|
3210
|
+
}
|
|
3211
|
+
}
|
|
3212
|
+
}
|
|
3213
|
+
};
|
|
3214
|
+
const LocalUserKeys = {
|
|
3215
|
+
type: {
|
|
3216
|
+
name: "Composite",
|
|
3217
|
+
className: "LocalUserKeys",
|
|
3218
|
+
modelProperties: {
|
|
3219
|
+
sshAuthorizedKeys: {
|
|
3220
|
+
serializedName: "sshAuthorizedKeys",
|
|
3221
|
+
type: {
|
|
3222
|
+
name: "Sequence",
|
|
3223
|
+
element: {
|
|
3224
|
+
type: {
|
|
3225
|
+
name: "Composite",
|
|
3226
|
+
className: "SshPublicKey"
|
|
3227
|
+
}
|
|
3228
|
+
}
|
|
3229
|
+
}
|
|
3230
|
+
},
|
|
3231
|
+
sharedKey: {
|
|
3232
|
+
serializedName: "sharedKey",
|
|
3233
|
+
readOnly: true,
|
|
3234
|
+
type: {
|
|
3235
|
+
name: "String"
|
|
3236
|
+
}
|
|
3237
|
+
}
|
|
3238
|
+
}
|
|
3239
|
+
}
|
|
3240
|
+
};
|
|
3241
|
+
const LocalUserRegeneratePasswordResult = {
|
|
3242
|
+
type: {
|
|
3243
|
+
name: "Composite",
|
|
3244
|
+
className: "LocalUserRegeneratePasswordResult",
|
|
3245
|
+
modelProperties: {
|
|
3246
|
+
sshPassword: {
|
|
3247
|
+
serializedName: "sshPassword",
|
|
3248
|
+
readOnly: true,
|
|
3249
|
+
type: {
|
|
3250
|
+
name: "String"
|
|
3251
|
+
}
|
|
3252
|
+
}
|
|
3253
|
+
}
|
|
3254
|
+
}
|
|
3255
|
+
};
|
|
3201
3256
|
const EncryptionScopeKeyVaultProperties = {
|
|
3202
3257
|
type: {
|
|
3203
3258
|
name: "Composite",
|
|
@@ -3990,59 +4045,6 @@ const Multichannel = {
|
|
|
3990
4045
|
}
|
|
3991
4046
|
}
|
|
3992
4047
|
};
|
|
3993
|
-
const CloudErrorAutoGenerated = {
|
|
3994
|
-
type: {
|
|
3995
|
-
name: "Composite",
|
|
3996
|
-
className: "CloudErrorAutoGenerated",
|
|
3997
|
-
modelProperties: {
|
|
3998
|
-
error: {
|
|
3999
|
-
serializedName: "error",
|
|
4000
|
-
type: {
|
|
4001
|
-
name: "Composite",
|
|
4002
|
-
className: "CloudErrorBodyAutoGenerated"
|
|
4003
|
-
}
|
|
4004
|
-
}
|
|
4005
|
-
}
|
|
4006
|
-
}
|
|
4007
|
-
};
|
|
4008
|
-
const CloudErrorBodyAutoGenerated = {
|
|
4009
|
-
type: {
|
|
4010
|
-
name: "Composite",
|
|
4011
|
-
className: "CloudErrorBodyAutoGenerated",
|
|
4012
|
-
modelProperties: {
|
|
4013
|
-
code: {
|
|
4014
|
-
serializedName: "code",
|
|
4015
|
-
type: {
|
|
4016
|
-
name: "String"
|
|
4017
|
-
}
|
|
4018
|
-
},
|
|
4019
|
-
message: {
|
|
4020
|
-
serializedName: "message",
|
|
4021
|
-
type: {
|
|
4022
|
-
name: "String"
|
|
4023
|
-
}
|
|
4024
|
-
},
|
|
4025
|
-
target: {
|
|
4026
|
-
serializedName: "target",
|
|
4027
|
-
type: {
|
|
4028
|
-
name: "String"
|
|
4029
|
-
}
|
|
4030
|
-
},
|
|
4031
|
-
details: {
|
|
4032
|
-
serializedName: "details",
|
|
4033
|
-
type: {
|
|
4034
|
-
name: "Sequence",
|
|
4035
|
-
element: {
|
|
4036
|
-
type: {
|
|
4037
|
-
name: "Composite",
|
|
4038
|
-
className: "CloudErrorBodyAutoGenerated"
|
|
4039
|
-
}
|
|
4040
|
-
}
|
|
4041
|
-
}
|
|
4042
|
-
}
|
|
4043
|
-
}
|
|
4044
|
-
}
|
|
4045
|
-
};
|
|
4046
4048
|
const FileShareItems = {
|
|
4047
4049
|
type: {
|
|
4048
4050
|
name: "Composite",
|
|
@@ -4466,6 +4468,67 @@ const ObjectReplicationPolicy = {
|
|
|
4466
4468
|
} })
|
|
4467
4469
|
}
|
|
4468
4470
|
};
|
|
4471
|
+
const LocalUser = {
|
|
4472
|
+
type: {
|
|
4473
|
+
name: "Composite",
|
|
4474
|
+
className: "LocalUser",
|
|
4475
|
+
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { systemData: {
|
|
4476
|
+
serializedName: "systemData",
|
|
4477
|
+
type: {
|
|
4478
|
+
name: "Composite",
|
|
4479
|
+
className: "SystemData"
|
|
4480
|
+
}
|
|
4481
|
+
}, permissionScopes: {
|
|
4482
|
+
serializedName: "properties.permissionScopes",
|
|
4483
|
+
type: {
|
|
4484
|
+
name: "Sequence",
|
|
4485
|
+
element: {
|
|
4486
|
+
type: {
|
|
4487
|
+
name: "Composite",
|
|
4488
|
+
className: "PermissionScope"
|
|
4489
|
+
}
|
|
4490
|
+
}
|
|
4491
|
+
}
|
|
4492
|
+
}, homeDirectory: {
|
|
4493
|
+
serializedName: "properties.homeDirectory",
|
|
4494
|
+
type: {
|
|
4495
|
+
name: "String"
|
|
4496
|
+
}
|
|
4497
|
+
}, sshAuthorizedKeys: {
|
|
4498
|
+
serializedName: "properties.sshAuthorizedKeys",
|
|
4499
|
+
type: {
|
|
4500
|
+
name: "Sequence",
|
|
4501
|
+
element: {
|
|
4502
|
+
type: {
|
|
4503
|
+
name: "Composite",
|
|
4504
|
+
className: "SshPublicKey"
|
|
4505
|
+
}
|
|
4506
|
+
}
|
|
4507
|
+
}
|
|
4508
|
+
}, sid: {
|
|
4509
|
+
serializedName: "properties.sid",
|
|
4510
|
+
readOnly: true,
|
|
4511
|
+
type: {
|
|
4512
|
+
name: "String"
|
|
4513
|
+
}
|
|
4514
|
+
}, hasSharedKey: {
|
|
4515
|
+
serializedName: "properties.hasSharedKey",
|
|
4516
|
+
type: {
|
|
4517
|
+
name: "Boolean"
|
|
4518
|
+
}
|
|
4519
|
+
}, hasSshKey: {
|
|
4520
|
+
serializedName: "properties.hasSshKey",
|
|
4521
|
+
type: {
|
|
4522
|
+
name: "Boolean"
|
|
4523
|
+
}
|
|
4524
|
+
}, hasSshPassword: {
|
|
4525
|
+
serializedName: "properties.hasSshPassword",
|
|
4526
|
+
type: {
|
|
4527
|
+
name: "Boolean"
|
|
4528
|
+
}
|
|
4529
|
+
} })
|
|
4530
|
+
}
|
|
4531
|
+
};
|
|
4469
4532
|
const EncryptionScope = {
|
|
4470
4533
|
type: {
|
|
4471
4534
|
name: "Composite",
|
|
@@ -4824,6 +4887,16 @@ const StorageAccount = {
|
|
|
4824
4887
|
name: "Composite",
|
|
4825
4888
|
className: "NetworkRuleSet"
|
|
4826
4889
|
}
|
|
4890
|
+
}, isSftpEnabled: {
|
|
4891
|
+
serializedName: "properties.isSftpEnabled",
|
|
4892
|
+
type: {
|
|
4893
|
+
name: "Boolean"
|
|
4894
|
+
}
|
|
4895
|
+
}, isLocalUserEnabled: {
|
|
4896
|
+
serializedName: "properties.isLocalUserEnabled",
|
|
4897
|
+
type: {
|
|
4898
|
+
name: "Boolean"
|
|
4899
|
+
}
|
|
4827
4900
|
}, isHnsEnabled: {
|
|
4828
4901
|
serializedName: "properties.isHnsEnabled",
|
|
4829
4902
|
type: {
|
|
@@ -4911,6 +4984,11 @@ const StorageAccount = {
|
|
|
4911
4984
|
name: "Composite",
|
|
4912
4985
|
className: "ImmutableStorageAccount"
|
|
4913
4986
|
}
|
|
4987
|
+
}, allowedCopyScope: {
|
|
4988
|
+
serializedName: "properties.allowedCopyScope",
|
|
4989
|
+
type: {
|
|
4990
|
+
name: "String"
|
|
4991
|
+
}
|
|
4914
4992
|
} })
|
|
4915
4993
|
}
|
|
4916
4994
|
};
|
|
@@ -5622,6 +5700,11 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
5622
5700
|
ObjectReplicationPolicies: ObjectReplicationPolicies,
|
|
5623
5701
|
ObjectReplicationPolicyRule: ObjectReplicationPolicyRule,
|
|
5624
5702
|
ObjectReplicationPolicyFilter: ObjectReplicationPolicyFilter,
|
|
5703
|
+
LocalUsers: LocalUsers,
|
|
5704
|
+
PermissionScope: PermissionScope,
|
|
5705
|
+
SshPublicKey: SshPublicKey,
|
|
5706
|
+
LocalUserKeys: LocalUserKeys,
|
|
5707
|
+
LocalUserRegeneratePasswordResult: LocalUserRegeneratePasswordResult,
|
|
5625
5708
|
EncryptionScopeKeyVaultProperties: EncryptionScopeKeyVaultProperties,
|
|
5626
5709
|
EncryptionScopeListResult: EncryptionScopeListResult,
|
|
5627
5710
|
BlobServiceItems: BlobServiceItems,
|
|
@@ -5647,8 +5730,6 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
5647
5730
|
ProtocolSettings: ProtocolSettings,
|
|
5648
5731
|
SmbSetting: SmbSetting,
|
|
5649
5732
|
Multichannel: Multichannel,
|
|
5650
|
-
CloudErrorAutoGenerated: CloudErrorAutoGenerated,
|
|
5651
|
-
CloudErrorBodyAutoGenerated: CloudErrorBodyAutoGenerated,
|
|
5652
5733
|
FileShareItems: FileShareItems,
|
|
5653
5734
|
SignedIdentifier: SignedIdentifier,
|
|
5654
5735
|
AccessPolicy: AccessPolicy,
|
|
@@ -5666,6 +5747,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
5666
5747
|
BlobInventoryPolicy: BlobInventoryPolicy,
|
|
5667
5748
|
PrivateLinkResource: PrivateLinkResource,
|
|
5668
5749
|
ObjectReplicationPolicy: ObjectReplicationPolicy,
|
|
5750
|
+
LocalUser: LocalUser,
|
|
5669
5751
|
EncryptionScope: EncryptionScope,
|
|
5670
5752
|
BlobServiceProperties: BlobServiceProperties,
|
|
5671
5753
|
AzureEntityResource: AzureEntityResource,
|
|
@@ -5722,7 +5804,7 @@ const $host = {
|
|
|
5722
5804
|
const apiVersion = {
|
|
5723
5805
|
parameterPath: "apiVersion",
|
|
5724
5806
|
mapper: {
|
|
5725
|
-
defaultValue: "2021-
|
|
5807
|
+
defaultValue: "2021-08-01",
|
|
5726
5808
|
isConstant: true,
|
|
5727
5809
|
serializedName: "api-version",
|
|
5728
5810
|
type: {
|
|
@@ -5936,6 +6018,24 @@ const properties3 = {
|
|
|
5936
6018
|
parameterPath: "properties",
|
|
5937
6019
|
mapper: ObjectReplicationPolicy
|
|
5938
6020
|
};
|
|
6021
|
+
const username = {
|
|
6022
|
+
parameterPath: "username",
|
|
6023
|
+
mapper: {
|
|
6024
|
+
constraints: {
|
|
6025
|
+
MaxLength: 64,
|
|
6026
|
+
MinLength: 3
|
|
6027
|
+
},
|
|
6028
|
+
serializedName: "username",
|
|
6029
|
+
required: true,
|
|
6030
|
+
type: {
|
|
6031
|
+
name: "String"
|
|
6032
|
+
}
|
|
6033
|
+
}
|
|
6034
|
+
};
|
|
6035
|
+
const properties4 = {
|
|
6036
|
+
parameterPath: "properties",
|
|
6037
|
+
mapper: LocalUser
|
|
6038
|
+
};
|
|
5939
6039
|
const encryptionScope = {
|
|
5940
6040
|
parameterPath: "encryptionScope",
|
|
5941
6041
|
mapper: EncryptionScope
|
|
@@ -6253,12 +6353,12 @@ class OperationsImpl {
|
|
|
6253
6353
|
* @param options The options parameters.
|
|
6254
6354
|
*/
|
|
6255
6355
|
_list(options) {
|
|
6256
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec
|
|
6356
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
6257
6357
|
}
|
|
6258
6358
|
}
|
|
6259
6359
|
// Operation Specifications
|
|
6260
|
-
const serializer
|
|
6261
|
-
const listOperationSpec
|
|
6360
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
6361
|
+
const listOperationSpec = {
|
|
6262
6362
|
path: "/providers/Microsoft.Storage/operations",
|
|
6263
6363
|
httpMethod: "GET",
|
|
6264
6364
|
responses: {
|
|
@@ -6269,7 +6369,7 @@ const listOperationSpec$f = {
|
|
|
6269
6369
|
queryParameters: [apiVersion],
|
|
6270
6370
|
urlParameters: [$host],
|
|
6271
6371
|
headerParameters: [accept],
|
|
6272
|
-
serializer
|
|
6372
|
+
serializer
|
|
6273
6373
|
};
|
|
6274
6374
|
|
|
6275
6375
|
/*
|
|
@@ -6336,12 +6436,12 @@ class SkusImpl {
|
|
|
6336
6436
|
* @param options The options parameters.
|
|
6337
6437
|
*/
|
|
6338
6438
|
_list(options) {
|
|
6339
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$
|
|
6439
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$1);
|
|
6340
6440
|
}
|
|
6341
6441
|
}
|
|
6342
6442
|
// Operation Specifications
|
|
6343
|
-
const serializer$
|
|
6344
|
-
const listOperationSpec$
|
|
6443
|
+
const serializer$1 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
6444
|
+
const listOperationSpec$1 = {
|
|
6345
6445
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/skus",
|
|
6346
6446
|
httpMethod: "GET",
|
|
6347
6447
|
responses: {
|
|
@@ -6352,7 +6452,7 @@ const listOperationSpec$e = {
|
|
|
6352
6452
|
queryParameters: [apiVersion],
|
|
6353
6453
|
urlParameters: [$host, subscriptionId],
|
|
6354
6454
|
headerParameters: [accept],
|
|
6355
|
-
serializer: serializer$
|
|
6455
|
+
serializer: serializer$1
|
|
6356
6456
|
};
|
|
6357
6457
|
|
|
6358
6458
|
/*
|
|
@@ -6547,7 +6647,7 @@ class StorageAccountsImpl {
|
|
|
6547
6647
|
}
|
|
6548
6648
|
};
|
|
6549
6649
|
});
|
|
6550
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, parameters, options }, createOperationSpec
|
|
6650
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, parameters, options }, createOperationSpec);
|
|
6551
6651
|
return new coreLro.LroEngine(lro, {
|
|
6552
6652
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
6553
6653
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -6583,7 +6683,7 @@ class StorageAccountsImpl {
|
|
|
6583
6683
|
* @param options The options parameters.
|
|
6584
6684
|
*/
|
|
6585
6685
|
delete(resourceGroupName, accountName, options) {
|
|
6586
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, deleteOperationSpec
|
|
6686
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, deleteOperationSpec);
|
|
6587
6687
|
}
|
|
6588
6688
|
/**
|
|
6589
6689
|
* Returns the properties for the specified storage account including but not limited to name, SKU
|
|
@@ -6615,7 +6715,7 @@ class StorageAccountsImpl {
|
|
|
6615
6715
|
* @param options The options parameters.
|
|
6616
6716
|
*/
|
|
6617
6717
|
update(resourceGroupName, accountName, parameters, options) {
|
|
6618
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, parameters, options }, updateOperationSpec
|
|
6718
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, parameters, options }, updateOperationSpec);
|
|
6619
6719
|
}
|
|
6620
6720
|
/**
|
|
6621
6721
|
* Lists all the storage accounts available under the subscription. Note that storage keys are not
|
|
@@ -6623,7 +6723,7 @@ class StorageAccountsImpl {
|
|
|
6623
6723
|
* @param options The options parameters.
|
|
6624
6724
|
*/
|
|
6625
6725
|
_list(options) {
|
|
6626
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$
|
|
6726
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$2);
|
|
6627
6727
|
}
|
|
6628
6728
|
/**
|
|
6629
6729
|
* Lists all the storage accounts available under the given resource group. Note that storage keys are
|
|
@@ -6944,7 +7044,7 @@ class StorageAccountsImpl {
|
|
|
6944
7044
|
* @param options The options parameters.
|
|
6945
7045
|
*/
|
|
6946
7046
|
_listNext(nextLink, options) {
|
|
6947
|
-
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec
|
|
7047
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
6948
7048
|
}
|
|
6949
7049
|
/**
|
|
6950
7050
|
* ListByResourceGroupNext
|
|
@@ -6958,7 +7058,7 @@ class StorageAccountsImpl {
|
|
|
6958
7058
|
}
|
|
6959
7059
|
}
|
|
6960
7060
|
// Operation Specifications
|
|
6961
|
-
const serializer$
|
|
7061
|
+
const serializer$2 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
6962
7062
|
const checkNameAvailabilityOperationSpec = {
|
|
6963
7063
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability",
|
|
6964
7064
|
httpMethod: "POST",
|
|
@@ -6972,9 +7072,9 @@ const checkNameAvailabilityOperationSpec = {
|
|
|
6972
7072
|
urlParameters: [$host, subscriptionId],
|
|
6973
7073
|
headerParameters: [accept, contentType],
|
|
6974
7074
|
mediaType: "json",
|
|
6975
|
-
serializer: serializer$
|
|
7075
|
+
serializer: serializer$2
|
|
6976
7076
|
};
|
|
6977
|
-
const createOperationSpec
|
|
7077
|
+
const createOperationSpec = {
|
|
6978
7078
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}",
|
|
6979
7079
|
httpMethod: "PUT",
|
|
6980
7080
|
responses: {
|
|
@@ -7001,9 +7101,9 @@ const createOperationSpec$4 = {
|
|
|
7001
7101
|
],
|
|
7002
7102
|
headerParameters: [accept, contentType],
|
|
7003
7103
|
mediaType: "json",
|
|
7004
|
-
serializer: serializer$
|
|
7104
|
+
serializer: serializer$2
|
|
7005
7105
|
};
|
|
7006
|
-
const deleteOperationSpec
|
|
7106
|
+
const deleteOperationSpec = {
|
|
7007
7107
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}",
|
|
7008
7108
|
httpMethod: "DELETE",
|
|
7009
7109
|
responses: { 200: {}, 204: {} },
|
|
@@ -7014,7 +7114,7 @@ const deleteOperationSpec$8 = {
|
|
|
7014
7114
|
resourceGroupName,
|
|
7015
7115
|
accountName1
|
|
7016
7116
|
],
|
|
7017
|
-
serializer: serializer$
|
|
7117
|
+
serializer: serializer$2
|
|
7018
7118
|
};
|
|
7019
7119
|
const getPropertiesOperationSpec = {
|
|
7020
7120
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}",
|
|
@@ -7032,9 +7132,9 @@ const getPropertiesOperationSpec = {
|
|
|
7032
7132
|
accountName1
|
|
7033
7133
|
],
|
|
7034
7134
|
headerParameters: [accept],
|
|
7035
|
-
serializer: serializer$
|
|
7135
|
+
serializer: serializer$2
|
|
7036
7136
|
};
|
|
7037
|
-
const updateOperationSpec
|
|
7137
|
+
const updateOperationSpec = {
|
|
7038
7138
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}",
|
|
7039
7139
|
httpMethod: "PATCH",
|
|
7040
7140
|
responses: {
|
|
@@ -7052,9 +7152,9 @@ const updateOperationSpec$4 = {
|
|
|
7052
7152
|
],
|
|
7053
7153
|
headerParameters: [accept, contentType],
|
|
7054
7154
|
mediaType: "json",
|
|
7055
|
-
serializer: serializer$
|
|
7155
|
+
serializer: serializer$2
|
|
7056
7156
|
};
|
|
7057
|
-
const listOperationSpec$
|
|
7157
|
+
const listOperationSpec$2 = {
|
|
7058
7158
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts",
|
|
7059
7159
|
httpMethod: "GET",
|
|
7060
7160
|
responses: {
|
|
@@ -7065,7 +7165,7 @@ const listOperationSpec$d = {
|
|
|
7065
7165
|
queryParameters: [apiVersion],
|
|
7066
7166
|
urlParameters: [$host, subscriptionId],
|
|
7067
7167
|
headerParameters: [accept],
|
|
7068
|
-
serializer: serializer$
|
|
7168
|
+
serializer: serializer$2
|
|
7069
7169
|
};
|
|
7070
7170
|
const listByResourceGroupOperationSpec = {
|
|
7071
7171
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts",
|
|
@@ -7082,7 +7182,7 @@ const listByResourceGroupOperationSpec = {
|
|
|
7082
7182
|
resourceGroupName
|
|
7083
7183
|
],
|
|
7084
7184
|
headerParameters: [accept],
|
|
7085
|
-
serializer: serializer$
|
|
7185
|
+
serializer: serializer$2
|
|
7086
7186
|
};
|
|
7087
7187
|
const listKeysOperationSpec = {
|
|
7088
7188
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys",
|
|
@@ -7100,7 +7200,7 @@ const listKeysOperationSpec = {
|
|
|
7100
7200
|
accountName1
|
|
7101
7201
|
],
|
|
7102
7202
|
headerParameters: [accept],
|
|
7103
|
-
serializer: serializer$
|
|
7203
|
+
serializer: serializer$2
|
|
7104
7204
|
};
|
|
7105
7205
|
const regenerateKeyOperationSpec = {
|
|
7106
7206
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey",
|
|
@@ -7120,7 +7220,7 @@ const regenerateKeyOperationSpec = {
|
|
|
7120
7220
|
],
|
|
7121
7221
|
headerParameters: [accept, contentType],
|
|
7122
7222
|
mediaType: "json",
|
|
7123
|
-
serializer: serializer$
|
|
7223
|
+
serializer: serializer$2
|
|
7124
7224
|
};
|
|
7125
7225
|
const listAccountSASOperationSpec = {
|
|
7126
7226
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas",
|
|
@@ -7140,7 +7240,7 @@ const listAccountSASOperationSpec = {
|
|
|
7140
7240
|
],
|
|
7141
7241
|
headerParameters: [accept, contentType],
|
|
7142
7242
|
mediaType: "json",
|
|
7143
|
-
serializer: serializer$
|
|
7243
|
+
serializer: serializer$2
|
|
7144
7244
|
};
|
|
7145
7245
|
const listServiceSASOperationSpec = {
|
|
7146
7246
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas",
|
|
@@ -7160,7 +7260,7 @@ const listServiceSASOperationSpec = {
|
|
|
7160
7260
|
],
|
|
7161
7261
|
headerParameters: [accept, contentType],
|
|
7162
7262
|
mediaType: "json",
|
|
7163
|
-
serializer: serializer$
|
|
7263
|
+
serializer: serializer$2
|
|
7164
7264
|
};
|
|
7165
7265
|
const failoverOperationSpec = {
|
|
7166
7266
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover",
|
|
@@ -7173,7 +7273,7 @@ const failoverOperationSpec = {
|
|
|
7173
7273
|
resourceGroupName,
|
|
7174
7274
|
accountName1
|
|
7175
7275
|
],
|
|
7176
|
-
serializer: serializer$
|
|
7276
|
+
serializer: serializer$2
|
|
7177
7277
|
};
|
|
7178
7278
|
const hierarchicalNamespaceMigrationOperationSpec = {
|
|
7179
7279
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/hnsonmigration",
|
|
@@ -7195,7 +7295,7 @@ const hierarchicalNamespaceMigrationOperationSpec = {
|
|
|
7195
7295
|
accountName1
|
|
7196
7296
|
],
|
|
7197
7297
|
headerParameters: [accept],
|
|
7198
|
-
serializer: serializer$
|
|
7298
|
+
serializer: serializer$2
|
|
7199
7299
|
};
|
|
7200
7300
|
const abortHierarchicalNamespaceMigrationOperationSpec = {
|
|
7201
7301
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/aborthnsonmigration",
|
|
@@ -7217,7 +7317,7 @@ const abortHierarchicalNamespaceMigrationOperationSpec = {
|
|
|
7217
7317
|
accountName1
|
|
7218
7318
|
],
|
|
7219
7319
|
headerParameters: [accept],
|
|
7220
|
-
serializer: serializer$
|
|
7320
|
+
serializer: serializer$2
|
|
7221
7321
|
};
|
|
7222
7322
|
const restoreBlobRangesOperationSpec = {
|
|
7223
7323
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges",
|
|
@@ -7246,7 +7346,7 @@ const restoreBlobRangesOperationSpec = {
|
|
|
7246
7346
|
],
|
|
7247
7347
|
headerParameters: [accept, contentType],
|
|
7248
7348
|
mediaType: "json",
|
|
7249
|
-
serializer: serializer$
|
|
7349
|
+
serializer: serializer$2
|
|
7250
7350
|
};
|
|
7251
7351
|
const revokeUserDelegationKeysOperationSpec = {
|
|
7252
7352
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys",
|
|
@@ -7259,9 +7359,9 @@ const revokeUserDelegationKeysOperationSpec = {
|
|
|
7259
7359
|
resourceGroupName,
|
|
7260
7360
|
accountName1
|
|
7261
7361
|
],
|
|
7262
|
-
serializer: serializer$
|
|
7362
|
+
serializer: serializer$2
|
|
7263
7363
|
};
|
|
7264
|
-
const listNextOperationSpec
|
|
7364
|
+
const listNextOperationSpec = {
|
|
7265
7365
|
path: "{nextLink}",
|
|
7266
7366
|
httpMethod: "GET",
|
|
7267
7367
|
responses: {
|
|
@@ -7276,7 +7376,7 @@ const listNextOperationSpec$6 = {
|
|
|
7276
7376
|
nextLink
|
|
7277
7377
|
],
|
|
7278
7378
|
headerParameters: [accept],
|
|
7279
|
-
serializer: serializer$
|
|
7379
|
+
serializer: serializer$2
|
|
7280
7380
|
};
|
|
7281
7381
|
const listByResourceGroupNextOperationSpec = {
|
|
7282
7382
|
path: "{nextLink}",
|
|
@@ -7294,7 +7394,7 @@ const listByResourceGroupNextOperationSpec = {
|
|
|
7294
7394
|
nextLink
|
|
7295
7395
|
],
|
|
7296
7396
|
headerParameters: [accept],
|
|
7297
|
-
serializer: serializer$
|
|
7397
|
+
serializer: serializer$2
|
|
7298
7398
|
};
|
|
7299
7399
|
|
|
7300
7400
|
/*
|
|
@@ -7367,7 +7467,7 @@ class DeletedAccountsImpl {
|
|
|
7367
7467
|
* @param options The options parameters.
|
|
7368
7468
|
*/
|
|
7369
7469
|
_list(options) {
|
|
7370
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$
|
|
7470
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$3);
|
|
7371
7471
|
}
|
|
7372
7472
|
/**
|
|
7373
7473
|
* Get properties of specified deleted account resource.
|
|
@@ -7376,7 +7476,7 @@ class DeletedAccountsImpl {
|
|
|
7376
7476
|
* @param options The options parameters.
|
|
7377
7477
|
*/
|
|
7378
7478
|
get(deletedAccountName, location, options) {
|
|
7379
|
-
return this.client.sendOperationRequest({ deletedAccountName, location, options }, getOperationSpec
|
|
7479
|
+
return this.client.sendOperationRequest({ deletedAccountName, location, options }, getOperationSpec);
|
|
7380
7480
|
}
|
|
7381
7481
|
/**
|
|
7382
7482
|
* ListNext
|
|
@@ -7384,12 +7484,12 @@ class DeletedAccountsImpl {
|
|
|
7384
7484
|
* @param options The options parameters.
|
|
7385
7485
|
*/
|
|
7386
7486
|
_listNext(nextLink, options) {
|
|
7387
|
-
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$
|
|
7487
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$1);
|
|
7388
7488
|
}
|
|
7389
7489
|
}
|
|
7390
7490
|
// Operation Specifications
|
|
7391
|
-
const serializer$
|
|
7392
|
-
const listOperationSpec$
|
|
7491
|
+
const serializer$3 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
7492
|
+
const listOperationSpec$3 = {
|
|
7393
7493
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/deletedAccounts",
|
|
7394
7494
|
httpMethod: "GET",
|
|
7395
7495
|
responses: {
|
|
@@ -7403,9 +7503,9 @@ const listOperationSpec$c = {
|
|
|
7403
7503
|
queryParameters: [apiVersion],
|
|
7404
7504
|
urlParameters: [$host, subscriptionId],
|
|
7405
7505
|
headerParameters: [accept],
|
|
7406
|
-
serializer: serializer$
|
|
7506
|
+
serializer: serializer$3
|
|
7407
7507
|
};
|
|
7408
|
-
const getOperationSpec
|
|
7508
|
+
const getOperationSpec = {
|
|
7409
7509
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/deletedAccounts/{deletedAccountName}",
|
|
7410
7510
|
httpMethod: "GET",
|
|
7411
7511
|
responses: {
|
|
@@ -7424,9 +7524,9 @@ const getOperationSpec$9 = {
|
|
|
7424
7524
|
location
|
|
7425
7525
|
],
|
|
7426
7526
|
headerParameters: [accept],
|
|
7427
|
-
serializer: serializer$
|
|
7527
|
+
serializer: serializer$3
|
|
7428
7528
|
};
|
|
7429
|
-
const listNextOperationSpec$
|
|
7529
|
+
const listNextOperationSpec$1 = {
|
|
7430
7530
|
path: "{nextLink}",
|
|
7431
7531
|
httpMethod: "GET",
|
|
7432
7532
|
responses: {
|
|
@@ -7444,7 +7544,7 @@ const listNextOperationSpec$5 = {
|
|
|
7444
7544
|
nextLink
|
|
7445
7545
|
],
|
|
7446
7546
|
headerParameters: [accept],
|
|
7447
|
-
serializer: serializer$
|
|
7547
|
+
serializer: serializer$3
|
|
7448
7548
|
};
|
|
7449
7549
|
|
|
7450
7550
|
/*
|
|
@@ -7517,7 +7617,7 @@ class UsagesImpl {
|
|
|
7517
7617
|
}
|
|
7518
7618
|
}
|
|
7519
7619
|
// Operation Specifications
|
|
7520
|
-
const serializer$
|
|
7620
|
+
const serializer$4 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
7521
7621
|
const listByLocationOperationSpec = {
|
|
7522
7622
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/usages",
|
|
7523
7623
|
httpMethod: "GET",
|
|
@@ -7533,7 +7633,7 @@ const listByLocationOperationSpec = {
|
|
|
7533
7633
|
location
|
|
7534
7634
|
],
|
|
7535
7635
|
headerParameters: [accept],
|
|
7536
|
-
serializer: serializer$
|
|
7636
|
+
serializer: serializer$4
|
|
7537
7637
|
};
|
|
7538
7638
|
|
|
7539
7639
|
/*
|
|
@@ -7564,7 +7664,7 @@ class ManagementPoliciesImpl {
|
|
|
7564
7664
|
* @param options The options parameters.
|
|
7565
7665
|
*/
|
|
7566
7666
|
get(resourceGroupName, accountName, managementPolicyName, options) {
|
|
7567
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, managementPolicyName, options }, getOperationSpec$
|
|
7667
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, managementPolicyName, options }, getOperationSpec$1);
|
|
7568
7668
|
}
|
|
7569
7669
|
/**
|
|
7570
7670
|
* Sets the managementpolicy to the specified storage account.
|
|
@@ -7585,7 +7685,7 @@ class ManagementPoliciesImpl {
|
|
|
7585
7685
|
managementPolicyName,
|
|
7586
7686
|
properties,
|
|
7587
7687
|
options
|
|
7588
|
-
}, createOrUpdateOperationSpec
|
|
7688
|
+
}, createOrUpdateOperationSpec);
|
|
7589
7689
|
}
|
|
7590
7690
|
/**
|
|
7591
7691
|
* Deletes the managementpolicy associated with the specified storage account.
|
|
@@ -7599,12 +7699,12 @@ class ManagementPoliciesImpl {
|
|
|
7599
7699
|
* @param options The options parameters.
|
|
7600
7700
|
*/
|
|
7601
7701
|
delete(resourceGroupName, accountName, managementPolicyName, options) {
|
|
7602
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, managementPolicyName, options }, deleteOperationSpec$
|
|
7702
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, managementPolicyName, options }, deleteOperationSpec$1);
|
|
7603
7703
|
}
|
|
7604
7704
|
}
|
|
7605
7705
|
// Operation Specifications
|
|
7606
|
-
const serializer$
|
|
7607
|
-
const getOperationSpec$
|
|
7706
|
+
const serializer$5 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
7707
|
+
const getOperationSpec$1 = {
|
|
7608
7708
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}",
|
|
7609
7709
|
httpMethod: "GET",
|
|
7610
7710
|
responses: {
|
|
@@ -7621,9 +7721,9 @@ const getOperationSpec$8 = {
|
|
|
7621
7721
|
managementPolicyName
|
|
7622
7722
|
],
|
|
7623
7723
|
headerParameters: [accept],
|
|
7624
|
-
serializer: serializer$
|
|
7724
|
+
serializer: serializer$5
|
|
7625
7725
|
};
|
|
7626
|
-
const createOrUpdateOperationSpec
|
|
7726
|
+
const createOrUpdateOperationSpec = {
|
|
7627
7727
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}",
|
|
7628
7728
|
httpMethod: "PUT",
|
|
7629
7729
|
responses: {
|
|
@@ -7642,9 +7742,9 @@ const createOrUpdateOperationSpec$2 = {
|
|
|
7642
7742
|
],
|
|
7643
7743
|
headerParameters: [accept, contentType],
|
|
7644
7744
|
mediaType: "json",
|
|
7645
|
-
serializer: serializer$
|
|
7745
|
+
serializer: serializer$5
|
|
7646
7746
|
};
|
|
7647
|
-
const deleteOperationSpec$
|
|
7747
|
+
const deleteOperationSpec$1 = {
|
|
7648
7748
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}",
|
|
7649
7749
|
httpMethod: "DELETE",
|
|
7650
7750
|
responses: { 200: {}, 204: {} },
|
|
@@ -7656,7 +7756,7 @@ const deleteOperationSpec$7 = {
|
|
|
7656
7756
|
accountName1,
|
|
7657
7757
|
managementPolicyName
|
|
7658
7758
|
],
|
|
7659
|
-
serializer: serializer$
|
|
7759
|
+
serializer: serializer$5
|
|
7660
7760
|
};
|
|
7661
7761
|
|
|
7662
7762
|
/*
|
|
@@ -7735,7 +7835,7 @@ class BlobInventoryPoliciesImpl {
|
|
|
7735
7835
|
* @param options The options parameters.
|
|
7736
7836
|
*/
|
|
7737
7837
|
get(resourceGroupName, accountName, blobInventoryPolicyName, options) {
|
|
7738
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, blobInventoryPolicyName, options }, getOperationSpec$
|
|
7838
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, blobInventoryPolicyName, options }, getOperationSpec$2);
|
|
7739
7839
|
}
|
|
7740
7840
|
/**
|
|
7741
7841
|
* Sets the blob inventory policy to the specified storage account.
|
|
@@ -7770,7 +7870,7 @@ class BlobInventoryPoliciesImpl {
|
|
|
7770
7870
|
* @param options The options parameters.
|
|
7771
7871
|
*/
|
|
7772
7872
|
delete(resourceGroupName, accountName, blobInventoryPolicyName, options) {
|
|
7773
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, blobInventoryPolicyName, options }, deleteOperationSpec$
|
|
7873
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, blobInventoryPolicyName, options }, deleteOperationSpec$2);
|
|
7774
7874
|
}
|
|
7775
7875
|
/**
|
|
7776
7876
|
* Gets the blob inventory policy associated with the specified storage account.
|
|
@@ -7782,12 +7882,12 @@ class BlobInventoryPoliciesImpl {
|
|
|
7782
7882
|
* @param options The options parameters.
|
|
7783
7883
|
*/
|
|
7784
7884
|
_list(resourceGroupName, accountName, options) {
|
|
7785
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$
|
|
7885
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$4);
|
|
7786
7886
|
}
|
|
7787
7887
|
}
|
|
7788
7888
|
// Operation Specifications
|
|
7789
|
-
const serializer$
|
|
7790
|
-
const getOperationSpec$
|
|
7889
|
+
const serializer$6 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
7890
|
+
const getOperationSpec$2 = {
|
|
7791
7891
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}",
|
|
7792
7892
|
httpMethod: "GET",
|
|
7793
7893
|
responses: {
|
|
@@ -7807,7 +7907,7 @@ const getOperationSpec$7 = {
|
|
|
7807
7907
|
blobInventoryPolicyName
|
|
7808
7908
|
],
|
|
7809
7909
|
headerParameters: [accept],
|
|
7810
|
-
serializer: serializer$
|
|
7910
|
+
serializer: serializer$6
|
|
7811
7911
|
};
|
|
7812
7912
|
const createOrUpdateOperationSpec$1 = {
|
|
7813
7913
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}",
|
|
@@ -7831,9 +7931,9 @@ const createOrUpdateOperationSpec$1 = {
|
|
|
7831
7931
|
],
|
|
7832
7932
|
headerParameters: [accept, contentType],
|
|
7833
7933
|
mediaType: "json",
|
|
7834
|
-
serializer: serializer$
|
|
7934
|
+
serializer: serializer$6
|
|
7835
7935
|
};
|
|
7836
|
-
const deleteOperationSpec$
|
|
7936
|
+
const deleteOperationSpec$2 = {
|
|
7837
7937
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}",
|
|
7838
7938
|
httpMethod: "DELETE",
|
|
7839
7939
|
responses: {
|
|
@@ -7852,9 +7952,9 @@ const deleteOperationSpec$6 = {
|
|
|
7852
7952
|
blobInventoryPolicyName
|
|
7853
7953
|
],
|
|
7854
7954
|
headerParameters: [accept],
|
|
7855
|
-
serializer: serializer$
|
|
7955
|
+
serializer: serializer$6
|
|
7856
7956
|
};
|
|
7857
|
-
const listOperationSpec$
|
|
7957
|
+
const listOperationSpec$4 = {
|
|
7858
7958
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies",
|
|
7859
7959
|
httpMethod: "GET",
|
|
7860
7960
|
responses: {
|
|
@@ -7873,7 +7973,7 @@ const listOperationSpec$b = {
|
|
|
7873
7973
|
accountName1
|
|
7874
7974
|
],
|
|
7875
7975
|
headerParameters: [accept],
|
|
7876
|
-
serializer: serializer$
|
|
7976
|
+
serializer: serializer$6
|
|
7877
7977
|
};
|
|
7878
7978
|
|
|
7879
7979
|
/*
|
|
@@ -7950,7 +8050,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
7950
8050
|
* @param options The options parameters.
|
|
7951
8051
|
*/
|
|
7952
8052
|
_list(resourceGroupName, accountName, options) {
|
|
7953
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$
|
|
8053
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$5);
|
|
7954
8054
|
}
|
|
7955
8055
|
/**
|
|
7956
8056
|
* Gets the specified private endpoint connection associated with the storage account.
|
|
@@ -7969,7 +8069,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
7969
8069
|
accountName,
|
|
7970
8070
|
privateEndpointConnectionName,
|
|
7971
8071
|
options
|
|
7972
|
-
}, getOperationSpec$
|
|
8072
|
+
}, getOperationSpec$3);
|
|
7973
8073
|
}
|
|
7974
8074
|
/**
|
|
7975
8075
|
* Update the state of specified private endpoint connection associated with the storage account.
|
|
@@ -7990,7 +8090,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
7990
8090
|
privateEndpointConnectionName,
|
|
7991
8091
|
properties,
|
|
7992
8092
|
options
|
|
7993
|
-
}, putOperationSpec
|
|
8093
|
+
}, putOperationSpec);
|
|
7994
8094
|
}
|
|
7995
8095
|
/**
|
|
7996
8096
|
* Deletes the specified private endpoint connection associated with the storage account.
|
|
@@ -8009,12 +8109,12 @@ class PrivateEndpointConnectionsImpl {
|
|
|
8009
8109
|
accountName,
|
|
8010
8110
|
privateEndpointConnectionName,
|
|
8011
8111
|
options
|
|
8012
|
-
}, deleteOperationSpec$
|
|
8112
|
+
}, deleteOperationSpec$3);
|
|
8013
8113
|
}
|
|
8014
8114
|
}
|
|
8015
8115
|
// Operation Specifications
|
|
8016
|
-
const serializer$
|
|
8017
|
-
const listOperationSpec$
|
|
8116
|
+
const serializer$7 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
8117
|
+
const listOperationSpec$5 = {
|
|
8018
8118
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections",
|
|
8019
8119
|
httpMethod: "GET",
|
|
8020
8120
|
responses: {
|
|
@@ -8030,9 +8130,9 @@ const listOperationSpec$a = {
|
|
|
8030
8130
|
accountName1
|
|
8031
8131
|
],
|
|
8032
8132
|
headerParameters: [accept],
|
|
8033
|
-
serializer: serializer$
|
|
8133
|
+
serializer: serializer$7
|
|
8034
8134
|
};
|
|
8035
|
-
const getOperationSpec$
|
|
8135
|
+
const getOperationSpec$3 = {
|
|
8036
8136
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
8037
8137
|
httpMethod: "GET",
|
|
8038
8138
|
responses: {
|
|
@@ -8052,9 +8152,9 @@ const getOperationSpec$6 = {
|
|
|
8052
8152
|
privateEndpointConnectionName
|
|
8053
8153
|
],
|
|
8054
8154
|
headerParameters: [accept],
|
|
8055
|
-
serializer: serializer$
|
|
8155
|
+
serializer: serializer$7
|
|
8056
8156
|
};
|
|
8057
|
-
const putOperationSpec
|
|
8157
|
+
const putOperationSpec = {
|
|
8058
8158
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
8059
8159
|
httpMethod: "PUT",
|
|
8060
8160
|
responses: {
|
|
@@ -8076,9 +8176,9 @@ const putOperationSpec$1 = {
|
|
|
8076
8176
|
],
|
|
8077
8177
|
headerParameters: [accept, contentType],
|
|
8078
8178
|
mediaType: "json",
|
|
8079
|
-
serializer: serializer$
|
|
8179
|
+
serializer: serializer$7
|
|
8080
8180
|
};
|
|
8081
|
-
const deleteOperationSpec$
|
|
8181
|
+
const deleteOperationSpec$3 = {
|
|
8082
8182
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
8083
8183
|
httpMethod: "DELETE",
|
|
8084
8184
|
responses: {
|
|
@@ -8097,7 +8197,7 @@ const deleteOperationSpec$5 = {
|
|
|
8097
8197
|
privateEndpointConnectionName
|
|
8098
8198
|
],
|
|
8099
8199
|
headerParameters: [accept],
|
|
8100
|
-
serializer: serializer$
|
|
8200
|
+
serializer: serializer$7
|
|
8101
8201
|
};
|
|
8102
8202
|
|
|
8103
8203
|
/*
|
|
@@ -8130,7 +8230,7 @@ class PrivateLinkResourcesImpl {
|
|
|
8130
8230
|
}
|
|
8131
8231
|
}
|
|
8132
8232
|
// Operation Specifications
|
|
8133
|
-
const serializer$
|
|
8233
|
+
const serializer$8 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
8134
8234
|
const listByStorageAccountOperationSpec = {
|
|
8135
8235
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateLinkResources",
|
|
8136
8236
|
httpMethod: "GET",
|
|
@@ -8147,7 +8247,7 @@ const listByStorageAccountOperationSpec = {
|
|
|
8147
8247
|
accountName1
|
|
8148
8248
|
],
|
|
8149
8249
|
headerParameters: [accept],
|
|
8150
|
-
serializer: serializer$
|
|
8250
|
+
serializer: serializer$8
|
|
8151
8251
|
};
|
|
8152
8252
|
|
|
8153
8253
|
/*
|
|
@@ -8224,7 +8324,7 @@ class ObjectReplicationPoliciesOperationsImpl {
|
|
|
8224
8324
|
* @param options The options parameters.
|
|
8225
8325
|
*/
|
|
8226
8326
|
_list(resourceGroupName, accountName, options) {
|
|
8227
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$
|
|
8327
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$6);
|
|
8228
8328
|
}
|
|
8229
8329
|
/**
|
|
8230
8330
|
* Get the object replication policy of the storage account by policy ID.
|
|
@@ -8240,7 +8340,7 @@ class ObjectReplicationPoliciesOperationsImpl {
|
|
|
8240
8340
|
* @param options The options parameters.
|
|
8241
8341
|
*/
|
|
8242
8342
|
get(resourceGroupName, accountName, objectReplicationPolicyId, options) {
|
|
8243
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, objectReplicationPolicyId, options }, getOperationSpec$
|
|
8343
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, objectReplicationPolicyId, options }, getOperationSpec$4);
|
|
8244
8344
|
}
|
|
8245
8345
|
/**
|
|
8246
8346
|
* Create or update the object replication policy of the storage account.
|
|
@@ -8264,7 +8364,7 @@ class ObjectReplicationPoliciesOperationsImpl {
|
|
|
8264
8364
|
objectReplicationPolicyId,
|
|
8265
8365
|
properties,
|
|
8266
8366
|
options
|
|
8267
|
-
}, createOrUpdateOperationSpec);
|
|
8367
|
+
}, createOrUpdateOperationSpec$2);
|
|
8268
8368
|
}
|
|
8269
8369
|
/**
|
|
8270
8370
|
* Deletes the object replication policy associated with the specified storage account.
|
|
@@ -8284,8 +8384,8 @@ class ObjectReplicationPoliciesOperationsImpl {
|
|
|
8284
8384
|
}
|
|
8285
8385
|
}
|
|
8286
8386
|
// Operation Specifications
|
|
8287
|
-
const serializer$9 =
|
|
8288
|
-
const listOperationSpec$
|
|
8387
|
+
const serializer$9 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
8388
|
+
const listOperationSpec$6 = {
|
|
8289
8389
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies",
|
|
8290
8390
|
httpMethod: "GET",
|
|
8291
8391
|
responses: {
|
|
@@ -8306,7 +8406,7 @@ const listOperationSpec$9 = {
|
|
|
8306
8406
|
headerParameters: [accept],
|
|
8307
8407
|
serializer: serializer$9
|
|
8308
8408
|
};
|
|
8309
|
-
const getOperationSpec$
|
|
8409
|
+
const getOperationSpec$4 = {
|
|
8310
8410
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies/{objectReplicationPolicyId}",
|
|
8311
8411
|
httpMethod: "GET",
|
|
8312
8412
|
responses: {
|
|
@@ -8323,41 +8423,324 @@ const getOperationSpec$5 = {
|
|
|
8323
8423
|
subscriptionId,
|
|
8324
8424
|
resourceGroupName,
|
|
8325
8425
|
accountName1,
|
|
8326
|
-
objectReplicationPolicyId
|
|
8426
|
+
objectReplicationPolicyId
|
|
8427
|
+
],
|
|
8428
|
+
headerParameters: [accept],
|
|
8429
|
+
serializer: serializer$9
|
|
8430
|
+
};
|
|
8431
|
+
const createOrUpdateOperationSpec$2 = {
|
|
8432
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies/{objectReplicationPolicyId}",
|
|
8433
|
+
httpMethod: "PUT",
|
|
8434
|
+
responses: {
|
|
8435
|
+
200: {
|
|
8436
|
+
bodyMapper: ObjectReplicationPolicy
|
|
8437
|
+
},
|
|
8438
|
+
default: {
|
|
8439
|
+
bodyMapper: ErrorResponse
|
|
8440
|
+
}
|
|
8441
|
+
},
|
|
8442
|
+
requestBody: properties3,
|
|
8443
|
+
queryParameters: [apiVersion],
|
|
8444
|
+
urlParameters: [
|
|
8445
|
+
$host,
|
|
8446
|
+
subscriptionId,
|
|
8447
|
+
resourceGroupName,
|
|
8448
|
+
accountName1,
|
|
8449
|
+
objectReplicationPolicyId
|
|
8450
|
+
],
|
|
8451
|
+
headerParameters: [accept, contentType],
|
|
8452
|
+
mediaType: "json",
|
|
8453
|
+
serializer: serializer$9
|
|
8454
|
+
};
|
|
8455
|
+
const deleteOperationSpec$4 = {
|
|
8456
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies/{objectReplicationPolicyId}",
|
|
8457
|
+
httpMethod: "DELETE",
|
|
8458
|
+
responses: {
|
|
8459
|
+
200: {},
|
|
8460
|
+
204: {},
|
|
8461
|
+
default: {
|
|
8462
|
+
bodyMapper: ErrorResponse
|
|
8463
|
+
}
|
|
8464
|
+
},
|
|
8465
|
+
queryParameters: [apiVersion],
|
|
8466
|
+
urlParameters: [
|
|
8467
|
+
$host,
|
|
8468
|
+
subscriptionId,
|
|
8469
|
+
resourceGroupName,
|
|
8470
|
+
accountName1,
|
|
8471
|
+
objectReplicationPolicyId
|
|
8472
|
+
],
|
|
8473
|
+
headerParameters: [accept],
|
|
8474
|
+
serializer: serializer$9
|
|
8475
|
+
};
|
|
8476
|
+
|
|
8477
|
+
/*
|
|
8478
|
+
* Copyright (c) Microsoft Corporation.
|
|
8479
|
+
* Licensed under the MIT License.
|
|
8480
|
+
*
|
|
8481
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
8482
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8483
|
+
*/
|
|
8484
|
+
/// <reference lib="esnext.asynciterable" />
|
|
8485
|
+
/** Class containing LocalUsersOperations operations. */
|
|
8486
|
+
class LocalUsersOperationsImpl {
|
|
8487
|
+
/**
|
|
8488
|
+
* Initialize a new instance of the class LocalUsersOperations class.
|
|
8489
|
+
* @param client Reference to the service client
|
|
8490
|
+
*/
|
|
8491
|
+
constructor(client) {
|
|
8492
|
+
this.client = client;
|
|
8493
|
+
}
|
|
8494
|
+
/**
|
|
8495
|
+
* List the local users associated with the storage account.
|
|
8496
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
8497
|
+
* case insensitive.
|
|
8498
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
8499
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
8500
|
+
* only.
|
|
8501
|
+
* @param options The options parameters.
|
|
8502
|
+
*/
|
|
8503
|
+
list(resourceGroupName, accountName, options) {
|
|
8504
|
+
const iter = this.listPagingAll(resourceGroupName, accountName, options);
|
|
8505
|
+
return {
|
|
8506
|
+
next() {
|
|
8507
|
+
return iter.next();
|
|
8508
|
+
},
|
|
8509
|
+
[Symbol.asyncIterator]() {
|
|
8510
|
+
return this;
|
|
8511
|
+
},
|
|
8512
|
+
byPage: () => {
|
|
8513
|
+
return this.listPagingPage(resourceGroupName, accountName, options);
|
|
8514
|
+
}
|
|
8515
|
+
};
|
|
8516
|
+
}
|
|
8517
|
+
listPagingPage(resourceGroupName, accountName, options) {
|
|
8518
|
+
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
8519
|
+
let result = yield tslib.__await(this._list(resourceGroupName, accountName, options));
|
|
8520
|
+
yield yield tslib.__await(result.value || []);
|
|
8521
|
+
});
|
|
8522
|
+
}
|
|
8523
|
+
listPagingAll(resourceGroupName, accountName, options) {
|
|
8524
|
+
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
8525
|
+
var e_1, _a;
|
|
8526
|
+
try {
|
|
8527
|
+
for (var _b = tslib.__asyncValues(this.listPagingPage(resourceGroupName, accountName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
8528
|
+
const page = _c.value;
|
|
8529
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
8530
|
+
}
|
|
8531
|
+
}
|
|
8532
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
8533
|
+
finally {
|
|
8534
|
+
try {
|
|
8535
|
+
if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
|
|
8536
|
+
}
|
|
8537
|
+
finally { if (e_1) throw e_1.error; }
|
|
8538
|
+
}
|
|
8539
|
+
});
|
|
8540
|
+
}
|
|
8541
|
+
/**
|
|
8542
|
+
* List the local users associated with the storage account.
|
|
8543
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
8544
|
+
* case insensitive.
|
|
8545
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
8546
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
8547
|
+
* only.
|
|
8548
|
+
* @param options The options parameters.
|
|
8549
|
+
*/
|
|
8550
|
+
_list(resourceGroupName, accountName, options) {
|
|
8551
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$7);
|
|
8552
|
+
}
|
|
8553
|
+
/**
|
|
8554
|
+
* Get the local user of the storage account by username.
|
|
8555
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
8556
|
+
* case insensitive.
|
|
8557
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
8558
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
8559
|
+
* only.
|
|
8560
|
+
* @param username The name of local user. The username must contain lowercase letters and numbers
|
|
8561
|
+
* only. It must be unique only within the storage account.
|
|
8562
|
+
* @param options The options parameters.
|
|
8563
|
+
*/
|
|
8564
|
+
get(resourceGroupName, accountName, username, options) {
|
|
8565
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, username, options }, getOperationSpec$5);
|
|
8566
|
+
}
|
|
8567
|
+
/**
|
|
8568
|
+
* Create or update the properties of a local user associated with the storage account
|
|
8569
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
8570
|
+
* case insensitive.
|
|
8571
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
8572
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
8573
|
+
* only.
|
|
8574
|
+
* @param username The name of local user. The username must contain lowercase letters and numbers
|
|
8575
|
+
* only. It must be unique only within the storage account.
|
|
8576
|
+
* @param properties The local user associated with a storage account.
|
|
8577
|
+
* @param options The options parameters.
|
|
8578
|
+
*/
|
|
8579
|
+
createOrUpdate(resourceGroupName, accountName, username, properties, options) {
|
|
8580
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, username, properties, options }, createOrUpdateOperationSpec$3);
|
|
8581
|
+
}
|
|
8582
|
+
/**
|
|
8583
|
+
* Deletes the local user associated with the specified storage account.
|
|
8584
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
8585
|
+
* case insensitive.
|
|
8586
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
8587
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
8588
|
+
* only.
|
|
8589
|
+
* @param username The name of local user. The username must contain lowercase letters and numbers
|
|
8590
|
+
* only. It must be unique only within the storage account.
|
|
8591
|
+
* @param options The options parameters.
|
|
8592
|
+
*/
|
|
8593
|
+
delete(resourceGroupName, accountName, username, options) {
|
|
8594
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, username, options }, deleteOperationSpec$5);
|
|
8595
|
+
}
|
|
8596
|
+
/**
|
|
8597
|
+
* List SSH authorized keys and shared key of the local user.
|
|
8598
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
8599
|
+
* case insensitive.
|
|
8600
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
8601
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
8602
|
+
* only.
|
|
8603
|
+
* @param username The name of local user. The username must contain lowercase letters and numbers
|
|
8604
|
+
* only. It must be unique only within the storage account.
|
|
8605
|
+
* @param options The options parameters.
|
|
8606
|
+
*/
|
|
8607
|
+
listKeys(resourceGroupName, accountName, username, options) {
|
|
8608
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, username, options }, listKeysOperationSpec$1);
|
|
8609
|
+
}
|
|
8610
|
+
/**
|
|
8611
|
+
* Regenerate the local user SSH password.
|
|
8612
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
8613
|
+
* case insensitive.
|
|
8614
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
8615
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
8616
|
+
* only.
|
|
8617
|
+
* @param username The name of local user. The username must contain lowercase letters and numbers
|
|
8618
|
+
* only. It must be unique only within the storage account.
|
|
8619
|
+
* @param options The options parameters.
|
|
8620
|
+
*/
|
|
8621
|
+
regeneratePassword(resourceGroupName, accountName, username, options) {
|
|
8622
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, username, options }, regeneratePasswordOperationSpec);
|
|
8623
|
+
}
|
|
8624
|
+
}
|
|
8625
|
+
// Operation Specifications
|
|
8626
|
+
const serializer$a = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
8627
|
+
const listOperationSpec$7 = {
|
|
8628
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers",
|
|
8629
|
+
httpMethod: "GET",
|
|
8630
|
+
responses: {
|
|
8631
|
+
200: {
|
|
8632
|
+
bodyMapper: LocalUsers
|
|
8633
|
+
},
|
|
8634
|
+
default: {
|
|
8635
|
+
bodyMapper: ErrorResponse
|
|
8636
|
+
}
|
|
8637
|
+
},
|
|
8638
|
+
queryParameters: [apiVersion],
|
|
8639
|
+
urlParameters: [
|
|
8640
|
+
$host,
|
|
8641
|
+
subscriptionId,
|
|
8642
|
+
resourceGroupName,
|
|
8643
|
+
accountName1
|
|
8644
|
+
],
|
|
8645
|
+
headerParameters: [accept],
|
|
8646
|
+
serializer: serializer$a
|
|
8647
|
+
};
|
|
8648
|
+
const getOperationSpec$5 = {
|
|
8649
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}",
|
|
8650
|
+
httpMethod: "GET",
|
|
8651
|
+
responses: {
|
|
8652
|
+
200: {
|
|
8653
|
+
bodyMapper: LocalUser
|
|
8654
|
+
},
|
|
8655
|
+
default: {
|
|
8656
|
+
bodyMapper: ErrorResponse
|
|
8657
|
+
}
|
|
8658
|
+
},
|
|
8659
|
+
queryParameters: [apiVersion],
|
|
8660
|
+
urlParameters: [
|
|
8661
|
+
$host,
|
|
8662
|
+
subscriptionId,
|
|
8663
|
+
resourceGroupName,
|
|
8664
|
+
accountName1,
|
|
8665
|
+
username
|
|
8666
|
+
],
|
|
8667
|
+
headerParameters: [accept],
|
|
8668
|
+
serializer: serializer$a
|
|
8669
|
+
};
|
|
8670
|
+
const createOrUpdateOperationSpec$3 = {
|
|
8671
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}",
|
|
8672
|
+
httpMethod: "PUT",
|
|
8673
|
+
responses: {
|
|
8674
|
+
200: {
|
|
8675
|
+
bodyMapper: LocalUser
|
|
8676
|
+
},
|
|
8677
|
+
default: {
|
|
8678
|
+
bodyMapper: ErrorResponse
|
|
8679
|
+
}
|
|
8680
|
+
},
|
|
8681
|
+
requestBody: properties4,
|
|
8682
|
+
queryParameters: [apiVersion],
|
|
8683
|
+
urlParameters: [
|
|
8684
|
+
$host,
|
|
8685
|
+
subscriptionId,
|
|
8686
|
+
resourceGroupName,
|
|
8687
|
+
accountName1,
|
|
8688
|
+
username
|
|
8689
|
+
],
|
|
8690
|
+
headerParameters: [accept, contentType],
|
|
8691
|
+
mediaType: "json",
|
|
8692
|
+
serializer: serializer$a
|
|
8693
|
+
};
|
|
8694
|
+
const deleteOperationSpec$5 = {
|
|
8695
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}",
|
|
8696
|
+
httpMethod: "DELETE",
|
|
8697
|
+
responses: {
|
|
8698
|
+
200: {},
|
|
8699
|
+
204: {},
|
|
8700
|
+
default: {
|
|
8701
|
+
bodyMapper: ErrorResponse
|
|
8702
|
+
}
|
|
8703
|
+
},
|
|
8704
|
+
queryParameters: [apiVersion],
|
|
8705
|
+
urlParameters: [
|
|
8706
|
+
$host,
|
|
8707
|
+
subscriptionId,
|
|
8708
|
+
resourceGroupName,
|
|
8709
|
+
accountName1,
|
|
8710
|
+
username
|
|
8327
8711
|
],
|
|
8328
8712
|
headerParameters: [accept],
|
|
8329
|
-
serializer: serializer$
|
|
8713
|
+
serializer: serializer$a
|
|
8330
8714
|
};
|
|
8331
|
-
const
|
|
8332
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/
|
|
8333
|
-
httpMethod: "
|
|
8715
|
+
const listKeysOperationSpec$1 = {
|
|
8716
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}/listKeys",
|
|
8717
|
+
httpMethod: "POST",
|
|
8334
8718
|
responses: {
|
|
8335
8719
|
200: {
|
|
8336
|
-
bodyMapper:
|
|
8720
|
+
bodyMapper: LocalUserKeys
|
|
8337
8721
|
},
|
|
8338
8722
|
default: {
|
|
8339
8723
|
bodyMapper: ErrorResponse
|
|
8340
8724
|
}
|
|
8341
8725
|
},
|
|
8342
|
-
requestBody: properties3,
|
|
8343
8726
|
queryParameters: [apiVersion],
|
|
8344
8727
|
urlParameters: [
|
|
8345
8728
|
$host,
|
|
8346
8729
|
subscriptionId,
|
|
8347
8730
|
resourceGroupName,
|
|
8348
8731
|
accountName1,
|
|
8349
|
-
|
|
8732
|
+
username
|
|
8350
8733
|
],
|
|
8351
|
-
headerParameters: [accept
|
|
8352
|
-
|
|
8353
|
-
serializer: serializer$9
|
|
8734
|
+
headerParameters: [accept],
|
|
8735
|
+
serializer: serializer$a
|
|
8354
8736
|
};
|
|
8355
|
-
const
|
|
8356
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/
|
|
8357
|
-
httpMethod: "
|
|
8737
|
+
const regeneratePasswordOperationSpec = {
|
|
8738
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}/regeneratePassword",
|
|
8739
|
+
httpMethod: "POST",
|
|
8358
8740
|
responses: {
|
|
8359
|
-
200: {
|
|
8360
|
-
|
|
8741
|
+
200: {
|
|
8742
|
+
bodyMapper: LocalUserRegeneratePasswordResult
|
|
8743
|
+
},
|
|
8361
8744
|
default: {
|
|
8362
8745
|
bodyMapper: ErrorResponse
|
|
8363
8746
|
}
|
|
@@ -8368,10 +8751,10 @@ const deleteOperationSpec$4 = {
|
|
|
8368
8751
|
subscriptionId,
|
|
8369
8752
|
resourceGroupName,
|
|
8370
8753
|
accountName1,
|
|
8371
|
-
|
|
8754
|
+
username
|
|
8372
8755
|
],
|
|
8373
8756
|
headerParameters: [accept],
|
|
8374
|
-
serializer: serializer$
|
|
8757
|
+
serializer: serializer$a
|
|
8375
8758
|
};
|
|
8376
8759
|
|
|
8377
8760
|
/*
|
|
@@ -8467,7 +8850,7 @@ class EncryptionScopesImpl {
|
|
|
8467
8850
|
encryptionScopeName,
|
|
8468
8851
|
encryptionScope,
|
|
8469
8852
|
options
|
|
8470
|
-
}, putOperationSpec);
|
|
8853
|
+
}, putOperationSpec$1);
|
|
8471
8854
|
}
|
|
8472
8855
|
/**
|
|
8473
8856
|
* Update encryption scope properties as specified in the request body. Update fails if the specified
|
|
@@ -8507,7 +8890,7 @@ class EncryptionScopesImpl {
|
|
|
8507
8890
|
* @param options The options parameters.
|
|
8508
8891
|
*/
|
|
8509
8892
|
get(resourceGroupName, accountName, encryptionScopeName, options) {
|
|
8510
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, encryptionScopeName, options }, getOperationSpec$
|
|
8893
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, encryptionScopeName, options }, getOperationSpec$6);
|
|
8511
8894
|
}
|
|
8512
8895
|
/**
|
|
8513
8896
|
* Lists all the encryption scopes available under the specified storage account.
|
|
@@ -8532,12 +8915,12 @@ class EncryptionScopesImpl {
|
|
|
8532
8915
|
* @param options The options parameters.
|
|
8533
8916
|
*/
|
|
8534
8917
|
_listNext(resourceGroupName, accountName, nextLink, options) {
|
|
8535
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listNextOperationSpec$
|
|
8918
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listNextOperationSpec$2);
|
|
8536
8919
|
}
|
|
8537
8920
|
}
|
|
8538
8921
|
// Operation Specifications
|
|
8539
|
-
const serializer$
|
|
8540
|
-
const putOperationSpec = {
|
|
8922
|
+
const serializer$b = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
8923
|
+
const putOperationSpec$1 = {
|
|
8541
8924
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}",
|
|
8542
8925
|
httpMethod: "PUT",
|
|
8543
8926
|
responses: {
|
|
@@ -8562,7 +8945,7 @@ const putOperationSpec = {
|
|
|
8562
8945
|
],
|
|
8563
8946
|
headerParameters: [accept, contentType],
|
|
8564
8947
|
mediaType: "json",
|
|
8565
|
-
serializer: serializer$
|
|
8948
|
+
serializer: serializer$b
|
|
8566
8949
|
};
|
|
8567
8950
|
const patchOperationSpec = {
|
|
8568
8951
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}",
|
|
@@ -8586,9 +8969,9 @@ const patchOperationSpec = {
|
|
|
8586
8969
|
],
|
|
8587
8970
|
headerParameters: [accept, contentType],
|
|
8588
8971
|
mediaType: "json",
|
|
8589
|
-
serializer: serializer$
|
|
8972
|
+
serializer: serializer$b
|
|
8590
8973
|
};
|
|
8591
|
-
const getOperationSpec$
|
|
8974
|
+
const getOperationSpec$6 = {
|
|
8592
8975
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}",
|
|
8593
8976
|
httpMethod: "GET",
|
|
8594
8977
|
responses: {
|
|
@@ -8608,7 +8991,7 @@ const getOperationSpec$4 = {
|
|
|
8608
8991
|
encryptionScopeName
|
|
8609
8992
|
],
|
|
8610
8993
|
headerParameters: [accept],
|
|
8611
|
-
serializer: serializer$
|
|
8994
|
+
serializer: serializer$b
|
|
8612
8995
|
};
|
|
8613
8996
|
const listOperationSpec$8 = {
|
|
8614
8997
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes",
|
|
@@ -8626,9 +9009,9 @@ const listOperationSpec$8 = {
|
|
|
8626
9009
|
accountName1
|
|
8627
9010
|
],
|
|
8628
9011
|
headerParameters: [accept],
|
|
8629
|
-
serializer: serializer$
|
|
9012
|
+
serializer: serializer$b
|
|
8630
9013
|
};
|
|
8631
|
-
const listNextOperationSpec$
|
|
9014
|
+
const listNextOperationSpec$2 = {
|
|
8632
9015
|
path: "{nextLink}",
|
|
8633
9016
|
httpMethod: "GET",
|
|
8634
9017
|
responses: {
|
|
@@ -8645,7 +9028,7 @@ const listNextOperationSpec$4 = {
|
|
|
8645
9028
|
nextLink
|
|
8646
9029
|
],
|
|
8647
9030
|
headerParameters: [accept],
|
|
8648
|
-
serializer: serializer$
|
|
9031
|
+
serializer: serializer$b
|
|
8649
9032
|
};
|
|
8650
9033
|
|
|
8651
9034
|
/*
|
|
@@ -8722,7 +9105,7 @@ class BlobServicesImpl {
|
|
|
8722
9105
|
* @param options The options parameters.
|
|
8723
9106
|
*/
|
|
8724
9107
|
_list(resourceGroupName, accountName, options) {
|
|
8725
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$
|
|
9108
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$9);
|
|
8726
9109
|
}
|
|
8727
9110
|
/**
|
|
8728
9111
|
* Sets the properties of a storage account’s Blob service, including properties for Storage Analytics
|
|
@@ -8737,7 +9120,7 @@ class BlobServicesImpl {
|
|
|
8737
9120
|
* @param options The options parameters.
|
|
8738
9121
|
*/
|
|
8739
9122
|
setServiceProperties(resourceGroupName, accountName, parameters, options) {
|
|
8740
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, parameters, options }, setServicePropertiesOperationSpec
|
|
9123
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, parameters, options }, setServicePropertiesOperationSpec);
|
|
8741
9124
|
}
|
|
8742
9125
|
/**
|
|
8743
9126
|
* Gets the properties of a storage account’s Blob service, including properties for Storage Analytics
|
|
@@ -8750,12 +9133,12 @@ class BlobServicesImpl {
|
|
|
8750
9133
|
* @param options The options parameters.
|
|
8751
9134
|
*/
|
|
8752
9135
|
getServiceProperties(resourceGroupName, accountName, options) {
|
|
8753
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, getServicePropertiesOperationSpec
|
|
9136
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, getServicePropertiesOperationSpec);
|
|
8754
9137
|
}
|
|
8755
9138
|
}
|
|
8756
9139
|
// Operation Specifications
|
|
8757
|
-
const serializer$
|
|
8758
|
-
const listOperationSpec$
|
|
9140
|
+
const serializer$c = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
9141
|
+
const listOperationSpec$9 = {
|
|
8759
9142
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices",
|
|
8760
9143
|
httpMethod: "GET",
|
|
8761
9144
|
responses: {
|
|
@@ -8771,9 +9154,9 @@ const listOperationSpec$7 = {
|
|
|
8771
9154
|
accountName1
|
|
8772
9155
|
],
|
|
8773
9156
|
headerParameters: [accept],
|
|
8774
|
-
serializer: serializer$
|
|
9157
|
+
serializer: serializer$c
|
|
8775
9158
|
};
|
|
8776
|
-
const setServicePropertiesOperationSpec
|
|
9159
|
+
const setServicePropertiesOperationSpec = {
|
|
8777
9160
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/{BlobServicesName}",
|
|
8778
9161
|
httpMethod: "PUT",
|
|
8779
9162
|
responses: {
|
|
@@ -8792,9 +9175,9 @@ const setServicePropertiesOperationSpec$3 = {
|
|
|
8792
9175
|
],
|
|
8793
9176
|
headerParameters: [accept, contentType],
|
|
8794
9177
|
mediaType: "json",
|
|
8795
|
-
serializer: serializer$
|
|
9178
|
+
serializer: serializer$c
|
|
8796
9179
|
};
|
|
8797
|
-
const getServicePropertiesOperationSpec
|
|
9180
|
+
const getServicePropertiesOperationSpec = {
|
|
8798
9181
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/{BlobServicesName}",
|
|
8799
9182
|
httpMethod: "GET",
|
|
8800
9183
|
responses: {
|
|
@@ -8811,7 +9194,7 @@ const getServicePropertiesOperationSpec$3 = {
|
|
|
8811
9194
|
blobServicesName
|
|
8812
9195
|
],
|
|
8813
9196
|
headerParameters: [accept],
|
|
8814
|
-
serializer: serializer$
|
|
9197
|
+
serializer: serializer$c
|
|
8815
9198
|
};
|
|
8816
9199
|
|
|
8817
9200
|
/*
|
|
@@ -8896,7 +9279,7 @@ class BlobContainersImpl {
|
|
|
8896
9279
|
* @param options The options parameters.
|
|
8897
9280
|
*/
|
|
8898
9281
|
_list(resourceGroupName, accountName, options) {
|
|
8899
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$
|
|
9282
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$a);
|
|
8900
9283
|
}
|
|
8901
9284
|
/**
|
|
8902
9285
|
* Creates a new container under the specified account as described by request body. The container
|
|
@@ -8915,7 +9298,7 @@ class BlobContainersImpl {
|
|
|
8915
9298
|
* @param options The options parameters.
|
|
8916
9299
|
*/
|
|
8917
9300
|
create(resourceGroupName, accountName, containerName, blobContainer, options) {
|
|
8918
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, containerName, blobContainer, options }, createOperationSpec$
|
|
9301
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, containerName, blobContainer, options }, createOperationSpec$1);
|
|
8919
9302
|
}
|
|
8920
9303
|
/**
|
|
8921
9304
|
* Updates container properties as specified in request body. Properties not mentioned in the request
|
|
@@ -8933,7 +9316,7 @@ class BlobContainersImpl {
|
|
|
8933
9316
|
* @param options The options parameters.
|
|
8934
9317
|
*/
|
|
8935
9318
|
update(resourceGroupName, accountName, containerName, blobContainer, options) {
|
|
8936
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, containerName, blobContainer, options }, updateOperationSpec$
|
|
9319
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, containerName, blobContainer, options }, updateOperationSpec$1);
|
|
8937
9320
|
}
|
|
8938
9321
|
/**
|
|
8939
9322
|
* Gets properties of a specified container.
|
|
@@ -8949,7 +9332,7 @@ class BlobContainersImpl {
|
|
|
8949
9332
|
* @param options The options parameters.
|
|
8950
9333
|
*/
|
|
8951
9334
|
get(resourceGroupName, accountName, containerName, options) {
|
|
8952
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, containerName, options }, getOperationSpec$
|
|
9335
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, containerName, options }, getOperationSpec$7);
|
|
8953
9336
|
}
|
|
8954
9337
|
/**
|
|
8955
9338
|
* Deletes specified container under its account.
|
|
@@ -8965,7 +9348,7 @@ class BlobContainersImpl {
|
|
|
8965
9348
|
* @param options The options parameters.
|
|
8966
9349
|
*/
|
|
8967
9350
|
delete(resourceGroupName, accountName, containerName, options) {
|
|
8968
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, containerName, options }, deleteOperationSpec$
|
|
9351
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, containerName, options }, deleteOperationSpec$6);
|
|
8969
9352
|
}
|
|
8970
9353
|
/**
|
|
8971
9354
|
* Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows
|
|
@@ -9114,7 +9497,7 @@ class BlobContainersImpl {
|
|
|
9114
9497
|
* @param options The options parameters.
|
|
9115
9498
|
*/
|
|
9116
9499
|
lease(resourceGroupName, accountName, containerName, options) {
|
|
9117
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, containerName, options }, leaseOperationSpec
|
|
9500
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, containerName, options }, leaseOperationSpec);
|
|
9118
9501
|
}
|
|
9119
9502
|
/**
|
|
9120
9503
|
* This operation migrates a blob container from container level WORM to object level immutability
|
|
@@ -9201,8 +9584,8 @@ class BlobContainersImpl {
|
|
|
9201
9584
|
}
|
|
9202
9585
|
}
|
|
9203
9586
|
// Operation Specifications
|
|
9204
|
-
const serializer$
|
|
9205
|
-
const listOperationSpec$
|
|
9587
|
+
const serializer$d = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
9588
|
+
const listOperationSpec$a = {
|
|
9206
9589
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers",
|
|
9207
9590
|
httpMethod: "GET",
|
|
9208
9591
|
responses: {
|
|
@@ -9223,9 +9606,9 @@ const listOperationSpec$6 = {
|
|
|
9223
9606
|
accountName1
|
|
9224
9607
|
],
|
|
9225
9608
|
headerParameters: [accept],
|
|
9226
|
-
serializer: serializer$
|
|
9609
|
+
serializer: serializer$d
|
|
9227
9610
|
};
|
|
9228
|
-
const createOperationSpec$
|
|
9611
|
+
const createOperationSpec$1 = {
|
|
9229
9612
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}",
|
|
9230
9613
|
httpMethod: "PUT",
|
|
9231
9614
|
responses: {
|
|
@@ -9247,9 +9630,9 @@ const createOperationSpec$3 = {
|
|
|
9247
9630
|
],
|
|
9248
9631
|
headerParameters: [accept, contentType],
|
|
9249
9632
|
mediaType: "json",
|
|
9250
|
-
serializer: serializer$
|
|
9633
|
+
serializer: serializer$d
|
|
9251
9634
|
};
|
|
9252
|
-
const updateOperationSpec$
|
|
9635
|
+
const updateOperationSpec$1 = {
|
|
9253
9636
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}",
|
|
9254
9637
|
httpMethod: "PATCH",
|
|
9255
9638
|
responses: {
|
|
@@ -9268,9 +9651,9 @@ const updateOperationSpec$3 = {
|
|
|
9268
9651
|
],
|
|
9269
9652
|
headerParameters: [accept, contentType],
|
|
9270
9653
|
mediaType: "json",
|
|
9271
|
-
serializer: serializer$
|
|
9654
|
+
serializer: serializer$d
|
|
9272
9655
|
};
|
|
9273
|
-
const getOperationSpec$
|
|
9656
|
+
const getOperationSpec$7 = {
|
|
9274
9657
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}",
|
|
9275
9658
|
httpMethod: "GET",
|
|
9276
9659
|
responses: {
|
|
@@ -9287,9 +9670,9 @@ const getOperationSpec$3 = {
|
|
|
9287
9670
|
containerName
|
|
9288
9671
|
],
|
|
9289
9672
|
headerParameters: [accept],
|
|
9290
|
-
serializer: serializer$
|
|
9673
|
+
serializer: serializer$d
|
|
9291
9674
|
};
|
|
9292
|
-
const deleteOperationSpec$
|
|
9675
|
+
const deleteOperationSpec$6 = {
|
|
9293
9676
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}",
|
|
9294
9677
|
httpMethod: "DELETE",
|
|
9295
9678
|
responses: { 200: {}, 204: {} },
|
|
@@ -9301,7 +9684,7 @@ const deleteOperationSpec$3 = {
|
|
|
9301
9684
|
accountName1,
|
|
9302
9685
|
containerName
|
|
9303
9686
|
],
|
|
9304
|
-
serializer: serializer$
|
|
9687
|
+
serializer: serializer$d
|
|
9305
9688
|
};
|
|
9306
9689
|
const setLegalHoldOperationSpec = {
|
|
9307
9690
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold",
|
|
@@ -9322,7 +9705,7 @@ const setLegalHoldOperationSpec = {
|
|
|
9322
9705
|
],
|
|
9323
9706
|
headerParameters: [accept, contentType],
|
|
9324
9707
|
mediaType: "json",
|
|
9325
|
-
serializer: serializer$
|
|
9708
|
+
serializer: serializer$d
|
|
9326
9709
|
};
|
|
9327
9710
|
const clearLegalHoldOperationSpec = {
|
|
9328
9711
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold",
|
|
@@ -9343,7 +9726,7 @@ const clearLegalHoldOperationSpec = {
|
|
|
9343
9726
|
],
|
|
9344
9727
|
headerParameters: [accept, contentType],
|
|
9345
9728
|
mediaType: "json",
|
|
9346
|
-
serializer: serializer$
|
|
9729
|
+
serializer: serializer$d
|
|
9347
9730
|
};
|
|
9348
9731
|
const createOrUpdateImmutabilityPolicyOperationSpec = {
|
|
9349
9732
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}",
|
|
@@ -9370,7 +9753,7 @@ const createOrUpdateImmutabilityPolicyOperationSpec = {
|
|
|
9370
9753
|
ifMatch
|
|
9371
9754
|
],
|
|
9372
9755
|
mediaType: "json",
|
|
9373
|
-
serializer: serializer$
|
|
9756
|
+
serializer: serializer$d
|
|
9374
9757
|
};
|
|
9375
9758
|
const getImmutabilityPolicyOperationSpec = {
|
|
9376
9759
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}",
|
|
@@ -9391,7 +9774,7 @@ const getImmutabilityPolicyOperationSpec = {
|
|
|
9391
9774
|
immutabilityPolicyName
|
|
9392
9775
|
],
|
|
9393
9776
|
headerParameters: [accept, ifMatch],
|
|
9394
|
-
serializer: serializer$
|
|
9777
|
+
serializer: serializer$d
|
|
9395
9778
|
};
|
|
9396
9779
|
const deleteImmutabilityPolicyOperationSpec = {
|
|
9397
9780
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}",
|
|
@@ -9412,7 +9795,7 @@ const deleteImmutabilityPolicyOperationSpec = {
|
|
|
9412
9795
|
immutabilityPolicyName
|
|
9413
9796
|
],
|
|
9414
9797
|
headerParameters: [accept, ifMatch1],
|
|
9415
|
-
serializer: serializer$
|
|
9798
|
+
serializer: serializer$d
|
|
9416
9799
|
};
|
|
9417
9800
|
const lockImmutabilityPolicyOperationSpec = {
|
|
9418
9801
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock",
|
|
@@ -9432,7 +9815,7 @@ const lockImmutabilityPolicyOperationSpec = {
|
|
|
9432
9815
|
containerName
|
|
9433
9816
|
],
|
|
9434
9817
|
headerParameters: [accept, ifMatch1],
|
|
9435
|
-
serializer: serializer$
|
|
9818
|
+
serializer: serializer$d
|
|
9436
9819
|
};
|
|
9437
9820
|
const extendImmutabilityPolicyOperationSpec = {
|
|
9438
9821
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend",
|
|
@@ -9458,9 +9841,9 @@ const extendImmutabilityPolicyOperationSpec = {
|
|
|
9458
9841
|
ifMatch1
|
|
9459
9842
|
],
|
|
9460
9843
|
mediaType: "json",
|
|
9461
|
-
serializer: serializer$
|
|
9844
|
+
serializer: serializer$d
|
|
9462
9845
|
};
|
|
9463
|
-
const leaseOperationSpec
|
|
9846
|
+
const leaseOperationSpec = {
|
|
9464
9847
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease",
|
|
9465
9848
|
httpMethod: "POST",
|
|
9466
9849
|
responses: {
|
|
@@ -9479,7 +9862,7 @@ const leaseOperationSpec$1 = {
|
|
|
9479
9862
|
],
|
|
9480
9863
|
headerParameters: [accept, contentType],
|
|
9481
9864
|
mediaType: "json",
|
|
9482
|
-
serializer: serializer$
|
|
9865
|
+
serializer: serializer$d
|
|
9483
9866
|
};
|
|
9484
9867
|
const objectLevelWormOperationSpec = {
|
|
9485
9868
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/migrate",
|
|
@@ -9502,7 +9885,7 @@ const objectLevelWormOperationSpec = {
|
|
|
9502
9885
|
containerName
|
|
9503
9886
|
],
|
|
9504
9887
|
headerParameters: [accept],
|
|
9505
|
-
serializer: serializer$
|
|
9888
|
+
serializer: serializer$d
|
|
9506
9889
|
};
|
|
9507
9890
|
const listNextOperationSpec$3 = {
|
|
9508
9891
|
path: "{nextLink}",
|
|
@@ -9526,7 +9909,7 @@ const listNextOperationSpec$3 = {
|
|
|
9526
9909
|
nextLink
|
|
9527
9910
|
],
|
|
9528
9911
|
headerParameters: [accept],
|
|
9529
|
-
serializer: serializer$
|
|
9912
|
+
serializer: serializer$d
|
|
9530
9913
|
};
|
|
9531
9914
|
|
|
9532
9915
|
/*
|
|
@@ -9555,7 +9938,7 @@ class FileServicesImpl {
|
|
|
9555
9938
|
* @param options The options parameters.
|
|
9556
9939
|
*/
|
|
9557
9940
|
list(resourceGroupName, accountName, options) {
|
|
9558
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$
|
|
9941
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$b);
|
|
9559
9942
|
}
|
|
9560
9943
|
/**
|
|
9561
9944
|
* Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource
|
|
@@ -9570,7 +9953,7 @@ class FileServicesImpl {
|
|
|
9570
9953
|
* @param options The options parameters.
|
|
9571
9954
|
*/
|
|
9572
9955
|
setServiceProperties(resourceGroupName, accountName, parameters, options) {
|
|
9573
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, parameters, options }, setServicePropertiesOperationSpec$
|
|
9956
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, parameters, options }, setServicePropertiesOperationSpec$1);
|
|
9574
9957
|
}
|
|
9575
9958
|
/**
|
|
9576
9959
|
* Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource
|
|
@@ -9583,12 +9966,12 @@ class FileServicesImpl {
|
|
|
9583
9966
|
* @param options The options parameters.
|
|
9584
9967
|
*/
|
|
9585
9968
|
getServiceProperties(resourceGroupName, accountName, options) {
|
|
9586
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, getServicePropertiesOperationSpec$
|
|
9969
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, getServicePropertiesOperationSpec$1);
|
|
9587
9970
|
}
|
|
9588
9971
|
}
|
|
9589
9972
|
// Operation Specifications
|
|
9590
|
-
const serializer$
|
|
9591
|
-
const listOperationSpec$
|
|
9973
|
+
const serializer$e = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
9974
|
+
const listOperationSpec$b = {
|
|
9592
9975
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices",
|
|
9593
9976
|
httpMethod: "GET",
|
|
9594
9977
|
responses: {
|
|
@@ -9596,7 +9979,7 @@ const listOperationSpec$5 = {
|
|
|
9596
9979
|
bodyMapper: FileServiceItems
|
|
9597
9980
|
},
|
|
9598
9981
|
default: {
|
|
9599
|
-
bodyMapper:
|
|
9982
|
+
bodyMapper: CloudError
|
|
9600
9983
|
}
|
|
9601
9984
|
},
|
|
9602
9985
|
queryParameters: [apiVersion],
|
|
@@ -9607,9 +9990,9 @@ const listOperationSpec$5 = {
|
|
|
9607
9990
|
accountName1
|
|
9608
9991
|
],
|
|
9609
9992
|
headerParameters: [accept],
|
|
9610
|
-
serializer: serializer$
|
|
9993
|
+
serializer: serializer$e
|
|
9611
9994
|
};
|
|
9612
|
-
const setServicePropertiesOperationSpec$
|
|
9995
|
+
const setServicePropertiesOperationSpec$1 = {
|
|
9613
9996
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}",
|
|
9614
9997
|
httpMethod: "PUT",
|
|
9615
9998
|
responses: {
|
|
@@ -9617,7 +10000,7 @@ const setServicePropertiesOperationSpec$2 = {
|
|
|
9617
10000
|
bodyMapper: FileServiceProperties
|
|
9618
10001
|
},
|
|
9619
10002
|
default: {
|
|
9620
|
-
bodyMapper:
|
|
10003
|
+
bodyMapper: CloudError
|
|
9621
10004
|
}
|
|
9622
10005
|
},
|
|
9623
10006
|
requestBody: parameters8,
|
|
@@ -9631,9 +10014,9 @@ const setServicePropertiesOperationSpec$2 = {
|
|
|
9631
10014
|
],
|
|
9632
10015
|
headerParameters: [accept, contentType],
|
|
9633
10016
|
mediaType: "json",
|
|
9634
|
-
serializer: serializer$
|
|
10017
|
+
serializer: serializer$e
|
|
9635
10018
|
};
|
|
9636
|
-
const getServicePropertiesOperationSpec$
|
|
10019
|
+
const getServicePropertiesOperationSpec$1 = {
|
|
9637
10020
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}",
|
|
9638
10021
|
httpMethod: "GET",
|
|
9639
10022
|
responses: {
|
|
@@ -9641,7 +10024,7 @@ const getServicePropertiesOperationSpec$2 = {
|
|
|
9641
10024
|
bodyMapper: FileServiceProperties
|
|
9642
10025
|
},
|
|
9643
10026
|
default: {
|
|
9644
|
-
bodyMapper:
|
|
10027
|
+
bodyMapper: CloudError
|
|
9645
10028
|
}
|
|
9646
10029
|
},
|
|
9647
10030
|
queryParameters: [apiVersion],
|
|
@@ -9653,7 +10036,7 @@ const getServicePropertiesOperationSpec$2 = {
|
|
|
9653
10036
|
fileServicesName
|
|
9654
10037
|
],
|
|
9655
10038
|
headerParameters: [accept],
|
|
9656
|
-
serializer: serializer$
|
|
10039
|
+
serializer: serializer$e
|
|
9657
10040
|
};
|
|
9658
10041
|
|
|
9659
10042
|
/*
|
|
@@ -9736,7 +10119,7 @@ class FileSharesImpl {
|
|
|
9736
10119
|
* @param options The options parameters.
|
|
9737
10120
|
*/
|
|
9738
10121
|
_list(resourceGroupName, accountName, options) {
|
|
9739
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$
|
|
10122
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$c);
|
|
9740
10123
|
}
|
|
9741
10124
|
/**
|
|
9742
10125
|
* Creates a new share under the specified account as described by request body. The share resource
|
|
@@ -9786,7 +10169,7 @@ class FileSharesImpl {
|
|
|
9786
10169
|
* @param options The options parameters.
|
|
9787
10170
|
*/
|
|
9788
10171
|
get(resourceGroupName, accountName, shareName, options) {
|
|
9789
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, shareName, options }, getOperationSpec$
|
|
10172
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, shareName, options }, getOperationSpec$8);
|
|
9790
10173
|
}
|
|
9791
10174
|
/**
|
|
9792
10175
|
* Deletes specified share under its account.
|
|
@@ -9801,7 +10184,7 @@ class FileSharesImpl {
|
|
|
9801
10184
|
* @param options The options parameters.
|
|
9802
10185
|
*/
|
|
9803
10186
|
delete(resourceGroupName, accountName, shareName, options) {
|
|
9804
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, shareName, options }, deleteOperationSpec$
|
|
10187
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, shareName, options }, deleteOperationSpec$7);
|
|
9805
10188
|
}
|
|
9806
10189
|
/**
|
|
9807
10190
|
* Restore a file share within a valid retention days if share soft delete is enabled
|
|
@@ -9833,7 +10216,7 @@ class FileSharesImpl {
|
|
|
9833
10216
|
* @param options The options parameters.
|
|
9834
10217
|
*/
|
|
9835
10218
|
lease(resourceGroupName, accountName, shareName, options) {
|
|
9836
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, shareName, options }, leaseOperationSpec);
|
|
10219
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, shareName, options }, leaseOperationSpec$1);
|
|
9837
10220
|
}
|
|
9838
10221
|
/**
|
|
9839
10222
|
* ListNext
|
|
@@ -9846,12 +10229,12 @@ class FileSharesImpl {
|
|
|
9846
10229
|
* @param options The options parameters.
|
|
9847
10230
|
*/
|
|
9848
10231
|
_listNext(resourceGroupName, accountName, nextLink, options) {
|
|
9849
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listNextOperationSpec$
|
|
10232
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listNextOperationSpec$4);
|
|
9850
10233
|
}
|
|
9851
10234
|
}
|
|
9852
10235
|
// Operation Specifications
|
|
9853
|
-
const serializer$
|
|
9854
|
-
const listOperationSpec$
|
|
10236
|
+
const serializer$f = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
10237
|
+
const listOperationSpec$c = {
|
|
9855
10238
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares",
|
|
9856
10239
|
httpMethod: "GET",
|
|
9857
10240
|
responses: {
|
|
@@ -9859,7 +10242,7 @@ const listOperationSpec$4 = {
|
|
|
9859
10242
|
bodyMapper: FileShareItems
|
|
9860
10243
|
},
|
|
9861
10244
|
default: {
|
|
9862
|
-
bodyMapper:
|
|
10245
|
+
bodyMapper: CloudError
|
|
9863
10246
|
}
|
|
9864
10247
|
},
|
|
9865
10248
|
queryParameters: [
|
|
@@ -9875,7 +10258,7 @@ const listOperationSpec$4 = {
|
|
|
9875
10258
|
accountName1
|
|
9876
10259
|
],
|
|
9877
10260
|
headerParameters: [accept],
|
|
9878
|
-
serializer: serializer$
|
|
10261
|
+
serializer: serializer$f
|
|
9879
10262
|
};
|
|
9880
10263
|
const createOperationSpec$2 = {
|
|
9881
10264
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}",
|
|
@@ -9888,7 +10271,7 @@ const createOperationSpec$2 = {
|
|
|
9888
10271
|
bodyMapper: FileShare
|
|
9889
10272
|
},
|
|
9890
10273
|
default: {
|
|
9891
|
-
bodyMapper:
|
|
10274
|
+
bodyMapper: CloudError
|
|
9892
10275
|
}
|
|
9893
10276
|
},
|
|
9894
10277
|
requestBody: fileShare,
|
|
@@ -9902,7 +10285,7 @@ const createOperationSpec$2 = {
|
|
|
9902
10285
|
],
|
|
9903
10286
|
headerParameters: [accept, contentType],
|
|
9904
10287
|
mediaType: "json",
|
|
9905
|
-
serializer: serializer$
|
|
10288
|
+
serializer: serializer$f
|
|
9906
10289
|
};
|
|
9907
10290
|
const updateOperationSpec$2 = {
|
|
9908
10291
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}",
|
|
@@ -9912,7 +10295,7 @@ const updateOperationSpec$2 = {
|
|
|
9912
10295
|
bodyMapper: FileShare
|
|
9913
10296
|
},
|
|
9914
10297
|
default: {
|
|
9915
|
-
bodyMapper:
|
|
10298
|
+
bodyMapper: CloudError
|
|
9916
10299
|
}
|
|
9917
10300
|
},
|
|
9918
10301
|
requestBody: fileShare,
|
|
@@ -9926,9 +10309,9 @@ const updateOperationSpec$2 = {
|
|
|
9926
10309
|
],
|
|
9927
10310
|
headerParameters: [accept, contentType],
|
|
9928
10311
|
mediaType: "json",
|
|
9929
|
-
serializer: serializer$
|
|
10312
|
+
serializer: serializer$f
|
|
9930
10313
|
};
|
|
9931
|
-
const getOperationSpec$
|
|
10314
|
+
const getOperationSpec$8 = {
|
|
9932
10315
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}",
|
|
9933
10316
|
httpMethod: "GET",
|
|
9934
10317
|
responses: {
|
|
@@ -9936,7 +10319,7 @@ const getOperationSpec$2 = {
|
|
|
9936
10319
|
bodyMapper: FileShare
|
|
9937
10320
|
},
|
|
9938
10321
|
default: {
|
|
9939
|
-
bodyMapper:
|
|
10322
|
+
bodyMapper: CloudError
|
|
9940
10323
|
}
|
|
9941
10324
|
},
|
|
9942
10325
|
queryParameters: [apiVersion, expand2],
|
|
@@ -9948,16 +10331,16 @@ const getOperationSpec$2 = {
|
|
|
9948
10331
|
shareName
|
|
9949
10332
|
],
|
|
9950
10333
|
headerParameters: [accept, xMsSnapshot],
|
|
9951
|
-
serializer: serializer$
|
|
10334
|
+
serializer: serializer$f
|
|
9952
10335
|
};
|
|
9953
|
-
const deleteOperationSpec$
|
|
10336
|
+
const deleteOperationSpec$7 = {
|
|
9954
10337
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}",
|
|
9955
10338
|
httpMethod: "DELETE",
|
|
9956
10339
|
responses: {
|
|
9957
10340
|
200: {},
|
|
9958
10341
|
204: {},
|
|
9959
10342
|
default: {
|
|
9960
|
-
bodyMapper:
|
|
10343
|
+
bodyMapper: CloudError
|
|
9961
10344
|
}
|
|
9962
10345
|
},
|
|
9963
10346
|
queryParameters: [apiVersion, include1],
|
|
@@ -9969,7 +10352,7 @@ const deleteOperationSpec$2 = {
|
|
|
9969
10352
|
shareName
|
|
9970
10353
|
],
|
|
9971
10354
|
headerParameters: [accept, xMsSnapshot],
|
|
9972
|
-
serializer: serializer$
|
|
10355
|
+
serializer: serializer$f
|
|
9973
10356
|
};
|
|
9974
10357
|
const restoreOperationSpec = {
|
|
9975
10358
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}/restore",
|
|
@@ -9977,7 +10360,7 @@ const restoreOperationSpec = {
|
|
|
9977
10360
|
responses: {
|
|
9978
10361
|
200: {},
|
|
9979
10362
|
default: {
|
|
9980
|
-
bodyMapper:
|
|
10363
|
+
bodyMapper: CloudError
|
|
9981
10364
|
}
|
|
9982
10365
|
},
|
|
9983
10366
|
requestBody: deletedShare,
|
|
@@ -9991,9 +10374,9 @@ const restoreOperationSpec = {
|
|
|
9991
10374
|
],
|
|
9992
10375
|
headerParameters: [accept, contentType],
|
|
9993
10376
|
mediaType: "json",
|
|
9994
|
-
serializer: serializer$
|
|
10377
|
+
serializer: serializer$f
|
|
9995
10378
|
};
|
|
9996
|
-
const leaseOperationSpec = {
|
|
10379
|
+
const leaseOperationSpec$1 = {
|
|
9997
10380
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}/lease",
|
|
9998
10381
|
httpMethod: "POST",
|
|
9999
10382
|
responses: {
|
|
@@ -10002,7 +10385,7 @@ const leaseOperationSpec = {
|
|
|
10002
10385
|
headersMapper: FileSharesLeaseHeaders
|
|
10003
10386
|
},
|
|
10004
10387
|
default: {
|
|
10005
|
-
bodyMapper:
|
|
10388
|
+
bodyMapper: CloudError
|
|
10006
10389
|
}
|
|
10007
10390
|
},
|
|
10008
10391
|
requestBody: parameters9,
|
|
@@ -10020,9 +10403,9 @@ const leaseOperationSpec = {
|
|
|
10020
10403
|
xMsSnapshot
|
|
10021
10404
|
],
|
|
10022
10405
|
mediaType: "json",
|
|
10023
|
-
serializer: serializer$
|
|
10406
|
+
serializer: serializer$f
|
|
10024
10407
|
};
|
|
10025
|
-
const listNextOperationSpec$
|
|
10408
|
+
const listNextOperationSpec$4 = {
|
|
10026
10409
|
path: "{nextLink}",
|
|
10027
10410
|
httpMethod: "GET",
|
|
10028
10411
|
responses: {
|
|
@@ -10030,7 +10413,7 @@ const listNextOperationSpec$2 = {
|
|
|
10030
10413
|
bodyMapper: FileShareItems
|
|
10031
10414
|
},
|
|
10032
10415
|
default: {
|
|
10033
|
-
bodyMapper:
|
|
10416
|
+
bodyMapper: CloudError
|
|
10034
10417
|
}
|
|
10035
10418
|
},
|
|
10036
10419
|
queryParameters: [
|
|
@@ -10047,7 +10430,7 @@ const listNextOperationSpec$2 = {
|
|
|
10047
10430
|
nextLink
|
|
10048
10431
|
],
|
|
10049
10432
|
headerParameters: [accept],
|
|
10050
|
-
serializer: serializer$
|
|
10433
|
+
serializer: serializer$f
|
|
10051
10434
|
};
|
|
10052
10435
|
|
|
10053
10436
|
/*
|
|
@@ -10076,7 +10459,7 @@ class QueueServicesImpl {
|
|
|
10076
10459
|
* @param options The options parameters.
|
|
10077
10460
|
*/
|
|
10078
10461
|
list(resourceGroupName, accountName, options) {
|
|
10079
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$
|
|
10462
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$d);
|
|
10080
10463
|
}
|
|
10081
10464
|
/**
|
|
10082
10465
|
* Sets the properties of a storage account’s Queue service, including properties for Storage Analytics
|
|
@@ -10091,7 +10474,7 @@ class QueueServicesImpl {
|
|
|
10091
10474
|
* @param options The options parameters.
|
|
10092
10475
|
*/
|
|
10093
10476
|
setServiceProperties(resourceGroupName, accountName, parameters, options) {
|
|
10094
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, parameters, options }, setServicePropertiesOperationSpec$
|
|
10477
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, parameters, options }, setServicePropertiesOperationSpec$2);
|
|
10095
10478
|
}
|
|
10096
10479
|
/**
|
|
10097
10480
|
* Gets the properties of a storage account’s Queue service, including properties for Storage Analytics
|
|
@@ -10104,12 +10487,12 @@ class QueueServicesImpl {
|
|
|
10104
10487
|
* @param options The options parameters.
|
|
10105
10488
|
*/
|
|
10106
10489
|
getServiceProperties(resourceGroupName, accountName, options) {
|
|
10107
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, getServicePropertiesOperationSpec$
|
|
10490
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, getServicePropertiesOperationSpec$2);
|
|
10108
10491
|
}
|
|
10109
10492
|
}
|
|
10110
10493
|
// Operation Specifications
|
|
10111
|
-
const serializer$
|
|
10112
|
-
const listOperationSpec$
|
|
10494
|
+
const serializer$g = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
10495
|
+
const listOperationSpec$d = {
|
|
10113
10496
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices",
|
|
10114
10497
|
httpMethod: "GET",
|
|
10115
10498
|
responses: {
|
|
@@ -10117,7 +10500,7 @@ const listOperationSpec$3 = {
|
|
|
10117
10500
|
bodyMapper: ListQueueServices
|
|
10118
10501
|
},
|
|
10119
10502
|
default: {
|
|
10120
|
-
bodyMapper:
|
|
10503
|
+
bodyMapper: CloudError
|
|
10121
10504
|
}
|
|
10122
10505
|
},
|
|
10123
10506
|
queryParameters: [apiVersion],
|
|
@@ -10128,9 +10511,9 @@ const listOperationSpec$3 = {
|
|
|
10128
10511
|
accountName1
|
|
10129
10512
|
],
|
|
10130
10513
|
headerParameters: [accept],
|
|
10131
|
-
serializer: serializer$
|
|
10514
|
+
serializer: serializer$g
|
|
10132
10515
|
};
|
|
10133
|
-
const setServicePropertiesOperationSpec$
|
|
10516
|
+
const setServicePropertiesOperationSpec$2 = {
|
|
10134
10517
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/{queueServiceName}",
|
|
10135
10518
|
httpMethod: "PUT",
|
|
10136
10519
|
responses: {
|
|
@@ -10138,7 +10521,7 @@ const setServicePropertiesOperationSpec$1 = {
|
|
|
10138
10521
|
bodyMapper: QueueServiceProperties
|
|
10139
10522
|
},
|
|
10140
10523
|
default: {
|
|
10141
|
-
bodyMapper:
|
|
10524
|
+
bodyMapper: CloudError
|
|
10142
10525
|
}
|
|
10143
10526
|
},
|
|
10144
10527
|
requestBody: parameters10,
|
|
@@ -10152,9 +10535,9 @@ const setServicePropertiesOperationSpec$1 = {
|
|
|
10152
10535
|
],
|
|
10153
10536
|
headerParameters: [accept, contentType],
|
|
10154
10537
|
mediaType: "json",
|
|
10155
|
-
serializer: serializer$
|
|
10538
|
+
serializer: serializer$g
|
|
10156
10539
|
};
|
|
10157
|
-
const getServicePropertiesOperationSpec$
|
|
10540
|
+
const getServicePropertiesOperationSpec$2 = {
|
|
10158
10541
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/{queueServiceName}",
|
|
10159
10542
|
httpMethod: "GET",
|
|
10160
10543
|
responses: {
|
|
@@ -10162,7 +10545,7 @@ const getServicePropertiesOperationSpec$1 = {
|
|
|
10162
10545
|
bodyMapper: QueueServiceProperties
|
|
10163
10546
|
},
|
|
10164
10547
|
default: {
|
|
10165
|
-
bodyMapper:
|
|
10548
|
+
bodyMapper: CloudError
|
|
10166
10549
|
}
|
|
10167
10550
|
},
|
|
10168
10551
|
queryParameters: [apiVersion],
|
|
@@ -10174,7 +10557,7 @@ const getServicePropertiesOperationSpec$1 = {
|
|
|
10174
10557
|
queueServiceName
|
|
10175
10558
|
],
|
|
10176
10559
|
headerParameters: [accept],
|
|
10177
|
-
serializer: serializer$
|
|
10560
|
+
serializer: serializer$g
|
|
10178
10561
|
};
|
|
10179
10562
|
|
|
10180
10563
|
/*
|
|
@@ -10261,7 +10644,7 @@ class QueueImpl {
|
|
|
10261
10644
|
* @param options The options parameters.
|
|
10262
10645
|
*/
|
|
10263
10646
|
create(resourceGroupName, accountName, queueName, queue, options) {
|
|
10264
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, queueName, queue, options }, createOperationSpec$
|
|
10647
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, queueName, queue, options }, createOperationSpec$3);
|
|
10265
10648
|
}
|
|
10266
10649
|
/**
|
|
10267
10650
|
* Creates a new queue with the specified queue name, under the specified account.
|
|
@@ -10277,7 +10660,7 @@ class QueueImpl {
|
|
|
10277
10660
|
* @param options The options parameters.
|
|
10278
10661
|
*/
|
|
10279
10662
|
update(resourceGroupName, accountName, queueName, queue, options) {
|
|
10280
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, queueName, queue, options }, updateOperationSpec$
|
|
10663
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, queueName, queue, options }, updateOperationSpec$3);
|
|
10281
10664
|
}
|
|
10282
10665
|
/**
|
|
10283
10666
|
* Gets the queue with the specified queue name, under the specified account if it exists.
|
|
@@ -10292,7 +10675,7 @@ class QueueImpl {
|
|
|
10292
10675
|
* @param options The options parameters.
|
|
10293
10676
|
*/
|
|
10294
10677
|
get(resourceGroupName, accountName, queueName, options) {
|
|
10295
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, queueName, options }, getOperationSpec$
|
|
10678
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, queueName, options }, getOperationSpec$9);
|
|
10296
10679
|
}
|
|
10297
10680
|
/**
|
|
10298
10681
|
* Deletes the queue with the specified queue name, under the specified account if it exists.
|
|
@@ -10307,7 +10690,7 @@ class QueueImpl {
|
|
|
10307
10690
|
* @param options The options parameters.
|
|
10308
10691
|
*/
|
|
10309
10692
|
delete(resourceGroupName, accountName, queueName, options) {
|
|
10310
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, queueName, options }, deleteOperationSpec$
|
|
10693
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, queueName, options }, deleteOperationSpec$8);
|
|
10311
10694
|
}
|
|
10312
10695
|
/**
|
|
10313
10696
|
* Gets a list of all the queues under the specified storage account
|
|
@@ -10319,7 +10702,7 @@ class QueueImpl {
|
|
|
10319
10702
|
* @param options The options parameters.
|
|
10320
10703
|
*/
|
|
10321
10704
|
_list(resourceGroupName, accountName, options) {
|
|
10322
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$
|
|
10705
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$e);
|
|
10323
10706
|
}
|
|
10324
10707
|
/**
|
|
10325
10708
|
* ListNext
|
|
@@ -10332,12 +10715,12 @@ class QueueImpl {
|
|
|
10332
10715
|
* @param options The options parameters.
|
|
10333
10716
|
*/
|
|
10334
10717
|
_listNext(resourceGroupName, accountName, nextLink, options) {
|
|
10335
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listNextOperationSpec$
|
|
10718
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listNextOperationSpec$5);
|
|
10336
10719
|
}
|
|
10337
10720
|
}
|
|
10338
10721
|
// Operation Specifications
|
|
10339
|
-
const serializer$
|
|
10340
|
-
const createOperationSpec$
|
|
10722
|
+
const serializer$h = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
10723
|
+
const createOperationSpec$3 = {
|
|
10341
10724
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}",
|
|
10342
10725
|
httpMethod: "PUT",
|
|
10343
10726
|
responses: {
|
|
@@ -10345,7 +10728,7 @@ const createOperationSpec$1 = {
|
|
|
10345
10728
|
bodyMapper: StorageQueue
|
|
10346
10729
|
},
|
|
10347
10730
|
default: {
|
|
10348
|
-
bodyMapper:
|
|
10731
|
+
bodyMapper: CloudError
|
|
10349
10732
|
}
|
|
10350
10733
|
},
|
|
10351
10734
|
requestBody: queue,
|
|
@@ -10359,9 +10742,9 @@ const createOperationSpec$1 = {
|
|
|
10359
10742
|
],
|
|
10360
10743
|
headerParameters: [accept, contentType],
|
|
10361
10744
|
mediaType: "json",
|
|
10362
|
-
serializer: serializer$
|
|
10745
|
+
serializer: serializer$h
|
|
10363
10746
|
};
|
|
10364
|
-
const updateOperationSpec$
|
|
10747
|
+
const updateOperationSpec$3 = {
|
|
10365
10748
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}",
|
|
10366
10749
|
httpMethod: "PATCH",
|
|
10367
10750
|
responses: {
|
|
@@ -10369,7 +10752,7 @@ const updateOperationSpec$1 = {
|
|
|
10369
10752
|
bodyMapper: StorageQueue
|
|
10370
10753
|
},
|
|
10371
10754
|
default: {
|
|
10372
|
-
bodyMapper:
|
|
10755
|
+
bodyMapper: CloudError
|
|
10373
10756
|
}
|
|
10374
10757
|
},
|
|
10375
10758
|
requestBody: queue,
|
|
@@ -10383,9 +10766,9 @@ const updateOperationSpec$1 = {
|
|
|
10383
10766
|
],
|
|
10384
10767
|
headerParameters: [accept, contentType],
|
|
10385
10768
|
mediaType: "json",
|
|
10386
|
-
serializer: serializer$
|
|
10769
|
+
serializer: serializer$h
|
|
10387
10770
|
};
|
|
10388
|
-
const getOperationSpec$
|
|
10771
|
+
const getOperationSpec$9 = {
|
|
10389
10772
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}",
|
|
10390
10773
|
httpMethod: "GET",
|
|
10391
10774
|
responses: {
|
|
@@ -10393,7 +10776,7 @@ const getOperationSpec$1 = {
|
|
|
10393
10776
|
bodyMapper: StorageQueue
|
|
10394
10777
|
},
|
|
10395
10778
|
default: {
|
|
10396
|
-
bodyMapper:
|
|
10779
|
+
bodyMapper: CloudError
|
|
10397
10780
|
}
|
|
10398
10781
|
},
|
|
10399
10782
|
queryParameters: [apiVersion],
|
|
@@ -10405,15 +10788,15 @@ const getOperationSpec$1 = {
|
|
|
10405
10788
|
queueName
|
|
10406
10789
|
],
|
|
10407
10790
|
headerParameters: [accept],
|
|
10408
|
-
serializer: serializer$
|
|
10791
|
+
serializer: serializer$h
|
|
10409
10792
|
};
|
|
10410
|
-
const deleteOperationSpec$
|
|
10793
|
+
const deleteOperationSpec$8 = {
|
|
10411
10794
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}",
|
|
10412
10795
|
httpMethod: "DELETE",
|
|
10413
10796
|
responses: {
|
|
10414
10797
|
204: {},
|
|
10415
10798
|
default: {
|
|
10416
|
-
bodyMapper:
|
|
10799
|
+
bodyMapper: CloudError
|
|
10417
10800
|
}
|
|
10418
10801
|
},
|
|
10419
10802
|
queryParameters: [apiVersion],
|
|
@@ -10425,9 +10808,9 @@ const deleteOperationSpec$1 = {
|
|
|
10425
10808
|
queueName
|
|
10426
10809
|
],
|
|
10427
10810
|
headerParameters: [accept],
|
|
10428
|
-
serializer: serializer$
|
|
10811
|
+
serializer: serializer$h
|
|
10429
10812
|
};
|
|
10430
|
-
const listOperationSpec$
|
|
10813
|
+
const listOperationSpec$e = {
|
|
10431
10814
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues",
|
|
10432
10815
|
httpMethod: "GET",
|
|
10433
10816
|
responses: {
|
|
@@ -10435,7 +10818,7 @@ const listOperationSpec$2 = {
|
|
|
10435
10818
|
bodyMapper: ListQueueResource
|
|
10436
10819
|
},
|
|
10437
10820
|
default: {
|
|
10438
|
-
bodyMapper:
|
|
10821
|
+
bodyMapper: CloudError
|
|
10439
10822
|
}
|
|
10440
10823
|
},
|
|
10441
10824
|
queryParameters: [
|
|
@@ -10450,9 +10833,9 @@ const listOperationSpec$2 = {
|
|
|
10450
10833
|
accountName1
|
|
10451
10834
|
],
|
|
10452
10835
|
headerParameters: [accept],
|
|
10453
|
-
serializer: serializer$
|
|
10836
|
+
serializer: serializer$h
|
|
10454
10837
|
};
|
|
10455
|
-
const listNextOperationSpec$
|
|
10838
|
+
const listNextOperationSpec$5 = {
|
|
10456
10839
|
path: "{nextLink}",
|
|
10457
10840
|
httpMethod: "GET",
|
|
10458
10841
|
responses: {
|
|
@@ -10460,7 +10843,7 @@ const listNextOperationSpec$1 = {
|
|
|
10460
10843
|
bodyMapper: ListQueueResource
|
|
10461
10844
|
},
|
|
10462
10845
|
default: {
|
|
10463
|
-
bodyMapper:
|
|
10846
|
+
bodyMapper: CloudError
|
|
10464
10847
|
}
|
|
10465
10848
|
},
|
|
10466
10849
|
queryParameters: [
|
|
@@ -10476,7 +10859,7 @@ const listNextOperationSpec$1 = {
|
|
|
10476
10859
|
nextLink
|
|
10477
10860
|
],
|
|
10478
10861
|
headerParameters: [accept],
|
|
10479
|
-
serializer: serializer$
|
|
10862
|
+
serializer: serializer$h
|
|
10480
10863
|
};
|
|
10481
10864
|
|
|
10482
10865
|
/*
|
|
@@ -10505,7 +10888,7 @@ class TableServicesImpl {
|
|
|
10505
10888
|
* @param options The options parameters.
|
|
10506
10889
|
*/
|
|
10507
10890
|
list(resourceGroupName, accountName, options) {
|
|
10508
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$
|
|
10891
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$f);
|
|
10509
10892
|
}
|
|
10510
10893
|
/**
|
|
10511
10894
|
* Sets the properties of a storage account’s Table service, including properties for Storage Analytics
|
|
@@ -10520,7 +10903,7 @@ class TableServicesImpl {
|
|
|
10520
10903
|
* @param options The options parameters.
|
|
10521
10904
|
*/
|
|
10522
10905
|
setServiceProperties(resourceGroupName, accountName, parameters, options) {
|
|
10523
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, parameters, options }, setServicePropertiesOperationSpec);
|
|
10906
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, parameters, options }, setServicePropertiesOperationSpec$3);
|
|
10524
10907
|
}
|
|
10525
10908
|
/**
|
|
10526
10909
|
* Gets the properties of a storage account’s Table service, including properties for Storage Analytics
|
|
@@ -10533,12 +10916,12 @@ class TableServicesImpl {
|
|
|
10533
10916
|
* @param options The options parameters.
|
|
10534
10917
|
*/
|
|
10535
10918
|
getServiceProperties(resourceGroupName, accountName, options) {
|
|
10536
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, getServicePropertiesOperationSpec);
|
|
10919
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, getServicePropertiesOperationSpec$3);
|
|
10537
10920
|
}
|
|
10538
10921
|
}
|
|
10539
10922
|
// Operation Specifications
|
|
10540
|
-
const serializer$
|
|
10541
|
-
const listOperationSpec$
|
|
10923
|
+
const serializer$i = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
10924
|
+
const listOperationSpec$f = {
|
|
10542
10925
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices",
|
|
10543
10926
|
httpMethod: "GET",
|
|
10544
10927
|
responses: {
|
|
@@ -10546,7 +10929,7 @@ const listOperationSpec$1 = {
|
|
|
10546
10929
|
bodyMapper: ListTableServices
|
|
10547
10930
|
},
|
|
10548
10931
|
default: {
|
|
10549
|
-
bodyMapper:
|
|
10932
|
+
bodyMapper: CloudError
|
|
10550
10933
|
}
|
|
10551
10934
|
},
|
|
10552
10935
|
queryParameters: [apiVersion],
|
|
@@ -10557,9 +10940,9 @@ const listOperationSpec$1 = {
|
|
|
10557
10940
|
accountName1
|
|
10558
10941
|
],
|
|
10559
10942
|
headerParameters: [accept],
|
|
10560
|
-
serializer: serializer$
|
|
10943
|
+
serializer: serializer$i
|
|
10561
10944
|
};
|
|
10562
|
-
const setServicePropertiesOperationSpec = {
|
|
10945
|
+
const setServicePropertiesOperationSpec$3 = {
|
|
10563
10946
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/{tableServiceName}",
|
|
10564
10947
|
httpMethod: "PUT",
|
|
10565
10948
|
responses: {
|
|
@@ -10567,7 +10950,7 @@ const setServicePropertiesOperationSpec = {
|
|
|
10567
10950
|
bodyMapper: TableServiceProperties
|
|
10568
10951
|
},
|
|
10569
10952
|
default: {
|
|
10570
|
-
bodyMapper:
|
|
10953
|
+
bodyMapper: CloudError
|
|
10571
10954
|
}
|
|
10572
10955
|
},
|
|
10573
10956
|
requestBody: parameters11,
|
|
@@ -10581,9 +10964,9 @@ const setServicePropertiesOperationSpec = {
|
|
|
10581
10964
|
],
|
|
10582
10965
|
headerParameters: [accept, contentType],
|
|
10583
10966
|
mediaType: "json",
|
|
10584
|
-
serializer: serializer$
|
|
10967
|
+
serializer: serializer$i
|
|
10585
10968
|
};
|
|
10586
|
-
const getServicePropertiesOperationSpec = {
|
|
10969
|
+
const getServicePropertiesOperationSpec$3 = {
|
|
10587
10970
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/{tableServiceName}",
|
|
10588
10971
|
httpMethod: "GET",
|
|
10589
10972
|
responses: {
|
|
@@ -10591,7 +10974,7 @@ const getServicePropertiesOperationSpec = {
|
|
|
10591
10974
|
bodyMapper: TableServiceProperties
|
|
10592
10975
|
},
|
|
10593
10976
|
default: {
|
|
10594
|
-
bodyMapper:
|
|
10977
|
+
bodyMapper: CloudError
|
|
10595
10978
|
}
|
|
10596
10979
|
},
|
|
10597
10980
|
queryParameters: [apiVersion],
|
|
@@ -10603,7 +10986,7 @@ const getServicePropertiesOperationSpec = {
|
|
|
10603
10986
|
tableServiceName
|
|
10604
10987
|
],
|
|
10605
10988
|
headerParameters: [accept],
|
|
10606
|
-
serializer: serializer$
|
|
10989
|
+
serializer: serializer$i
|
|
10607
10990
|
};
|
|
10608
10991
|
|
|
10609
10992
|
/*
|
|
@@ -10689,7 +11072,7 @@ class TableOperationsImpl {
|
|
|
10689
11072
|
* @param options The options parameters.
|
|
10690
11073
|
*/
|
|
10691
11074
|
create(resourceGroupName, accountName, tableName, options) {
|
|
10692
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, tableName, options }, createOperationSpec);
|
|
11075
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, tableName, options }, createOperationSpec$4);
|
|
10693
11076
|
}
|
|
10694
11077
|
/**
|
|
10695
11078
|
* Creates a new table with the specified table name, under the specified account.
|
|
@@ -10704,7 +11087,7 @@ class TableOperationsImpl {
|
|
|
10704
11087
|
* @param options The options parameters.
|
|
10705
11088
|
*/
|
|
10706
11089
|
update(resourceGroupName, accountName, tableName, options) {
|
|
10707
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, tableName, options }, updateOperationSpec);
|
|
11090
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, tableName, options }, updateOperationSpec$4);
|
|
10708
11091
|
}
|
|
10709
11092
|
/**
|
|
10710
11093
|
* Gets the table with the specified table name, under the specified account if it exists.
|
|
@@ -10719,7 +11102,7 @@ class TableOperationsImpl {
|
|
|
10719
11102
|
* @param options The options parameters.
|
|
10720
11103
|
*/
|
|
10721
11104
|
get(resourceGroupName, accountName, tableName, options) {
|
|
10722
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, tableName, options }, getOperationSpec);
|
|
11105
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, tableName, options }, getOperationSpec$a);
|
|
10723
11106
|
}
|
|
10724
11107
|
/**
|
|
10725
11108
|
* Deletes the table with the specified table name, under the specified account if it exists.
|
|
@@ -10734,7 +11117,7 @@ class TableOperationsImpl {
|
|
|
10734
11117
|
* @param options The options parameters.
|
|
10735
11118
|
*/
|
|
10736
11119
|
delete(resourceGroupName, accountName, tableName, options) {
|
|
10737
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, tableName, options }, deleteOperationSpec);
|
|
11120
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, tableName, options }, deleteOperationSpec$9);
|
|
10738
11121
|
}
|
|
10739
11122
|
/**
|
|
10740
11123
|
* Gets a list of all the tables under the specified storage account
|
|
@@ -10746,7 +11129,7 @@ class TableOperationsImpl {
|
|
|
10746
11129
|
* @param options The options parameters.
|
|
10747
11130
|
*/
|
|
10748
11131
|
_list(resourceGroupName, accountName, options) {
|
|
10749
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec);
|
|
11132
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$g);
|
|
10750
11133
|
}
|
|
10751
11134
|
/**
|
|
10752
11135
|
* ListNext
|
|
@@ -10759,12 +11142,12 @@ class TableOperationsImpl {
|
|
|
10759
11142
|
* @param options The options parameters.
|
|
10760
11143
|
*/
|
|
10761
11144
|
_listNext(resourceGroupName, accountName, nextLink, options) {
|
|
10762
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listNextOperationSpec);
|
|
11145
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listNextOperationSpec$6);
|
|
10763
11146
|
}
|
|
10764
11147
|
}
|
|
10765
11148
|
// Operation Specifications
|
|
10766
|
-
const serializer =
|
|
10767
|
-
const createOperationSpec = {
|
|
11149
|
+
const serializer$j = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
11150
|
+
const createOperationSpec$4 = {
|
|
10768
11151
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
|
|
10769
11152
|
httpMethod: "PUT",
|
|
10770
11153
|
responses: {
|
|
@@ -10772,7 +11155,7 @@ const createOperationSpec = {
|
|
|
10772
11155
|
bodyMapper: Table
|
|
10773
11156
|
},
|
|
10774
11157
|
default: {
|
|
10775
|
-
bodyMapper:
|
|
11158
|
+
bodyMapper: CloudError
|
|
10776
11159
|
}
|
|
10777
11160
|
},
|
|
10778
11161
|
queryParameters: [apiVersion],
|
|
@@ -10784,9 +11167,9 @@ const createOperationSpec = {
|
|
|
10784
11167
|
tableName
|
|
10785
11168
|
],
|
|
10786
11169
|
headerParameters: [accept],
|
|
10787
|
-
serializer
|
|
11170
|
+
serializer: serializer$j
|
|
10788
11171
|
};
|
|
10789
|
-
const updateOperationSpec = {
|
|
11172
|
+
const updateOperationSpec$4 = {
|
|
10790
11173
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
|
|
10791
11174
|
httpMethod: "PATCH",
|
|
10792
11175
|
responses: {
|
|
@@ -10794,7 +11177,7 @@ const updateOperationSpec = {
|
|
|
10794
11177
|
bodyMapper: Table
|
|
10795
11178
|
},
|
|
10796
11179
|
default: {
|
|
10797
|
-
bodyMapper:
|
|
11180
|
+
bodyMapper: CloudError
|
|
10798
11181
|
}
|
|
10799
11182
|
},
|
|
10800
11183
|
queryParameters: [apiVersion],
|
|
@@ -10806,9 +11189,9 @@ const updateOperationSpec = {
|
|
|
10806
11189
|
tableName
|
|
10807
11190
|
],
|
|
10808
11191
|
headerParameters: [accept],
|
|
10809
|
-
serializer
|
|
11192
|
+
serializer: serializer$j
|
|
10810
11193
|
};
|
|
10811
|
-
const getOperationSpec = {
|
|
11194
|
+
const getOperationSpec$a = {
|
|
10812
11195
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
|
|
10813
11196
|
httpMethod: "GET",
|
|
10814
11197
|
responses: {
|
|
@@ -10816,7 +11199,7 @@ const getOperationSpec = {
|
|
|
10816
11199
|
bodyMapper: Table
|
|
10817
11200
|
},
|
|
10818
11201
|
default: {
|
|
10819
|
-
bodyMapper:
|
|
11202
|
+
bodyMapper: CloudError
|
|
10820
11203
|
}
|
|
10821
11204
|
},
|
|
10822
11205
|
queryParameters: [apiVersion],
|
|
@@ -10828,15 +11211,15 @@ const getOperationSpec = {
|
|
|
10828
11211
|
tableName
|
|
10829
11212
|
],
|
|
10830
11213
|
headerParameters: [accept],
|
|
10831
|
-
serializer
|
|
11214
|
+
serializer: serializer$j
|
|
10832
11215
|
};
|
|
10833
|
-
const deleteOperationSpec = {
|
|
11216
|
+
const deleteOperationSpec$9 = {
|
|
10834
11217
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
|
|
10835
11218
|
httpMethod: "DELETE",
|
|
10836
11219
|
responses: {
|
|
10837
11220
|
204: {},
|
|
10838
11221
|
default: {
|
|
10839
|
-
bodyMapper:
|
|
11222
|
+
bodyMapper: CloudError
|
|
10840
11223
|
}
|
|
10841
11224
|
},
|
|
10842
11225
|
queryParameters: [apiVersion],
|
|
@@ -10848,9 +11231,9 @@ const deleteOperationSpec = {
|
|
|
10848
11231
|
tableName
|
|
10849
11232
|
],
|
|
10850
11233
|
headerParameters: [accept],
|
|
10851
|
-
serializer
|
|
11234
|
+
serializer: serializer$j
|
|
10852
11235
|
};
|
|
10853
|
-
const listOperationSpec = {
|
|
11236
|
+
const listOperationSpec$g = {
|
|
10854
11237
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables",
|
|
10855
11238
|
httpMethod: "GET",
|
|
10856
11239
|
responses: {
|
|
@@ -10858,7 +11241,7 @@ const listOperationSpec = {
|
|
|
10858
11241
|
bodyMapper: ListTableResource
|
|
10859
11242
|
},
|
|
10860
11243
|
default: {
|
|
10861
|
-
bodyMapper:
|
|
11244
|
+
bodyMapper: CloudError
|
|
10862
11245
|
}
|
|
10863
11246
|
},
|
|
10864
11247
|
queryParameters: [apiVersion],
|
|
@@ -10869,9 +11252,9 @@ const listOperationSpec = {
|
|
|
10869
11252
|
accountName1
|
|
10870
11253
|
],
|
|
10871
11254
|
headerParameters: [accept],
|
|
10872
|
-
serializer
|
|
11255
|
+
serializer: serializer$j
|
|
10873
11256
|
};
|
|
10874
|
-
const listNextOperationSpec = {
|
|
11257
|
+
const listNextOperationSpec$6 = {
|
|
10875
11258
|
path: "{nextLink}",
|
|
10876
11259
|
httpMethod: "GET",
|
|
10877
11260
|
responses: {
|
|
@@ -10879,7 +11262,7 @@ const listNextOperationSpec = {
|
|
|
10879
11262
|
bodyMapper: ListTableResource
|
|
10880
11263
|
},
|
|
10881
11264
|
default: {
|
|
10882
|
-
bodyMapper:
|
|
11265
|
+
bodyMapper: CloudError
|
|
10883
11266
|
}
|
|
10884
11267
|
},
|
|
10885
11268
|
queryParameters: [apiVersion],
|
|
@@ -10891,7 +11274,7 @@ const listNextOperationSpec = {
|
|
|
10891
11274
|
nextLink
|
|
10892
11275
|
],
|
|
10893
11276
|
headerParameters: [accept],
|
|
10894
|
-
serializer
|
|
11277
|
+
serializer: serializer$j
|
|
10895
11278
|
};
|
|
10896
11279
|
|
|
10897
11280
|
/*
|
|
@@ -10901,7 +11284,7 @@ const listNextOperationSpec = {
|
|
|
10901
11284
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
10902
11285
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
10903
11286
|
*/
|
|
10904
|
-
class StorageManagementClient extends
|
|
11287
|
+
class StorageManagementClient extends coreClient.ServiceClient {
|
|
10905
11288
|
/**
|
|
10906
11289
|
* Initializes a new instance of the StorageManagementClient class.
|
|
10907
11290
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
@@ -10923,7 +11306,7 @@ class StorageManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
10923
11306
|
requestContentType: "application/json; charset=utf-8",
|
|
10924
11307
|
credential: credentials
|
|
10925
11308
|
};
|
|
10926
|
-
const packageDetails = `azsdk-js-arm-storage/17.
|
|
11309
|
+
const packageDetails = `azsdk-js-arm-storage/17.1.0`;
|
|
10927
11310
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
10928
11311
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
10929
11312
|
: `${packageDetails}`;
|
|
@@ -10938,7 +11321,7 @@ class StorageManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
10938
11321
|
this.subscriptionId = subscriptionId;
|
|
10939
11322
|
// Assigning values to Constant parameters
|
|
10940
11323
|
this.$host = options.$host || "https://management.azure.com";
|
|
10941
|
-
this.apiVersion = options.apiVersion || "2021-
|
|
11324
|
+
this.apiVersion = options.apiVersion || "2021-08-01";
|
|
10942
11325
|
this.operations = new OperationsImpl(this);
|
|
10943
11326
|
this.skus = new SkusImpl(this);
|
|
10944
11327
|
this.storageAccounts = new StorageAccountsImpl(this);
|
|
@@ -10949,6 +11332,7 @@ class StorageManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
10949
11332
|
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
|
|
10950
11333
|
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
|
|
10951
11334
|
this.objectReplicationPoliciesOperations = new ObjectReplicationPoliciesOperationsImpl(this);
|
|
11335
|
+
this.localUsersOperations = new LocalUsersOperationsImpl(this);
|
|
10952
11336
|
this.encryptionScopes = new EncryptionScopesImpl(this);
|
|
10953
11337
|
this.blobServices = new BlobServicesImpl(this);
|
|
10954
11338
|
this.blobContainers = new BlobContainersImpl(this);
|