Share via


MonitorWorkspaceResourceData Class

Definition

A class representing the MonitorWorkspaceResource data model. An Azure Monitor Workspace definition.

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

Constructors

MonitorWorkspaceResourceData(AzureLocation)

Initializes a new instance of MonitorWorkspaceResourceData.

Properties

AccountId

The immutable ID of the Azure Monitor workspace. This property is read-only.

DefaultIngestionSettings

The Data Collection Rule and Endpoint used for ingestion by default.

DefaultIngestionSettingsPropertiesDefaultIngestionSettings

The Data Collection Rule and Endpoint used for ingestion by default.

ETag

Resource entity tag (ETag).

Id

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

(Inherited from ResourceData)
Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Metrics

Properties related to the metrics container in the Azure Monitor Workspace.

MetricsPropertiesMetrics

Information about metrics for the Azure Monitor workspace.

Name

The name of the resource.

(Inherited from ResourceData)
PrivateEndpointConnections

List of private endpoint connections.

ProvisioningState

The provisioning state of the Azure Monitor workspace. Set to Succeeded if everything is healthy.

PublicNetworkAccess

Gets or sets allow or disallow public network access to workspace.

ResourceType

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

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<MonitorWorkspaceResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MonitorWorkspaceResourceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MonitorWorkspaceResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MonitorWorkspaceResourceData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MonitorWorkspaceResourceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to