AzureMonitorWorkspaceResource Class

An Azure Monitor Workspace definition.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to server.

Constructor

AzureMonitorWorkspaceResource(*, location: str, tags: Dict[str, str] | None = None, public_network_access: str | _models.PublicNetworkAccess | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
tags

Resource tags.

Default value: None
location
str

The geo-location where the resource lives. Required.

public_network_access

Gets or sets allow or disallow public network access to Azure Monitor Workspace. Known values are: "Enabled" and "Disabled".

Default value: None

Variables

Name Description
id
str

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

name
str

The name of the resource.

type
str

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

system_data

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tags

Resource tags.

location
str

The geo-location where the resource lives. Required.

etag
str

Resource entity tag (ETag).

account_id
str

The immutable Id of the Azure Monitor Workspace. This property is read-only.

metrics

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

provisioning_state

The provisioning state of the Azure Monitor Workspace. Set to Succeeded if everything is healthy. Known values are: "Creating", "Succeeded", "Deleting", "Failed", and "Canceled".

default_ingestion_settings

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

private_endpoint_connections

List of private endpoint connections.

public_network_access

Gets or sets allow or disallow public network access to Azure Monitor Workspace. Known values are: "Enabled" and "Disabled".