ArmNetworkModelFactory.ExpressRoutePortData Method

Definition

Initializes a new instance of ExpressRoutePortData.

public static Azure.ResourceManager.Network.ExpressRoutePortData ExpressRoutePortData (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, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, string peeringLocation = default, int? bandwidthInGbps = default, float? provisionedBandwidthInGbps = default, string mtu = default, Azure.ResourceManager.Network.Models.ExpressRoutePortsEncapsulation? encapsulation = default, string etherType = default, string allocationDate = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.ExpressRouteLinkData> links = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> circuits = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Guid? resourceGuid = default, Azure.ResourceManager.Network.Models.ExpressRoutePortsBillingType? billingType = default);
static member ExpressRoutePortData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ETag> * Azure.ResourceManager.Models.ManagedServiceIdentity * string * Nullable<int> * Nullable<single> * string * Nullable<Azure.ResourceManager.Network.Models.ExpressRoutePortsEncapsulation> * string * string * seq<Azure.ResourceManager.Network.ExpressRouteLinkData> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<Guid> * Nullable<Azure.ResourceManager.Network.Models.ExpressRoutePortsBillingType> -> Azure.ResourceManager.Network.ExpressRoutePortData
Public Shared Function ExpressRoutePortData (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 identity As ManagedServiceIdentity = Nothing, Optional peeringLocation As String = Nothing, Optional bandwidthInGbps As Nullable(Of Integer) = Nothing, Optional provisionedBandwidthInGbps As Nullable(Of Single) = Nothing, Optional mtu As String = Nothing, Optional encapsulation As Nullable(Of ExpressRoutePortsEncapsulation) = Nothing, Optional etherType As String = Nothing, Optional allocationDate As String = Nothing, Optional links As IEnumerable(Of ExpressRouteLinkData) = Nothing, Optional circuits As IEnumerable(Of WritableSubResource) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing, Optional billingType As Nullable(Of ExpressRoutePortsBillingType) = Nothing) As ExpressRoutePortData

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.

identity
ManagedServiceIdentity

The identity of ExpressRoutePort, if configured.

peeringLocation
String

The name of the peering location that the ExpressRoutePort is mapped to physically.

bandwidthInGbps
Nullable<Int32>

Bandwidth of procured ports in Gbps.

provisionedBandwidthInGbps
Nullable<Single>

Aggregate Gbps of associated circuit bandwidths.

mtu
String

Maximum transmission unit of the physical port pair(s).

encapsulation
Nullable<ExpressRoutePortsEncapsulation>

Encapsulation method on physical ports.

etherType
String

Ether type of the physical port.

allocationDate
String

Date of the physical port allocation to be used in Letter of Authorization.

links
IEnumerable<ExpressRouteLinkData>

The set of physical links of the ExpressRoutePort resource.

circuits
IEnumerable<WritableSubResource>

Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the express route port resource.

resourceGuid
Nullable<Guid>

The resource GUID property of the express route port resource.

billingType
Nullable<ExpressRoutePortsBillingType>

The billing type of the ExpressRoutePort resource.

Returns

A new ExpressRoutePortData instance for mocking.

Applies to