Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 35 additions & 10 deletions sdk/storage/arm-storage/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,40 @@
# Release History

## 18.1.0 (2022-11-09)

**Features**

## 18.0.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added operation group AccountMigrations
- Added Interface AccountMigrationsGetOptionalParams
- Added Interface AccountMigrationsPutOptionalParams
- Added Interface StorageAccountMigration
- Added Interface StorageAccountMigrationProperties
- Added Type Alias AccountMigrationName
- Added Type Alias AccountMigrationsGetResponse
- Added Type Alias ListEncryptionScopesInclude
- Added Type Alias MigrationStatus
- Added Type Alias TargetSkuName
- Interface EncryptionScopesListNextOptionalParams has a new optional parameter filter
- Interface EncryptionScopesListNextOptionalParams has a new optional parameter include
- Interface EncryptionScopesListNextOptionalParams has a new optional parameter maxpagesize
- Interface EncryptionScopesListOptionalParams has a new optional parameter filter
- Interface EncryptionScopesListOptionalParams has a new optional parameter include
- Interface EncryptionScopesListOptionalParams has a new optional parameter maxpagesize
- Interface ManagementPolicyBaseBlob has a new optional parameter tierToCold
- Interface ManagementPolicyBaseBlob has a new optional parameter tierToHot
- Interface ManagementPolicySnapShot has a new optional parameter tierToCold
- Interface ManagementPolicySnapShot has a new optional parameter tierToHot
- Interface ManagementPolicyVersion has a new optional parameter tierToCold
- Interface ManagementPolicyVersion has a new optional parameter tierToHot
- Interface StorageAccount has a new optional parameter accountMigrationInProgress
- Interface StorageAccount has a new optional parameter isSkuConversionBlocked
- Class StorageManagementClient has a new parameter accountMigrations
- Added Enum KnownAccountMigrationName
- Added Enum KnownListEncryptionScopesInclude
- Added Enum KnownMigrationStatus
- Added Enum KnownTargetSkuName


## 18.0.0 (2022-08-16)

**Features**
Expand Down
10 changes: 5 additions & 5 deletions sdk/storage/arm-storage/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "3ccabd5f8eb0b3db0c18d21ade484e42ebd1f554",
"commit": "f4ab706f3ea21acda3bce36b55aa1ac4d272b304",
"readme": "specification/storage/resource-manager/readme.md",
"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",
"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",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.4.1",
"use": "@autorest/[email protected].1.20220727.1"
}
"release_tool": "@azure-tools/js-sdk-release-tools@2.5.1",
"use": "@autorest/[email protected].2"
}
14 changes: 3 additions & 11 deletions sdk/storage/arm-storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for StorageManagementClient.",
"version": "18.0.1",
"version": "18.1.0",
"engines": {
"node": ">=14.0.0"
},
Expand Down Expand Up @@ -109,13 +109,5 @@
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-storage?view=azure-node-preview"
}
}
"autoPublish": true
}
91 changes: 91 additions & 0 deletions sdk/storage/arm-storage/review/arm-storage.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,29 @@ export interface AccountImmutabilityPolicyProperties {
// @public
export type AccountImmutabilityPolicyState = string;

// @public
export type AccountMigrationName = string;

// @public
export interface AccountMigrations {
beginPut(resourceGroupName: string, accountName: string, accountMigrationName: AccountMigrationName, properties: StorageAccountMigration, options?: AccountMigrationsPutOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
beginPutAndWait(resourceGroupName: string, accountName: string, accountMigrationName: AccountMigrationName, properties: StorageAccountMigration, options?: AccountMigrationsPutOptionalParams): Promise<void>;
get(resourceGroupName: string, accountName: string, accountMigrationName: AccountMigrationName, options?: AccountMigrationsGetOptionalParams): Promise<AccountMigrationsGetResponse>;
}

// @public
export interface AccountMigrationsGetOptionalParams extends coreClient.OperationOptions {
}

// @public
export type AccountMigrationsGetResponse = StorageAccountMigration;

// @public
export interface AccountMigrationsPutOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}

// @public
export interface AccountSasParameters {
iPAddressOrRange?: string;
Expand Down Expand Up @@ -604,13 +627,19 @@ export type EncryptionScopesGetResponse = EncryptionScope;

// @public
export interface EncryptionScopesListNextOptionalParams extends coreClient.OperationOptions {
filter?: string;
include?: ListEncryptionScopesInclude;
maxpagesize?: string;
}

// @public
export type EncryptionScopesListNextResponse = EncryptionScopeListResult;

// @public
export interface EncryptionScopesListOptionalParams extends coreClient.OperationOptions {
filter?: string;
include?: ListEncryptionScopesInclude;
maxpagesize?: string;
}

// @public
Expand Down Expand Up @@ -978,6 +1007,11 @@ export enum KnownAccountImmutabilityPolicyState {
Unlocked = "Unlocked"
}

// @public
export enum KnownAccountMigrationName {
Default = "default"
}

// @public
export enum KnownAccountType {
Computer = "Computer",
Expand Down Expand Up @@ -1190,6 +1224,13 @@ export enum KnownListContainersInclude {
Deleted = "deleted"
}

// @public
export enum KnownListEncryptionScopesInclude {
All = "All",
Disabled = "Disabled",
Enabled = "Enabled"
}

// @public
export enum KnownManagementPolicyName {
Default = "default"
Expand All @@ -1201,6 +1242,15 @@ export enum KnownMigrationState {
InProgress = "InProgress"
}

// @public
export enum KnownMigrationStatus {
Complete = "Complete",
Failed = "Failed",
InProgress = "InProgress",
Invalid = "Invalid",
SubmittedForConversion = "SubmittedForConversion"
}

// @public
export enum KnownMinimumTlsVersion {
TLS10 = "TLS1_0",
Expand Down Expand Up @@ -1360,6 +1410,16 @@ export enum KnownState {
Succeeded = "Succeeded"
}

// @public
export enum KnownTargetSkuName {
StandardGRS = "Standard_GRS",
StandardGzrs = "Standard_GZRS",
StandardLRS = "Standard_LRS",
StandardRagrs = "Standard_RAGRS",
StandardRagzrs = "Standard_RAGZRS",
StandardZRS = "Standard_ZRS"
}

// @public
export type LargeFileSharesState = string;

Expand Down Expand Up @@ -1474,6 +1534,9 @@ export interface ListContainerItems {
// @public
export type ListContainersInclude = string;

// @public
export type ListEncryptionScopesInclude = string;

// @public (undocumented)
export interface ListQueue extends Resource {
metadata?: {
Expand Down Expand Up @@ -1628,7 +1691,9 @@ export interface ManagementPolicyBaseBlob {
delete?: DateAfterModification;
enableAutoTierToHotFromCool?: boolean;
tierToArchive?: DateAfterModification;
tierToCold?: DateAfterModification;
tierToCool?: DateAfterModification;
tierToHot?: DateAfterModification;
}

// @public
Expand Down Expand Up @@ -1664,14 +1729,18 @@ export interface ManagementPolicySchema {
export interface ManagementPolicySnapShot {
delete?: DateAfterCreation;
tierToArchive?: DateAfterCreation;
tierToCold?: DateAfterCreation;
tierToCool?: DateAfterCreation;
tierToHot?: DateAfterCreation;
}

// @public
export interface ManagementPolicyVersion {
delete?: DateAfterCreation;
tierToArchive?: DateAfterCreation;
tierToCold?: DateAfterCreation;
tierToCool?: DateAfterCreation;
tierToHot?: DateAfterCreation;
}

// @public
Expand All @@ -1690,6 +1759,9 @@ export interface MetricSpecification {
// @public
export type MigrationState = string;

// @public
export type MigrationStatus = string;

// @public
export type MinimumTlsVersion = string;

Expand Down Expand Up @@ -2183,6 +2255,7 @@ export type State = string;
// @public
export interface StorageAccount extends TrackedResource {
readonly accessTier?: AccessTier;
readonly accountMigrationInProgress?: boolean;
allowBlobPublicAccess?: boolean;
allowCrossTenantReplication?: boolean;
allowedCopyScope?: AllowedCopyScope;
Expand All @@ -2204,6 +2277,7 @@ export interface StorageAccount extends TrackedResource {
isHnsEnabled?: boolean;
isLocalUserEnabled?: boolean;
isSftpEnabled?: boolean;
readonly isSkuConversionBlocked?: boolean;
readonly keyCreationTime?: KeyCreationTime;
readonly keyPolicy?: KeyPolicy;
readonly kind?: Kind;
Expand Down Expand Up @@ -2307,6 +2381,18 @@ export interface StorageAccountMicrosoftEndpoints {
readonly web?: string;
}

// @public
export interface StorageAccountMigration extends Resource {
properties?: StorageAccountMigrationProperties;
readonly systemData?: SystemData;
}

// @public
export interface StorageAccountMigrationProperties {
readonly migrationStatus?: MigrationStatus;
targetSkuName: TargetSkuName;
}

// @public
export interface StorageAccountRegenerateKeyParameters {
keyName: string;
Expand Down Expand Up @@ -2504,6 +2590,8 @@ export class StorageManagementClient extends coreClient.ServiceClient {
$host: string;
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: StorageManagementClientOptionalParams);
// (undocumented)
accountMigrations: AccountMigrations;
// (undocumented)
apiVersion: string;
// (undocumented)
blobContainers: BlobContainers;
Expand Down Expand Up @@ -2697,6 +2785,9 @@ export interface TagProperty {
readonly upn?: string;
}

// @public
export type TargetSkuName = string;

// @public
export interface TrackedResource extends Resource {
location: string;
Expand Down
Loading