Class ServiceProperties
The properties of a service.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.DeploymentManager.dll
Syntax
public class ServiceProperties
Constructors
ServiceProperties()
Initializes a new instance of the ServiceProperties class.
Declaration
public ServiceProperties ();
ServiceProperties(String, String)
Initializes a new instance of the ServiceProperties class.
Declaration
public ServiceProperties (string targetLocation, string targetSubscriptionId);
Parameters
|
String
targetLocation
The Azure location to which the resources in the service belong to or should be deployed to. |
|
String
targetSubscriptionId
The subscription to which the resources in the service belong to or should be deployed to. |
Properties
TargetLocation
Gets or sets the Azure location to which the resources in the service belong to or should be deployed to.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="targetLocation")]
public string TargetLocation { get; set; }
Property Value
|
String
|
TargetSubscriptionId
Gets or sets the subscription to which the resources in the service belong to or should be deployed to.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="targetSubscriptionId")]
public string TargetSubscriptionId { get; set; }
Property Value
|
String
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
|
ValidationException
Thrown if validation fails |