Skip to content

Commit

Permalink
Update code structure of Storage management SDK (Azure#19538)
Browse files Browse the repository at this point in the history
* Update code structure of Storage management SDK

* re-generate sdk

Co-authored-by: dingmeng-xue <dixue@microsoft.com>
  • Loading branch information
yifanz0 and dingmeng-xue authored Sep 21, 2022
1 parent 482a460 commit bc86036
Show file tree
Hide file tree
Showing 247 changed files with 25 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/Storage/Storage.Management.Sdk/Properties/Assemblyinfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
[assembly: CLSCompliant(false)]
[assembly: Guid("5470d6bc-50a5-4ae1-a5ba-1109ff68c826")]

[assembly: AssemblyVersion("1.0.0")]
[assembly: AssemblyFileVersion("1.0.0")]
[assembly: AssemblyVersion("4.9.0")]
[assembly: AssemblyFileVersion("4.9.0")]
21 changes: 17 additions & 4 deletions src/Storage/Storage.Management.Sdk/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# Overall
This directory contains management plane service clients of Az.Storage module.

## Run Generation
In this directory, run AutoRest:
```
autorest --reset
autorest --use:@microsoft.azure/autorest.csharp@2.3.90
autorest.cmd README.md --version=v2
```

### AutoRest Configuration
> see https://aka.ms/autorest
``` yaml
csharp: true
clear-output-folder: true
Expand All @@ -10,14 +23,14 @@ payload-flattening-threshold: 2
### Tag: Storage
``` yaml $(tag) == 'Storage'
###
``` yaml
input-file:
- https://github.com/Azure/azure-rest-api-specs/blob/4e80dd0ac53f3e1694254e0a6966176e90ed38ff/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/storage.json
- https://github.com/Azure/azure-rest-api-specs/blob/a98a48c6aced55dcf941778feb4f64c61a4599d2/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/blob.json
- https://github.com/Azure/azure-rest-api-specs/blob/4e80dd0ac53f3e1694254e0a6966176e90ed38ff/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/file.json
output-folder: Storage

payload-flattening-threshold: 2
output-folder: Generated

namespace: Microsoft.Azure.Management.Storage
```
6 changes: 6 additions & 0 deletions src/Storage/Storage.sln
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ScenarioTest.ResourceManage
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestFx", "..\..\tools\TestFx\TestFx.csproj", "{BC80A1D0-FFA4-43D9-AA74-799F5CB54B58}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Storage.Management.Sdk", "Storage.Management.Sdk\Storage.Management.Sdk.csproj", "{1BA85EC7-F8E5-423F-BA1B-B3918D0D59A3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -70,6 +72,10 @@ Global
{BC80A1D0-FFA4-43D9-AA74-799F5CB54B58}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BC80A1D0-FFA4-43D9-AA74-799F5CB54B58}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BC80A1D0-FFA4-43D9-AA74-799F5CB54B58}.Release|Any CPU.Build.0 = Release|Any CPU
{1BA85EC7-F8E5-423F-BA1B-B3918D0D59A3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1BA85EC7-F8E5-423F-BA1B-B3918D0D59A3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1BA85EC7-F8E5-423F-BA1B-B3918D0D59A3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1BA85EC7-F8E5-423F-BA1B-B3918D0D59A3}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down

0 comments on commit bc86036

Please sign in to comment.