Skip to content

Commit bef8dec

Browse files
committed
generating off swagger
1 parent e61bf88 commit bef8dec

File tree

2 files changed

+50
-1
lines changed

2 files changed

+50
-1
lines changed

sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareErrorCode.java

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,55 @@ public final class ShareErrorCode extends ExpandableStringEnum<ShareErrorCode> {
440440
@Generated
441441
public static final ShareErrorCode SHARE_SNAPSHOT_NOT_FOUND = fromString("ShareSnapshotNotFound");
442442

443+
/**
444+
* Static value FileShareProvisionedIopsInvalid for ShareErrorCode.
445+
*/
446+
@Generated
447+
public static final ShareErrorCode FILE_SHARE_PROVISIONED_IOPS_INVALID
448+
= fromString("FileShareProvisionedIopsInvalid");
449+
450+
/**
451+
* Static value FileShareProvisionedBandwidthInvalid for ShareErrorCode.
452+
*/
453+
@Generated
454+
public static final ShareErrorCode FILE_SHARE_PROVISIONED_BANDWIDTH_INVALID
455+
= fromString("FileShareProvisionedBandwidthInvalid");
456+
457+
/**
458+
* Static value FileShareProvisionedStorageInvalid for ShareErrorCode.
459+
*/
460+
@Generated
461+
public static final ShareErrorCode FILE_SHARE_PROVISIONED_STORAGE_INVALID
462+
= fromString("FileShareProvisionedStorageInvalid");
463+
464+
/**
465+
* Static value TotalSharesProvisionedCapacityExceedsAccountLimit for ShareErrorCode.
466+
*/
467+
@Generated
468+
public static final ShareErrorCode TOTAL_SHARES_PROVISIONED_CAPACITY_EXCEEDS_ACCOUNT_LIMIT
469+
= fromString("TotalSharesProvisionedCapacityExceedsAccountLimit");
470+
471+
/**
472+
* Static value TotalSharesProvisionedIopsExceedsAccountLimit for ShareErrorCode.
473+
*/
474+
@Generated
475+
public static final ShareErrorCode TOTAL_SHARES_PROVISIONED_IOPS_EXCEEDS_ACCOUNT_LIMIT
476+
= fromString("TotalSharesProvisionedIopsExceedsAccountLimit");
477+
478+
/**
479+
* Static value TotalSharesProvisionedBandwidthExceedsAccountLimit for ShareErrorCode.
480+
*/
481+
@Generated
482+
public static final ShareErrorCode TOTAL_SHARES_PROVISIONED_BANDWIDTH_EXCEEDS_ACCOUNT_LIMIT
483+
= fromString("TotalSharesProvisionedBandwidthExceedsAccountLimit");
484+
485+
/**
486+
* Static value TotalSharesCountExceedsAccountLimit for ShareErrorCode.
487+
*/
488+
@Generated
489+
public static final ShareErrorCode TOTAL_SHARES_COUNT_EXCEEDS_ACCOUNT_LIMIT
490+
= fromString("TotalSharesCountExceedsAccountLimit");
491+
443492
/**
444493
* Creates a new instance of ShareErrorCode value.
445494
*

sdk/storage/azure-storage-file-share/swagger/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ autorest
1616
### Code generation settings
1717
``` yaml
1818
use: '@autorest/[email protected]'
19-
input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/refs/heads/main/specification/storage/data-plane/Microsoft.FileStorage/stable/2026-02-06/file.json
19+
input-file: https://raw.githubusercontent.com/nickliu-msft/azure-rest-api-specs/e0c384f2deccb77f98921e0d44d0bb9d2ba91e48/specification/storage/data-plane/Microsoft.FileStorage/stable/2026-04-06/file.json
2020
java: true
2121
output-folder: ../
2222
namespace: com.azure.storage.file.share

0 commit comments

Comments
 (0)