WorkspacePatch Class

The top level Workspace resource container.

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

Inheritance
azure.mgmt.loganalytics.models._models_py3.AzureEntityResource
WorkspacePatch

Constructor

WorkspacePatch(*, tags: Optional[Dict[str, str]] = None, provisioning_state: Optional[Union[str, azure.mgmt.loganalytics.models._log_analytics_management_client_enums.WorkspaceEntityStatus]] = None, sku: Optional[azure.mgmt.loganalytics.models._models_py3.WorkspaceSku] = None, retention_in_days: Optional[int] = None, workspace_capping: Optional[azure.mgmt.loganalytics.models._models_py3.WorkspaceCapping] = None, public_network_access_for_ingestion: Optional[Union[str, azure.mgmt.loganalytics.models._log_analytics_management_client_enums.PublicNetworkAccessType]] = 'Enabled', public_network_access_for_query: Optional[Union[str, azure.mgmt.loganalytics.models._log_analytics_management_client_enums.PublicNetworkAccessType]] = 'Enabled', force_cmk_for_query: Optional[bool] = None, features: Optional[azure.mgmt.loganalytics.models._models_py3.WorkspaceFeatures] = None, **kwargs)

Parameters

tags
dict[str, str]
Required

A set of tags. Resource tags. Optional.

provisioning_state
str or WorkspaceEntityStatus
Required

The provisioning state of the workspace. Possible values include: "Creating", "Succeeded", "Failed", "Canceled", "Deleting", "ProvisioningAccount", "Updating".

sku
WorkspaceSku
Required

The SKU of the workspace.

retention_in_days
int
Required

The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details.

workspace_capping
WorkspaceCapping
Required

The daily volume cap for ingestion.

public_network_access_for_ingestion
str or PublicNetworkAccessType
Required

The network access type for accessing Log Analytics ingestion. Possible values include: "Enabled", "Disabled". Default value: "Enabled".

public_network_access_for_query
str or PublicNetworkAccessType
Required

The network access type for accessing Log Analytics query. Possible values include: "Enabled", "Disabled". Default value: "Enabled".

force_cmk_for_query
bool
Required

Indicates whether customer managed storage is mandatory for query management.

features
WorkspaceFeatures
Required

Workspace features.

Variables

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

etag
str

Resource Etag.

customer_id
str

This is a read-only property. Represents the ID associated with the workspace.

created_date
str

Workspace creation date.

modified_date
str

Workspace modification date.

private_link_scoped_resources
list[PrivateLinkScopedResource]

List of linked private link scope resources.