Sprog

ServiceGatewayResource.UpdateServicesAsync Method

Definition

Creates, updates, or deletes services within the service gateway. The request supports both full and partial update modes at the service level. Full update replaces all existing services with the new list provided in the request. Partial update modifies only the specified services.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceGateways/{serviceGatewayName}/updateServices.
  • Operation Id. : ServiceGateways_UpdateServices.
  • Default Api Version. : 2026-05-01.
  • Resource. : ServiceGatewayResource.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.ServiceGatewayActionResult>> UpdateServicesAsync(Azure.ResourceManager.Network.Models.ServiceGatewayUpdateServicesContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateServicesAsync : Azure.ResourceManager.Network.Models.ServiceGatewayUpdateServicesContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.ServiceGatewayActionResult>>
override this.UpdateServicesAsync : Azure.ResourceManager.Network.Models.ServiceGatewayUpdateServicesContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.ServiceGatewayActionResult>>
Public Overridable Function UpdateServicesAsync (content As ServiceGatewayUpdateServicesContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ServiceGatewayActionResult))

Parameters

content
ServiceGatewayUpdateServicesContent

Parameters supplied to create or update services in service gateway operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to