ArmNetworkModelFactory.ServiceGatewayUpdateServicesContent Method

Definition

public static Azure.ResourceManager.Network.Models.ServiceGatewayUpdateServicesContent ServiceGatewayUpdateServicesContent(Azure.ResourceManager.Network.Models.ServiceUpdateAction? action = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ServiceGatewayServiceRequest> serviceRequests = default);
static member ServiceGatewayUpdateServicesContent : Nullable<Azure.ResourceManager.Network.Models.ServiceUpdateAction> * seq<Azure.ResourceManager.Network.Models.ServiceGatewayServiceRequest> -> Azure.ResourceManager.Network.Models.ServiceGatewayUpdateServicesContent
Public Shared Function ServiceGatewayUpdateServicesContent (Optional action As Nullable(Of ServiceUpdateAction) = Nothing, Optional serviceRequests As IEnumerable(Of ServiceGatewayServiceRequest) = Nothing) As ServiceGatewayUpdateServicesContent

Parameters

action
Nullable<ServiceUpdateAction>

Specifies the type of update operation to perform on services within the service gateway.

  • FullUpdate: Replaces all existing services with the new list provided in the request. Any previously defined services not included will be removed.
  • PartialUpdate: Updates only the specified services.
serviceRequests
IEnumerable<ServiceGatewayServiceRequest>

Collection of service updates.

Returns

A new ServiceGatewayUpdateServicesContent instance for mocking.

Applies to