Sprog

ServiceGatewayResource.UpdateServicesAsync Method

Definition

Overloads

Name Description
UpdateServicesAsync(ServiceGatewayUpdateServicesContent, CancellationToken)

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-01-01.
  • Resource. : ServiceGatewayResource.
UpdateServicesAsync(WaitUntil, ServiceGatewayUpdateServicesContent, CancellationToken)

Invokes the UpdateServicesAsync compatibility operation.

UpdateServicesAsync(ServiceGatewayUpdateServicesContent, CancellationToken)

Source:
ServiceGatewayResource.cs
Source:
ServiceGatewayResource.cs

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-01-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

UpdateServicesAsync(WaitUntil, ServiceGatewayUpdateServicesContent, CancellationToken)

Source:
ServiceGatewayResource.OperationCompatibility.cs
Source:
ServiceGatewayResource.OperationCompatibility.cs

Invokes the UpdateServicesAsync compatibility operation.

public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> UpdateServicesAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.Network.Models.ServiceGatewayUpdateServicesContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateServicesAsync : Azure.WaitUntil * Azure.ResourceManager.Network.Models.ServiceGatewayUpdateServicesContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.UpdateServicesAsync : Azure.WaitUntil * Azure.ResourceManager.Network.Models.ServiceGatewayUpdateServicesContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function UpdateServicesAsync (waitUntil As WaitUntil, content As ServiceGatewayUpdateServicesContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation)

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
ServiceGatewayUpdateServicesContent

Parameters supplied to the create or updates services in service gateway operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to