### YamlMime:JavaType
uid: "com.microsoft.azure.management.monitor.WorkspaceInfo"
fullName: "com.microsoft.azure.management.monitor.WorkspaceInfo"
name: "WorkspaceInfo"
nameWithType: "WorkspaceInfo"
summary: "Information about a Log Analytics Workspace."
inheritances:
- ""
inheritedClassMethods:
- classRef: ""
methodsRef:
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
syntax: "public class **WorkspaceInfo**"
constructors:
- uid: "com.microsoft.azure.management.monitor.WorkspaceInfo.WorkspaceInfo()"
fullName: "com.microsoft.azure.management.monitor.WorkspaceInfo.WorkspaceInfo()"
name: "WorkspaceInfo()"
nameWithType: "WorkspaceInfo.WorkspaceInfo()"
syntax: "public WorkspaceInfo()"
methods:
- uid: "com.microsoft.azure.management.monitor.WorkspaceInfo.customerId()"
fullName: "com.microsoft.azure.management.monitor.WorkspaceInfo.customerId()"
name: "customerId()"
nameWithType: "WorkspaceInfo.customerId()"
summary: "Get log Analytics workspace identifier."
syntax: "public String customerId()"
desc: "Get log Analytics workspace identifier."
returns:
description: "the customerId value"
type: ""
- uid: "com.microsoft.azure.management.monitor.WorkspaceInfo.id()"
fullName: "com.microsoft.azure.management.monitor.WorkspaceInfo.id()"
name: "id()"
nameWithType: "WorkspaceInfo.id()"
summary: "Get azure Resource Manager identifier of the Log Analytics Workspace."
syntax: "public String id()"
desc: "Get azure Resource Manager identifier of the Log Analytics Workspace."
returns:
description: "the id value"
type: ""
- uid: "com.microsoft.azure.management.monitor.WorkspaceInfo.location()"
fullName: "com.microsoft.azure.management.monitor.WorkspaceInfo.location()"
name: "location()"
nameWithType: "WorkspaceInfo.location()"
summary: "Get location of the Log Analytics workspace."
syntax: "public String location()"
desc: "Get location of the Log Analytics workspace."
returns:
description: "the location value"
type: ""
- uid: "com.microsoft.azure.management.monitor.WorkspaceInfo.withCustomerId(java.lang.String)"
fullName: "com.microsoft.azure.management.monitor.WorkspaceInfo.withCustomerId(String customerId)"
name: "withCustomerId(String customerId)"
nameWithType: "WorkspaceInfo.withCustomerId(String customerId)"
summary: "Set log Analytics workspace identifier."
parameters:
- description: "the customerId value to set"
name: "customerId"
type: ""
syntax: "public WorkspaceInfo withCustomerId(String customerId)"
desc: "Set log Analytics workspace identifier."
returns:
description: "the WorkspaceInfo object itself."
type: ""
- uid: "com.microsoft.azure.management.monitor.WorkspaceInfo.withId(java.lang.String)"
fullName: "com.microsoft.azure.management.monitor.WorkspaceInfo.withId(String id)"
name: "withId(String id)"
nameWithType: "WorkspaceInfo.withId(String id)"
summary: "Set azure Resource Manager identifier of the Log Analytics Workspace."
parameters:
- description: "the id value to set"
name: "id"
type: ""
syntax: "public WorkspaceInfo withId(String id)"
desc: "Set azure Resource Manager identifier of the Log Analytics Workspace."
returns:
description: "the WorkspaceInfo object itself."
type: ""
- uid: "com.microsoft.azure.management.monitor.WorkspaceInfo.withLocation(java.lang.String)"
fullName: "com.microsoft.azure.management.monitor.WorkspaceInfo.withLocation(String location)"
name: "withLocation(String location)"
nameWithType: "WorkspaceInfo.withLocation(String location)"
summary: "Set location of the Log Analytics workspace."
parameters:
- description: "the location value to set"
name: "location"
type: ""
syntax: "public WorkspaceInfo withLocation(String location)"
desc: "Set location of the Log Analytics workspace."
returns:
description: "the WorkspaceInfo object itself."
type: ""
type: "class"
desc: "Information about a Log Analytics Workspace."
metadata: {}
package: "com.microsoft.azure.management.monitor"
artifact: com.microsoft.azure:azure-mgmt-monitor:1.41.4