Class ServiceUnitResource
Represents the response of a service unit resource.
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.DeploymentManager.dll
Syntax
[Microsoft.Rest.Serialization.JsonTransformation]
public class ServiceUnitResource : Microsoft.Azure.Management.DeploymentManager.Models.TrackedResource
Constructors
ServiceUnitResource()
Initializes a new instance of the ServiceUnitResource class.
Declaration
public ServiceUnitResource ();
ServiceUnitResource(String, String, DeploymentMode, String, String, String, IDictionary<String,String>, ServiceUnitArtifacts)
Initializes a new instance of the ServiceUnitResource class.
Declaration
public ServiceUnitResource (string location, string targetResourceGroup, Microsoft.Azure.Management.DeploymentManager.Models.DeploymentMode deploymentMode, string id = null, string name = null, string type = null, System.Collections.Generic.IDictionary<string,string> tags = null, Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnitArtifacts artifacts = null);
Parameters
|
String
location
The geo-location where the resource lives |
|
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' |
|
String
id
Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
|
String
name
The name of the resource |
|
String
type
The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. |
|
IDictionary<String,String>
tags
Resource tags. |
|
ServiceUnitArtifacts
artifacts
The artifacts for the service unit. |
Properties
Artifacts
Gets or sets the artifacts for the service unit.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.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="properties.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="properties.targetResourceGroup")]
public string TargetResourceGroup { get; set; }
Property Value
|
String
|
Methods
Validate()
Validate the object.
Declaration
public override void Validate ();
Exceptions
|
ValidationException
Thrown if validation fails |