Skip to content

Commit 3a9af83

Browse files
author
SDKAuto
committed
CodeGen from PR 21442 in Azure/azure-rest-api-specs
Merge 64a884929f8dd0846aff8e5f9f2a20e8d6925cb4 into 894645e485d2f01e83999480d440e1bace3fec9b
1 parent 2567ec7 commit 3a9af83

24 files changed

+1043
-247
lines changed

sdk/storage/arm-storage/CHANGELOG.md

Lines changed: 35 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,40 @@
11
# Release History
2+
3+
## 18.1.0 (2022-11-09)
4+
5+
**Features**
26

3-
## 18.0.1 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
7+
- Added operation group AccountMigrations
8+
- Added Interface AccountMigrationsGetOptionalParams
9+
- Added Interface AccountMigrationsPutOptionalParams
10+
- Added Interface StorageAccountMigration
11+
- Added Interface StorageAccountMigrationProperties
12+
- Added Type Alias AccountMigrationName
13+
- Added Type Alias AccountMigrationsGetResponse
14+
- Added Type Alias ListEncryptionScopesInclude
15+
- Added Type Alias MigrationStatus
16+
- Added Type Alias TargetSkuName
17+
- Interface EncryptionScopesListNextOptionalParams has a new optional parameter filter
18+
- Interface EncryptionScopesListNextOptionalParams has a new optional parameter include
19+
- Interface EncryptionScopesListNextOptionalParams has a new optional parameter maxpagesize
20+
- Interface EncryptionScopesListOptionalParams has a new optional parameter filter
21+
- Interface EncryptionScopesListOptionalParams has a new optional parameter include
22+
- Interface EncryptionScopesListOptionalParams has a new optional parameter maxpagesize
23+
- Interface ManagementPolicyBaseBlob has a new optional parameter tierToCold
24+
- Interface ManagementPolicyBaseBlob has a new optional parameter tierToHot
25+
- Interface ManagementPolicySnapShot has a new optional parameter tierToCold
26+
- Interface ManagementPolicySnapShot has a new optional parameter tierToHot
27+
- Interface ManagementPolicyVersion has a new optional parameter tierToCold
28+
- Interface ManagementPolicyVersion has a new optional parameter tierToHot
29+
- Interface StorageAccount has a new optional parameter accountMigrationInProgress
30+
- Interface StorageAccount has a new optional parameter isSkuConversionBlocked
31+
- Class StorageManagementClient has a new parameter accountMigrations
32+
- Added Enum KnownAccountMigrationName
33+
- Added Enum KnownListEncryptionScopesInclude
34+
- Added Enum KnownMigrationStatus
35+
- Added Enum KnownTargetSkuName
36+
37+
1338
## 18.0.0 (2022-08-16)
1439

1540
**Features**

sdk/storage/arm-storage/_meta.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "3ccabd5f8eb0b3db0c18d21ade484e42ebd1f554",
2+
"commit": "f4ab706f3ea21acda3bce36b55aa1ac4d272b304",
33
"readme": "specification/storage/resource-manager/readme.md",
4-
"autorest_command": "autorest --version=3.8.4 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\storage\\resource-manager\\readme.md --use=@autorest/[email protected].1.20220727.1 --generate-sample=true",
4+
"autorest_command": "autorest --version=3.8.4 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/storage/resource-manager/readme.md --use=@autorest/[email protected].2",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/js-sdk-release-tools@2.4.1",
7-
"use": "@autorest/[email protected].1.20220727.1"
8-
}
6+
"release_tool": "@azure-tools/js-sdk-release-tools@2.5.1",
7+
"use": "@autorest/[email protected].2"
8+
}

sdk/storage/arm-storage/package.json

Lines changed: 3 additions & 11 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": "18.0.1",
6+
"version": "18.1.0",
77
"engines": {
88
"node": ">=14.0.0"
99
},
@@ -109,13 +109,5 @@
109109
}
110110
]
111111
},
112-
"autoPublish": true,
113-
"//sampleConfiguration": {
114-
"productName": "",
115-
"productSlugs": [
116-
"azure"
117-
],
118-
"disableDocsMs": true,
119-
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-storage?view=azure-node-preview"
120-
}
121-
}
112+
"autoPublish": true
113+
}

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

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,29 @@ export interface AccountImmutabilityPolicyProperties {
3030
// @public
3131
export type AccountImmutabilityPolicyState = string;
3232

33+
// @public
34+
export type AccountMigrationName = string;
35+
36+
// @public
37+
export interface AccountMigrations {
38+
beginPut(resourceGroupName: string, accountName: string, accountMigrationName: AccountMigrationName, properties: StorageAccountMigration, options?: AccountMigrationsPutOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
39+
beginPutAndWait(resourceGroupName: string, accountName: string, accountMigrationName: AccountMigrationName, properties: StorageAccountMigration, options?: AccountMigrationsPutOptionalParams): Promise<void>;
40+
get(resourceGroupName: string, accountName: string, accountMigrationName: AccountMigrationName, options?: AccountMigrationsGetOptionalParams): Promise<AccountMigrationsGetResponse>;
41+
}
42+
43+
// @public
44+
export interface AccountMigrationsGetOptionalParams extends coreClient.OperationOptions {
45+
}
46+
47+
// @public
48+
export type AccountMigrationsGetResponse = StorageAccountMigration;
49+
50+
// @public
51+
export interface AccountMigrationsPutOptionalParams extends coreClient.OperationOptions {
52+
resumeFrom?: string;
53+
updateIntervalInMs?: number;
54+
}
55+
3356
// @public
3457
export interface AccountSasParameters {
3558
iPAddressOrRange?: string;
@@ -604,13 +627,19 @@ export type EncryptionScopesGetResponse = EncryptionScope;
604627

605628
// @public
606629
export interface EncryptionScopesListNextOptionalParams extends coreClient.OperationOptions {
630+
filter?: string;
631+
include?: ListEncryptionScopesInclude;
632+
maxpagesize?: string;
607633
}
608634

609635
// @public
610636
export type EncryptionScopesListNextResponse = EncryptionScopeListResult;
611637

612638
// @public
613639
export interface EncryptionScopesListOptionalParams extends coreClient.OperationOptions {
640+
filter?: string;
641+
include?: ListEncryptionScopesInclude;
642+
maxpagesize?: string;
614643
}
615644

616645
// @public
@@ -978,6 +1007,11 @@ export enum KnownAccountImmutabilityPolicyState {
9781007
Unlocked = "Unlocked"
9791008
}
9801009

1010+
// @public
1011+
export enum KnownAccountMigrationName {
1012+
Default = "default"
1013+
}
1014+
9811015
// @public
9821016
export enum KnownAccountType {
9831017
Computer = "Computer",
@@ -1190,6 +1224,13 @@ export enum KnownListContainersInclude {
11901224
Deleted = "deleted"
11911225
}
11921226

1227+
// @public
1228+
export enum KnownListEncryptionScopesInclude {
1229+
All = "All",
1230+
Disabled = "Disabled",
1231+
Enabled = "Enabled"
1232+
}
1233+
11931234
// @public
11941235
export enum KnownManagementPolicyName {
11951236
Default = "default"
@@ -1201,6 +1242,15 @@ export enum KnownMigrationState {
12011242
InProgress = "InProgress"
12021243
}
12031244

1245+
// @public
1246+
export enum KnownMigrationStatus {
1247+
Complete = "Complete",
1248+
Failed = "Failed",
1249+
InProgress = "InProgress",
1250+
Invalid = "Invalid",
1251+
SubmittedForConversion = "SubmittedForConversion"
1252+
}
1253+
12041254
// @public
12051255
export enum KnownMinimumTlsVersion {
12061256
TLS10 = "TLS1_0",
@@ -1360,6 +1410,16 @@ export enum KnownState {
13601410
Succeeded = "Succeeded"
13611411
}
13621412

1413+
// @public
1414+
export enum KnownTargetSkuName {
1415+
StandardGRS = "Standard_GRS",
1416+
StandardGzrs = "Standard_GZRS",
1417+
StandardLRS = "Standard_LRS",
1418+
StandardRagrs = "Standard_RAGRS",
1419+
StandardRagzrs = "Standard_RAGZRS",
1420+
StandardZRS = "Standard_ZRS"
1421+
}
1422+
13631423
// @public
13641424
export type LargeFileSharesState = string;
13651425

@@ -1474,6 +1534,9 @@ export interface ListContainerItems {
14741534
// @public
14751535
export type ListContainersInclude = string;
14761536

1537+
// @public
1538+
export type ListEncryptionScopesInclude = string;
1539+
14771540
// @public (undocumented)
14781541
export interface ListQueue extends Resource {
14791542
metadata?: {
@@ -1628,7 +1691,9 @@ export interface ManagementPolicyBaseBlob {
16281691
delete?: DateAfterModification;
16291692
enableAutoTierToHotFromCool?: boolean;
16301693
tierToArchive?: DateAfterModification;
1694+
tierToCold?: DateAfterModification;
16311695
tierToCool?: DateAfterModification;
1696+
tierToHot?: DateAfterModification;
16321697
}
16331698

16341699
// @public
@@ -1664,14 +1729,18 @@ export interface ManagementPolicySchema {
16641729
export interface ManagementPolicySnapShot {
16651730
delete?: DateAfterCreation;
16661731
tierToArchive?: DateAfterCreation;
1732+
tierToCold?: DateAfterCreation;
16671733
tierToCool?: DateAfterCreation;
1734+
tierToHot?: DateAfterCreation;
16681735
}
16691736

16701737
// @public
16711738
export interface ManagementPolicyVersion {
16721739
delete?: DateAfterCreation;
16731740
tierToArchive?: DateAfterCreation;
1741+
tierToCold?: DateAfterCreation;
16741742
tierToCool?: DateAfterCreation;
1743+
tierToHot?: DateAfterCreation;
16751744
}
16761745

16771746
// @public
@@ -1690,6 +1759,9 @@ export interface MetricSpecification {
16901759
// @public
16911760
export type MigrationState = string;
16921761

1762+
// @public
1763+
export type MigrationStatus = string;
1764+
16931765
// @public
16941766
export type MinimumTlsVersion = string;
16951767

@@ -2183,6 +2255,7 @@ export type State = string;
21832255
// @public
21842256
export interface StorageAccount extends TrackedResource {
21852257
readonly accessTier?: AccessTier;
2258+
readonly accountMigrationInProgress?: boolean;
21862259
allowBlobPublicAccess?: boolean;
21872260
allowCrossTenantReplication?: boolean;
21882261
allowedCopyScope?: AllowedCopyScope;
@@ -2204,6 +2277,7 @@ export interface StorageAccount extends TrackedResource {
22042277
isHnsEnabled?: boolean;
22052278
isLocalUserEnabled?: boolean;
22062279
isSftpEnabled?: boolean;
2280+
readonly isSkuConversionBlocked?: boolean;
22072281
readonly keyCreationTime?: KeyCreationTime;
22082282
readonly keyPolicy?: KeyPolicy;
22092283
readonly kind?: Kind;
@@ -2307,6 +2381,18 @@ export interface StorageAccountMicrosoftEndpoints {
23072381
readonly web?: string;
23082382
}
23092383

2384+
// @public
2385+
export interface StorageAccountMigration extends Resource {
2386+
properties?: StorageAccountMigrationProperties;
2387+
readonly systemData?: SystemData;
2388+
}
2389+
2390+
// @public
2391+
export interface StorageAccountMigrationProperties {
2392+
readonly migrationStatus?: MigrationStatus;
2393+
targetSkuName: TargetSkuName;
2394+
}
2395+
23102396
// @public
23112397
export interface StorageAccountRegenerateKeyParameters {
23122398
keyName: string;
@@ -2504,6 +2590,8 @@ export class StorageManagementClient extends coreClient.ServiceClient {
25042590
$host: string;
25052591
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: StorageManagementClientOptionalParams);
25062592
// (undocumented)
2593+
accountMigrations: AccountMigrations;
2594+
// (undocumented)
25072595
apiVersion: string;
25082596
// (undocumented)
25092597
blobContainers: BlobContainers;
@@ -2697,6 +2785,9 @@ export interface TagProperty {
26972785
readonly upn?: string;
26982786
}
26992787

2788+
// @public
2789+
export type TargetSkuName = string;
2790+
27002791
// @public
27012792
export interface TrackedResource extends Resource {
27022793
location: string;

0 commit comments

Comments
 (0)