Show / Hide Table of Contents

    Class Service

    Defines a service.

    Inheritance
    Object
    ServiceProperties
    Service
    Inherited Members
    ServiceProperties.TargetLocation
    ServiceProperties.TargetSubscriptionId
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.DeploymentManager.dll
    Syntax
    public class Service : Microsoft.Azure.Management.DeploymentManager.Models.ServiceProperties

    Constructors

    Service()

    Initializes a new instance of the Service class.

    Declaration
    public Service ();

    Service(String, String, String, IList<ServiceUnit>)

    Initializes a new instance of the Service class.

    Declaration
    public Service (string targetLocation, string targetSubscriptionId, string name = null, System.Collections.Generic.IList<Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnit> serviceUnits = null);
    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.

    String name

    Name of the service.

    IList<ServiceUnit> serviceUnits

    The detailed information about the units that make up the service.

    Properties

    Name

    Gets or sets name of the service.

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

    ServiceUnits

    Gets or sets the detailed information about the units that make up the service.

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

    Methods

    Validate()

    Validate the object.

    Declaration
    public override void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net