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.
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> publicIPAddressesV6 = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> publicIPPrefixes = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> publicIPPrefixesV6 = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> subnets = default, Azure.Core.ResourceIdentifier sourceVirtualNetworkId = 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> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Azure.Core.ResourceIdentifier * 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 publicIPAddressesV6 As IEnumerable(Of WritableSubResource) = Nothing, Optional publicIPPrefixes As IEnumerable(Of WritableSubResource) = Nothing, Optional publicIPPrefixesV6 As IEnumerable(Of WritableSubResource) = Nothing, Optional subnets As IEnumerable(Of WritableSubResource) = Nothing, Optional sourceVirtualNetworkId As ResourceIdentifier = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As NatGatewayData
Parameters
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.
- publicIPAddresses
- IEnumerable<WritableSubResource>
An array of public ip addresses V4 associated with the nat gateway resource.
- publicIPAddressesV6
- IEnumerable<WritableSubResource>
An array of public ip addresses V6 associated with the nat gateway resource.
- publicIPPrefixes
- IEnumerable<WritableSubResource>
An array of public ip prefixes V4 associated with the nat gateway resource.
- publicIPPrefixesV6
- IEnumerable<WritableSubResource>
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.
- sourceVirtualNetworkId
- ResourceIdentifier
A reference to the source virtual network using this nat gateway resource.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the NAT gateway resource.
Returns
A new NatGatewayData instance for mocking.