ArmNetworkModelFactory.ServiceGatewayData 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.ServiceGatewayData ServiceGatewayData(Azure.ResourceManager.Network.VirtualNetworkData virtualNetwork = default, Azure.ResourceManager.Network.Models.RouteTargetAddressPropertiesFormat routeTargetAddress = default, Azure.ResourceManager.Network.Models.RouteTargetAddressPropertiesFormat routeTargetAddressV6 = default, Guid? resourceGuid = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, string name = default, Azure.ETag? eTag = default, Azure.ResourceManager.Network.Models.ServiceGatewaySku sku = default, System.Collections.Generic.IEnumerable<string> zones = default);
static member ServiceGatewayData : Azure.ResourceManager.Network.VirtualNetworkData * Azure.ResourceManager.Network.Models.RouteTargetAddressPropertiesFormat * Azure.ResourceManager.Network.Models.RouteTargetAddressPropertiesFormat * Nullable<Guid> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * string * Nullable<Azure.ETag> * Azure.ResourceManager.Network.Models.ServiceGatewaySku * seq<string> -> Azure.ResourceManager.Network.ServiceGatewayData
Public Shared Function ServiceGatewayData (Optional virtualNetwork As VirtualNetworkData = Nothing, Optional routeTargetAddress As RouteTargetAddressPropertiesFormat = Nothing, Optional routeTargetAddressV6 As RouteTargetAddressPropertiesFormat = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional name As String = Nothing, Optional eTag As Nullable(Of ETag) = Nothing, Optional sku As ServiceGatewaySku = Nothing, Optional zones As IEnumerable(Of String) = Nothing) As ServiceGatewayData
Parameters
- virtualNetwork
- VirtualNetworkData
Reference to an existing virtual network.
- routeTargetAddress
- RouteTargetAddressPropertiesFormat
Route Target address of Service gateway.
- routeTargetAddressV6
- RouteTargetAddressPropertiesFormat
Route Target address V6 of Service gateway.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the service gateway resource.
- name
- String
The name of the service gateway.
The service gateway SKU.
- zones
- IEnumerable<String>
A list of availability zones denoting the zone in which service gateway should be deployed.
- The zone values must be provided as strings representing numeric identifiers like "1", "2", "3" etc.
Returns
A new ServiceGatewayData instance for mocking.