Skip to content

Commit ee4b34b

Browse files
authored
Arm storage (Azure#13316)
* arm-storage release * arm-storage release
1 parent 0af3b5e commit ee4b34b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+2251
-176
lines changed

sdk/storage/arm-storage/LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2020 Microsoft
3+
Copyright (c) 2021 Microsoft
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

sdk/storage/arm-storage/README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ npm install @azure/arm-storage
1515

1616
### How to use
1717

18-
#### nodejs - Authentication, client creation and list operations as an example written in TypeScript.
18+
#### nodejs - client creation and list operations as an example written in TypeScript.
1919

2020
##### Install @azure/ms-rest-nodeauth
2121

@@ -26,11 +26,10 @@ npm install @azure/ms-rest-nodeauth@"^3.0.0"
2626

2727
##### Sample code
2828

29+
While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package
2930
```typescript
30-
import * as msRest from "@azure/ms-rest-js";
31-
import * as msRestAzure from "@azure/ms-rest-azure-js";
32-
import * as msRestNodeAuth from "@azure/ms-rest-nodeauth";
33-
import { StorageManagementClient, StorageManagementModels, StorageManagementMappers } from "@azure/arm-storage";
31+
const msRestNodeAuth = require("@azure/ms-rest-nodeauth");
32+
const { StorageManagementClient } = require("@azure/arm-storage");
3433
const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
3534

3635
msRestNodeAuth.interactiveLogin().then((creds) => {

sdk/storage/arm-storage/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@azure/arm-storage",
33
"author": "Microsoft Corporation",
44
"description": "StorageManagementClient Library with typescript type definitions for node.js and browser.",
5-
"version": "15.1.0",
5+
"version": "15.2.0",
66
"dependencies": {
77
"@azure/ms-rest-azure-js": "^2.0.1",
88
"@azure/ms-rest-js": "^2.0.4",

sdk/storage/arm-storage/rollup.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ const config = {
2121
"@azure/ms-rest-azure-js": "msRestAzure"
2222
},
2323
banner: `/*
24-
* Copyright (c) Microsoft Corporation. All rights reserved.
25-
* Licensed under the MIT License. See License.txt in the project root for license information.
24+
* Copyright (c) Microsoft Corporation.
25+
* Licensed under the MIT License.
2626
*
2727
* Code generated by Microsoft (R) AutoRest Code Generator.
2828
* Changes may cause incorrect behavior and will be lost if the code is regenerated.

sdk/storage/arm-storage/src/models/blobContainersMappers.ts

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
@@ -17,6 +17,11 @@ export {
1717
BlobContainersExtendImmutabilityPolicyHeaders,
1818
BlobContainersGetImmutabilityPolicyHeaders,
1919
BlobContainersLockImmutabilityPolicyHeaders,
20+
BlobInventoryPolicy,
21+
BlobInventoryPolicyDefinition,
22+
BlobInventoryPolicyFilter,
23+
BlobInventoryPolicyRule,
24+
BlobInventoryPolicySchema,
2025
BlobRestoreParameters,
2126
BlobRestoreRange,
2227
BlobRestoreStatus,
@@ -28,13 +33,15 @@ export {
2833
CustomDomain,
2934
DateAfterCreation,
3035
DateAfterModification,
36+
DeletedAccount,
3137
DeleteRetentionPolicy,
3238
Encryption,
3339
EncryptionScope,
3440
EncryptionScopeKeyVaultProperties,
3541
EncryptionService,
3642
EncryptionServices,
3743
Endpoints,
44+
ExtendedLocation,
3845
FileServiceProperties,
3946
FileShare,
4047
FileShareItem,
@@ -44,6 +51,7 @@ export {
4451
ImmutabilityPolicyProperties,
4552
IPRule,
4653
KeyVaultProperties,
54+
LastAccessTimeTrackingPolicy,
4755
LeaseContainerRequest,
4856
LeaseContainerResponse,
4957
LegalHold,
@@ -59,6 +67,7 @@ export {
5967
ManagementPolicyRule,
6068
ManagementPolicySchema,
6169
ManagementPolicySnapShot,
70+
Multichannel,
6271
NetworkRuleSet,
6372
ObjectReplicationPolicy,
6473
ObjectReplicationPolicyFilter,
@@ -67,16 +76,20 @@ export {
6776
PrivateEndpointConnection,
6877
PrivateLinkResource,
6978
PrivateLinkServiceConnectionState,
79+
ProtocolSettings,
7080
ProxyResource,
7181
QueueServiceProperties,
7282
Resource,
83+
ResourceAccessRule,
7384
RestorePolicyProperties,
7485
RoutingPreference,
7586
Sku,
87+
SmbSetting,
7688
StorageAccount,
7789
StorageAccountInternetEndpoints,
7890
StorageAccountMicrosoftEndpoints,
7991
StorageQueue,
92+
SystemData,
8093
Table,
8194
TableServiceProperties,
8295
TagFilter,
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
/*
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
4+
*
5+
* Code generated by Microsoft (R) AutoRest Code Generator.
6+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
7+
*/
8+
9+
export {
10+
ActiveDirectoryProperties,
11+
AzureEntityResource,
12+
AzureFilesIdentityBasedAuthentication,
13+
BaseResource,
14+
BlobContainer,
15+
BlobInventoryPolicy,
16+
BlobInventoryPolicyDefinition,
17+
BlobInventoryPolicyFilter,
18+
BlobInventoryPolicyRule,
19+
BlobInventoryPolicySchema,
20+
BlobRestoreParameters,
21+
BlobRestoreRange,
22+
BlobRestoreStatus,
23+
BlobServiceProperties,
24+
ChangeFeed,
25+
CorsRule,
26+
CorsRules,
27+
CustomDomain,
28+
DateAfterCreation,
29+
DateAfterModification,
30+
DeletedAccount,
31+
DeleteRetentionPolicy,
32+
Encryption,
33+
EncryptionScope,
34+
EncryptionScopeKeyVaultProperties,
35+
EncryptionService,
36+
EncryptionServices,
37+
Endpoints,
38+
ErrorResponse,
39+
ErrorResponseBody,
40+
ExtendedLocation,
41+
FileServiceProperties,
42+
FileShare,
43+
FileShareItem,
44+
GeoReplicationStats,
45+
Identity,
46+
ImmutabilityPolicy,
47+
ImmutabilityPolicyProperties,
48+
IPRule,
49+
KeyVaultProperties,
50+
LastAccessTimeTrackingPolicy,
51+
LegalHoldProperties,
52+
ListBlobInventoryPolicy,
53+
ListContainerItem,
54+
ListQueue,
55+
ManagementPolicy,
56+
ManagementPolicyAction,
57+
ManagementPolicyBaseBlob,
58+
ManagementPolicyDefinition,
59+
ManagementPolicyFilter,
60+
ManagementPolicyRule,
61+
ManagementPolicySchema,
62+
ManagementPolicySnapShot,
63+
Multichannel,
64+
NetworkRuleSet,
65+
ObjectReplicationPolicy,
66+
ObjectReplicationPolicyFilter,
67+
ObjectReplicationPolicyRule,
68+
PrivateEndpoint,
69+
PrivateEndpointConnection,
70+
PrivateLinkResource,
71+
PrivateLinkServiceConnectionState,
72+
ProtocolSettings,
73+
ProxyResource,
74+
QueueServiceProperties,
75+
Resource,
76+
ResourceAccessRule,
77+
RestorePolicyProperties,
78+
RoutingPreference,
79+
Sku,
80+
SmbSetting,
81+
StorageAccount,
82+
StorageAccountInternetEndpoints,
83+
StorageAccountMicrosoftEndpoints,
84+
StorageQueue,
85+
SystemData,
86+
Table,
87+
TableServiceProperties,
88+
TagFilter,
89+
TagProperty,
90+
TrackedResource,
91+
UpdateHistoryProperty,
92+
VirtualNetworkRule
93+
} from "../models/mappers";

sdk/storage/arm-storage/src/models/blobServicesMappers.ts

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
@@ -12,6 +12,11 @@ export {
1212
AzureFilesIdentityBasedAuthentication,
1313
BaseResource,
1414
BlobContainer,
15+
BlobInventoryPolicy,
16+
BlobInventoryPolicyDefinition,
17+
BlobInventoryPolicyFilter,
18+
BlobInventoryPolicyRule,
19+
BlobInventoryPolicySchema,
1520
BlobRestoreParameters,
1621
BlobRestoreRange,
1722
BlobRestoreStatus,
@@ -24,13 +29,15 @@ export {
2429
CustomDomain,
2530
DateAfterCreation,
2631
DateAfterModification,
32+
DeletedAccount,
2733
DeleteRetentionPolicy,
2834
Encryption,
2935
EncryptionScope,
3036
EncryptionScopeKeyVaultProperties,
3137
EncryptionService,
3238
EncryptionServices,
3339
Endpoints,
40+
ExtendedLocation,
3441
FileServiceProperties,
3542
FileShare,
3643
FileShareItem,
@@ -40,6 +47,7 @@ export {
4047
ImmutabilityPolicyProperties,
4148
IPRule,
4249
KeyVaultProperties,
50+
LastAccessTimeTrackingPolicy,
4351
LegalHoldProperties,
4452
ListContainerItem,
4553
ListQueue,
@@ -51,6 +59,7 @@ export {
5159
ManagementPolicyRule,
5260
ManagementPolicySchema,
5361
ManagementPolicySnapShot,
62+
Multichannel,
5463
NetworkRuleSet,
5564
ObjectReplicationPolicy,
5665
ObjectReplicationPolicyFilter,
@@ -59,16 +68,20 @@ export {
5968
PrivateEndpointConnection,
6069
PrivateLinkResource,
6170
PrivateLinkServiceConnectionState,
71+
ProtocolSettings,
6272
ProxyResource,
6373
QueueServiceProperties,
6474
Resource,
75+
ResourceAccessRule,
6576
RestorePolicyProperties,
6677
RoutingPreference,
6778
Sku,
79+
SmbSetting,
6880
StorageAccount,
6981
StorageAccountInternetEndpoints,
7082
StorageAccountMicrosoftEndpoints,
7183
StorageQueue,
84+
SystemData,
7285
Table,
7386
TableServiceProperties,
7487
TagFilter,
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
/*
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
4+
*
5+
* Code generated by Microsoft (R) AutoRest Code Generator.
6+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
7+
*/
8+
9+
export {
10+
ActiveDirectoryProperties,
11+
AzureEntityResource,
12+
AzureFilesIdentityBasedAuthentication,
13+
BaseResource,
14+
BlobContainer,
15+
BlobInventoryPolicy,
16+
BlobInventoryPolicyDefinition,
17+
BlobInventoryPolicyFilter,
18+
BlobInventoryPolicyRule,
19+
BlobInventoryPolicySchema,
20+
BlobRestoreParameters,
21+
BlobRestoreRange,
22+
BlobRestoreStatus,
23+
BlobServiceProperties,
24+
ChangeFeed,
25+
CorsRule,
26+
CorsRules,
27+
CustomDomain,
28+
DateAfterCreation,
29+
DateAfterModification,
30+
DeletedAccount,
31+
DeletedAccountListResult,
32+
DeleteRetentionPolicy,
33+
Encryption,
34+
EncryptionScope,
35+
EncryptionScopeKeyVaultProperties,
36+
EncryptionService,
37+
EncryptionServices,
38+
Endpoints,
39+
ErrorResponse,
40+
ErrorResponseBody,
41+
ExtendedLocation,
42+
FileServiceProperties,
43+
FileShare,
44+
FileShareItem,
45+
GeoReplicationStats,
46+
Identity,
47+
ImmutabilityPolicy,
48+
ImmutabilityPolicyProperties,
49+
IPRule,
50+
KeyVaultProperties,
51+
LastAccessTimeTrackingPolicy,
52+
LegalHoldProperties,
53+
ListContainerItem,
54+
ListQueue,
55+
ManagementPolicy,
56+
ManagementPolicyAction,
57+
ManagementPolicyBaseBlob,
58+
ManagementPolicyDefinition,
59+
ManagementPolicyFilter,
60+
ManagementPolicyRule,
61+
ManagementPolicySchema,
62+
ManagementPolicySnapShot,
63+
Multichannel,
64+
NetworkRuleSet,
65+
ObjectReplicationPolicy,
66+
ObjectReplicationPolicyFilter,
67+
ObjectReplicationPolicyRule,
68+
PrivateEndpoint,
69+
PrivateEndpointConnection,
70+
PrivateLinkResource,
71+
PrivateLinkServiceConnectionState,
72+
ProtocolSettings,
73+
ProxyResource,
74+
QueueServiceProperties,
75+
Resource,
76+
ResourceAccessRule,
77+
RestorePolicyProperties,
78+
RoutingPreference,
79+
Sku,
80+
SmbSetting,
81+
StorageAccount,
82+
StorageAccountInternetEndpoints,
83+
StorageAccountMicrosoftEndpoints,
84+
StorageQueue,
85+
SystemData,
86+
Table,
87+
TableServiceProperties,
88+
TagFilter,
89+
TagProperty,
90+
TrackedResource,
91+
UpdateHistoryProperty,
92+
VirtualNetworkRule
93+
} from "../models/mappers";

0 commit comments

Comments
 (0)