Udostępnij za pośrednictwem


ArmNetworkModelFactory.ExpressRoutePortAuthorizationData Method

Definition

Initializes a new instance of ExpressRoutePortAuthorizationData.

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

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.

authorizationKey
String

The authorization key.

authorizationUseStatus
Nullable<ExpressRoutePortAuthorizationUseStatus>

The authorization use status.

circuitResourceUri
Uri

The reference to the ExpressRoute circuit resource using the authorization.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the authorization resource.

Returns

A new ExpressRoutePortAuthorizationData instance for mocking.

Applies to