Show / Hide Table of Contents

    Class ServiceTopologyResource

    The resource representation of a service topology.

    Inheritance
    Object
    Resource
    TrackedResource
    ServiceTopologyResource
    Inherited Members
    Resource.Id
    Resource.Name
    Resource.Type
    TrackedResource.Location
    TrackedResource.Tags
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.DeploymentManager.dll
    Syntax
    [Microsoft.Rest.Serialization.JsonTransformation]
    public class ServiceTopologyResource : Microsoft.Azure.Management.DeploymentManager.Models.TrackedResource

    Constructors

    ServiceTopologyResource()

    Initializes a new instance of the ServiceTopologyResource class.

    Declaration
    public ServiceTopologyResource ();

    ServiceTopologyResource(String, String, String, String, IDictionary<String,String>, String)

    Initializes a new instance of the ServiceTopologyResource class.

    Declaration
    public ServiceTopologyResource (string location, string id = null, string name = null, string type = null, System.Collections.Generic.IDictionary<string,string> tags = null, string artifactSourceId = null);
    Parameters
    String location

    The geo-location where the resource lives

    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.

    String artifactSourceId

    The resource Id of the artifact source that contains the artifacts that can be referenced in the service units.

    Properties

    ArtifactSourceId

    Gets or sets the resource Id of the artifact source that contains the artifacts that can be referenced in the service units.

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

    Methods

    Validate()

    Validate the object.

    Declaration
    public override void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net