Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NetAppFiles] Update to api-version 2021-04-01 #22326

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static partial class NetAppResourceOperationsExtensions
/// <param name='resourceGroup'>
/// Resource group name.
/// </param>
//[System.Obsolete("This operation is deprecated. Please use CheckFilePathAvailability(string location, string name, string subnetId) instead.", false)]
[System.Obsolete("This operation is deprecated. Please use CheckFilePathAvailability(string location, string name, string subnetId) instead.", false)]
public static CheckAvailabilityResponse CheckFilePathAvailability(this INetAppResourceOperations operations, string location, string name, string type, string resourceGroup)
{
return operations.CheckFilePathAvailabilityAsync(location, name, type, resourceGroup).GetAwaiter().GetResult();
Expand All @@ -61,7 +61,7 @@ public static CheckAvailabilityResponse CheckFilePathAvailability(this INetAppRe
/// Check file path availability
/// </summary>
/// <remarks>
/// Check if a file path is available.
/// Check if a file path is available. Note this operation is deprecated. Please use CheckFilePathAvailabilityAsync(string location, string name, string subnetId) instead
/// </remarks>
/// <param name='operations'>
/// The operations group for this extension method.
Expand All @@ -85,6 +85,7 @@ public static CheckAvailabilityResponse CheckFilePathAvailability(this INetAppRe
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
[System.Obsolete("This operation is deprecated. Please use CheckFilePathAvailabilityWithHttpMessagesAsync(string location, string name, string subnetId) instead.", false)]
public static async Task<CheckAvailabilityResponse> CheckFilePathAvailabilityAsync(this INetAppResourceOperations operations, string location, string name, string type, string resourceGroup, CancellationToken cancellationToken = default(CancellationToken))
{
//using (var _result = await ((NetAppResourceOperations)operations).CheckFilePathAvailabilityWithHttpMessagesAsync(location, name, type, resourceGroup, null, cancellationToken).ConfigureAwait(false))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<AssemblyName>NetApp.Tests</AssemblyName>
<Version>1.1.0</Version>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsNotAsErrors>612,618</WarningsNotAsErrors>
</PropertyGroup>
<PropertyGroup>
<ExcludeFromBuild>false</ExcludeFromBuild>
Expand Down