ArmNetworkModelFactory.VirtualRouterData 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.VirtualRouterData VirtualRouterData(Azure.Core.ResourceIdentifier id = default, string name = default, string type = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, long? virtualRouterAsn = default, System.Collections.Generic.IEnumerable<string> virtualRouterIps = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> peerings = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Azure.Core.ResourceIdentifier hostedSubnetId = default, Azure.Core.ResourceIdentifier hostedGatewayId = default, Azure.ETag? eTag = default);
static member VirtualRouterData : Azure.Core.ResourceIdentifier * string * string * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Nullable<int64> * seq<string> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ETag> -> Azure.ResourceManager.Network.VirtualRouterData
Public Shared Function VirtualRouterData (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 virtualRouterAsn As Nullable(Of Long) = Nothing, Optional virtualRouterIps As IEnumerable(Of String) = Nothing, Optional peerings As IEnumerable(Of WritableSubResource) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional hostedSubnetId As ResourceIdentifier = Nothing, Optional hostedGatewayId As ResourceIdentifier = Nothing, Optional eTag As Nullable(Of ETag) = Nothing) As VirtualRouterData
Parameters
Resource ID.
- name
- String
Resource name.
- type
- String
Resource type.
- location
- Nullable<AzureLocation>
Resource location.
- tags
- IDictionary<String,String>
Resource tags.
- virtualRouterIps
- IEnumerable<String>
VirtualRouter IPs.
- peerings
- IEnumerable<WritableSubResource>
List of references to VirtualRouterPeerings.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the resource.
- hostedSubnetId
- ResourceIdentifier
Resource ID.
- hostedGatewayId
- ResourceIdentifier
Resource ID.
Returns
A new VirtualRouterData instance for mocking.