ServiceResourceData(AzureLocation, String, String) Constructor

Definition

Initializes a new instance of ServiceResourceData.

public ServiceResourceData (Azure.Core.AzureLocation location, string targetLocation, string targetSubscriptionId);
new Azure.ResourceManager.DeploymentManager.ServiceResourceData : Azure.Core.AzureLocation * string * string -> Azure.ResourceManager.DeploymentManager.ServiceResourceData
Public Sub New (location As AzureLocation, targetLocation As String, targetSubscriptionId As String)

Parameters

location
AzureLocation

The location.

targetLocation
String

The Azure location to which the resources in the service belong to or should be deployed to.

targetSubscriptionId
String

The subscription to which the resources in the service belong to or should be deployed to.

Exceptions

targetLocation or targetSubscriptionId is null.

Applies to