Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Storage/Storage.Autorest/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Storage")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("9.2.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("9.2.0")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("9.4.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("9.4.0")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
[assembly: System.CLSCompliantAttribute(false)]
19 changes: 10 additions & 9 deletions src/Storage/Storage.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,16 @@ For information on how to develop for `Az.Storage`, see [how-to.md](how-to.md).

``` yaml
# Please specify the commit id that includes your features to make sure generated codes stable.
commit: 04b87408ba3b8afed159b3d3059bd1594c7f2dd3
commit: ec3df311a63c6e653824b4018bb1a39d483bf9fc
require:
# readme.azure.noprofile.md is the common configuration file
- $(this-folder)/../../readme.azure.noprofile.md
input-file:
- $(repo)/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/storage.json
- $(repo)/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/file.json
- $(repo)/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/storageTaskAssignments.json
- $(repo)/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/networkSecurityPerimeter.json
- $(repo)/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/openapi.json
# - $(repo)/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/storage.json
# - $(repo)/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/file.json
# - $(repo)/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/storageTaskAssignments.json
# - $(repo)/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/networkSecurityPerimeter.json

# For new RP, the version is 0.1.0
module-version: 5.9.1
Expand Down Expand Up @@ -113,7 +114,7 @@ directive:
set:
property-name: StorageAccountLimitMaxProvisionedIops
- where:
subject: ^StorageAccount$|^StorageAccountKey$|^StorageAccountProperty$|^StorageAccountSas$|^StorageAccountServiceSas$|BlobInventoryPolicy$|^DeletedAccount$|^EncryptionScope$|^LocalUser$|^LocalUserKey$|^ManagementPolicy$|^ObjectReplicationPolicy$|^Usage$|^LocalUserPassword$|^AccountUserDelegationKey$|^AbortStorageAccountHierarchicalNamespaceMigration$|^HierarchicalStorageAccountNamespaceMigration$|^StorageAccountBlobRange$|^StorageAccountUserDelegationKey$|^StorageAccountNameAvailability$|^FileShare$|^FileServiceProperty$|^FileService$
subject: .*Blob.*|.*Table.*|.*Queue.*|^StorageAccount$|^StorageAccountKey$|^StorageAccountProperty$|^StorageAccountSas$|^StorageAccountServiceSas$|BlobInventoryPolicy$|^DeletedAccount$|^EncryptionScope$|^LocalUser$|^LocalUserKey$|^ManagementPolicy$|^ObjectReplicationPolicy$|^Usage$|^LocalUserPassword$|^AccountUserDelegationKey$|^AbortStorageAccountHierarchicalNamespaceMigration$|^HierarchicalStorageAccountNamespaceMigration$|^StorageAccountBlobRange$|^StorageAccountUserDelegationKey$|^StorageAccountNameAvailability$|^FileShare$|^FileServiceProperty$|^FileService$
remove: true
- where:
parameter-name: ParameterEndBy
Expand Down Expand Up @@ -155,16 +156,16 @@ directive:
property-name: ParameterStartOn
set:
property-name: StartOn
- from: storageTaskAssignments.json
- from: openapi.json
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/reports"].get
transform: >
$["operationId"] = "StorageTaskAssignmentInstancesReport_List"
# Renaming the operationId to StorageTaskAssignmentInstancesReport_Get, but the operation actually lists all the reports under a specific storage task assignment.
- from: storageTaskAssignments.json
- from: openapi.json
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}/reports"].get
transform: >
$["operationId"] = "StorageTaskAssignmentInstancesReport_Get"
- from: storageTaskAssignments.json
- from: openapi.json
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}/reports"].get
transform: >
$["operationId"] = "StorageTaskAssignmentInstancesReport_Get"
Expand Down
24 changes: 24 additions & 0 deletions src/Storage/Storage.Autorest/Storage.Autorest.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.2.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Storage", "Az.Storage.csproj", "{2B2080BB-926A-7E28-8AA6-6BD244E4E4A5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2B2080BB-926A-7E28-8AA6-6BD244E4E4A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2B2080BB-926A-7E28-8AA6-6BD244E4E4A5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2B2080BB-926A-7E28-8AA6-6BD244E4E4A5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2B2080BB-926A-7E28-8AA6-6BD244E4E4A5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D5130846-AF82-4747-A16B-8EA3229AFC2D}
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "storageAccounts/accountMigrations",
"apiVersion": "2025-01-01",
"apiVersion": "2025-06-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.storage"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "storageAccounts/networkSecurityPerimeterConfigurations",
"apiVersion": "2025-01-01",
"apiVersion": "2025-06-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.storage"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "storageAccounts/storageTaskAssignments",
"apiVersion": "2025-01-01",
"apiVersion": "2025-06-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.storage"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"resourceType": "storageAccounts/fileServices/usages",
"apiVersion": "2025-01-01",
"resourceType": "storageAccounts",
"apiVersion": "2025-06-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.storage"
},
"commands": [
{
"name": "Get-AzStorageFileServiceUsage",
"description": "Gets the usage of file service in storage account including account limits, file share limits and constants used in recommendations and bursting formula.",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}/usages/{fileServiceUsagesName}",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/usages/default",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.storage/get-azstoragefileserviceusage"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Accept wildcard characters: False
```

### -ResourceGroupName
The name of the resource group within the user's subscription.
The name of the resource group.
The name is case insensitive.

```yaml
Expand All @@ -114,6 +114,7 @@ Accept wildcard characters: False

### -SubscriptionId
The ID of the target subscription.
The value must be an UUID.

```yaml
Type: System.String[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Accept wildcard characters: False
```

### -ResourceGroupName
The name of the resource group within the user's subscription.
The name of the resource group.
The name is case insensitive.

```yaml
Expand Down Expand Up @@ -156,6 +156,7 @@ Accept wildcard characters: False

### -SubscriptionId
The ID of the target subscription.
The value must be an UUID.

```yaml
Type: System.String[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ Accept wildcard characters: False
```

### -ResourceGroupName
The name of the resource group within the user's subscription.
The name of the resource group.
The name is case insensitive.

```yaml
Expand Down Expand Up @@ -202,6 +202,7 @@ Accept wildcard characters: False

### -SubscriptionId
The ID of the target subscription.
The value must be an UUID.

```yaml
Type: System.String[]
Expand Down
1 change: 1 addition & 0 deletions src/Storage/Storage.Autorest/docs/Get-AzStorageSku.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ Accept wildcard characters: False

### -SubscriptionId
The ID of the target subscription.
The value must be an UUID.

```yaml
Type: System.String[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ Accept wildcard characters: False

### -SubscriptionId
The ID of the target subscription.
The value must be an UUID.

```yaml
Type: System.String[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ Accept wildcard characters: False

### -SubscriptionId
The ID of the target subscription.
The value must be an UUID.

```yaml
Type: System.String[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ Accept wildcard characters: False
```

### -ResourceGroupName
The name of the resource group within the user's subscription.
The name of the resource group.
The name is case insensitive.

```yaml
Expand Down Expand Up @@ -186,6 +186,7 @@ Accept wildcard characters: False

### -SubscriptionId
The ID of the target subscription.
The value must be an UUID.

```yaml
Type: System.String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ Accept wildcard characters: False

### -SubscriptionId
The ID of the target subscription.
The value must be an UUID.

```yaml
Type: System.String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ Accept wildcard characters: False

### -SubscriptionId
The ID of the target subscription.
The value must be an UUID.

```yaml
Type: System.String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ Accept wildcard characters: False

### -SubscriptionId
The ID of the target subscription.
The value must be an UUID.

```yaml
Type: System.String
Expand Down
2 changes: 1 addition & 1 deletion src/Storage/Storage.Autorest/generate-info.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"generate_Id": "e43e7338-ef46-4c99-93ce-f2ad6f4c20f4"
"generate_Id": "2d315057-acd3-4098-96d9-d29ba6c8231c"
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"Get-AzStorageAccountMigration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testaccountmigrationrg/providers/Microsoft.Storage/storageAccounts/testaccountmigration111/accountMigrations/default?api-version=2025-01-01+1": {
"Get-AzStorageAccountMigration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testaccountmigrationrg/providers/Microsoft.Storage/storageAccounts/testaccountmigration111/accountMigrations/default?api-version=2025-06-01+1": {
"Request": {
"Method": "GET",
"RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testaccountmigrationrg/providers/Microsoft.Storage/storageAccounts/testaccountmigration111/accountMigrations/default?api-version=2025-01-01",
"RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testaccountmigrationrg/providers/Microsoft.Storage/storageAccounts/testaccountmigration111/accountMigrations/default?api-version=2025-06-01",
"Content": null,
"isContentBase64": false,
"Headers": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"Get-AzStorageFileServiceUsage+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testaccountmigrationrg/providers/Microsoft.Storage/storageAccounts/pshtestaccountpv2/fileServices/default/usages/default?api-version=2025-01-01+1": {
"Get-AzStorageFileServiceUsage+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testaccountmigrationrg/providers/Microsoft.Storage/storageAccounts/pshtestaccountpv2/fileServices/default/usages/default?api-version=2025-06-01+1": {
"Request": {
"Method": "GET",
"RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testaccountmigrationrg/providers/Microsoft.Storage/storageAccounts/pshtestaccountpv2/fileServices/default/usages/default?api-version=2025-01-01",
"RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testaccountmigrationrg/providers/Microsoft.Storage/storageAccounts/pshtestaccountpv2/fileServices/default/usages/default?api-version=2025-06-01",
"Content": null,
"isContentBase64": false,
"Headers": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"Get-AzStorageSku+[NoContext]+List+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/skus?api-version=2025-01-01+1": {
"Get-AzStorageSku+[NoContext]+List+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/skus?api-version=2025-06-01+1": {
"Request": {
"Method": "GET",
"RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/skus?api-version=2025-01-01",
"RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.Storage/skus?api-version=2025-06-01",
"Content": null,
"isContentBase64": false,
"Headers": {
Expand Down
Loading