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
98 changes: 49 additions & 49 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

42 changes: 34 additions & 8 deletions sdk/storagecache/arm-storagecache/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,41 @@
# Release History

## 6.0.0 (2023-01-04)

**Features**

## 5.2.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed
- Added operation Caches.beginUpdate
- Added operation Caches.beginUpdateAndWait
- Added operation StorageTargets.beginRestoreDefaults
- Added operation StorageTargets.beginRestoreDefaultsAndWait
- Added Interface CachesDebugInfoHeaders
- Added Interface CachesDeleteHeaders
- Added Interface CachesFlushHeaders
- Added Interface CachesStartHeaders
- Added Interface CachesStopHeaders
- Added Interface CachesUpdateHeaders
- Added Interface CachesUpgradeFirmwareHeaders
- Added Interface StorageTargetFlushHeaders
- Added Interface StorageTargetInvalidateHeaders
- Added Interface StorageTargetResumeHeaders
- Added Interface StorageTargetsDeleteHeaders
- Added Interface StorageTargetsDnsRefreshHeaders
- Added Interface StorageTargetsRestoreDefaultsHeaders
- Added Interface StorageTargetsRestoreDefaultsOptionalParams
- Added Interface StorageTargetSuspendHeaders
- Interface BlobNfsTarget has a new optional parameter verificationTimer
- Interface BlobNfsTarget has a new optional parameter writeBackTimer
- Interface CachesUpdateOptionalParams has a new optional parameter resumeFrom
- Interface CachesUpdateOptionalParams has a new optional parameter updateIntervalInMs
- Interface Nfs3Target has a new optional parameter verificationTimer
- Interface Nfs3Target has a new optional parameter writeBackTimer
- Added function getContinuationToken

### Other Changes
**Breaking Changes**

- Removed operation Caches.update


## 5.2.0 (2022-07-15)

**Features**
Expand Down
2 changes: 1 addition & 1 deletion sdk/storagecache/arm-storagecache/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2022 Microsoft
Copyright (c) 2023 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 4 additions & 4 deletions sdk/storagecache/arm-storagecache/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "c03c258c7a01a7d57b3110cc20e2e76752b6f2d6",
"commit": "8709291a1c0a0471a39c9ac86050126223e405ca",
"readme": "specification/storagecache/resource-manager/readme.md",
"autorest_command": "autorest --version=3.7.3 --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\\storagecache\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.1.20220713.1 --generate-sample=true",
"autorest_command": "autorest --version=3.9.3 --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/storagecache/resource-manager/readme.md --use=@autorest/typescript@6.0.0-rc.5",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.4.0",
"use": "@autorest/typescript@6.0.0-rc.1.20220713.1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.5.4",
"use": "@autorest/typescript@6.0.0-rc.5"
}
19 changes: 6 additions & 13 deletions sdk/storagecache/arm-storagecache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for StorageCacheManagementClient.",
"version": "5.2.1",
"version": "6.0.0",
"engines": {
"node": ">=14.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.2.0",
"@azure/abort-controller": "^1.0.0",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.5.0",
"@azure/core-client": "^1.6.1",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.8.0",
"tslib": "^2.2.0"
Expand All @@ -36,7 +36,7 @@
"mkdirp": "^1.0.4",
"rollup": "^2.66.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.6.0",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"@azure/identity": "^2.0.1",
Expand All @@ -46,6 +46,7 @@
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storagecache/arm-storagecache",
Expand Down Expand Up @@ -109,13 +110,5 @@
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-storagecache?view=azure-node-preview"
}
}
"autoPublish": true
}
104 changes: 103 additions & 1 deletion sdk/storagecache/arm-storagecache/review/arm-storagecache.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ export type AscUsagesListResponse = ResourceUsagesListResult;
export interface BlobNfsTarget {
target?: string;
usageModel?: string;
verificationTimer?: number;
writeBackTimer?: number;
}

// @public
Expand Down Expand Up @@ -200,12 +202,13 @@ export interface Caches {
beginStopAndWait(resourceGroupName: string, cacheName: string, options?: CachesStopOptionalParams): Promise<void>;
beginStopPrimingJob(resourceGroupName: string, cacheName: string, options?: CachesStopPrimingJobOptionalParams): Promise<PollerLike<PollOperationState<CachesStopPrimingJobResponse>, CachesStopPrimingJobResponse>>;
beginStopPrimingJobAndWait(resourceGroupName: string, cacheName: string, options?: CachesStopPrimingJobOptionalParams): Promise<CachesStopPrimingJobResponse>;
beginUpdate(resourceGroupName: string, cacheName: string, options?: CachesUpdateOptionalParams): Promise<PollerLike<PollOperationState<CachesUpdateResponse>, CachesUpdateResponse>>;
beginUpdateAndWait(resourceGroupName: string, cacheName: string, options?: CachesUpdateOptionalParams): Promise<CachesUpdateResponse>;
beginUpgradeFirmware(resourceGroupName: string, cacheName: string, options?: CachesUpgradeFirmwareOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
beginUpgradeFirmwareAndWait(resourceGroupName: string, cacheName: string, options?: CachesUpgradeFirmwareOptionalParams): Promise<void>;
get(resourceGroupName: string, cacheName: string, options?: CachesGetOptionalParams): Promise<CachesGetResponse>;
list(options?: CachesListOptionalParams): PagedAsyncIterableIterator<Cache_2>;
listByResourceGroup(resourceGroupName: string, options?: CachesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Cache_2>;
update(resourceGroupName: string, cacheName: string, options?: CachesUpdateOptionalParams): Promise<CachesUpdateResponse>;
}

// @public
Expand All @@ -218,12 +221,24 @@ export interface CachesCreateOrUpdateOptionalParams extends coreClient.Operation
// @public
export type CachesCreateOrUpdateResponse = Cache_2;

// @public
export interface CachesDebugInfoHeaders {
azureAsyncOperation?: string;
location?: string;
}

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

// @public
export interface CachesDeleteHeaders {
azureAsyncOperation?: string;
location?: string;
}

// @public
export interface CachesDeleteOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
Expand All @@ -235,6 +250,12 @@ export interface CacheSecuritySettings {
accessPolicies?: NfsAccessPolicy[];
}

// @public
export interface CachesFlushHeaders {
azureAsyncOperation?: string;
location?: string;
}

// @public
export interface CachesFlushOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
Expand Down Expand Up @@ -335,6 +356,12 @@ export interface CachesSpaceAllocationOptionalParams extends coreClient.Operatio
// @public
export type CachesSpaceAllocationResponse = CachesSpaceAllocationHeaders;

// @public
export interface CachesStartHeaders {
azureAsyncOperation?: string;
location?: string;
}

// @public
export interface CachesStartOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
Expand All @@ -357,6 +384,12 @@ export interface CachesStartPrimingJobOptionalParams extends coreClient.Operatio
// @public
export type CachesStartPrimingJobResponse = CachesStartPrimingJobHeaders;

// @public
export interface CachesStopHeaders {
azureAsyncOperation?: string;
location?: string;
}

// @public
export interface CachesStopOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
Expand All @@ -379,14 +412,28 @@ export interface CachesStopPrimingJobOptionalParams extends coreClient.Operation
// @public
export type CachesStopPrimingJobResponse = CachesStopPrimingJobHeaders;

// @public
export interface CachesUpdateHeaders {
azureAsyncOperation?: string;
location?: string;
}

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

// @public
export type CachesUpdateResponse = Cache_2;

// @public
export interface CachesUpgradeFirmwareHeaders {
azureAsyncOperation?: string;
location?: string;
}

// @public
export interface CachesUpgradeFirmwareOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
Expand Down Expand Up @@ -469,6 +516,9 @@ export interface ErrorResponse {
// @public
export type FirmwareStatusType = string;

// @public
export function getContinuationToken(page: unknown): string | undefined;

// @public
export type HealthStateType = string;

Expand Down Expand Up @@ -641,6 +691,8 @@ export interface NamespaceJunction {
export interface Nfs3Target {
target?: string;
usageModel?: string;
verificationTimer?: number;
writeBackTimer?: number;
}

// @public
Expand Down Expand Up @@ -835,12 +887,24 @@ export interface StorageTarget extends StorageTargetResource {
unknown?: UnknownTarget;
}

// @public
export interface StorageTargetFlushHeaders {
azureAsyncOperation?: string;
location?: string;
}

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

// @public
export interface StorageTargetInvalidateHeaders {
azureAsyncOperation?: string;
location?: string;
}

// @public
export interface StorageTargetInvalidateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
Expand Down Expand Up @@ -868,6 +932,12 @@ export interface StorageTargetResource {
readonly type?: string;
}

// @public
export interface StorageTargetResumeHeaders {
azureAsyncOperation?: string;
location?: string;
}

// @public
export interface StorageTargetResumeOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
Expand All @@ -882,6 +952,8 @@ export interface StorageTargets {
beginDeleteAndWait(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetsDeleteOptionalParams): Promise<void>;
beginDnsRefresh(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetsDnsRefreshOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
beginDnsRefreshAndWait(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetsDnsRefreshOptionalParams): Promise<void>;
beginRestoreDefaults(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetsRestoreDefaultsOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
beginRestoreDefaultsAndWait(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetsRestoreDefaultsOptionalParams): Promise<void>;
get(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetsGetOptionalParams): Promise<StorageTargetsGetResponse>;
listByCache(resourceGroupName: string, cacheName: string, options?: StorageTargetsListByCacheOptionalParams): PagedAsyncIterableIterator<StorageTarget>;
}
Expand All @@ -896,13 +968,25 @@ export interface StorageTargetsCreateOrUpdateOptionalParams extends coreClient.O
// @public
export type StorageTargetsCreateOrUpdateResponse = StorageTarget;

// @public
export interface StorageTargetsDeleteHeaders {
azureAsyncOperation?: string;
location?: string;
}

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

// @public
export interface StorageTargetsDnsRefreshHeaders {
azureAsyncOperation?: string;
location?: string;
}

// @public
export interface StorageTargetsDnsRefreshOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
Expand Down Expand Up @@ -936,12 +1020,30 @@ export interface StorageTargetSpaceAllocation {
name?: string;
}

// @public
export interface StorageTargetsRestoreDefaultsHeaders {
azureAsyncOperation?: string;
location?: string;
}

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

// @public
export interface StorageTargetsResult {
nextLink?: string;
value?: StorageTarget[];
}

// @public
export interface StorageTargetSuspendHeaders {
azureAsyncOperation?: string;
location?: string;
}

// @public
export interface StorageTargetSuspendOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
Expand Down
1 change: 1 addition & 0 deletions sdk/storagecache/arm-storagecache/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

/// <reference lib="esnext.asynciterable" />
export { getContinuationToken } from "./pagingHelper";
export * from "./models";
export { StorageCacheManagementClient } from "./storageCacheManagementClient";
export * from "./operationsInterfaces";
Loading