AzureMonitorWorkspaceResource Class

Definition

An Azure Monitor Workspace definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.MonitorWorkspace.Models.Api20230403.AzureMonitorWorkspaceResourceTypeConverter))]
public class AzureMonitorWorkspaceResource : Microsoft.Azure.PowerShell.Cmdlets.Monitor.MonitorWorkspace.Models.Api20230403.IAzureMonitorWorkspaceResource, Microsoft.Azure.PowerShell.Cmdlets.Monitor.MonitorWorkspace.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.MonitorWorkspace.Models.Api20230403.AzureMonitorWorkspaceResourceTypeConverter))>]
type AzureMonitorWorkspaceResource = class
    interface IAzureMonitorWorkspaceResource
    interface IJsonSerializable
    interface ITrackedResource
    interface IResourceAutoGenerated
    interface IValidates
Public Class AzureMonitorWorkspaceResource
Implements IAzureMonitorWorkspaceResource, IValidates
Inheritance
AzureMonitorWorkspaceResource
Attributes
Implements

Constructors

AzureMonitorWorkspaceResource()

Creates an new AzureMonitorWorkspaceResource 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. Ex - /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

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

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

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AzureMonitorWorkspaceResource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.MonitorWorkspace.Models.Api20230403.IAzureMonitorWorkspaceResource.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AzureMonitorWorkspaceResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to