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.AzureEntityResourceWorkspacePatch
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
- provisioning_state
- str or WorkspaceEntityStatus
The provisioning state of the workspace. Possible values include: "Creating", "Succeeded", "Failed", "Canceled", "Deleting", "ProvisioningAccount", "Updating".
- retention_in_days
- int
The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details.
- public_network_access_for_ingestion
- str or PublicNetworkAccessType
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
The network access type for accessing Log Analytics query. Possible values include: "Enabled", "Disabled". Default value: "Enabled".
- force_cmk_for_query
- bool
Indicates whether customer managed storage is mandatory for query management.
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.
Feedback
Submit and view feedback for