ArmPeeringModelFactory.PeeringServiceLocation Method

Definition

Initializes a new instance of PeeringServiceLocation.

public static Azure.ResourceManager.Peering.Models.PeeringServiceLocation PeeringServiceLocation(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string country = default, string state = default, Azure.Core.AzureLocation? azureRegion = default);
static member PeeringServiceLocation : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<Azure.Core.AzureLocation> -> Azure.ResourceManager.Peering.Models.PeeringServiceLocation
Public Shared Function PeeringServiceLocation (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional country As String = Nothing, Optional state As String = Nothing, Optional azureRegion As Nullable(Of AzureLocation) = Nothing) As PeeringServiceLocation

Parameters

id
ResourceIdentifier

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.

country
String

Country of the customer.

state
String

State of the customer.

azureRegion
Nullable<AzureLocation>

Azure region for the location.

Returns

A new PeeringServiceLocation instance for mocking.

Applies to