语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

ArmNetworkModelFactory.NetworkManagerRoutingRulesData Method

Definition

Initializes a new instance of NetworkManagerRoutingRulesData.

public static Azure.ResourceManager.Network.NetworkManagerRoutingRulesData NetworkManagerRoutingRulesData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string description = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Guid? resourceGuid = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.NetworkManagerRoutingGroupItem> appliesTo = default, Azure.ResourceManager.Network.Models.DisableBgpRoutePropagation? disableBgpRoutePropagation = default, Azure.ETag? etag = default);
static member NetworkManagerRoutingRulesData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<Guid> * seq<Azure.ResourceManager.Network.Models.NetworkManagerRoutingGroupItem> * Nullable<Azure.ResourceManager.Network.Models.DisableBgpRoutePropagation> * Nullable<Azure.ETag> -> Azure.ResourceManager.Network.NetworkManagerRoutingRulesData
Public Shared Function NetworkManagerRoutingRulesData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional description As String = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing, Optional appliesTo As IEnumerable(Of NetworkManagerRoutingGroupItem) = Nothing, Optional disableBgpRoutePropagation As Nullable(Of DisableBgpRoutePropagation) = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As NetworkManagerRoutingRulesData

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

description
String

A description of the routing rule collection.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the resource.

resourceGuid
Nullable<Guid>

Unique identifier for this resource.

appliesTo
IEnumerable<NetworkManagerRoutingGroupItem>

Groups for configuration.

disableBgpRoutePropagation
Nullable<DisableBgpRoutePropagation>

Determines whether BGP route propagation is enabled. Defaults to true.

etag
Nullable<ETag>

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

Returns

A new NetworkManagerRoutingRulesData instance for mocking.

Applies to