WorkspaceProperties interface

Workspace properties.

Properties

createdDate

Workspace creation date.

customerId

This is a read-only property. Represents the ID associated with the workspace.

defaultDataCollectionRuleResourceId

The resource ID of the default Data Collection Rule to use for this workspace. Expected format is - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dcrName}.

failover

workspace failover properties.

features

Workspace features.

forceCmkForQuery

Indicates whether customer managed storage is mandatory for query management.

modifiedDate

Workspace modification date.

privateLinkScopedResources

List of linked private link scope resources.

provisioningState

The provisioning state of the workspace.

publicNetworkAccessForIngestion

The network access type for accessing Log Analytics ingestion.

publicNetworkAccessForQuery

The network access type for accessing Log Analytics query.

replication

workspace replication properties.

retentionInDays

The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details.

sku

The SKU of the workspace.

workspaceCapping

The daily volume cap for ingestion.

Property Details

createdDate

Workspace creation date.

createdDate?: Date

Property Value

Date

customerId

This is a read-only property. Represents the ID associated with the workspace.

customerId?: string

Property Value

string

defaultDataCollectionRuleResourceId

The resource ID of the default Data Collection Rule to use for this workspace. Expected format is - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dcrName}.

defaultDataCollectionRuleResourceId?: string

Property Value

string

failover

workspace failover properties.

failover?: WorkspaceFailoverProperties

Property Value

features

Workspace features.

features?: WorkspaceFeatures

Property Value

forceCmkForQuery

Indicates whether customer managed storage is mandatory for query management.

forceCmkForQuery?: boolean

Property Value

boolean

modifiedDate

Workspace modification date.

modifiedDate?: Date

Property Value

Date

privateLinkScopedResources

List of linked private link scope resources.

privateLinkScopedResources?: PrivateLinkScopedResource[]

Property Value

provisioningState

The provisioning state of the workspace.

provisioningState?: string

Property Value

string

publicNetworkAccessForIngestion

The network access type for accessing Log Analytics ingestion.

publicNetworkAccessForIngestion?: string

Property Value

string

publicNetworkAccessForQuery

The network access type for accessing Log Analytics query.

publicNetworkAccessForQuery?: string

Property Value

string

replication

workspace replication properties.

replication?: WorkspaceReplicationProperties

Property Value

retentionInDays

The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details.

retentionInDays?: number

Property Value

number

sku

The SKU of the workspace.

sku?: WorkspaceSku

Property Value

workspaceCapping

The daily volume cap for ingestion.

workspaceCapping?: WorkspaceCapping

Property Value