ArmNetworkModelFactory.ServiceGatewayUpdateAddressLocationsContent Method

Definition

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

Parameters

action
Nullable<UpdateAction>

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

  • FullUpdate: Replaces all existing address location data with the new list provided in the request. Any previously defined locations not included will be removed.
  • PartialUpdate: Updates only the specified address locations.
addressLocations
IEnumerable<ServiceGatewayAddressLocation>

An array of address locations to create or update.

Returns

A new ServiceGatewayUpdateAddressLocationsContent instance for mocking.

Applies to