Show / Hide Table of Contents

    Class WorkspaceInfo

    Information about a Log Analytics Workspace.

    Inheritance
    Object
    WorkspaceInfo
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Monitor.dll
    Syntax
    [Microsoft.Rest.Serialization.JsonTransformation]
    public class WorkspaceInfo

    Constructors

    WorkspaceInfo()

    Initializes a new instance of the WorkspaceInfo class.

    Declaration
    public WorkspaceInfo ();

    WorkspaceInfo(String, String, String)

    Initializes a new instance of the WorkspaceInfo class.

    Declaration
    public WorkspaceInfo (string id, string location, string customerId);
    Parameters
    String id

    Azure Resource Manager identifier of the Log Analytics Workspace.

    String location

    Location of the Log Analytics workspace.

    String customerId

    Log Analytics workspace identifier.

    Properties

    CustomerId

    Gets or sets log Analytics workspace identifier.

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

    Id

    Gets or sets azure Resource Manager identifier of the Log Analytics Workspace.

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

    Location

    Gets or sets location of the Log Analytics workspace.

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

    Methods

    Validate()

    Validate the object.

    Declaration
    public virtual void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net