Udostępnij za pośrednictwem


ArmNetworkModelFactory.LocalNetworkGatewayData Method

Definition

Initializes a new instance of LocalNetworkGatewayData.

public static Azure.ResourceManager.Network.LocalNetworkGatewayData LocalNetworkGatewayData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ETag? etag = default, System.Collections.Generic.IEnumerable<string> localNetworkAddressPrefixes = default, string gatewayIPAddress = default, string fqdn = default, Azure.ResourceManager.Network.Models.BgpSettings bgpSettings = default, Guid? resourceGuid = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member LocalNetworkGatewayData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ETag> * seq<string> * string * string * Azure.ResourceManager.Network.Models.BgpSettings * Nullable<Guid> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.LocalNetworkGatewayData
Public Shared Function LocalNetworkGatewayData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional localNetworkAddressPrefixes As IEnumerable(Of String) = Nothing, Optional gatewayIPAddress As String = Nothing, Optional fqdn As String = Nothing, Optional bgpSettings As BgpSettings = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As LocalNetworkGatewayData

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

location
Nullable<AzureLocation>

Resource location.

tags
IDictionary<String,String>

Resource tags.

etag
Nullable<ETag>

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

localNetworkAddressPrefixes
IEnumerable<String>

Local network site address space.

gatewayIPAddress
String

IP address of local network gateway.

fqdn
String

FQDN of local network gateway.

bgpSettings
BgpSettings

Local network gateway's BGP speaker settings.

resourceGuid
Nullable<Guid>

The resource GUID property of the local network gateway resource.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the local network gateway resource.

Returns

A new LocalNetworkGatewayData instance for mocking.

Applies to