ArmPeeringModelFactory.PeeringLocation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of PeeringLocation.
public static Azure.ResourceManager.Peering.Models.PeeringLocation PeeringLocation (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Peering.Models.PeeringKind? kind = default, Azure.ResourceManager.Peering.Models.DirectPeeringLocationProperties direct = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Peering.Models.ExchangePeeringFacility> exchangePeeringFacilities = default, string peeringLocationValue = default, string country = default, Azure.Core.AzureLocation? azureRegion = default);
static member PeeringLocation : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Peering.Models.PeeringKind> * Azure.ResourceManager.Peering.Models.DirectPeeringLocationProperties * seq<Azure.ResourceManager.Peering.Models.ExchangePeeringFacility> * string * string * Nullable<Azure.Core.AzureLocation> -> Azure.ResourceManager.Peering.Models.PeeringLocation
Public Shared Function PeeringLocation (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional kind As Nullable(Of PeeringKind) = Nothing, Optional direct As DirectPeeringLocationProperties = Nothing, Optional exchangePeeringFacilities As IEnumerable(Of ExchangePeeringFacility) = Nothing, Optional peeringLocationValue As String = Nothing, Optional country As String = Nothing, Optional azureRegion As Nullable(Of AzureLocation) = Nothing) As PeeringLocation
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- kind
- Nullable<PeeringKind>
The kind of peering that the peering location supports.
The properties that define a direct peering location.
- exchangePeeringFacilities
- IEnumerable<ExchangePeeringFacility>
The properties that define an exchange peering location.
- peeringLocationValue
- String
The name of the peering location.
- country
- String
The country in which the peering location exists.
- azureRegion
- Nullable<AzureLocation>
The Azure region associated with the peering location.
Returns
A new PeeringLocation instance for mocking.