ArmDeploymentManagerModelFactory.ServiceProperties(String, String) Method

Definition

Initializes a new instance of ServiceProperties.

public static Azure.ResourceManager.DeploymentManager.Models.ServiceProperties ServiceProperties (string targetLocation = default, string targetSubscriptionId = default);
static member ServiceProperties : string * string -> Azure.ResourceManager.DeploymentManager.Models.ServiceProperties
Public Shared Function ServiceProperties (Optional targetLocation As String = Nothing, Optional targetSubscriptionId As String = Nothing) As ServiceProperties

Parameters

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.

Returns

A new ServiceProperties instance for mocking.

Exceptions

targetLocation or targetSubscriptionId is null.

Applies to