ArmNetworkModelFactory.NatGatewayData Method

Definition

Initializes a new instance of NatGatewayData.

public static Azure.ResourceManager.Network.NatGatewayData NatGatewayData (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.ResourceManager.Network.Models.NatGatewaySkuName? skuName = default, System.Collections.Generic.IEnumerable<string> zones = default, Azure.ETag? etag = default, int? idleTimeoutInMinutes = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> publicIPAddresses = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> publicIPPrefixes = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> subnets = default, Guid? resourceGuid = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member NatGatewayData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ResourceManager.Network.Models.NatGatewaySkuName> * seq<string> * Nullable<Azure.ETag> * Nullable<int> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Nullable<Guid> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.NatGatewayData
Public Shared Function NatGatewayData (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 skuName As Nullable(Of NatGatewaySkuName) = Nothing, Optional zones As IEnumerable(Of String) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional idleTimeoutInMinutes As Nullable(Of Integer) = Nothing, Optional publicIPAddresses As IEnumerable(Of WritableSubResource) = Nothing, Optional publicIPPrefixes As IEnumerable(Of WritableSubResource) = Nothing, Optional subnets As IEnumerable(Of WritableSubResource) = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As NatGatewayData

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.

skuName
Nullable<NatGatewaySkuName>

The nat gateway SKU.

zones
IEnumerable<String>

A list of availability zones denoting the zone in which Nat Gateway should be deployed.

etag
Nullable<ETag>

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

idleTimeoutInMinutes
Nullable<Int32>

The idle timeout of the nat gateway.

publicIPAddresses
IEnumerable<WritableSubResource>

An array of public ip addresses associated with the nat gateway resource.

publicIPPrefixes
IEnumerable<WritableSubResource>

An array of public ip prefixes associated with the nat gateway resource.

subnets
IEnumerable<WritableSubResource>

An array of references to the subnets using this nat gateway resource.

resourceGuid
Nullable<Guid>

The resource GUID property of the NAT gateway resource.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the NAT gateway resource.

Returns

A new NatGatewayData instance for mocking.

Applies to