# AzureLogAnalyticsWorkspaceResource Properties

- Package: [Aspire.Hosting.Azure.OperationalInsights](/reference/api/csharp/aspire.hosting.azure.operationalinsights.md)
- Type: [AzureLogAnalyticsWorkspaceResource](/reference/api/csharp/aspire.hosting.azure.operationalinsights/azureloganalyticsworkspaceresource.md)
- Kind: `Properties`
- Members: `3`

A resource that represents an Azure Log Analytics Workspace resource.

## Id

- Name: `Id`
- Modifiers: `get`
- Returns: `BicepOutputReference`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure.OperationalInsights/AzureLogAnalyticsWorkspaceResource.cs#L27)

The identifier associated with the Azure Log Analytics Workspace resource.

```csharp
public BicepOutputReference Id { get; }
```

## NameOutputReference

- Name: `NameOutputReference`
- Modifiers: `get`
- Returns: `BicepOutputReference`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure.OperationalInsights/AzureLogAnalyticsWorkspaceResource.cs#L22)

Gets the "name" output reference for the resource.

```csharp
public BicepOutputReference NameOutputReference { get; }
```

## WorkspaceId

- Name: `WorkspaceId`
- Modifiers: `get`
- Returns: `BicepOutputReference`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure.OperationalInsights/AzureLogAnalyticsWorkspaceResource.cs#L32)

Gets the "logAnalyticsWorkspaceId" output reference for the Azure Log Analytics Workspace resource.

```csharp
public BicepOutputReference WorkspaceId { get; }
```
