ApiManagementServiceOperationsExtensions.ApplyNetworkConfigurationUpdatesAsync(IApiManagementServiceOperations, String, String, ApiManagementServiceApplyNetworkConfigurationParameters, CancellationToken) Method

Definition

Updates the Microsoft.ApiManagement resource running in the Virtual network to pick the updated DNS changes.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.ApiManagementServiceResource> ApplyNetworkConfigurationUpdatesAsync (this Microsoft.Azure.Management.ApiManagement.IApiManagementServiceOperations operations, string resourceGroupName, string serviceName, Microsoft.Azure.Management.ApiManagement.Models.ApiManagementServiceApplyNetworkConfigurationParameters parameters = default, System.Threading.CancellationToken cancellationToken = default);
static member ApplyNetworkConfigurationUpdatesAsync : Microsoft.Azure.Management.ApiManagement.IApiManagementServiceOperations * string * string * Microsoft.Azure.Management.ApiManagement.Models.ApiManagementServiceApplyNetworkConfigurationParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.ApiManagementServiceResource>
<Extension()>
Public Function ApplyNetworkConfigurationUpdatesAsync (operations As IApiManagementServiceOperations, resourceGroupName As String, serviceName As String, Optional parameters As ApiManagementServiceApplyNetworkConfigurationParameters = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ApiManagementServiceResource)

Parameters

operations
IApiManagementServiceOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group.

serviceName
System.String

The name of the API Management service.

parameters
ApiManagementServiceApplyNetworkConfigurationParameters

Parameters supplied to the Apply Network Configuration operation. If the parameters are empty, all the regions in which the Api Management service is deployed will be updated sequentially without incurring downtime in the region.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<ApiManagementServiceResource>

Applies to