Sdílet prostřednictvím


ArmNetworkModelFactory.ScopeConnectionData Method

Definition

Initializes a new instance of ScopeConnectionData.

public static Azure.ResourceManager.Network.ScopeConnectionData ScopeConnectionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Guid? tenantId = default, Azure.Core.ResourceIdentifier resourceId = default, Azure.ResourceManager.Network.Models.ScopeConnectionState? connectionState = default, string description = default, Azure.ETag? etag = default);
static member ScopeConnectionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Guid> * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Network.Models.ScopeConnectionState> * string * Nullable<Azure.ETag> -> Azure.ResourceManager.Network.ScopeConnectionData
Public Shared Function ScopeConnectionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional resourceId As ResourceIdentifier = Nothing, Optional connectionState As Nullable(Of ScopeConnectionState) = Nothing, Optional description As String = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As ScopeConnectionData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tenantId
Nullable<Guid>

Tenant ID.

resourceId
ResourceIdentifier

Resource ID.

connectionState
Nullable<ScopeConnectionState>

Connection State.

description
String

A description of the scope connection.

etag
Nullable<ETag>

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

Returns

A new ScopeConnectionData instance for mocking.

Applies to