Skip to content

Commit 5dac267

Browse files
author
SDKAuto
committed
CodeGen from PR 18070 in Azure/azure-rest-api-specs
Merge 927029a208fa5640f261593cb3cfd20e80ee72b6 into dbf0a617330c7ea3794df1596ba4c1484058fa66
1 parent 4cff1c1 commit 5dac267

File tree

15 files changed

+590
-137
lines changed

15 files changed

+590
-137
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 28 additions & 10 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-24)
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/_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": "a1c519ed9fc31a76c5b27b309b2b6eaf9a29fffa",
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].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=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/storage/resource-manager/readme.md --use=@autorest/[email protected].20220105.1",
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: 2 additions & 18 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
},
@@ -98,21 +98,5 @@
9898
"docs": "echo skipped"
9999
},
100100
"sideEffects": false,
101-
"//metadata": {
102-
"constantPaths": [
103-
{
104-
"path": "src/storageManagementClient.ts",
105-
"prefix": "packageDetails"
106-
}
107-
]
108-
},
109-
"autoPublish": true,
110-
"//sampleConfiguration": {
111-
"productName": "",
112-
"productSlugs": [
113-
"azure"
114-
],
115-
"disableDocsMs": true,
116-
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-storage?view=azure-node-preview"
117-
}
101+
"autoPublish": true
118102
}

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)