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
30 changes: 20 additions & 10 deletions sdk/storage/arm-storage/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
# Release History

## 18.1.0 (2022-11-11)

**Features**

## 18.0.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added Type Alias ListEncryptionScopesInclude
- 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
- Added Enum KnownListEncryptionScopesInclude


## 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": "16d5f13e2bbfb60b08951742d1ce35becbbcab3d",
"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
}
22 changes: 22 additions & 0 deletions sdk/storage/arm-storage/review/arm-storage.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -604,13 +604,19 @@ export type EncryptionScopesGetResponse = EncryptionScope;

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

// @public
export type EncryptionScopesListNextResponse = EncryptionScopeListResult;

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

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

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

// @public
export enum KnownManagementPolicyName {
Default = "default"
Expand Down Expand Up @@ -1474,6 +1487,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 +1644,9 @@ export interface ManagementPolicyBaseBlob {
delete?: DateAfterModification;
enableAutoTierToHotFromCool?: boolean;
tierToArchive?: DateAfterModification;
tierToCold?: DateAfterModification;
tierToCool?: DateAfterModification;
tierToHot?: DateAfterModification;
}

// @public
Expand Down Expand Up @@ -1664,14 +1682,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 Down
87 changes: 67 additions & 20 deletions sdk/storage/arm-storage/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -993,10 +993,14 @@ export interface ManagementPolicyAction {

/** Management policy action for base blob. */
export interface ManagementPolicyBaseBlob {
/** The function to tier blobs to cool storage. Support blobs currently at Hot tier */
/** The function to tier blobs to cool storage. */
tierToCool?: DateAfterModification;
/** The function to tier blobs to archive storage. Support blobs currently at Hot or Cool tier */
/** The function to tier blobs to archive storage. */
tierToArchive?: DateAfterModification;
/** The function to tier blobs to cold storage. */
tierToCold?: DateAfterModification;
/** The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts */
tierToHot?: DateAfterModification;
/** The function to delete the blob */
delete?: DateAfterModification;
/** This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan. */
Expand All @@ -1017,10 +1021,14 @@ export interface DateAfterModification {

/** Management policy action for snapshot. */
export interface ManagementPolicySnapShot {
/** The function to tier blob snapshot to cool storage. Support blob snapshot currently at Hot tier */
/** The function to tier blob snapshot to cool storage. */
tierToCool?: DateAfterCreation;
/** The function to tier blob snapshot to archive storage. Support blob snapshot currently at Hot or Cool tier */
/** The function to tier blob snapshot to archive storage. */
tierToArchive?: DateAfterCreation;
/** The function to tier blobs to cold storage. */
tierToCold?: DateAfterCreation;
/** The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts */
tierToHot?: DateAfterCreation;
/** The function to delete the blob snapshot */
delete?: DateAfterCreation;
}
Expand All @@ -1035,10 +1043,14 @@ export interface DateAfterCreation {

/** Management policy action for blob version. */
export interface ManagementPolicyVersion {
/** The function to tier blob version to cool storage. Support blob version currently at Hot tier */
/** The function to tier blob version to cool storage. */
tierToCool?: DateAfterCreation;
/** The function to tier blob version to archive storage. Support blob version currently at Hot or Cool tier */
/** The function to tier blob version to archive storage. */
tierToArchive?: DateAfterCreation;
/** The function to tier blobs to cold storage. */
tierToCold?: DateAfterCreation;
/** The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts */
tierToHot?: DateAfterCreation;
/** The function to delete the blob version */
delete?: DateAfterCreation;
}
Expand Down Expand Up @@ -3259,6 +3271,27 @@ export enum KnownEncryptionScopeState {
*/
export type EncryptionScopeState = string;

/** Known values of {@link ListEncryptionScopesInclude} that the service accepts. */
export enum KnownListEncryptionScopesInclude {
/** All */
All = "All",
/** Enabled */
Enabled = "Enabled",
/** Disabled */
Disabled = "Disabled"
}

/**
* Defines values for ListEncryptionScopesInclude. \
* {@link KnownListEncryptionScopesInclude} can be used interchangeably with ListEncryptionScopesInclude,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **All** \
* **Enabled** \
* **Disabled**
*/
export type ListEncryptionScopesInclude = string;

/** Known values of {@link AllowedMethods} that the service accepts. */
export enum KnownAllowedMethods {
/** Delete */
Expand Down Expand Up @@ -3932,14 +3965,28 @@ export type EncryptionScopesGetResponse = EncryptionScope;

/** Optional parameters. */
export interface EncryptionScopesListOptionalParams
extends coreClient.OperationOptions {}
extends coreClient.OperationOptions {
/** Optional, specifies the maximum number of encryption scopes that will be included in the list response. */
maxpagesize?: number;
/** Optional. When specified, only encryption scope names starting with the filter will be listed. */
filter?: string;
/** Optional, when specified, will list encryption scopes with the specific state. Defaults to All */
include?: ListEncryptionScopesInclude;
}

/** Contains response data for the list operation. */
export type EncryptionScopesListResponse = EncryptionScopeListResult;

/** Optional parameters. */
export interface EncryptionScopesListNextOptionalParams
extends coreClient.OperationOptions {}
extends coreClient.OperationOptions {
/** Optional, specifies the maximum number of encryption scopes that will be included in the list response. */
maxpagesize?: number;
/** Optional. When specified, only encryption scope names starting with the filter will be listed. */
filter?: string;
/** Optional, when specified, will list encryption scopes with the specific state. Defaults to All */
include?: ListEncryptionScopesInclude;
}

/** Contains response data for the listNext operation. */
export type EncryptionScopesListNextResponse = EncryptionScopeListResult;
Expand Down Expand Up @@ -3968,10 +4015,10 @@ export type BlobServicesGetServicePropertiesResponse = BlobServiceProperties;
/** Optional parameters. */
export interface BlobContainersListOptionalParams
extends coreClient.OperationOptions {
/** Optional. Specified maximum number of containers that can be included in the list. */
maxpagesize?: string;
/** Optional. When specified, only container names starting with the filter will be listed. */
filter?: string;
/** Optional. Specified maximum number of containers that can be included in the list. */
maxpagesize?: string;
/** Optional, used to include the properties for soft deleted blob containers. */
include?: ListContainersInclude;
}
Expand Down Expand Up @@ -4091,10 +4138,10 @@ export interface BlobContainersObjectLevelWormOptionalParams
/** Optional parameters. */
export interface BlobContainersListNextOptionalParams
extends coreClient.OperationOptions {
/** Optional. Specified maximum number of containers that can be included in the list. */
maxpagesize?: string;
/** Optional. When specified, only container names starting with the filter will be listed. */
filter?: string;
/** Optional. Specified maximum number of containers that can be included in the list. */
maxpagesize?: string;
/** Optional, used to include the properties for soft deleted blob containers. */
include?: ListContainersInclude;
}
Expand Down Expand Up @@ -4126,10 +4173,10 @@ export type FileServicesGetServicePropertiesResponse = FileServiceProperties;
/** Optional parameters. */
export interface FileSharesListOptionalParams
extends coreClient.OperationOptions {
/** Optional. Specified maximum number of shares that can be included in the list. */
maxpagesize?: string;
/** Optional. When specified, only share names starting with the filter will be listed. */
filter?: string;
/** Optional. Specified maximum number of shares that can be included in the list. */
maxpagesize?: string;
/** Optional, used to expand the properties within share's properties. Valid values are: deleted, snapshots. Should be passed as a string with delimiter ',' */
expand?: string;
}
Expand Down Expand Up @@ -4195,10 +4242,10 @@ export type FileSharesLeaseResponse = FileSharesLeaseHeaders &
/** Optional parameters. */
export interface FileSharesListNextOptionalParams
extends coreClient.OperationOptions {
/** Optional. Specified maximum number of shares that can be included in the list. */
maxpagesize?: string;
/** Optional. When specified, only share names starting with the filter will be listed. */
filter?: string;
/** Optional. Specified maximum number of shares that can be included in the list. */
maxpagesize?: string;
/** Optional, used to expand the properties within share's properties. Valid values are: deleted, snapshots. Should be passed as a string with delimiter ',' */
expand?: string;
}
Expand Down Expand Up @@ -4253,10 +4300,10 @@ export interface QueueDeleteOptionalParams

/** Optional parameters. */
export interface QueueListOptionalParams extends coreClient.OperationOptions {
/** Optional, a maximum number of queues that should be included in a list queue response */
maxpagesize?: string;
/** Optional, When specified, only the queues with a name starting with the given filter will be listed. */
filter?: string;
/** Optional, a maximum number of queues that should be included in a list queue response */
maxpagesize?: string;
}

/** Contains response data for the list operation. */
Expand All @@ -4265,10 +4312,10 @@ export type QueueListResponse = ListQueueResource;
/** Optional parameters. */
export interface QueueListNextOptionalParams
extends coreClient.OperationOptions {
/** Optional, a maximum number of queues that should be included in a list queue response */
maxpagesize?: string;
/** Optional, When specified, only the queues with a name starting with the given filter will be listed. */
filter?: string;
/** Optional, a maximum number of queues that should be included in a list queue response */
maxpagesize?: string;
}

/** Contains response data for the listNext operation. */
Expand Down
Loading