Show / Hide Table of Contents

    Class ServiceUnit

    Defines a service unit.

    Inheritance
    Object
    ServiceUnitProperties
    ServiceUnit
    Inherited Members
    ServiceUnitProperties.Artifacts
    ServiceUnitProperties.DeploymentMode
    ServiceUnitProperties.TargetResourceGroup
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.DeploymentManager.dll
    Syntax
    public class ServiceUnit : Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnitProperties

    Constructors

    ServiceUnit()

    Initializes a new instance of the ServiceUnit class.

    Declaration
    public ServiceUnit ();

    ServiceUnit(String, DeploymentMode, ServiceUnitArtifacts, String, IList<RolloutStep>)

    Initializes a new instance of the ServiceUnit class.

    Declaration
    public ServiceUnit (string targetResourceGroup, Microsoft.Azure.Management.DeploymentManager.Models.DeploymentMode deploymentMode, Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnitArtifacts artifacts = null, string name = null, System.Collections.Generic.IList<Microsoft.Azure.Management.DeploymentManager.Models.RolloutStep> steps = 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.

    String name

    Name of the service unit.

    IList<RolloutStep> steps

    Detailed step information, if present.

    Properties

    Name

    Gets or sets name of the service unit.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="name")]
    public string Name { get; set; }
    Property Value
    String

    Steps

    Gets or sets detailed step information, if present.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="steps")]
    public System.Collections.Generic.IList<Microsoft.Azure.Management.DeploymentManager.Models.RolloutStep> Steps { get; set; }
    Property Value
    IList<RolloutStep>

    Methods

    Validate()

    Validate the object.

    Declaration
    public override void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net