From 8f5038bad4ab2f2ed883331a6b279911a9c70b3a Mon Sep 17 00:00:00 2001 From: Zhiyi Huang <17182306+calvinhzy@users.noreply.github.com> Date: Tue, 19 Aug 2025 16:19:30 +0800 Subject: [PATCH 1/2] file share 2025-06-01-preview from swagger --- Commands/file-share/_create.md | 16 + Commands/file-share/_delete.md | 16 + Commands/file-share/_list.md | 17 + Commands/file-share/_show.md | 16 + Commands/file-share/_update.md | 16 + Commands/file-share/readme.md | 25 + Commands/file-share/snapshot/_create.md | 16 + Commands/file-share/snapshot/_delete.md | 16 + Commands/file-share/snapshot/_list.md | 16 + Commands/file-share/snapshot/_show.md | 16 + Commands/file-share/snapshot/_update.md | 16 + Commands/file-share/snapshot/readme.md | 20 + Commands/readme.md | 3 + .../2025-06-01-preview.json | 1 + .../2025-06-01-preview.xml | 370 ++++++++ .../2025-06-01-preview.md | 1 + .../2025-06-01-preview.json | 1 + .../2025-06-01-preview.xml | 881 ++++++++++++++++++ .../2025-06-01-preview.json | 1 + .../2025-06-01-preview.xml | 99 ++ .../2025-06-01-preview.json | 1 + .../2025-06-01-preview.xml | 355 +++++++ 22 files changed, 1919 insertions(+) create mode 100644 Commands/file-share/_create.md create mode 100644 Commands/file-share/_delete.md create mode 100644 Commands/file-share/_list.md create mode 100644 Commands/file-share/_show.md create mode 100644 Commands/file-share/_update.md create mode 100644 Commands/file-share/readme.md create mode 100644 Commands/file-share/snapshot/_create.md create mode 100644 Commands/file-share/snapshot/_delete.md create mode 100644 Commands/file-share/snapshot/_list.md create mode 100644 Commands/file-share/snapshot/_show.md create mode 100644 Commands/file-share/snapshot/_update.md create mode 100644 Commands/file-share/snapshot/readme.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXM=/2025-06-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXM=/2025-06-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXM=/2025-06-01-preview.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30=/2025-06-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30=/2025-06-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30vZmlsZXNoYXJlc25hcHNob3Rz/2025-06-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30vZmlsZXNoYXJlc25hcHNob3Rz/2025-06-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30vZmlsZXNoYXJlc25hcHNob3RzL3t9/2025-06-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30vZmlsZXNoYXJlc25hcHNob3RzL3t9/2025-06-01-preview.xml diff --git a/Commands/file-share/_create.md b/Commands/file-share/_create.md new file mode 100644 index 000000000..49db3729b --- /dev/null +++ b/Commands/file-share/_create.md @@ -0,0 +1,16 @@ +# [Command] _file-share create_ + +Create a file share. + +## Versions + +### [2025-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30=/2025-06-01-preview.xml) **Preview** + + + +#### examples + +- Create a File Share + ```bash + file-share create --resource-group rgfileshares --resource-name fileshare --mount-name fileshare --media-tier SSD --redundancy Local --protocol NFS --provisioned-storage-gib 8 --provisioned-io-per-sec 5 --provisioned-throughput-mib-per-sec 22 --nfs-protocol-properties "{root-squash:NoRootSquash}" --public-access-properties "{allowed-subnets:[/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3]}" --public-network-access Enabled --tags "{key9647:xwokdvyoae}" --location gdsuixfhrgfbbbfjtgocmlzyuonrr + ``` diff --git a/Commands/file-share/_delete.md b/Commands/file-share/_delete.md new file mode 100644 index 000000000..15ea5001f --- /dev/null +++ b/Commands/file-share/_delete.md @@ -0,0 +1,16 @@ +# [Command] _file-share delete_ + +Delete a FileShare + +## Versions + +### [2025-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30=/2025-06-01-preview.xml) **Preview** + + + +#### examples + +- Delete a File Share + ```bash + file-share delete --resource-group rgfileshares --resource-name fileshare + ``` diff --git a/Commands/file-share/_list.md b/Commands/file-share/_list.md new file mode 100644 index 000000000..2a1e55636 --- /dev/null +++ b/Commands/file-share/_list.md @@ -0,0 +1,17 @@ +# [Command] _file-share list_ + +List FileShare resources by subscription ID + +## Versions + +### [2025-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXM=/2025-06-01-preview.xml) **Preview** + + + + +#### examples + +- List a File Share + ```bash + file-share list -g resourcegroup1 + ``` diff --git a/Commands/file-share/_show.md b/Commands/file-share/_show.md new file mode 100644 index 000000000..44dcefdaf --- /dev/null +++ b/Commands/file-share/_show.md @@ -0,0 +1,16 @@ +# [Command] _file-share show_ + +Get a FileShare + +## Versions + +### [2025-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30=/2025-06-01-preview.xml) **Preview** + + + +#### examples + +- Show a FileShare + ```bash + file-share show --resource-group rgfileshares --resource-name fileshare + ``` diff --git a/Commands/file-share/_update.md b/Commands/file-share/_update.md new file mode 100644 index 000000000..c30ab520e --- /dev/null +++ b/Commands/file-share/_update.md @@ -0,0 +1,16 @@ +# [Command] _file-share update_ + +Update a file share. + +## Versions + +### [2025-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30=/2025-06-01-preview.xml) **Preview** + + + +#### examples + +- Update a File Share + ```bash + file-share update --resource-group rgfileshares --resource-name fileshare --mount-name fileshare --media-tier SSD --redundancy Local --protocol NFS --provisioned-storage-gib 8 --provisioned-io-per-sec 5 --provisioned-throughput-mib-per-sec 22 --nfs-protocol-properties "{root-squash:NoRootSquash}" --public-access-properties "{allowed-subnets:[/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3]}" --public-network-access Enabled --tags "{key9647:xwokdvyoae}" --location gdsuixfhrgfbbbfjtgocmlzyuonrr + ``` diff --git a/Commands/file-share/readme.md b/Commands/file-share/readme.md new file mode 100644 index 000000000..9d07ca7a8 --- /dev/null +++ b/Commands/file-share/readme.md @@ -0,0 +1,25 @@ +# [Group] _file-share_ + +Manage File Share + +## Subgroups + +- [snapshot](/Commands/file-share/snapshot/readme.md) +: Manage File Share Snapshot + +## Commands + +- [create](/Commands/file-share/_create.md) +: Create a file share. + +- [delete](/Commands/file-share/_delete.md) +: Delete a FileShare + +- [list](/Commands/file-share/_list.md) +: List FileShare resources by subscription ID + +- [show](/Commands/file-share/_show.md) +: Get a FileShare + +- [update](/Commands/file-share/_update.md) +: Update a file share. diff --git a/Commands/file-share/snapshot/_create.md b/Commands/file-share/snapshot/_create.md new file mode 100644 index 000000000..9ad1d2333 --- /dev/null +++ b/Commands/file-share/snapshot/_create.md @@ -0,0 +1,16 @@ +# [Command] _file-share snapshot create_ + +Create a FileShareSnapshot. + +## Versions + +### [2025-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30vZmlsZXNoYXJlc25hcHNob3RzL3t9/2025-06-01-preview.xml) **Preview** + + + +#### examples + +- Create a File Share Snapshot + ```bash + file-share snapshot create --resource-group rgfileshares --resource-name fileshare --name testfilesharesnapshot --metadata "{key9372:jtc}" + ``` diff --git a/Commands/file-share/snapshot/_delete.md b/Commands/file-share/snapshot/_delete.md new file mode 100644 index 000000000..ee643afa0 --- /dev/null +++ b/Commands/file-share/snapshot/_delete.md @@ -0,0 +1,16 @@ +# [Command] _file-share snapshot delete_ + +Delete a FileShareSnapshot. + +## Versions + +### [2025-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30vZmlsZXNoYXJlc25hcHNob3RzL3t9/2025-06-01-preview.xml) **Preview** + + + +#### examples + +- Delete a File Share Snapshot + ```bash + file-share snapshot delete --resource-group rgfileshares --resource-name fileshare --name testfilesharesnapshot + ``` diff --git a/Commands/file-share/snapshot/_list.md b/Commands/file-share/snapshot/_list.md new file mode 100644 index 000000000..71d2d81c6 --- /dev/null +++ b/Commands/file-share/snapshot/_list.md @@ -0,0 +1,16 @@ +# [Command] _file-share snapshot list_ + +List FileShareSnapshot by FileShare. + +## Versions + +### [2025-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30vZmlsZXNoYXJlc25hcHNob3Rz/2025-06-01-preview.xml) **Preview** + + + +#### examples + +- List File Share Snapshots + ```bash + file-share snapshot list --resource-group rgfileshares --resource-name fileshare + ``` diff --git a/Commands/file-share/snapshot/_show.md b/Commands/file-share/snapshot/_show.md new file mode 100644 index 000000000..bad38618a --- /dev/null +++ b/Commands/file-share/snapshot/_show.md @@ -0,0 +1,16 @@ +# [Command] _file-share snapshot show_ + +Get a FileShareSnapshot + +## Versions + +### [2025-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30vZmlsZXNoYXJlc25hcHNob3RzL3t9/2025-06-01-preview.xml) **Preview** + + + +#### examples + +- Show a File Share Snapshot + ```bash + file-share snapshot show --resource-group rgfileshares --resource-name fileshare --name testfilesharesnapshot + ``` diff --git a/Commands/file-share/snapshot/_update.md b/Commands/file-share/snapshot/_update.md new file mode 100644 index 000000000..6720fb7f3 --- /dev/null +++ b/Commands/file-share/snapshot/_update.md @@ -0,0 +1,16 @@ +# [Command] _file-share snapshot update_ + +Update a FileShareSnapshot. + +## Versions + +### [2025-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30vZmlsZXNoYXJlc25hcHNob3RzL3t9/2025-06-01-preview.xml) **Preview** + + + +#### examples + +- Update a File Share Snapshot + ```bash + file-share snapshot create --resource-group rgfileshares --resource-name fileshare --name testfilesharesnapshot --metadata "{key9372:jtc}" + ``` diff --git a/Commands/file-share/snapshot/readme.md b/Commands/file-share/snapshot/readme.md new file mode 100644 index 000000000..06d196e1f --- /dev/null +++ b/Commands/file-share/snapshot/readme.md @@ -0,0 +1,20 @@ +# [Group] _file-share snapshot_ + +Manage File Share Snapshot + +## Commands + +- [create](/Commands/file-share/snapshot/_create.md) +: Create a FileShareSnapshot. + +- [delete](/Commands/file-share/snapshot/_delete.md) +: Delete a FileShareSnapshot. + +- [list](/Commands/file-share/snapshot/_list.md) +: List FileShareSnapshot by FileShare. + +- [show](/Commands/file-share/snapshot/_show.md) +: Get a FileShareSnapshot + +- [update](/Commands/file-share/snapshot/_update.md) +: Update a FileShareSnapshot. diff --git a/Commands/readme.md b/Commands/readme.md index 201860607..f3a65948b 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -179,6 +179,9 @@ - [eventhubs](/Commands/eventhubs/readme.md) : Manage Event Hub +- [file-share](/Commands/file-share/readme.md) +: Manage File Share + - [firmwareanalysis](/Commands/firmwareanalysis/readme.md) : Commands to manage firmware analysis. diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXM=/2025-06-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXM=/2025-06-01-preview.json new file mode 100644 index 000000000..874f07808 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXM=/2025-06-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.fileshares/fileshares", "version": "2025-06-01-preview", "swagger": "mgmt-plane/fileshares/ResourceProviders/Microsoft.FileShares/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkZpbGVTaGFyZXMvZmlsZVNoYXJlcw==/V/MjAyNS0wNi0wMS1wcmV2aWV3"}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.fileshares/fileshares", "version": "2025-06-01-preview", "swagger": "mgmt-plane/fileshares/ResourceProviders/Microsoft.FileShares/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRmlsZVNoYXJlcy9maWxlU2hhcmVz/V/MjAyNS0wNi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "file-share", "commands": [{"name": "list", "version": "2025-06-01-preview", "resources": [{"id": "/subscriptions/{}/providers/microsoft.fileshares/fileshares", "version": "2025-06-01-preview", "swagger": "mgmt-plane/fileshares/ResourceProviders/Microsoft.FileShares/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkZpbGVTaGFyZXMvZmlsZVNoYXJlcw==/V/MjAyNS0wNi0wMS1wcmV2aWV3"}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.fileshares/fileshares", "version": "2025-06-01-preview", "swagger": "mgmt-plane/fileshares/ResourceProviders/Microsoft.FileShares/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRmlsZVNoYXJlcy9maWxlU2hhcmVz/V/MjAyNS0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_FileShares_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}, {"var": "$Condition_FileShares_ListByParent", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}], "operations": [{"when": ["$Condition_FileShares_ListBySubscription"], "operationId": "FileShares_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.FileShares/fileShares", "request": {"method": "get", "path": {"params": [{"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.FileShares/fileShares/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "hostName"}, {"readOnly": true, "type": "integer32", "name": "includedBurstIOPerSec", "format": {"minimum": 3000}}, {"readOnly": true, "type": "integer64", "name": "maxBurstIOPerSecCredits", "format": {"minimum": 0}}, {"type": "string", "name": "mediaTier", "enum": {"items": [{"value": "SSD"}]}}, {"type": "string", "name": "mountName"}, {"type": "object", "name": "nfsProtocolProperties", "props": [{"type": "string", "name": "rootSquash", "enum": {"items": [{"value": "AllSquash"}, {"value": "NoRootSquash"}, {"value": "RootSquash"}]}}]}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"type": "string", "name": "protocol", "enum": {"items": [{"value": "NFS"}]}}, {"type": "integer32", "name": "provisionedIOPerSec"}, {"readOnly": true, "type": "dateTime", "name": "provisionedIOPerSecNextAllowedDowngrade", "format": {"protocol": "iso"}}, {"type": "integer32", "name": "provisionedStorageGiB"}, {"readOnly": true, "type": "dateTime", "name": "provisionedStorageNextAllowedDowngrade", "format": {"protocol": "iso"}}, {"type": "integer32", "name": "provisionedThroughputMiBPerSec"}, {"readOnly": true, "type": "dateTime", "name": "provisionedThroughputNextAllowedDowngrade", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Created"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Patching"}, {"value": "Posting"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "TransientFailure"}, {"value": "Updating"}]}}, {"type": "object", "name": "publicAccessProperties", "props": [{"type": "array", "name": "allowedSubnets", "item": {"type": "string"}}]}, {"type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "redundancy", "enum": {"items": [{"value": "Local"}, {"value": "Zone"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}], "cls": "SystemData_read"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"when": ["$Condition_FileShares_ListByParent"], "operationId": "FileShares_ListByParent", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.FileShares/fileShares/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "hostName"}, {"readOnly": true, "type": "integer32", "name": "includedBurstIOPerSec", "format": {"minimum": 3000}}, {"readOnly": true, "type": "integer64", "name": "maxBurstIOPerSecCredits", "format": {"minimum": 0}}, {"type": "string", "name": "mediaTier", "enum": {"items": [{"value": "SSD"}]}}, {"type": "string", "name": "mountName"}, {"type": "object", "name": "nfsProtocolProperties", "props": [{"type": "string", "name": "rootSquash", "enum": {"items": [{"value": "AllSquash"}, {"value": "NoRootSquash"}, {"value": "RootSquash"}]}}]}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"type": "string", "name": "protocol", "enum": {"items": [{"value": "NFS"}]}}, {"type": "integer32", "name": "provisionedIOPerSec"}, {"readOnly": true, "type": "dateTime", "name": "provisionedIOPerSecNextAllowedDowngrade", "format": {"protocol": "iso"}}, {"type": "integer32", "name": "provisionedStorageGiB"}, {"readOnly": true, "type": "dateTime", "name": "provisionedStorageNextAllowedDowngrade", "format": {"protocol": "iso"}}, {"type": "integer32", "name": "provisionedThroughputMiBPerSec"}, {"readOnly": true, "type": "dateTime", "name": "provisionedThroughputNextAllowedDowngrade", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Created"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Patching"}, {"value": "Posting"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "TransientFailure"}, {"value": "Updating"}]}}, {"type": "object", "name": "publicAccessProperties", "props": [{"type": "array", "name": "allowedSubnets", "item": {"type": "string"}}]}, {"type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "redundancy", "enum": {"items": [{"value": "Local"}, {"value": "Zone"}]}}]}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXM=/2025-06-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXM=/2025-06-01-preview.xml new file mode 100644 index 000000000..8f86a0207 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXM=/2025-06-01-preview.xml @@ -0,0 +1,370 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXM=/2025-06-01-preview.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXM=/2025-06-01-preview.md new file mode 100644 index 000000000..529b89307 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXM=/2025-06-01-preview.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.fileshares/fileshares 2025-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXM=/2025-06-01-preview.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30=/2025-06-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30=/2025-06-01-preview.json new file mode 100644 index 000000000..4b072a389 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30=/2025-06-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.fileshares/fileshares/{}", "version": "2025-06-01-preview", "swagger": "mgmt-plane/fileshares/ResourceProviders/Microsoft.FileShares/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRmlsZVNoYXJlcy9maWxlU2hhcmVzL3tyZXNvdXJjZU5hbWV9/V/MjAyNS0wNi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "file-share", "commands": [{"name": "show", "version": "2025-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.fileshares/fileshares/{}", "version": "2025-06-01-preview", "swagger": "mgmt-plane/fileshares/ResourceProviders/Microsoft.FileShares/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRmlsZVNoYXJlcy9maWxlU2hhcmVzL3tyZXNvdXJjZU5hbWV9/V/MjAyNS0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.resourceName", "options": ["n", "name", "resource-name"], "required": true, "idPart": "name", "help": {"short": "The resource name of the file share, as seen by the administrator through Azure Resource Manager."}, "format": {"pattern": "^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "FileShares_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares/{resourceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceName", "arg": "$Path.resourceName", "required": true, "format": {"pattern": "^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.FileShares/fileShares/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "hostName"}, {"readOnly": true, "type": "integer32", "name": "includedBurstIOPerSec", "format": {"minimum": 3000}}, {"readOnly": true, "type": "integer64", "name": "maxBurstIOPerSecCredits", "format": {"minimum": 0}}, {"type": "string", "name": "mediaTier", "enum": {"items": [{"value": "SSD"}]}}, {"type": "string", "name": "mountName"}, {"type": "object", "name": "nfsProtocolProperties", "props": [{"type": "string", "name": "rootSquash", "enum": {"items": [{"value": "AllSquash"}, {"value": "NoRootSquash"}, {"value": "RootSquash"}]}}]}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"type": "string", "name": "protocol", "enum": {"items": [{"value": "NFS"}]}}, {"type": "integer32", "name": "provisionedIOPerSec"}, {"readOnly": true, "type": "dateTime", "name": "provisionedIOPerSecNextAllowedDowngrade", "format": {"protocol": "iso"}}, {"type": "integer32", "name": "provisionedStorageGiB"}, {"readOnly": true, "type": "dateTime", "name": "provisionedStorageNextAllowedDowngrade", "format": {"protocol": "iso"}}, {"type": "integer32", "name": "provisionedThroughputMiBPerSec"}, {"readOnly": true, "type": "dateTime", "name": "provisionedThroughputNextAllowedDowngrade", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Created"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Patching"}, {"value": "Posting"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "TransientFailure"}, {"value": "Updating"}]}}, {"type": "object", "name": "publicAccessProperties", "props": [{"type": "array", "name": "allowedSubnets", "item": {"type": "string"}}]}, {"type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "redundancy", "enum": {"items": [{"value": "Local"}, {"value": "Zone"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}], "cls": "SystemData_read"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2025-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.fileshares/fileshares/{}", "version": "2025-06-01-preview", "swagger": "mgmt-plane/fileshares/ResourceProviders/Microsoft.FileShares/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRmlsZVNoYXJlcy9maWxlU2hhcmVzL3tyZXNvdXJjZU5hbWV9/V/MjAyNS0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.resourceName", "options": ["n", "name", "resource-name"], "required": true, "idPart": "name", "help": {"short": "The resource name of the file share, as seen by the administrator through Azure Resource Manager."}, "format": {"pattern": "^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "FileShares_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares/{resourceName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceName", "arg": "$Path.resourceName", "required": true, "format": {"pattern": "^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2025-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.fileshares/fileshares/{}", "version": "2025-06-01-preview", "swagger": "mgmt-plane/fileshares/ResourceProviders/Microsoft.FileShares/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRmlsZVNoYXJlcy9maWxlU2hhcmVzL3tyZXNvdXJjZU5hbWV9/V/MjAyNS0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.resourceName", "options": ["n", "name", "resource-name"], "required": true, "idPart": "name", "help": {"short": "The resource name of the file share, as seen by the administrator through Azure Resource Manager."}, "format": {"pattern": "^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.mediaTier", "options": ["media-tier"], "group": "Properties", "help": {"short": "The storage media tier of the file share."}, "enum": {"items": [{"name": "SSD", "value": "SSD"}]}}, {"type": "string", "var": "$resource.properties.mountName", "options": ["mount-name"], "group": "Properties", "help": {"short": "The name of the file share as seen by the end user when mounting the share, such as in a URI or UNC format in their operating system."}}, {"type": "object", "var": "$resource.properties.nfsProtocolProperties", "options": ["nfs-protocol-properties"], "group": "Properties", "help": {"short": "Protocol settings specific NFS."}, "args": [{"type": "string", "var": "$resource.properties.nfsProtocolProperties.rootSquash", "options": ["root-squash"], "help": {"short": "Root squash defines how root users on clients are mapped to the NFS share."}, "enum": {"items": [{"name": "AllSquash", "value": "AllSquash"}, {"name": "NoRootSquash", "value": "NoRootSquash"}, {"name": "RootSquash", "value": "RootSquash"}]}}]}, {"type": "string", "var": "$resource.properties.protocol", "options": ["protocol"], "group": "Properties", "help": {"short": "The file sharing protocol for this file share."}, "enum": {"items": [{"name": "NFS", "value": "NFS"}]}}, {"type": "integer32", "var": "$resource.properties.provisionedIOPerSec", "options": ["provisioned-io-per-sec"], "group": "Properties", "help": {"short": "The provisioned IO / sec of the share."}}, {"type": "integer32", "var": "$resource.properties.provisionedStorageGiB", "options": ["provisioned-storage-gib"], "group": "Properties", "help": {"short": "The provisioned storage size of the share in GiB (1 GiB is 1024^3 bytes or 1073741824 bytes). A component of the file share's bill is the provisioned storage, regardless of the amount of used storage."}}, {"type": "integer32", "var": "$resource.properties.provisionedThroughputMiBPerSec", "options": ["provisioned-throughput-mib-per-sec"], "group": "Properties", "help": {"short": "The provisioned throughput / sec of the share."}}, {"type": "object", "var": "$resource.properties.publicAccessProperties", "options": ["public-access-properties"], "group": "Properties", "help": {"short": "The set of properties for control public access."}, "args": [{"type": "array", "var": "$resource.properties.publicAccessProperties.allowedSubnets", "options": ["allowed-subnets"], "help": {"short": "The allowed set of subnets when access is restricted."}, "item": {"type": "string"}}]}, {"type": "string", "var": "$resource.properties.publicNetworkAccess", "options": ["public-network-access"], "group": "Properties", "help": {"short": "Gets or sets allow or disallow public network access to azure managed file share"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$resource.properties.redundancy", "options": ["redundancy"], "group": "Properties", "help": {"short": "The chosen redundancy level of the file share."}, "enum": {"items": [{"name": "Local", "value": "Local"}, {"name": "Zone", "value": "Zone"}]}}]}, {"name": "Resource", "args": [{"type": "ResourceLocation", "var": "$resource.location", "options": ["l", "location"], "required": true, "group": "Resource", "help": {"short": "The geo-location where the resource lives"}}, {"type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "FileShares_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares/{resourceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceName", "arg": "$Path.resourceName", "required": true, "format": {"pattern": "^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$resource.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "mediaTier", "arg": "$resource.properties.mediaTier", "enum": {"items": [{"value": "SSD"}]}}, {"type": "string", "name": "mountName", "arg": "$resource.properties.mountName"}, {"type": "object", "name": "nfsProtocolProperties", "arg": "$resource.properties.nfsProtocolProperties", "props": [{"type": "string", "name": "rootSquash", "arg": "$resource.properties.nfsProtocolProperties.rootSquash", "enum": {"items": [{"value": "AllSquash"}, {"value": "NoRootSquash"}, {"value": "RootSquash"}]}}]}, {"type": "string", "name": "protocol", "arg": "$resource.properties.protocol", "enum": {"items": [{"value": "NFS"}]}}, {"type": "integer32", "name": "provisionedIOPerSec", "arg": "$resource.properties.provisionedIOPerSec"}, {"type": "integer32", "name": "provisionedStorageGiB", "arg": "$resource.properties.provisionedStorageGiB"}, {"type": "integer32", "name": "provisionedThroughputMiBPerSec", "arg": "$resource.properties.provisionedThroughputMiBPerSec"}, {"type": "object", "name": "publicAccessProperties", "arg": "$resource.properties.publicAccessProperties", "props": [{"type": "array", "name": "allowedSubnets", "arg": "$resource.properties.publicAccessProperties.allowedSubnets", "item": {"type": "string"}}]}, {"type": "string", "name": "publicNetworkAccess", "arg": "$resource.properties.publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "redundancy", "arg": "$resource.properties.redundancy", "enum": {"items": [{"value": "Local"}, {"value": "Zone"}]}}]}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.FileShares/fileShares/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "hostName"}, {"readOnly": true, "type": "integer32", "name": "includedBurstIOPerSec", "format": {"minimum": 3000}}, {"readOnly": true, "type": "integer64", "name": "maxBurstIOPerSecCredits", "format": {"minimum": 0}}, {"type": "string", "name": "mediaTier", "enum": {"items": [{"value": "SSD"}]}}, {"type": "string", "name": "mountName"}, {"type": "object", "name": "nfsProtocolProperties", "props": [{"type": "string", "name": "rootSquash", "enum": {"items": [{"value": "AllSquash"}, {"value": "NoRootSquash"}, {"value": "RootSquash"}]}}]}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"type": "string", "name": "protocol", "enum": {"items": [{"value": "NFS"}]}}, {"type": "integer32", "name": "provisionedIOPerSec"}, {"readOnly": true, "type": "dateTime", "name": "provisionedIOPerSecNextAllowedDowngrade", "format": {"protocol": "iso"}}, {"type": "integer32", "name": "provisionedStorageGiB"}, {"readOnly": true, "type": "dateTime", "name": "provisionedStorageNextAllowedDowngrade", "format": {"protocol": "iso"}}, {"type": "integer32", "name": "provisionedThroughputMiBPerSec"}, {"readOnly": true, "type": "dateTime", "name": "provisionedThroughputNextAllowedDowngrade", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Created"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Patching"}, {"value": "Posting"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "TransientFailure"}, {"value": "Updating"}]}}, {"type": "object", "name": "publicAccessProperties", "props": [{"type": "array", "name": "allowedSubnets", "item": {"type": "string"}}]}, {"type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "redundancy", "enum": {"items": [{"value": "Local"}, {"value": "Zone"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}], "cls": "SystemData_read"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2025-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.fileshares/fileshares/{}", "version": "2025-06-01-preview", "swagger": "mgmt-plane/fileshares/ResourceProviders/Microsoft.FileShares/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRmlsZVNoYXJlcy9maWxlU2hhcmVzL3tyZXNvdXJjZU5hbWV9/V/MjAyNS0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.resourceName", "options": ["n", "name", "resource-name"], "required": true, "idPart": "name", "help": {"short": "The resource name of the file share, as seen by the administrator through Azure Resource Manager."}, "format": {"pattern": "^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"nullable": true, "type": "object", "var": "$resource.properties.nfsProtocolProperties", "options": ["nfs-protocol-properties"], "group": "Properties", "help": {"short": "Protocol settings specific NFS."}, "args": [{"nullable": true, "type": "string", "var": "$resource.properties.nfsProtocolProperties.rootSquash", "options": ["root-squash"], "help": {"short": "Root squash defines how root users on clients are mapped to the NFS share."}, "enum": {"items": [{"name": "AllSquash", "value": "AllSquash"}, {"name": "NoRootSquash", "value": "NoRootSquash"}, {"name": "RootSquash", "value": "RootSquash"}]}}]}, {"nullable": true, "type": "integer32", "var": "$resource.properties.provisionedIOPerSec", "options": ["provisioned-io-per-sec"], "group": "Properties", "help": {"short": "The provisioned IO / sec of the share."}}, {"nullable": true, "type": "integer32", "var": "$resource.properties.provisionedStorageGiB", "options": ["provisioned-storage-gib"], "group": "Properties", "help": {"short": "The provisioned storage size of the share in GiB (1 GiB is 1024^3 bytes or 1073741824 bytes). A component of the file share's bill is the provisioned storage, regardless of the amount of used storage."}}, {"nullable": true, "type": "integer32", "var": "$resource.properties.provisionedThroughputMiBPerSec", "options": ["provisioned-throughput-mib-per-sec"], "group": "Properties", "help": {"short": "The provisioned throughput / sec of the share."}}, {"nullable": true, "type": "object", "var": "$resource.properties.publicAccessProperties", "options": ["public-access-properties"], "group": "Properties", "help": {"short": "The set of properties for control public access."}, "args": [{"nullable": true, "type": "array", "var": "$resource.properties.publicAccessProperties.allowedSubnets", "options": ["allowed-subnets"], "help": {"short": "The allowed set of subnets when access is restricted."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "string", "var": "$resource.properties.publicNetworkAccess", "options": ["public-network-access"], "group": "Properties", "help": {"short": "Gets or sets allow or disallow public network access to azure managed file share"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"name": "Resource", "args": [{"nullable": true, "type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}], "operations": [{"operationId": "FileShares_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares/{resourceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceName", "arg": "$Path.resourceName", "required": true, "format": {"pattern": "^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.FileShares/fileShares/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "hostName"}, {"readOnly": true, "type": "integer32", "name": "includedBurstIOPerSec", "format": {"minimum": 3000}}, {"readOnly": true, "type": "integer64", "name": "maxBurstIOPerSecCredits", "format": {"minimum": 0}}, {"type": "string", "name": "mediaTier", "enum": {"items": [{"value": "SSD"}]}}, {"type": "string", "name": "mountName"}, {"type": "object", "name": "nfsProtocolProperties", "props": [{"type": "string", "name": "rootSquash", "enum": {"items": [{"value": "AllSquash"}, {"value": "NoRootSquash"}, {"value": "RootSquash"}]}}]}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"type": "string", "name": "protocol", "enum": {"items": [{"value": "NFS"}]}}, {"type": "integer32", "name": "provisionedIOPerSec"}, {"readOnly": true, "type": "dateTime", "name": "provisionedIOPerSecNextAllowedDowngrade", "format": {"protocol": "iso"}}, {"type": "integer32", "name": "provisionedStorageGiB"}, {"readOnly": true, "type": "dateTime", "name": "provisionedStorageNextAllowedDowngrade", "format": {"protocol": "iso"}}, {"type": "integer32", "name": "provisionedThroughputMiBPerSec"}, {"readOnly": true, "type": "dateTime", "name": "provisionedThroughputNextAllowedDowngrade", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Created"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Patching"}, {"value": "Posting"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "TransientFailure"}, {"value": "Updating"}]}}, {"type": "object", "name": "publicAccessProperties", "props": [{"type": "array", "name": "allowedSubnets", "item": {"type": "string"}}]}, {"type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "redundancy", "enum": {"items": [{"value": "Local"}, {"value": "Zone"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}], "cls": "SystemData_read"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "FileShare_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "nfsProtocolProperties", "arg": "$resource.properties.nfsProtocolProperties", "props": [{"type": "string", "name": "rootSquash", "arg": "$resource.properties.nfsProtocolProperties.rootSquash", "enum": {"items": [{"value": "AllSquash"}, {"value": "NoRootSquash"}, {"value": "RootSquash"}]}}]}, {"type": "integer32", "name": "provisionedIOPerSec", "arg": "$resource.properties.provisionedIOPerSec"}, {"type": "integer32", "name": "provisionedStorageGiB", "arg": "$resource.properties.provisionedStorageGiB"}, {"type": "integer32", "name": "provisionedThroughputMiBPerSec", "arg": "$resource.properties.provisionedThroughputMiBPerSec"}, {"type": "object", "name": "publicAccessProperties", "arg": "$resource.properties.publicAccessProperties", "props": [{"type": "array", "name": "allowedSubnets", "arg": "$resource.properties.publicAccessProperties.allowedSubnets", "item": {"type": "string"}}]}, {"type": "string", "name": "publicNetworkAccess", "arg": "$resource.properties.publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "FileShares_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares/{resourceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceName", "arg": "$Path.resourceName", "required": true, "format": {"pattern": "^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@FileShare_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30=/2025-06-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30=/2025-06-01-preview.xml new file mode 100644 index 000000000..8736c5a44 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30=/2025-06-01-preview.xml @@ -0,0 +1,881 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30vZmlsZXNoYXJlc25hcHNob3Rz/2025-06-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30vZmlsZXNoYXJlc25hcHNob3Rz/2025-06-01-preview.json new file mode 100644 index 000000000..692d69199 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30vZmlsZXNoYXJlc25hcHNob3Rz/2025-06-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.fileshares/fileshares/{}/filesharesnapshots", "version": "2025-06-01-preview", "swagger": "mgmt-plane/fileshares/ResourceProviders/Microsoft.FileShares/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRmlsZVNoYXJlcy9maWxlU2hhcmVzL3tyZXNvdXJjZU5hbWV9L2ZpbGVTaGFyZVNuYXBzaG90cw==/V/MjAyNS0wNi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "file-share snapshot", "commands": [{"name": "list", "version": "2025-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.fileshares/fileshares/{}/filesharesnapshots", "version": "2025-06-01-preview", "swagger": "mgmt-plane/fileshares/ResourceProviders/Microsoft.FileShares/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRmlsZVNoYXJlcy9maWxlU2hhcmVzL3tyZXNvdXJjZU5hbWV9L2ZpbGVTaGFyZVNuYXBzaG90cw==/V/MjAyNS0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.resourceName", "options": ["resource-name"], "required": true, "idPart": "name", "help": {"short": "The resource name of the file share, as seen by the administrator through Azure Resource Manager."}, "format": {"pattern": "^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "FileShareSnapshot_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares/{resourceName}/fileShareSnapshots", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceName", "arg": "$Path.resourceName", "required": true, "format": {"pattern": "^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.FileShares/fileShares/{}/fileShareSnapshots/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "initiatorId"}, {"type": "object", "name": "metadata", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "snapshotTime"}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30vZmlsZXNoYXJlc25hcHNob3Rz/2025-06-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30vZmlsZXNoYXJlc25hcHNob3Rz/2025-06-01-preview.xml new file mode 100644 index 000000000..a8330e30b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30vZmlsZXNoYXJlc25hcHNob3Rz/2025-06-01-preview.xml @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30vZmlsZXNoYXJlc25hcHNob3RzL3t9/2025-06-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30vZmlsZXNoYXJlc25hcHNob3RzL3t9/2025-06-01-preview.json new file mode 100644 index 000000000..1d8cfed43 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30vZmlsZXNoYXJlc25hcHNob3RzL3t9/2025-06-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.fileshares/fileshares/{}/filesharesnapshots/{}", "version": "2025-06-01-preview", "swagger": "mgmt-plane/fileshares/ResourceProviders/Microsoft.FileShares/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRmlsZVNoYXJlcy9maWxlU2hhcmVzL3tyZXNvdXJjZU5hbWV9L2ZpbGVTaGFyZVNuYXBzaG90cy97bmFtZX0=/V/MjAyNS0wNi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "file-share snapshot", "commands": [{"name": "show", "version": "2025-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.fileshares/fileshares/{}/filesharesnapshots/{}", "version": "2025-06-01-preview", "swagger": "mgmt-plane/fileshares/ResourceProviders/Microsoft.FileShares/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRmlsZVNoYXJlcy9maWxlU2hhcmVzL3tyZXNvdXJjZU5hbWV9L2ZpbGVTaGFyZVNuYXBzaG90cy97bmFtZX0=/V/MjAyNS0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the FileShareSnapshot"}, "format": {"pattern": "^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.resourceName", "options": ["resource-name"], "required": true, "idPart": "name", "help": {"short": "The resource name of the file share, as seen by the administrator through Azure Resource Manager."}, "format": {"pattern": "^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "FileShareSnapshot_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares/{resourceName}/fileShareSnapshots/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true, "format": {"pattern": "^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceName", "arg": "$Path.resourceName", "required": true, "format": {"pattern": "^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.FileShares/fileShares/{}/fileShareSnapshots/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "initiatorId"}, {"type": "object", "name": "metadata", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "snapshotTime"}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2025-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.fileshares/fileshares/{}/filesharesnapshots/{}", "version": "2025-06-01-preview", "swagger": "mgmt-plane/fileshares/ResourceProviders/Microsoft.FileShares/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRmlsZVNoYXJlcy9maWxlU2hhcmVzL3tyZXNvdXJjZU5hbWV9L2ZpbGVTaGFyZVNuYXBzaG90cy97bmFtZX0=/V/MjAyNS0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the FileShareSnapshot"}, "format": {"pattern": "^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.resourceName", "options": ["resource-name"], "required": true, "idPart": "name", "help": {"short": "The resource name of the file share, as seen by the administrator through Azure Resource Manager."}, "format": {"pattern": "^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "FileShareSnapshot_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares/{resourceName}/fileShareSnapshots/{name}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true, "format": {"pattern": "^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceName", "arg": "$Path.resourceName", "required": true, "format": {"pattern": "^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2025-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.fileshares/fileshares/{}/filesharesnapshots/{}", "version": "2025-06-01-preview", "swagger": "mgmt-plane/fileshares/ResourceProviders/Microsoft.FileShares/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRmlsZVNoYXJlcy9maWxlU2hhcmVzL3tyZXNvdXJjZU5hbWV9L2ZpbGVTaGFyZVNuYXBzaG90cy97bmFtZX0=/V/MjAyNS0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the FileShareSnapshot"}, "format": {"pattern": "^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.resourceName", "options": ["resource-name"], "required": true, "idPart": "name", "help": {"short": "The resource name of the file share, as seen by the administrator through Azure Resource Manager."}, "format": {"pattern": "^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "object", "var": "$resource.properties.metadata", "options": ["metadata"], "group": "Properties", "help": {"short": "The metadata"}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "FileShareSnapshot_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares/{resourceName}/fileShareSnapshots/{name}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true, "format": {"pattern": "^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceName", "arg": "$Path.resourceName", "required": true, "format": {"pattern": "^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "metadata", "arg": "$resource.properties.metadata", "additionalProps": {"item": {"type": "string"}}}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}]}, {"name": "update", "version": "2025-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.fileshares/fileshares/{}/filesharesnapshots/{}", "version": "2025-06-01-preview", "swagger": "mgmt-plane/fileshares/ResourceProviders/Microsoft.FileShares/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRmlsZVNoYXJlcy9maWxlU2hhcmVzL3tyZXNvdXJjZU5hbWV9L2ZpbGVTaGFyZVNuYXBzaG90cy97bmFtZX0=/V/MjAyNS0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the FileShareSnapshot"}, "format": {"pattern": "^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.resourceName", "options": ["resource-name"], "required": true, "idPart": "name", "help": {"short": "The resource name of the file share, as seen by the administrator through Azure Resource Manager."}, "format": {"pattern": "^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "object", "var": "$properties.properties.metadata", "options": ["metadata"], "group": "Properties", "help": {"short": "The metadata"}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "FileShareSnapshot_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares/{resourceName}/fileShareSnapshots/{name}", "request": {"method": "patch", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true, "format": {"pattern": "^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceName", "arg": "$Path.resourceName", "required": true, "format": {"pattern": "^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "metadata", "arg": "$properties.properties.metadata", "additionalProps": {"item": {"type": "string"}}}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.FileShares/fileShares/{}/fileShareSnapshots/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "initiatorId"}, {"type": "object", "name": "metadata", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "snapshotTime"}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30vZmlsZXNoYXJlc25hcHNob3RzL3t9/2025-06-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30vZmlsZXNoYXJlc25hcHNob3RzL3t9/2025-06-01-preview.xml new file mode 100644 index 000000000..d144b5105 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2ZpbGVzaGFyZXMve30vZmlsZXNoYXJlc25hcHNob3RzL3t9/2025-06-01-preview.xml @@ -0,0 +1,355 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + + + +
+
+ +
+
+
From 874e02edaad41a6a1229ce789285aeb7587b6a3d Mon Sep 17 00:00:00 2001 From: Zhiyi Huang <17182306+calvinhzy@users.noreply.github.com> Date: Wed, 27 Aug 2025 15:10:50 +0800 Subject: [PATCH 2/2] file share 2025-06-01-preview, add the other commands --- .../file-share/_check-name-availability.md | 16 ++++ Commands/file-share/_get-limit.md | 16 ++++ .../_get-provisioning-recommendation.md | 16 ++++ Commands/file-share/_get-usage-data.md | 16 ++++ Commands/file-share/readme.md | 12 +++ .../2025-06-01-preview.json | 1 + .../2025-06-01-preview.xml | 71 ++++++++++++++++++ .../2025-06-01-preview.json | 1 + .../2025-06-01-preview.xml | 52 +++++++++++++ .../2025-06-01-preview.json | 1 + .../2025-06-01-preview.xml | 67 +++++++++++++++++ .../2025-06-01-preview.json | 1 + .../2025-06-01-preview.xml | 73 +++++++++++++++++++ 13 files changed, 343 insertions(+) create mode 100644 Commands/file-share/_check-name-availability.md create mode 100644 Commands/file-share/_get-limit.md create mode 100644 Commands/file-share/_get-provisioning-recommendation.md create mode 100644 Commands/file-share/_get-usage-data.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9jaGVja25hbWVhdmFpbGFiaWxpdHk=/2025-06-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9jaGVja25hbWVhdmFpbGFiaWxpdHk=/2025-06-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9nZXR1c2FnZWRhdGE=/2025-06-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9nZXR1c2FnZWRhdGE=/2025-06-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9nZXRsaW1pdHM=/2025-06-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9nZXRsaW1pdHM=/2025-06-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9nZXRwcm92aXNpb25pbmdyZWNvbW1lbmRhdGlvbg==/2025-06-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9nZXRwcm92aXNpb25pbmdyZWNvbW1lbmRhdGlvbg==/2025-06-01-preview.xml diff --git a/Commands/file-share/_check-name-availability.md b/Commands/file-share/_check-name-availability.md new file mode 100644 index 000000000..4aa37b10c --- /dev/null +++ b/Commands/file-share/_check-name-availability.md @@ -0,0 +1,16 @@ +# [Command] _file-share check-name-availability_ + +Implements local CheckNameAvailability operations + +## Versions + +### [2025-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9jaGVja25hbWVhdmFpbGFiaWxpdHk=/2025-06-01-preview.xml) **Preview** + + + +#### examples + +- Check Name Availability for File Shares + ```bash + file-share check-name-availability --location dpplbglogsvzrbbeo --name fvykqbgmd --type kcyswj + ``` diff --git a/Commands/file-share/_get-limit.md b/Commands/file-share/_get-limit.md new file mode 100644 index 000000000..be81bd10d --- /dev/null +++ b/Commands/file-share/_get-limit.md @@ -0,0 +1,16 @@ +# [Command] _file-share get-limit_ + +Get file shares limits. + +## Versions + +### [2025-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9nZXRsaW1pdHM=/2025-06-01-preview.xml) **Preview** + + + +#### examples + +- File Share Get Limits + ```bash + file-share get-limit --location dpplbglogsvzrbbeo + ``` diff --git a/Commands/file-share/_get-provisioning-recommendation.md b/Commands/file-share/_get-provisioning-recommendation.md new file mode 100644 index 000000000..7bba0230b --- /dev/null +++ b/Commands/file-share/_get-provisioning-recommendation.md @@ -0,0 +1,16 @@ +# [Command] _file-share get-provisioning-recommendation_ + +Get file shares provisioning parameters recommendation. + +## Versions + +### [2025-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9nZXRwcm92aXNpb25pbmdyZWNvbW1lbmRhdGlvbg==/2025-06-01-preview.xml) **Preview** + + + +#### examples + +- File Share Get Provisioning Recommendation + ```bash + file-share get-provisioning-recommendation --location dpplbglogsvzrbbeo --provisioned-storage-gib 7 + ``` diff --git a/Commands/file-share/_get-usage-data.md b/Commands/file-share/_get-usage-data.md new file mode 100644 index 000000000..f091df18f --- /dev/null +++ b/Commands/file-share/_get-usage-data.md @@ -0,0 +1,16 @@ +# [Command] _file-share get-usage-data_ + +Get file shares usage data. + +## Versions + +### [2025-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9nZXR1c2FnZWRhdGE=/2025-06-01-preview.xml) **Preview** + + + +#### examples + +- File Share Get Usage Data + ```bash + file-share get-usage-data --location dpplbglogsvzrbbeo + ``` diff --git a/Commands/file-share/readme.md b/Commands/file-share/readme.md index 9d07ca7a8..39a50f9b2 100644 --- a/Commands/file-share/readme.md +++ b/Commands/file-share/readme.md @@ -9,12 +9,24 @@ Manage File Share ## Commands +- [check-name-availability](/Commands/file-share/_check-name-availability.md) +: Implements local CheckNameAvailability operations + - [create](/Commands/file-share/_create.md) : Create a file share. - [delete](/Commands/file-share/_delete.md) : Delete a FileShare +- [get-limit](/Commands/file-share/_get-limit.md) +: Get file shares limits. + +- [get-provisioning-recommendation](/Commands/file-share/_get-provisioning-recommendation.md) +: Get file shares provisioning parameters recommendation. + +- [get-usage-data](/Commands/file-share/_get-usage-data.md) +: Get file shares usage data. + - [list](/Commands/file-share/_list.md) : List FileShare resources by subscription ID diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9jaGVja25hbWVhdmFpbGFiaWxpdHk=/2025-06-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9jaGVja25hbWVhdmFpbGFiaWxpdHk=/2025-06-01-preview.json new file mode 100644 index 000000000..7fe6dd4ed --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9jaGVja25hbWVhdmFpbGFiaWxpdHk=/2025-06-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.fileshares/locations/{}/checknameavailability", "version": "2025-06-01-preview", "swagger": "mgmt-plane/fileshares/ResourceProviders/Microsoft.FileShares/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkZpbGVTaGFyZXMvbG9jYXRpb25zL3tsb2NhdGlvbn0vY2hlY2tOYW1lQXZhaWxhYmlsaXR5/V/MjAyNS0wNi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "file-share", "commands": [{"name": "check-name-availability", "version": "2025-06-01-preview", "resources": [{"id": "/subscriptions/{}/providers/microsoft.fileshares/locations/{}/checknameavailability", "version": "2025-06-01-preview", "swagger": "mgmt-plane/fileshares/ResourceProviders/Microsoft.FileShares/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkZpbGVTaGFyZXMvbG9jYXRpb25zL3tsb2NhdGlvbn0vY2hlY2tOYW1lQXZhaWxhYmlsaXR5/V/MjAyNS0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceLocation", "var": "$Path.location", "options": ["l", "location"], "required": true, "idPart": "name"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Body", "args": [{"type": "string", "var": "$body.name", "options": ["name"], "group": "Body", "help": {"short": "The name of the resource for which availability needs to be checked."}}, {"type": "string", "var": "$body.type", "options": ["type"], "group": "Body", "help": {"short": "The resource type."}}]}], "operations": [{"operationId": "FileShares_CheckNameAvailability", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.FileShares/locations/{location}/checkNameAvailability", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "location", "arg": "$Path.location", "required": true, "format": {"minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "body", "required": true, "props": [{"type": "string", "name": "name", "arg": "$body.name"}, {"type": "string", "name": "type", "arg": "$body.type"}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "message"}, {"type": "boolean", "name": "nameAvailable"}, {"type": "string", "name": "reason", "enum": {"items": [{"value": "AlreadyExists"}, {"value": "Invalid"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9jaGVja25hbWVhdmFpbGFiaWxpdHk=/2025-06-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9jaGVja25hbWVhdmFpbGFiaWxpdHk=/2025-06-01-preview.xml new file mode 100644 index 000000000..2bedc094c --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9jaGVja25hbWVhdmFpbGFiaWxpdHk=/2025-06-01-preview.xml @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9nZXR1c2FnZWRhdGE=/2025-06-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9nZXR1c2FnZWRhdGE=/2025-06-01-preview.json new file mode 100644 index 000000000..ee2eac172 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9nZXR1c2FnZWRhdGE=/2025-06-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.fileshares/locations/{}/getusagedata", "version": "2025-06-01-preview", "swagger": "mgmt-plane/fileshares/ResourceProviders/Microsoft.FileShares/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkZpbGVTaGFyZXMvbG9jYXRpb25zL3tsb2NhdGlvbn0vZ2V0VXNhZ2VEYXRh/V/MjAyNS0wNi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "file-share", "commands": [{"name": "get-usage-data", "version": "2025-06-01-preview", "resources": [{"id": "/subscriptions/{}/providers/microsoft.fileshares/locations/{}/getusagedata", "version": "2025-06-01-preview", "swagger": "mgmt-plane/fileshares/ResourceProviders/Microsoft.FileShares/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkZpbGVTaGFyZXMvbG9jYXRpb25zL3tsb2NhdGlvbn0vZ2V0VXNhZ2VEYXRh/V/MjAyNS0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceLocation", "var": "$Path.location", "options": ["l", "location"], "required": true, "idPart": "name"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "FileShare_GetUsageData", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.FileShares/locations/{location}/getUsageData", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "location", "arg": "$Path.location", "required": true, "format": {"minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "liveShares", "required": true, "props": [{"type": "integer32", "name": "fileShareCount", "required": true}]}]}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9nZXR1c2FnZWRhdGE=/2025-06-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9nZXR1c2FnZWRhdGE=/2025-06-01-preview.xml new file mode 100644 index 000000000..14445199f --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9nZXR1c2FnZWRhdGE=/2025-06-01-preview.xml @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9nZXRsaW1pdHM=/2025-06-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9nZXRsaW1pdHM=/2025-06-01-preview.json new file mode 100644 index 000000000..d60cc1032 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9nZXRsaW1pdHM=/2025-06-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.fileshares/locations/{}/getlimits", "version": "2025-06-01-preview", "swagger": "mgmt-plane/fileshares/ResourceProviders/Microsoft.FileShares/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkZpbGVTaGFyZXMvbG9jYXRpb25zL3tsb2NhdGlvbn0vZ2V0TGltaXRz/V/MjAyNS0wNi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "file-share", "commands": [{"name": "get-limit", "version": "2025-06-01-preview", "resources": [{"id": "/subscriptions/{}/providers/microsoft.fileshares/locations/{}/getlimits", "version": "2025-06-01-preview", "swagger": "mgmt-plane/fileshares/ResourceProviders/Microsoft.FileShares/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkZpbGVTaGFyZXMvbG9jYXRpb25zL3tsb2NhdGlvbn0vZ2V0TGltaXRz/V/MjAyNS0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceLocation", "var": "$Path.location", "options": ["l", "location"], "required": true, "idPart": "name"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "FileShare_GetLimits", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.FileShares/locations/{location}/getLimits", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "location", "arg": "$Path.location", "required": true, "format": {"minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "limits", "required": true, "props": [{"type": "integer32", "name": "maxFileSharePrivateEndpointConnections", "required": true}, {"type": "integer32", "name": "maxFileShareSnapshots", "required": true}, {"type": "integer32", "name": "maxFileShareSubnets", "required": true}, {"type": "integer32", "name": "maxFileShares", "required": true}, {"type": "integer32", "name": "maxProvisionedIOPerSec", "required": true}, {"type": "integer32", "name": "maxProvisionedStorageGiB", "required": true}, {"type": "integer32", "name": "maxProvisionedThroughputMiBPerSec", "required": true}, {"type": "integer32", "name": "minProvisionedIOPerSec", "required": true}, {"type": "integer32", "name": "minProvisionedStorageGiB", "required": true}, {"type": "integer32", "name": "minProvisionedThroughputMiBPerSec", "required": true}]}, {"type": "object", "name": "provisioningConstants", "required": true, "props": [{"type": "integer32", "name": "baseIOPerSec", "required": true}, {"type": "integer32", "name": "baseThroughputMiBPerSec", "required": true}, {"type": "float64", "name": "scalarIOPerSec", "required": true}, {"type": "float64", "name": "scalarThroughputMiBPerSec", "required": true}]}]}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9nZXRsaW1pdHM=/2025-06-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9nZXRsaW1pdHM=/2025-06-01-preview.xml new file mode 100644 index 000000000..f1111a360 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9nZXRsaW1pdHM=/2025-06-01-preview.xml @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9nZXRwcm92aXNpb25pbmdyZWNvbW1lbmRhdGlvbg==/2025-06-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9nZXRwcm92aXNpb25pbmdyZWNvbW1lbmRhdGlvbg==/2025-06-01-preview.json new file mode 100644 index 000000000..f638a4706 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9nZXRwcm92aXNpb25pbmdyZWNvbW1lbmRhdGlvbg==/2025-06-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.fileshares/locations/{}/getprovisioningrecommendation", "version": "2025-06-01-preview", "swagger": "mgmt-plane/fileshares/ResourceProviders/Microsoft.FileShares/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkZpbGVTaGFyZXMvbG9jYXRpb25zL3tsb2NhdGlvbn0vZ2V0UHJvdmlzaW9uaW5nUmVjb21tZW5kYXRpb24=/V/MjAyNS0wNi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "file-share", "commands": [{"name": "get-provisioning-recommendation", "version": "2025-06-01-preview", "resources": [{"id": "/subscriptions/{}/providers/microsoft.fileshares/locations/{}/getprovisioningrecommendation", "version": "2025-06-01-preview", "swagger": "mgmt-plane/fileshares/ResourceProviders/Microsoft.FileShares/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkZpbGVTaGFyZXMvbG9jYXRpb25zL3tsb2NhdGlvbn0vZ2V0UHJvdmlzaW9uaW5nUmVjb21tZW5kYXRpb24=/V/MjAyNS0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceLocation", "var": "$Path.location", "options": ["l", "location"], "required": true, "idPart": "name"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "integer32", "var": "$body.properties.provisionedStorageGiB", "options": ["provisioned-storage-gib"], "required": true, "group": "Properties", "help": {"short": "The desired provisioned storage size of the share in GiB. Will be use to calculate the values of remaining provisioning parameters."}}]}], "operations": [{"operationId": "FileShare_GetProvisioningRecommendation", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.FileShares/locations/{location}/getProvisioningRecommendation", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "location", "arg": "$Path.location", "required": true, "format": {"minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "body", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "integer32", "name": "provisionedStorageGiB", "arg": "$body.properties.provisionedStorageGiB", "required": true}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "availableRedundancyOptions", "required": true, "item": {"type": "string", "enum": {"items": [{"value": "Local"}, {"value": "Zone"}]}}}, {"type": "integer32", "name": "provisionedIOPerSec", "required": true}, {"type": "integer32", "name": "provisionedThroughputMiBPerSec", "required": true}]}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9nZXRwcm92aXNpb25pbmdyZWNvbW1lbmRhdGlvbg==/2025-06-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9nZXRwcm92aXNpb25pbmdyZWNvbW1lbmRhdGlvbg==/2025-06-01-preview.xml new file mode 100644 index 000000000..10c13329e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5maWxlc2hhcmVzL2xvY2F0aW9ucy97fS9nZXRwcm92aXNpb25pbmdyZWNvbW1lbmRhdGlvbg==/2025-06-01-preview.xml @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +