共用方式為


ApiManagementServiceResource.ApplyNetworkConfigurationUpdatesAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/applynetworkconfigurationupdates
  • Operation Id: ApiManagementService_ApplyNetworkConfigurationUpdates
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementServiceResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.ApiManagementServiceResource>> ApplyNetworkConfigurationUpdatesAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.ApiManagement.Models.ApiManagementServiceApplyNetworkConfigurationContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ApplyNetworkConfigurationUpdatesAsync : Azure.WaitUntil * Azure.ResourceManager.ApiManagement.Models.ApiManagementServiceApplyNetworkConfigurationContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.ApiManagementServiceResource>>
override this.ApplyNetworkConfigurationUpdatesAsync : Azure.WaitUntil * Azure.ResourceManager.ApiManagement.Models.ApiManagementServiceApplyNetworkConfigurationContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.ApiManagementServiceResource>>
Public Overridable Function ApplyNetworkConfigurationUpdatesAsync (waitUntil As WaitUntil, Optional content As ApiManagementServiceApplyNetworkConfigurationContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ApiManagementServiceResource))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
ApiManagementServiceApplyNetworkConfigurationContent

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
CancellationToken

The cancellation token to use.

Returns

Applies to