ArmNetworkModelFactory.NatGatewayData 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.NatGatewayData NatGatewayData(Azure.Core.ResourceIdentifier id = default, string name = default, string type = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, int? idleTimeoutInMinutes = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.NetworkSubResource> publicIpAddresses = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.NetworkSubResource> publicIpAddressesV6 = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.NetworkSubResource> publicIpPrefixes = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.NetworkSubResource> publicIpPrefixesV6 = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> subnets = default, Azure.ResourceManager.Network.Models.Nat64State? nat64 = default, Guid? resourceGuid = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Azure.Core.ResourceIdentifier sourceVirtualNetworkId = default, Azure.Core.ResourceIdentifier serviceGatewayId = default, Azure.ResourceManager.Network.Models.NatGatewaySkuName? skuName = default, System.Collections.Generic.IEnumerable<string> zones = default, Azure.ETag? eTag = default);
static member NatGatewayData : Azure.Core.ResourceIdentifier * string * string * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Nullable<int> * seq<Azure.ResourceManager.Network.Models.NetworkSubResource> * seq<Azure.ResourceManager.Network.Models.NetworkSubResource> * seq<Azure.ResourceManager.Network.Models.NetworkSubResource> * seq<Azure.ResourceManager.Network.Models.NetworkSubResource> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Nullable<Azure.ResourceManager.Network.Models.Nat64State> * Nullable<Guid> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Network.Models.NatGatewaySkuName> * seq<string> * Nullable<Azure.ETag> -> Azure.ResourceManager.Network.NatGatewayData
Public Shared Function NatGatewayData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional idleTimeoutInMinutes As Nullable(Of Integer) = Nothing, Optional publicIpAddresses As IEnumerable(Of NetworkSubResource) = Nothing, Optional publicIpAddressesV6 As IEnumerable(Of NetworkSubResource) = Nothing, Optional publicIpPrefixes As IEnumerable(Of NetworkSubResource) = Nothing, Optional publicIpPrefixesV6 As IEnumerable(Of NetworkSubResource) = Nothing, Optional subnets As IEnumerable(Of WritableSubResource) = Nothing, Optional nat64 As Nullable(Of Nat64State) = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional sourceVirtualNetworkId As ResourceIdentifier = Nothing, Optional serviceGatewayId As ResourceIdentifier = Nothing, Optional skuName As Nullable(Of NatGatewaySkuName) = Nothing, Optional zones As IEnumerable(Of String) = Nothing, Optional eTag As Nullable(Of ETag) = Nothing) As NatGatewayData
Parameters
Resource ID.
- name
- String
Resource name.
- type
- String
Resource type.
- location
- Nullable<AzureLocation>
Resource location.
- tags
- IDictionary<String,String>
Resource tags.
- publicIpAddresses
- IEnumerable<NetworkSubResource>
An array of public ip addresses V4 associated with the nat gateway resource.
- publicIpAddressesV6
- IEnumerable<NetworkSubResource>
An array of public ip addresses V6 associated with the nat gateway resource.
- publicIpPrefixes
- IEnumerable<NetworkSubResource>
An array of public ip prefixes V4 associated with the nat gateway resource.
- publicIpPrefixesV6
- IEnumerable<NetworkSubResource>
An array of public ip prefixes V6 associated with the nat gateway resource.
- subnets
- IEnumerable<WritableSubResource>
An array of references to the subnets using this nat gateway resource.
- nat64
- Nullable<Nat64State>
Whether Nat64 is enabled for the NAT gateway resource.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the NAT gateway resource.
- sourceVirtualNetworkId
- ResourceIdentifier
Resource ID.
- serviceGatewayId
- ResourceIdentifier
Resource ID.
- skuName
- Nullable<NatGatewaySkuName>
Name of Nat Gateway SKU.
- zones
- IEnumerable<String>
A list of availability zones denoting the zone in which Nat Gateway should be deployed.
Returns
A new NatGatewayData instance for mocking.