|
| 1 | +{ |
| 2 | + "resourceType": "fileShares/fileShareSnapshots", |
| 3 | + "apiVersion": "2025-09-01-preview", |
| 4 | + "learnMore": { |
| 5 | + "url": "https://learn.microsoft.com/powershell/module/az.fileshare" |
| 6 | + }, |
| 7 | + "commands": [ |
| 8 | + { |
| 9 | + "name": "Get-AzFileShareSnapshot", |
| 10 | + "description": "Get a FileShareSnapshot", |
| 11 | + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares/{resourceName}/fileShareSnapshots/{name}", |
| 12 | + "help": { |
| 13 | + "learnMore": { |
| 14 | + "url": "https://learn.microsoft.com/powershell/module/az.fileshare/get-azfilesharesnapshot" |
| 15 | + }, |
| 16 | + "parameterSets": [ |
| 17 | + { |
| 18 | + "parameters": [ |
| 19 | + "-Name <String>", |
| 20 | + "-ResourceGroupName <String>", |
| 21 | + "-ResourceName <String>", |
| 22 | + "[-SubscriptionId <String[]>]" |
| 23 | + ] |
| 24 | + } |
| 25 | + ] |
| 26 | + }, |
| 27 | + "examples": [ |
| 28 | + { |
| 29 | + "description": "Get a FileShareSnapshot", |
| 30 | + "parameters": [ |
| 31 | + { |
| 32 | + "name": "-Name", |
| 33 | + "value": "[Path.name]" |
| 34 | + }, |
| 35 | + { |
| 36 | + "name": "-ResourceGroupName", |
| 37 | + "value": "[Path.resourceGroupName]" |
| 38 | + }, |
| 39 | + { |
| 40 | + "name": "-ResourceName", |
| 41 | + "value": "[Path.resourceName]" |
| 42 | + }, |
| 43 | + { |
| 44 | + "name": "-SubscriptionId", |
| 45 | + "value": "[Path.subscriptionId]" |
| 46 | + } |
| 47 | + ] |
| 48 | + } |
| 49 | + ] |
| 50 | + }, |
| 51 | + { |
| 52 | + "name": "Remove-AzFileShareSnapshot", |
| 53 | + "description": "Delete a FileShareSnapshot.", |
| 54 | + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares/{resourceName}/fileShareSnapshots/{name}", |
| 55 | + "help": { |
| 56 | + "learnMore": { |
| 57 | + "url": "https://learn.microsoft.com/powershell/module/az.fileshare/remove-azfilesharesnapshot" |
| 58 | + }, |
| 59 | + "parameterSets": [ |
| 60 | + { |
| 61 | + "parameters": [ |
| 62 | + "-Name <String>", |
| 63 | + "-ResourceGroupName <String>", |
| 64 | + "-ResourceName <String>", |
| 65 | + "[-SubscriptionId <String>]" |
| 66 | + ] |
| 67 | + } |
| 68 | + ] |
| 69 | + }, |
| 70 | + "examples": [ |
| 71 | + { |
| 72 | + "description": "Delete a FileShareSnapshot.", |
| 73 | + "parameters": [ |
| 74 | + { |
| 75 | + "name": "-Name", |
| 76 | + "value": "[Path.name]" |
| 77 | + }, |
| 78 | + { |
| 79 | + "name": "-ResourceGroupName", |
| 80 | + "value": "[Path.resourceGroupName]" |
| 81 | + }, |
| 82 | + { |
| 83 | + "name": "-ResourceName", |
| 84 | + "value": "[Path.resourceName]" |
| 85 | + }, |
| 86 | + { |
| 87 | + "name": "-SubscriptionId", |
| 88 | + "value": "[Path.subscriptionId]" |
| 89 | + } |
| 90 | + ] |
| 91 | + } |
| 92 | + ] |
| 93 | + } |
| 94 | + ] |
| 95 | +} |
0 commit comments