Skip to content

Commit

Permalink
CodeGen from PR 31466 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 320c569b4c5aa9d882356883e5a892c01e01a900 into c4dc3cd6256c8a7525079f2b98285cd5b1c8bee6
  • Loading branch information
SDKAuto committed Nov 8, 2024
1 parent 724ecf1 commit 3849f00
Show file tree
Hide file tree
Showing 15 changed files with 239 additions and 118 deletions.
44 changes: 34 additions & 10 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 8 additions & 9 deletions sdk/storage/arm-storage/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
# Release History

## 18.3.1 (Unreleased)

## 18.4.0 (2024-11-08)
### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added Interface FileSharePropertiesFileSharePaidBursting
- Interface FileShare has a new optional parameter fileSharePaidBursting
- Interface FileShareItem has a new optional parameter fileSharePaidBursting


## 18.3.0 (2024-06-27)

### Features Added
Expand Down
8 changes: 4 additions & 4 deletions sdk/storage/arm-storage/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "43f10d3b8bacd5fc6b01254b5050c613f26c3573",
"commit": "29971081157a0ec12d94e3c5ddf47597eeb57a89",
"readme": "specification/storage/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.7 --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].23 --generate-sample=true",
"autorest_command": "autorest --version=3.9.7 --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/typescript@^6.0.12",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/[email protected].10",
"use": "@autorest/[email protected].23"
"release_tool": "@azure-tools/[email protected].16",
"use": "@autorest/typescript@^6.0.12"
}
74 changes: 35 additions & 39 deletions sdk/storage/arm-storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for StorageManagementClient.",
"version": "18.3.1",
"version": "18.4.0",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@azure/abort-controller": "^2.1.2",
"@azure/core-auth": "^1.6.0",
"@azure/core-client": "^1.7.0",
"@azure/core-lro": "^2.5.4",
"@azure/abort-controller": "^2.1.2",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.7.0",
"@azure/core-auth": "^1.6.0",
"@azure/core-rest-pipeline": "^1.14.0",
"tslib": "^2.2.0"
},
Expand All @@ -28,19 +28,24 @@
"module": "./dist-esm/src/index.js",
"types": "./types/arm-storage.d.ts",
"devDependencies": {
"@azure-tools/test-credential": "^1.1.0",
"@azure-tools/test-recorder": "^3.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.0.1",
"@types/chai": "^4.2.8",
"@types/mocha": "^10.0.0",
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"@microsoft/api-extractor": "^7.31.1",
"mkdirp": "^3.0.1",
"typescript": "~5.5.3",
"uglify-js": "^3.4.9",
"rimraf": "^5.0.0",
"dotenv": "^16.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.2.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.1.0",
"mocha": "^10.0.0",
"ts-node": "^10.0.0",
"@types/mocha": "^10.0.0",
"tsx": "^4.7.1",
"typescript": "~5.6.2"
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^18.0.0",
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand All @@ -67,30 +72,29 @@
"types/*"
],
"scripts": {
"build": "npm run clean && tsc && dev-tool run bundle && npm run minify && dev-tool run vendored mkdirp ./review && npm run extract-api",
"build:browser": "echo skipped",
"build": "npm run clean && tsc && dev-tool run bundle && npm run minify && mkdirp ./review && npm run extract-api",
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
"prepack": "npm run build",
"pack": "npm pack 2>&1",
"extract-api": "dev-tool run extract-api",
"lint": "echo skipped",
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"build:node": "echo skipped",
"build:samples": "echo skipped.",
"build:browser": "echo skipped",
"build:test": "echo skipped",
"build:samples": "echo skipped.",
"check-format": "echo skipped",
"clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"execute:samples": "echo skipped",
"extract-api": "dev-tool run extract-api",
"format": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:browser": "echo skipped",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"lint": "echo skipped",
"minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
"pack": "npm pack 2>&1",
"prepack": "npm run build",
"test": "npm run integration-test",
"test:browser": "echo skipped",
"test:node": "echo skipped",
"test:browser": "echo skipped",
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
"unit-test:browser": "echo skipped",
"unit-test:node": "dev-tool run vendored cross-env TEST_MODE=playback npm run integration-test:node",
"update-snippets": "echo skipped"
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped"
},
"sideEffects": false,
"//metadata": {
Expand All @@ -102,13 +106,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/arm-storage",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-storage?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/arm-storage"
}
9 changes: 9 additions & 0 deletions sdk/storage/arm-storage/review/arm-storage.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,7 @@ export interface FileShare extends AzureEntityResource {
readonly deleted?: boolean;
readonly deletedTime?: Date;
enabledProtocols?: EnabledProtocols;
fileSharePaidBursting?: FileSharePropertiesFileSharePaidBursting;
readonly lastModifiedTime?: Date;
readonly leaseDuration?: LeaseDuration;
readonly leaseState?: LeaseState;
Expand All @@ -803,6 +804,7 @@ export interface FileShareItem extends AzureEntityResource {
readonly deleted?: boolean;
readonly deletedTime?: Date;
enabledProtocols?: EnabledProtocols;
fileSharePaidBursting?: FileSharePropertiesFileSharePaidBursting;
readonly lastModifiedTime?: Date;
readonly leaseDuration?: LeaseDuration;
readonly leaseState?: LeaseState;
Expand All @@ -825,6 +827,13 @@ export interface FileShareItems {
readonly value?: FileShareItem[];
}

// @public
export interface FileSharePropertiesFileSharePaidBursting {
paidBurstingEnabled?: boolean;
paidBurstingMaxBandwidthMibps?: number;
paidBurstingMaxIops?: number;
}

// @public
export interface FileShares {
create(resourceGroupName: string, accountName: string, shareName: string, fileShare: FileShare, options?: FileSharesCreateOptionalParams): Promise<FileSharesCreateResponse>;
Expand Down
18 changes: 16 additions & 2 deletions sdk/storage/arm-storage/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,16 @@ export interface AccessPolicy {
permission?: string;
}

/** File Share Paid Bursting properties. */
export interface FileSharePropertiesFileSharePaidBursting {
/** Indicates whether paid bursting is enabled for the share. This property is only for file shares created under Files Provisioned v1 SSD account type. */
paidBurstingEnabled?: boolean;
/** The maximum paid bursting IOPS for the share. This property is only for file shares created under Files Provisioned v1 SSD account type. The maximum allowed value is 102400 which is the maximum allowed IOPS for a share. */
paidBurstingMaxIops?: number;
/** The maximum paid bursting bandwidth for the share, in mebibytes per second. This property is only for file shares created under Files Provisioned v1 SSD account type. The maximum allowed value is 10340 which is the maximum allowed bandwidth for a share. */
paidBurstingMaxBandwidthMibps?: number;
}

/** The deleted share to be restored. */
export interface DeletedShare {
/** Required. Identify the name of the deleted share that will be restored. */
Expand Down Expand Up @@ -2658,6 +2668,8 @@ export interface FileShareItem extends AzureEntityResource {
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly snapshotTime?: Date;
/** File Share Paid Bursting properties. */
fileSharePaidBursting?: FileSharePropertiesFileSharePaidBursting;
}

/** Properties of the file share, including Id, resource name, resource type, Etag. */
Expand Down Expand Up @@ -2734,6 +2746,8 @@ export interface FileShare extends AzureEntityResource {
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly snapshotTime?: Date;
/** File Share Paid Bursting properties. */
fileSharePaidBursting?: FileSharePropertiesFileSharePaidBursting;
}

/** The storage account. */
Expand Down Expand Up @@ -4528,7 +4542,7 @@ export interface BlobContainersCreateOrUpdateImmutabilityPolicyOptionalParams
extends coreClient.OperationOptions {
/** The ImmutabilityPolicy Properties that will be created or updated to a blob container. */
parameters?: ImmutabilityPolicy;
/** The entity state (ETag) version of the immutability policy to update. A value of "*" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied. */
/** The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service. */
ifMatch?: string;
}

Expand All @@ -4539,7 +4553,7 @@ export type BlobContainersCreateOrUpdateImmutabilityPolicyResponse =
/** Optional parameters. */
export interface BlobContainersGetImmutabilityPolicyOptionalParams
extends coreClient.OperationOptions {
/** The entity state (ETag) version of the immutability policy to update. A value of "*" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied. */
/** The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service. */
ifMatch?: string;
}

Expand Down
Loading

0 comments on commit 3849f00

Please sign in to comment.