Skip to content

Commit a7f73e9

Browse files
authored
storage-track2-release (Azure#21103)
* storage-track2-release * update
1 parent f15117d commit a7f73e9

File tree

290 files changed

+18783
-1009
lines changed

Some content is hidden

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

290 files changed

+18783
-1009
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 748 additions & 817 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/storage/arm-storage/CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
11
# Release History
22

3+
## 17.2.0 (2022-03-30)
4+
5+
**Features**
6+
7+
- Added Interface StorageAccountSkuConversionStatus
8+
- Added Interface TableAccessPolicy
9+
- Added Interface TableSignedIdentifier
10+
- Added Type Alias DnsEndpointType
11+
- Added Type Alias SkuConversionStatus
12+
- Interface BlobInventoryPolicyFilter has a new optional parameter excludePrefix
13+
- Interface BlobInventoryPolicyFilter has a new optional parameter includeDeleted
14+
- Interface BlobInventoryPolicySchema has a new optional parameter destination
15+
- Interface DateAfterCreation has a new optional parameter daysAfterLastTierChangeGreaterThan
16+
- Interface DateAfterModification has a new optional parameter daysAfterCreationGreaterThan
17+
- Interface DateAfterModification has a new optional parameter daysAfterLastTierChangeGreaterThan
18+
- Interface DeleteRetentionPolicy has a new optional parameter allowPermanentDelete
19+
- Interface KeyVaultProperties has a new optional parameter currentVersionedKeyExpirationTimestamp
20+
- Interface StorageAccountCreateParameters has a new optional parameter dnsEndpointType
21+
- Interface StorageAccountUpdateParameters has a new optional parameter dnsEndpointType
22+
- Interface TableCreateOptionalParams has a new optional parameter parameters
23+
- Interface TableUpdateOptionalParams has a new optional parameter parameters
24+
- Type Alias StorageAccount has a new parameter storageAccountSkuConversionStatus
25+
- Type Alias StorageAccount has a new parameter dnsEndpointType
26+
- Type Alias Table has a new parameter signedIdentifiers
27+
- Added Enum KnownDnsEndpointType
28+
- Added Enum KnownSkuConversionStatus
29+
- Enum KnownCorsRuleAllowedMethodsItem has a new value Patch
30+
31+
332
## 17.1.0 (2022-02-14)
433

534
**Features**

sdk/storage/arm-storage/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ The Azure Storage Management API.
1616
- [LTS versions of Node.js](https://nodejs.org/about/releases/)
1717
- Latest versions of Safari, Chrome, Edge and Firefox.
1818

19+
See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.
20+
1921
### Prerequisites
2022

2123
- An [Azure subscription][azure_sub].
@@ -49,8 +51,17 @@ For more information about how to create an Azure AD Application check out [this
4951
```javascript
5052
const { StorageManagementClient } = require("@azure/arm-storage");
5153
const { DefaultAzureCredential } = require("@azure/identity");
54+
// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
55+
5256
const subscriptionId = "00000000-0000-0000-0000-000000000000";
5357
const client = new StorageManagementClient(new DefaultAzureCredential(), subscriptionId);
58+
59+
// For client-side applications running in the browser, use this code instead:
60+
// const credential = new InteractiveBrowserCredential({
61+
// tenantId: "<YOUR_TENANT_ID>",
62+
// clientId: "<YOUR_CLIENT_ID>"
63+
// });
64+
// const client = new StorageManagementClient(credential, subscriptionId);
5465
```
5566

5667

sdk/storage/arm-storage/_meta.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
2-
"commit": "7c98de7664d4565c088350015ccd0cfc102eab49",
2+
"commit": "3c1da29166fe1306071c939ac1344b092bafd0ce",
33
"readme": "specification/storage/resource-manager/readme.md",
4-
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/storage/resource-manager/readme.md --use=@autorest/[email protected].16.20220128.1 --generate-sample=true",
4+
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\storage\\resource-manager\\readme.md --use=@autorest/[email protected].18.20220329.1 --generate-sample=true",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"use": "@autorest/[email protected]"
6+
"release_tool": "@azure-tools/[email protected]",
7+
"use": "@autorest/[email protected]"
78
}

sdk/storage/arm-storage/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for StorageManagementClient.",
6-
"version": "17.1.0",
6+
"version": "17.2.0",
77
"engines": {
88
"node": ">=12.0.0"
99
},
@@ -29,13 +29,13 @@
2929
"types": "./types/arm-storage.d.ts",
3030
"devDependencies": {
3131
"@microsoft/api-extractor": "^7.18.11",
32-
"@rollup/plugin-commonjs": "11.0.2",
33-
"@rollup/plugin-json": "^4.0.0",
34-
"@rollup/plugin-multi-entry": "^3.0.0",
35-
"@rollup/plugin-node-resolve": "^8.0.0",
32+
"@rollup/plugin-commonjs": "^21.0.1",
33+
"@rollup/plugin-json": "^4.1.0",
34+
"@rollup/plugin-multi-entry": "^4.1.0",
35+
"@rollup/plugin-node-resolve": "^13.1.3",
3636
"mkdirp": "^1.0.4",
37-
"rollup": "^1.16.3",
38-
"rollup-plugin-sourcemaps": "^0.4.2",
37+
"rollup": "^2.66.1",
38+
"rollup-plugin-sourcemaps": "^0.6.3",
3939
"typescript": "~4.2.0",
4040
"uglify-js": "^3.4.9",
4141
"rimraf": "^3.0.0",

sdk/storage/arm-storage/review/arm-storage.api.md

Lines changed: 63 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export interface AccessPolicy {
1818
}
1919

2020
// @public
21-
export type AccessTier = "Hot" | "Cool";
21+
export type AccessTier = "Hot" | "Cool" | "Premium";
2222

2323
// @public
2424
export interface AccountImmutabilityPolicyProperties {
@@ -308,7 +308,9 @@ export interface BlobInventoryPolicyDefinition {
308308
// @public
309309
export interface BlobInventoryPolicyFilter {
310310
blobTypes?: string[];
311+
excludePrefix?: string[];
311312
includeBlobVersions?: boolean;
313+
includeDeleted?: boolean;
312314
includeSnapshots?: boolean;
313315
prefixMatch?: string[];
314316
}
@@ -326,6 +328,7 @@ export interface BlobInventoryPolicyRule {
326328

327329
// @public
328330
export interface BlobInventoryPolicySchema {
331+
readonly destination?: string;
329332
enabled: boolean;
330333
rules: BlobInventoryPolicyRule[];
331334
type: InventoryRuleType;
@@ -459,11 +462,14 @@ export interface CustomDomain {
459462
// @public
460463
export interface DateAfterCreation {
461464
daysAfterCreationGreaterThan: number;
465+
daysAfterLastTierChangeGreaterThan?: number;
462466
}
463467

464468
// @public
465469
export interface DateAfterModification {
470+
daysAfterCreationGreaterThan?: number;
466471
daysAfterLastAccessTimeGreaterThan?: number;
472+
daysAfterLastTierChangeGreaterThan?: number;
467473
daysAfterModificationGreaterThan?: number;
468474
}
469475

@@ -523,6 +529,7 @@ export interface DeletedShare {
523529

524530
// @public
525531
export interface DeleteRetentionPolicy {
532+
allowPermanentDelete?: boolean;
526533
days?: number;
527534
enabled?: boolean;
528535
}
@@ -536,6 +543,9 @@ export interface Dimension {
536543
// @public
537544
export type DirectoryServiceOptions = string;
538545

546+
// @public
547+
export type DnsEndpointType = string;
548+
539549
// @public
540550
export type EnabledProtocols = string;
541551

@@ -950,6 +960,7 @@ export { KeyType_2 as KeyType }
950960

951961
// @public
952962
export interface KeyVaultProperties {
963+
readonly currentVersionedKeyExpirationTimestamp?: Date;
953964
readonly currentVersionedKeyIdentifier?: string;
954965
keyName?: string;
955966
keyVaultUri?: string;
@@ -1027,6 +1038,8 @@ export enum KnownCorsRuleAllowedMethodsItem {
10271038
// (undocumented)
10281039
Options = "OPTIONS",
10291040
// (undocumented)
1041+
Patch = "PATCH",
1042+
// (undocumented)
10301043
Post = "POST",
10311044
// (undocumented)
10321045
PUT = "PUT"
@@ -1066,6 +1079,14 @@ export enum KnownDirectoryServiceOptions {
10661079
None = "None"
10671080
}
10681081

1082+
// @public
1083+
export enum KnownDnsEndpointType {
1084+
// (undocumented)
1085+
AzureDnsZone = "AzureDnsZone",
1086+
// (undocumented)
1087+
Standard = "Standard"
1088+
}
1089+
10691090
// @public
10701091
export enum KnownEnabledProtocols {
10711092
// (undocumented)
@@ -1432,6 +1453,16 @@ export enum KnownSignedResourceTypes {
14321453
S = "s"
14331454
}
14341455

1456+
// @public
1457+
export enum KnownSkuConversionStatus {
1458+
// (undocumented)
1459+
Failed = "Failed",
1460+
// (undocumented)
1461+
InProgress = "InProgress",
1462+
// (undocumented)
1463+
Succeeded = "Succeeded"
1464+
}
1465+
14351466
// @public
14361467
export enum KnownSkuName {
14371468
// (undocumented)
@@ -2235,6 +2266,9 @@ export interface SKUCapability {
22352266
readonly value?: string;
22362267
}
22372268

2269+
// @public
2270+
export type SkuConversionStatus = string;
2271+
22382272
// @public
22392273
export interface SkuInformation {
22402274
readonly capabilities?: SKUCapability[];
@@ -2324,6 +2358,8 @@ export type StorageAccount = TrackedResource & {
23242358
publicNetworkAccess?: PublicNetworkAccess;
23252359
immutableStorageWithVersioning?: ImmutableStorageAccount;
23262360
allowedCopyScope?: AllowedCopyScope;
2361+
storageAccountSkuConversionStatus?: StorageAccountSkuConversionStatus;
2362+
dnsEndpointType?: DnsEndpointType;
23272363
};
23282364

23292365
// @public
@@ -2342,6 +2378,7 @@ export interface StorageAccountCreateParameters {
23422378
azureFilesIdentityBasedAuthentication?: AzureFilesIdentityBasedAuthentication;
23432379
customDomain?: CustomDomain;
23442380
defaultToOAuthAuthentication?: boolean;
2381+
dnsEndpointType?: DnsEndpointType;
23452382
enableHttpsTrafficOnly?: boolean;
23462383
enableNfsV3?: boolean;
23472384
encryption?: Encryption;
@@ -2482,6 +2519,14 @@ export interface StorageAccountsHierarchicalNamespaceMigrationOptionalParams ext
24822519
updateIntervalInMs?: number;
24832520
}
24842521

2522+
// @public
2523+
export interface StorageAccountSkuConversionStatus {
2524+
readonly endTime?: string;
2525+
readonly skuConversionStatus?: SkuConversionStatus;
2526+
readonly startTime?: string;
2527+
targetSkuName?: SkuName;
2528+
}
2529+
24852530
// @public
24862531
export interface StorageAccountsListAccountSASOptionalParams extends coreClient.OperationOptions {
24872532
}
@@ -2568,6 +2613,7 @@ export interface StorageAccountUpdateParameters {
25682613
azureFilesIdentityBasedAuthentication?: AzureFilesIdentityBasedAuthentication;
25692614
customDomain?: CustomDomain;
25702615
defaultToOAuthAuthentication?: boolean;
2616+
dnsEndpointType?: DnsEndpointType;
25712617
enableHttpsTrafficOnly?: boolean;
25722618
encryption?: Encryption;
25732619
identity?: Identity;
@@ -2672,10 +2718,19 @@ export interface SystemData {
26722718
// @public
26732719
export type Table = Resource & {
26742720
readonly tableName?: string;
2721+
signedIdentifiers?: TableSignedIdentifier[];
26752722
};
26762723

2724+
// @public
2725+
export interface TableAccessPolicy {
2726+
expiryTime?: Date;
2727+
permission: string;
2728+
startTime?: Date;
2729+
}
2730+
26772731
// @public
26782732
export interface TableCreateOptionalParams extends coreClient.OperationOptions {
2733+
parameters?: Table;
26792734
}
26802735

26812736
// @public
@@ -2748,8 +2803,15 @@ export interface TableServicesSetServicePropertiesOptionalParams extends coreCli
27482803
// @public
27492804
export type TableServicesSetServicePropertiesResponse = TableServiceProperties;
27502805

2806+
// @public
2807+
export interface TableSignedIdentifier {
2808+
accessPolicy?: TableAccessPolicy;
2809+
id: string;
2810+
}
2811+
27512812
// @public
27522813
export interface TableUpdateOptionalParams extends coreClient.OperationOptions {
2814+
parameters?: Table;
27532815
}
27542816

27552817
// @public

0 commit comments

Comments
 (0)