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.
Overloads
ServiceGatewayData(VirtualNetworkData, RouteTargetAddressPropertiesFormat, RouteTargetAddressPropertiesFormat, Nullable<Guid>, Nullable<NetworkProvisioningState>, String, Nullable<ETag>, ServiceGatewaySku, IEnumerable<String>)
- Source:
- ArmNetworkModelFactory.cs
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.
Applies to
ServiceGatewayData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, VirtualNetworkData, RouteTargetAddressPropertiesFormat, RouteTargetAddressPropertiesFormat, Nullable<Guid>, Nullable<NetworkProvisioningState>, Nullable<ETag>, ServiceGatewaySku, IEnumerable<String>)
- Source:
- ArmNetworkModelFactory.cs
public static Azure.ResourceManager.Network.ServiceGatewayData ServiceGatewayData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, 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, Azure.ETag? eTag = default, Azure.ResourceManager.Network.Models.ServiceGatewaySku sku = default, System.Collections.Generic.IEnumerable<string> zones = default);
static member ServiceGatewayData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Network.VirtualNetworkData * Azure.ResourceManager.Network.Models.RouteTargetAddressPropertiesFormat * Azure.ResourceManager.Network.Models.RouteTargetAddressPropertiesFormat * Nullable<Guid> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<Azure.ETag> * Azure.ResourceManager.Network.Models.ServiceGatewaySku * seq<string> -> Azure.ResourceManager.Network.ServiceGatewayData
Public Shared Function ServiceGatewayData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, 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 eTag As Nullable(Of ETag) = Nothing, Optional sku As ServiceGatewaySku = Nothing, Optional zones As IEnumerable(Of String) = Nothing) As ServiceGatewayData
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- tags
- IDictionary<String,String>
Resource tags.
- location
- AzureLocation
The geo-location where the resource lives.
- 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.
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.