Skip to content

Commit

Permalink
Update AutoRest C# version (#12739)
Browse files Browse the repository at this point in the history
Co-authored-by: Pavel Krymets <pavel@krymets.com>
  • Loading branch information
azure-sdk and pakrym authored Jun 12, 2020
1 parent 8ec922f commit fde680f
Show file tree
Hide file tree
Showing 1,367 changed files with 345,542 additions and 346,546 deletions.
4 changes: 2 additions & 2 deletions common/ManagementTestShared/ManagementRecordedTestBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ protected async Task CleanupResourceGroupsAsync()
var resourceGroupsClient = new ResourcesManagementClient(
TestEnvironment.SubscriptionId,
TestEnvironment.Credential,
new ResourcesManagementClientOptions()).GetResourceGroupsClient();
new ResourcesManagementClientOptions()).ResourceGroups;
foreach (var resourceGroup in CleanupPolicy.ResourceGroupsCreated)
{
await resourceGroupsClient.StartDeleteAsync(resourceGroup);
}
}
}

protected async Task<string> GetFirstUsableLocationAsync(ProvidersClient providersClient, string resourceProviderNamespace, string resourceType)
protected async Task<string> GetFirstUsableLocationAsync(ProvidersOperations providersClient, string resourceProviderNamespace, string resourceType)
{
var provider = (await providersClient.GetAsync(resourceProviderNamespace)).Value;
return provider.ResourceTypes.Where(
Expand Down
3 changes: 2 additions & 1 deletion eng/CodeGeneration.targets
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<_AutoRestVersion>https://github.com/Azure/autorest/releases/download/autorest-3.0.6223/autorest-3.0.6223.tgz</_AutoRestVersion>
<_AutoRestCoreVersion>3.0.6283</_AutoRestCoreVersion>
<_AutoRestCSharpVersion>https://github.com/Azure/autorest.csharp/releases/download/3.0.0-dev.20200610.1/autorest-csharp-v3-3.0.0-dev.20200610.1.tgz</_AutoRestCSharpVersion>
<_AutoRestCSharpVersion>https://github.com/Azure/autorest.csharp/releases/download/3.0.0-dev.20200612.2/autorest-csharp-v3-3.0.0-dev.20200612.2.tgz</_AutoRestCSharpVersion>
<_SupportsCodeGeneration Condition="'$(IsClientLibrary)' == 'true'">true</_SupportsCodeGeneration>
<_DefaultInputName Condition="Exists('$(MSBuildProjectDirectory)/autorest.md')">$(MSBuildProjectDirectory)/autorest.md</_DefaultInputName>
<AutoRestInput Condition="'$(AutoRestInput)' == ''">$(_DefaultInputName)</AutoRestInput>
Expand Down Expand Up @@ -51,3 +51,4 @@




Large diffs are not rendered by default.

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

This file was deleted.

Large diffs are not rendered by default.

This file was deleted.

Large diffs are not rendered by default.

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

This file was deleted.

Loading

0 comments on commit fde680f

Please sign in to comment.