ArmNetworkModelFactory.ServiceGatewayAddressLocation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.Network.Models.ServiceGatewayAddressLocation ServiceGatewayAddressLocation(string addressLocation = default, Azure.ResourceManager.Network.Models.AddressUpdateAction? addressUpdateAction = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ServiceGatewayAddress> addresses = default);
static member ServiceGatewayAddressLocation : string * Nullable<Azure.ResourceManager.Network.Models.AddressUpdateAction> * seq<Azure.ResourceManager.Network.Models.ServiceGatewayAddress> -> Azure.ResourceManager.Network.Models.ServiceGatewayAddressLocation
Public Shared Function ServiceGatewayAddressLocation (Optional addressLocation As String = Nothing, Optional addressUpdateAction As Nullable(Of AddressUpdateAction) = Nothing, Optional addresses As IEnumerable(Of ServiceGatewayAddress) = Nothing) As ServiceGatewayAddressLocation
Parameters
- addressLocation
- String
Location to update.
- addressUpdateAction
- Nullable<AddressUpdateAction>
Specifies the type of update operation to perform on addresses within the address location of service gateway.
- FullUpdate: Replaces all existing address data with the new list provided in the request. Any previously defined addresses not included will be removed.
- PartialUpdate: Updates only the specified addresses.
- addresses
- IEnumerable<ServiceGatewayAddress>
An array of addresses to create or update in locations.
Returns
A new ServiceGatewayAddressLocation instance for mocking.