ArmNetworkModelFactory.ServiceGatewayService 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.ServiceGatewayService ServiceGatewayService(string name = default, Azure.ResourceManager.Network.Models.ServiceType? serviceType = default, bool? isDefault = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.BackendAddressPoolData> loadBalancerBackendPools = default, string publicNatGatewayId = default);
static member ServiceGatewayService : string * Nullable<Azure.ResourceManager.Network.Models.ServiceType> * Nullable<bool> * seq<Azure.ResourceManager.Network.BackendAddressPoolData> * string -> Azure.ResourceManager.Network.Models.ServiceGatewayService
Public Shared Function ServiceGatewayService (Optional name As String = Nothing, Optional serviceType As Nullable(Of ServiceType) = Nothing, Optional isDefault As Nullable(Of Boolean) = Nothing, Optional loadBalancerBackendPools As IEnumerable(Of BackendAddressPoolData) = Nothing, Optional publicNatGatewayId As String = Nothing) As ServiceGatewayService
Parameters
- name
- String
Name of the service.
- serviceType
- Nullable<ServiceType>
Name of the service.
- loadBalancerBackendPools
- IEnumerable<BackendAddressPoolData>
An array of load balancer backend address pools.
- publicNatGatewayId
- String
Azure Resource Id of public natgateway.
Returns
A new ServiceGatewayService instance for mocking.