Exemple #1
0
 /// <summary>
 /// Updates the specified Managed Network resource tags.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='parameters'>
 /// Parameters supplied to update application gateway tags and/or scope.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='managedNetworkName'>
 /// The name of the Managed Network.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ManagedNetworkModel> BeginUpdateAsync(this IManagedNetworksOperations operations, ManagedNetworkUpdate parameters, string resourceGroupName, string managedNetworkName, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.BeginUpdateWithHttpMessagesAsync(parameters, resourceGroupName, managedNetworkName, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Exemple #2
0
 /// <summary>
 /// Updates the specified Managed Network resource tags.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='parameters'>
 /// Parameters supplied to update application gateway tags and/or scope.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='managedNetworkName'>
 /// The name of the Managed Network.
 /// </param>
 public static ManagedNetworkModel BeginUpdate(this IManagedNetworksOperations operations, ManagedNetworkUpdate parameters, string resourceGroupName, string managedNetworkName)
 {
     return(operations.BeginUpdateAsync(parameters, resourceGroupName, managedNetworkName).GetAwaiter().GetResult());
 }