Udostępnij za pośrednictwem


ArmNetworkModelFactory.RouteTableData Method

Definition

Initializes a new instance of RouteTableData.

public static Azure.ResourceManager.Network.RouteTableData RouteTableData (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, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.RouteData> routes = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.SubnetData> subnets = default, bool? disableBgpRoutePropagation = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Guid? resourceGuid = default);
static member RouteTableData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ETag> * seq<Azure.ResourceManager.Network.RouteData> * seq<Azure.ResourceManager.Network.SubnetData> * Nullable<bool> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<Guid> -> Azure.ResourceManager.Network.RouteTableData
Public Shared Function RouteTableData (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 routes As IEnumerable(Of RouteData) = Nothing, Optional subnets As IEnumerable(Of SubnetData) = Nothing, Optional disableBgpRoutePropagation As Nullable(Of Boolean) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing) As RouteTableData

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

location
Nullable<AzureLocation>

Resource location.

tags
IDictionary<String,String>

Resource tags.

etag
Nullable<ETag>

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

routes
IEnumerable<RouteData>

Collection of routes contained within a route table.

subnets
IEnumerable<SubnetData>

A collection of references to subnets.

disableBgpRoutePropagation
Nullable<Boolean>

Whether to disable the routes learned by BGP on that route table. True means disable.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the route table resource.

resourceGuid
Nullable<Guid>

The resource GUID property of the route table.

Returns

A new RouteTableData instance for mocking.

Applies to