Språk

ArmNetworkModelFactory.ServiceGatewayData Method

Definition

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.

resourceGuid
Nullable<Guid>

The resource GUID property of the service gateway resource.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the service gateway resource.

name
String

The name of the service gateway.

eTag
Nullable<ETag>

A unique read-only string that changes whenever the resource is updated.

sku
ServiceGatewaySku

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

id
ResourceIdentifier

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.

resourceGuid
Nullable<Guid>

The resource GUID property of the service gateway resource.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the service gateway resource.

eTag
Nullable<ETag>

A unique read-only string that changes whenever the resource is updated.

sku
ServiceGatewaySku

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