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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET