OperationalInsightsWorkspaceData Class

Definition

A class representing the OperationalInsightsWorkspace data model. The top level Workspace resource container.

public class OperationalInsightsWorkspaceData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.OperationalInsights.OperationalInsightsWorkspaceData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.OperationalInsights.OperationalInsightsWorkspaceData>
type OperationalInsightsWorkspaceData = class
    inherit TrackedResourceData
    interface IJsonModel<OperationalInsightsWorkspaceData>
    interface IPersistableModel<OperationalInsightsWorkspaceData>
Public Class OperationalInsightsWorkspaceData
Inherits TrackedResourceData
Implements IJsonModel(Of OperationalInsightsWorkspaceData), IPersistableModel(Of OperationalInsightsWorkspaceData)
Inheritance
OperationalInsightsWorkspaceData
Implements

Constructors

OperationalInsightsWorkspaceData(AzureLocation)

Initializes a new instance of OperationalInsightsWorkspaceData.

Properties

CreatedOn

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

ETag

The etag of the workspace.

Features

Workspace features.

ForceCmkForQuery

Indicates whether customer managed storage is mandatory for query management.

Id

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

(Inherited from ResourceData)
Identity

The identity of the resource. Current supported identity types: None, SystemAssigned, UserAssigned.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
ModifiedOn

Workspace modification date.

Name

The name of the resource.

(Inherited from ResourceData)
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.

ResourceType

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

(Inherited from ResourceData)
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.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
WorkspaceCapping

The daily volume cap for ingestion.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<OperationalInsightsWorkspaceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<OperationalInsightsWorkspaceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<OperationalInsightsWorkspaceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<OperationalInsightsWorkspaceData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<OperationalInsightsWorkspaceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to