ArmDeploymentManagerModelFactory.ServiceProperties(String, String) 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 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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET