Udostępnij za pośrednictwem


ArmNetworkModelFactory.ResourceNavigationLink Method

Definition

Initializes a new instance of ResourceNavigationLink.

public static Azure.ResourceManager.Network.Models.ResourceNavigationLink ResourceNavigationLink (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, Azure.Core.ResourceType? linkedResourceType = default, Azure.Core.ResourceIdentifier link = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member ResourceNavigationLink : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * Nullable<Azure.Core.ResourceType> * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.Models.ResourceNavigationLink
Public Shared Function ResourceNavigationLink (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 linkedResourceType As Nullable(Of ResourceType) = Nothing, Optional link As ResourceIdentifier = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As ResourceNavigationLink

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.

linkedResourceType
Nullable<ResourceType>

Resource type of the linked resource.

link
ResourceIdentifier

Link to the external resource.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the resource navigation link resource.

Returns

A new ResourceNavigationLink instance for mocking.

Applies to