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.
Initializes a new instance of VirtualRouterData.
public static Azure.ResourceManager.Network.VirtualRouterData VirtualRouterData (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, long? virtualRouterAsn = default, System.Collections.Generic.IEnumerable<string> virtualRouterIPs = default, Azure.Core.ResourceIdentifier hostedSubnetId = default, Azure.Core.ResourceIdentifier hostedGatewayId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> peerings = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member VirtualRouterData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ETag> * Nullable<int64> * seq<string> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.VirtualRouterData
Public Shared Function VirtualRouterData (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 virtualRouterAsn As Nullable(Of Long) = Nothing, Optional virtualRouterIPs As IEnumerable(Of String) = Nothing, Optional hostedSubnetId As ResourceIdentifier = Nothing, Optional hostedGatewayId As ResourceIdentifier = Nothing, Optional peerings As IEnumerable(Of WritableSubResource) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As VirtualRouterData
Parameters
Resource ID.
- name
- String
Resource name.
- resourceType
- Nullable<ResourceType>
Resource type.
- location
- Nullable<AzureLocation>
Resource location.
- tags
- IDictionary<String,String>
Resource tags.
- virtualRouterIPs
- IEnumerable<String>
VirtualRouter IPs.
- hostedSubnetId
- ResourceIdentifier
The Subnet on which VirtualRouter is hosted.
- hostedGatewayId
- ResourceIdentifier
The Gateway on which VirtualRouter is hosted.
- peerings
- IEnumerable<WritableSubResource>
List of references to VirtualRouterPeerings.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the resource.
Returns
A new VirtualRouterData instance for mocking.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET