Udostępnij za pośrednictwem


ArmNetworkModelFactory.VirtualHubRouteTableV2Data Method

Definition

Initializes a new instance of VirtualHubRouteTableV2Data.

public static Azure.ResourceManager.Network.VirtualHubRouteTableV2Data VirtualHubRouteTableV2Data (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.VirtualHubRouteV2> routes = default, System.Collections.Generic.IEnumerable<string> attachedConnections = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member VirtualHubRouteTableV2Data : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * seq<Azure.ResourceManager.Network.Models.VirtualHubRouteV2> * seq<string> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.VirtualHubRouteTableV2Data
Public Shared Function VirtualHubRouteTableV2Data (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional routes As IEnumerable(Of VirtualHubRouteV2) = Nothing, Optional attachedConnections As IEnumerable(Of String) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As VirtualHubRouteTableV2Data

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

etag
Nullable<ETag>

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

routes
IEnumerable<VirtualHubRouteV2>

List of all routes.

attachedConnections
IEnumerable<String>

List of all connections attached to this route table v2.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the virtual hub route table v2 resource.

Returns

A new VirtualHubRouteTableV2Data instance for mocking.

Applies to