Skip to content

Commit

Permalink
Feature/mgmt track2 storage2 (#23468)
Browse files Browse the repository at this point in the history
* generate code and add storage account test

* add blob container test cases an record the test

* modify azure manager version and regenerate code

* regenerate code and add test cases

* regenerate code and add queue, table test cases

* regenerate code using remote spec and rerun tests

* add Properties and change Helpers position

* Add support for 'files' configuration (#23327)
  • Loading branch information
yukun-dong authored Aug 24, 2021
1 parent 3e1d919 commit a2e5080
Show file tree
Hide file tree
Showing 566 changed files with 73,124 additions and 204,490 deletions.
4 changes: 2 additions & 2 deletions eng/Packages.Data.props
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@

<!-- Packages intended for Management libraries only -->
<ItemGroup Condition="'$(IsMgmtSubLibrary)' == 'true'">
<PackageReference Update="Azure.ResourceManager" Version="1.0.0-alpha.20210730.2" />
<PackageReference Update="Azure.ResourceManager" Version="1.0.0-alpha.20210823.1" />
</ItemGroup>

<!-- Packages intended for Extensions libraries only -->
Expand All @@ -137,7 +137,7 @@
All should have PrivateAssets="All" set so they don't become pacakge dependencies
-->
<ItemGroup>
<PackageReference Update="Microsoft.Azure.AutoRest.CSharp" Version="3.0.0-beta.20210820.3" PrivateAssets="All" />
<PackageReference Update="Microsoft.Azure.AutoRest.CSharp" Version="3.0.0-beta.20210822.2" PrivateAssets="All" />
<PackageReference Update="Azure.ClientSdk.Analyzers" Version="0.1.1-dev.20210601.1" PrivateAssets="All" />
<PackageReference Update="coverlet.collector" Version="1.3.0" PrivateAssets="All" />
<PackageReference Update="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.1" PrivateAssets="All" />
Expand Down
4 changes: 2 additions & 2 deletions eng/mgmt/mgmtmetadata/containerservice_resource-manager.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ Generating CSharp code
Executing AutoRest command
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/containerservice/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=C:\Users\kaiqz\github\kaiqzhan\azure-sdk-for-net\sdk
Autorest CSharp Version: 2.3.82
2021-07-01 22:14:06 UTC
2021-08-05 22:01:48 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: master
Commit: b5b3ae9a081535b4dabce52a1136eece3e2d469f
Commit: 111fbceeeb7c2c4905b80fe2ab760e5564b3458a
AutoRest information
Requested version: v2
Bootstrapper version: [email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// your test project. If not needed, this can be deleted.
// [assembly: InternalsVisibleTo("Azure.Template.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d15ddcb29688295338af4b7686603fe614abd555e09efba8fb88ee09e1f7b1ccaeed2e8f823fa9eef3fdd60217fc012ea67d2479751a0b8c087a4185541b851bd8b16f8d91b840e51b1cb0ba6fe647997e57429265e85ef62d565db50a69ae1647d54d7bd855e4db3d8a91510e5bcbd0edfbbecaa20a7bd9ae74593daa7b11b4")]

// Replace Microsoft.Test with the correct resource provider namepace for your service and uncomment.
// Replace Microsoft.Test with the correct resource provider namespace for your service and uncomment.
// See https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/azure-services-resource-providers
// for the list of possible values.
[assembly: Azure.Core.AzureResourceProviderNamespace("Microsoft.AgFoodPlatform")]
2 changes: 1 addition & 1 deletion sdk/attestation/Azure.Security.Attestation/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Debug.Assert(attestationPolicyHash.SequenceEqual(setResult.Value.PolicyTokenHash
- The `TokenSigningKey` type has been renamed `AttestationTokenSigningKey`.
- The `PolicyResult` type has been renamed `PolicyModificationResult`.
- The constructor for the `AttestationToken` class has been changed from taking an `object` to taking a `BinaryData`. This allows callers to use their preferred serialization
mechanism. The constructor for `AttestationToken` will ensure that the `body` parameter is in fact a serialized JSON object to ensure it is compatable wih the JSON Web Signature encoding algorithms.
mechanism. The constructor for `AttestationToken` will ensure that the `body` parameter is in fact a serialized JSON object to ensure it is compatible wih the JSON Web Signature encoding algorithms.
- The inputs to the AttestSgxEnclave and AttestOpenEnclave APIs have been restructured
to reduce the number of parameters passed into the API.
- When creating an `AttestationData` object specifying that the body type is "JSON", the binary data passed in will be verified that it contains a JSON object.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ protected AttestationAdministrationClient()
/// <summary>
/// Retrieves the attesttion policy for the specified <see cref="AttestationType"/>.
/// </summary>
/// <param name="attestationType"><see cref="AttestationType"/> to retrive.</param>
/// <param name="attestationType"><see cref="AttestationType"/> to retrieve.</param>
/// <param name="cancellationToken">Cancellation token used to cancel this operation.</param>
/// <returns>An <see cref="AttestationResponse{String}"/> with the policy for the specified attestation type.</returns>
/// <remarks>
Expand All @@ -108,7 +108,7 @@ public virtual AttestationResponse<string> GetPolicy(AttestationType attestation
/// <summary>
/// Retrieves the attesttion policy for the specified <see cref="AttestationType"/>.
/// </summary>
/// <param name="attestationType">Attestation Type to retrive.</param>
/// <param name="attestationType">Attestation Type to retrieve.</param>
/// <param name="cancellationToken">Cancellation token used to cancel this operation.</param>
/// <returns>An <see cref="AttestationResponse{String}"/> with the policy for the specified attestation type.</returns>
/// <remarks>
Expand All @@ -123,7 +123,7 @@ public virtual async Task<AttestationResponse<string>> GetPolicyAsync(Attestatio
/// <summary>
/// Retrieves the attesttion policy for the specified <see cref="AttestationType"/>.
/// </summary>
/// <param name="attestationType"><see cref="AttestationType"/> to retrive.</param>
/// <param name="attestationType"><see cref="AttestationType"/> to retrieve.</param>
/// <param name="cancellationToken">Cancellation token used to cancel this operation.</param>
/// <param name="async">True if the call should be asynchronous.</param>
/// <returns>An <see cref="AttestationResponse{String}"/> with the policy for the specified attestation type.</returns>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// your test project. If not needed, this can be deleted.
// [assembly: InternalsVisibleTo("Azure.Template.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d15ddcb29688295338af4b7686603fe614abd555e09efba8fb88ee09e1f7b1ccaeed2e8f823fa9eef3fdd60217fc012ea67d2479751a0b8c087a4185541b851bd8b16f8d91b840e51b1cb0ba6fe647997e57429265e85ef62d565db50a69ae1647d54d7bd855e4db3d8a91510e5bcbd0edfbbecaa20a7bd9ae74593daa7b11b4")]

// Replace Microsoft.Test with the correct resource provider namepace for your service and uncomment.
// Replace Microsoft.Test with the correct resource provider namespace for your service and uncomment.
// See https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/azure-services-resource-providers
// for the list of possible values.
[assembly: Azure.Core.AzureResourceProviderNamespace("Microsoft.Attestation")]
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ public static class PoolResizeErrorCodes
public const string OverconstrainedAllocationRequestError = "OverconstrainedAllocationRequestError";

/// <summary>
/// Commmunication enabled pool has reached the maximum VM count
/// Communication enabled pool has reached the maximum VM count
/// </summary>
public const string CommunicationEnabledPoolReachedMaxVMCount = "CommunicationEnabledPoolReachedMaxVMCount";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public interface IFileStagingProvider
/// Begins an asynchronous operation to stage all of the files in the given collection.
/// When file staging begins, all instances of IFileStagingProvider are bucketized by their implementation type.
/// This produces one collection of instances per implementation.
/// Each implmentation of IFileStagingProvider has a StageFilesAsync() method. That method is called once with the
/// Each implementation of IFileStagingProvider has a StageFilesAsync() method. That method is called once with the
/// collection produced by the bucketization step oulined above.
/// </summary>
/// <param name="filesToStage">Collection of all file staging objects to be staged. All instances must have the same implementation type.</param>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ private static void NOOP(object request)
}

/// <summary>
/// A replacment interceptor that calls our modification interceptor.
/// A replacement interceptor that calls our modification interceptor.
/// </summary>
private new void ReplacementInterceptHandler(ref Protocol.IBatchRequest request)
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--This file and it's contents are updated at build time moving or editing might result in build failure. Take due deligence while editing this file-->
<PropertyGroup>
<AzureApiTag>ContainerService_2021-05-01</AzureApiTag>
<AzureApiTag>ContainerService_2021-07-01</AzureApiTag>
<PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags>
</PropertyGroup>
</Project>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a2e5080

Please sign in to comment.