Share via


AzureMonitorWorkspace Class

Definition

An Azure Monitor Workspace definition.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.PipelineGroup.Models.AzureMonitorWorkspaceTypeConverter))]
public class AzureMonitorWorkspace : Microsoft.Azure.PowerShell.Cmdlets.Monitor.PipelineGroup.Models.IAzureMonitorWorkspace, Microsoft.Azure.PowerShell.Cmdlets.Monitor.PipelineGroup.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.PipelineGroup.Models.AzureMonitorWorkspaceTypeConverter))>]
type AzureMonitorWorkspace = class
    interface IAzureMonitorWorkspace
    interface IJsonSerializable
    interface ITrackedResource
    interface IResource
    interface IValidates
Public Class AzureMonitorWorkspace
Implements IAzureMonitorWorkspace, IValidates
Inheritance
AzureMonitorWorkspace
Attributes
Implements

Constructors

AzureMonitorWorkspace()

Creates an new AzureMonitorWorkspace instance.

Properties

AccountId

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

DefaultIngestionSettingDataCollectionEndpointResourceId

The Azure resource Id of the default data collection endpoint for this workspace.

DefaultIngestionSettingDataCollectionRuleResourceId

The Azure resource Id of the default data collection rule for this workspace.

Etag

Resource entity tag (ETag)

Id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

Location

The geo-location where the resource lives

MetricInternalId

An internal identifier for the metrics container. Only to be used by the system

MetricPrometheusQueryEndpoint

The Prometheus query endpoint for the workspace

Name

The name of the resource

PrivateEndpointConnection

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

ResourceGroupName

Gets the resource group name

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

Resource tags.

Type

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AzureMonitorWorkspace.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AzureMonitorWorkspace.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.PipelineGroup.Models.IAzureMonitorWorkspace.

FromJsonString(String)

Creates a new instance of AzureMonitorWorkspace, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AzureMonitorWorkspace into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to