Class ServiceUnitProperties
Defines the properties of a service unit.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.DeploymentManager.dll
Syntax
public class ServiceUnitProperties
Constructors
ServiceUnitProperties()
Initializes a new instance of the ServiceUnitProperties class.
Declaration
public ServiceUnitProperties ();
ServiceUnitProperties(String, DeploymentMode, ServiceUnitArtifacts)
Initializes a new instance of the ServiceUnitProperties class.
Declaration
public ServiceUnitProperties (string targetResourceGroup, Microsoft.Azure.Management.DeploymentManager.Models.DeploymentMode deploymentMode, Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnitArtifacts artifacts = null);
Parameters
|
String
targetResourceGroup
The Azure Resource Group to which the resources in the service unit belong to or should be deployed to. |
|
DeploymentMode
deploymentMode
Describes the type of ARM deployment to be performed on the resource. Possible values include: 'Incremental', 'Complete' |
|
ServiceUnitArtifacts
artifacts
The artifacts for the service unit. |
Properties
Artifacts
Gets or sets the artifacts for the service unit.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="artifacts")]
public Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnitArtifacts Artifacts { get; set; }
Property Value
|
ServiceUnitArtifacts
|
DeploymentMode
Gets or sets describes the type of ARM deployment to be performed on the resource. Possible values include: 'Incremental', 'Complete'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="deploymentMode")]
public Microsoft.Azure.Management.DeploymentManager.Models.DeploymentMode DeploymentMode { get; set; }
Property Value
|
DeploymentMode
|
TargetResourceGroup
Gets or sets the Azure Resource Group to which the resources in the service unit belong to or should be deployed to.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="targetResourceGroup")]
public string TargetResourceGroup { get; set; }
Property Value
|
String
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
|
ValidationException
Thrown if validation fails |