WorkspacePatch interface

The top level Workspace resource container.

Extends

Properties

createdDate

Workspace creation date. NOTE: This property will not be serialized. It can only be populated by the server.

customerId

This is a read-only property. Represents the ID associated with the workspace. NOTE: This property will not be serialized. It can only be populated by the server.

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}.

features

Workspace features.

forceCmkForQuery

Indicates whether customer managed storage is mandatory for query management.

identity

The identity of the resource.

modifiedDate

Workspace modification date. NOTE: This property will not be serialized. It can only be populated by the server.

privateLinkScopedResources

List of linked private link scope resources. NOTE: This property will not be serialized. It can only be populated by the server.

provisioningState

The provisioning state of the workspace. NOTE: This property will not be serialized. It can only be populated by the server.

publicNetworkAccessForIngestion

The network access type for accessing Log Analytics ingestion.

publicNetworkAccessForQuery

The network access type for accessing Log Analytics query.

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. NOTE: This property will not be serialized. It can only be populated by the server.

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} NOTE: This property will not be serialized. It can only be populated by the server.

name

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

createdDate

Workspace creation date. NOTE: This property will not be serialized. It can only be populated by the server.

createdDate?: string

Property Value

string

customerId

This is a read-only property. Represents the ID associated with the workspace. NOTE: This property will not be serialized. It can only be populated by the server.

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

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. NOTE: This property will not be serialized. It can only be populated by the server.

modifiedDate?: string

Property Value

string

privateLinkScopedResources

List of linked private link scope resources. NOTE: This property will not be serialized. It can only be populated by the server.

privateLinkScopedResources?: PrivateLinkScopedResource[]

Property Value

provisioningState

The provisioning state of the workspace. NOTE: This property will not be serialized. It can only be populated by the server.

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

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?: {[propertyName: string]: string}

Property Value

{[propertyName: string]: string}

workspaceCapping

The daily volume cap for ingestion.

workspaceCapping?: WorkspaceCapping

Property Value

Inherited Property Details

etag

Resource Etag. NOTE: This property will not be serialized. It can only be populated by the server.

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} NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Property Value

string

Inherited From AzureEntityResource.id

name

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

Inherited From AzureEntityResource.name

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string

Inherited From AzureEntityResource.type