ArmNetworkModelFactory.ExpressRouteServiceProvider Method

Definition

Initializes a new instance of ExpressRouteServiceProvider.

public static Azure.ResourceManager.Network.Models.ExpressRouteServiceProvider ExpressRouteServiceProvider (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, System.Collections.Generic.IEnumerable<string> peeringLocations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ExpressRouteServiceProviderBandwidthsOffered> bandwidthsOffered = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member ExpressRouteServiceProvider : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * seq<string> * seq<Azure.ResourceManager.Network.Models.ExpressRouteServiceProviderBandwidthsOffered> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.Models.ExpressRouteServiceProvider
Public Shared Function ExpressRouteServiceProvider (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 peeringLocations As IEnumerable(Of String) = Nothing, Optional bandwidthsOffered As IEnumerable(Of ExpressRouteServiceProviderBandwidthsOffered) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As ExpressRouteServiceProvider

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.

peeringLocations
IEnumerable<String>

A list of peering locations.

bandwidthsOffered
IEnumerable<ExpressRouteServiceProviderBandwidthsOffered>

A list of bandwidths offered.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the express route service provider resource.

Returns

A new ExpressRouteServiceProvider instance for mocking.

Applies to