Example #1
0
 /// <summary>
 /// Validate whether a resource can be moved.
 /// </summary>
 /// <remarks>
 /// Validate whether a resource can be moved.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the resource group to which the resource belongs.
 /// </param>
 /// <param name='moveResourceEnvelope'>
 /// Object that represents the resource to move.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task ValidateMoveAsync(this IWebSiteManagementClient operations, string resourceGroupName, CsmMoveResourceEnvelope moveResourceEnvelope, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.ValidateMoveWithHttpMessagesAsync(resourceGroupName, moveResourceEnvelope, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
 /// <summary>
 /// Validate whether a resource can be moved.
 /// </summary>
 /// <remarks>
 /// Validate whether a resource can be moved.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the resource group to which the resource belongs.
 /// </param>
 /// <param name='targetResourceGroup'>
 /// </param>
 /// <param name='resources'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task ValidateMoveAsync(this IWebSiteManagementClient operations, string resourceGroupName, string targetResourceGroup = default(string), IList <string> resources = default(IList <string>), CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.ValidateMoveWithHttpMessagesAsync(resourceGroupName, targetResourceGroup, resources, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }