WorkspacePatch interface

The top level Workspace resource container.

Extends

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.

identity

The identity of the resource.

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.

tags

Resource tags. Optional.

workspaceCapping

The daily volume cap for ingestion.

Inherited Properties

etag

Resource Etag.

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

The name of the resource

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

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

identity

The identity of the resource.

identity?: Identity

Property Value

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

tags

Resource tags. Optional.

tags?: Record<string, string>

Property Value

Record<string, string>

workspaceCapping

The daily volume cap for ingestion.

workspaceCapping?: WorkspaceCapping

Property Value

Inherited Property Details

etag

Resource Etag.

etag?: string

Property Value

string

Inherited From AzureEntityResource.etag

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

id?: string

Property Value

string

Inherited From AzureEntityResource.id

name

The name of the resource

name?: string

Property Value

string

Inherited From AzureEntityResource.name

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

systemData?: SystemData

Property Value

Inherited From AzureEntityResource.systemData

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

type?: string

Property Value

string

Inherited From AzureEntityResource.type