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.
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, string peeringLocationValue = default, string country = default, Azure.Core.AzureLocation? azureRegion = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Peering.Models.ExchangePeeringFacility> exchangePeeringFacilities = 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 * string * string * Nullable<Azure.Core.AzureLocation> * seq<Azure.ResourceManager.Peering.Models.ExchangePeeringFacility> -> 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 peeringLocationValue As String = Nothing, Optional country As String = Nothing, Optional azureRegion As Nullable(Of AzureLocation) = Nothing, Optional exchangePeeringFacilities As IEnumerable(Of ExchangePeeringFacility) = Nothing) As PeeringLocation
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- kind
- Nullable<PeeringKind>
The kind of peering that the peering location supports.
The properties that define a direct 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.
- exchangePeeringFacilities
- IEnumerable<ExchangePeeringFacility>
The list of exchange peering facilities at the peering location.
Returns
A new PeeringLocation instance for mocking.