azure.mgmt.applicationinsights.v2024_02_01_preview.models module

class azure.mgmt.applicationinsights.v2024_02_01_preview.models.CategoryType(*values)[source]

Bases: str, Enum

CategoryType.

PERFORMANCE = 'performance'
RETENTION = 'retention'
TSG = 'TSG'
WORKBOOK = 'workbook'
class azure.mgmt.applicationinsights.v2024_02_01_preview.models.CreatedByType(*values)[source]

Bases: str, Enum

The type of identity that created the resource.

APPLICATION = 'Application'
KEY = 'Key'
MANAGED_IDENTITY = 'ManagedIdentity'
USER = 'User'
class azure.mgmt.applicationinsights.v2024_02_01_preview.models.DeletedWorkbook(*, location: str, tags: Dict[str, str] | None = None, kind: str | _models.WorkbookSharedTypeKind | None = None, etag: str | None = None, display_name: str | None = None, serialized_data: str | None = None, version: str | None = None, category: str | None = None, tags_properties_tags: List[str] | None = None, source_id: str | None = None, storage_uri: str | None = None, description: str | None = None, **kwargs: Any)[source]

Bases: DeletedWorkbookResource

A workbook 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.

Variables:
  • id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long

  • 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 (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.

  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.

  • kind (str or WorkbookSharedTypeKind) – The kind of workbook. Only valid value is shared. “shared”

  • etag (str) – Resource etag.

  • display_name (str) – The user-defined name (display name) of the workbook.

  • serialized_data (str) – Configuration of this particular workbook. Configuration data is a string containing valid JSON.

  • version (str) – Workbook schema version format, like ‘Notebook/1.0’, which should match the workbook in serializedData.

  • time_modified (datetime) – Date and time in UTC of the last modification that was made to this workbook definition.

  • category (str) – Workbook category, as defined by the user at creation time.

  • tags_properties_tags (list[str]) – Being deprecated, please use the other tags field.

  • user_id (str) – Unique user id of the specific user that owns this workbook.

  • source_id (str) – ResourceId for a source resource.

  • storage_uri (str) – The resourceId to the storage account when bring your own storage is used.

  • description (str) – The description of the workbook.

  • revision (str) – The unique revision id for this workbook definition.

Keyword Arguments:
  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.

  • kind (str or WorkbookSharedTypeKind) – The kind of workbook. Only valid value is shared. “shared”

  • etag (str) – Resource etag.

  • display_name (str) – The user-defined name (display name) of the workbook.

  • serialized_data (str) – Configuration of this particular workbook. Configuration data is a string containing valid JSON.

  • version (str) – Workbook schema version format, like ‘Notebook/1.0’, which should match the workbook in serializedData.

  • category (str) – Workbook category, as defined by the user at creation time.

  • tags_properties_tags (list[str]) – Being deprecated, please use the other tags field.

  • source_id (str) – ResourceId for a source resource.

  • storage_uri (str) – The resourceId to the storage account when bring your own storage is used.

  • description (str) – The description of the workbook.

class azure.mgmt.applicationinsights.v2024_02_01_preview.models.DeletedWorkbookError(*, error: _models.DeletedWorkbookErrorDefinition | None = None, **kwargs: Any)[source]

Bases: Model

Error response.

Variables:

error (DeletedWorkbookErrorDefinition) – The error details.

Keyword Arguments:

error (DeletedWorkbookErrorDefinition) – The error details.

class azure.mgmt.applicationinsights.v2024_02_01_preview.models.DeletedWorkbookErrorDefinition(**kwargs: Any)[source]

Bases: Model

Error definition.

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

Variables:
  • code (str) – Service specific error code which serves as the substatus for the HTTP error code.

  • message (str) – Description of the error.

  • innererror (DeletedWorkbookInnerErrorTrace) – Internal error details.

class azure.mgmt.applicationinsights.v2024_02_01_preview.models.DeletedWorkbookInnerErrorTrace(**kwargs: Any)[source]

Bases: Model

Error details.

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

Variables:

trace (list[str]) – detailed error trace.

class azure.mgmt.applicationinsights.v2024_02_01_preview.models.DeletedWorkbookResource(*, location: str, tags: Dict[str, str] | None = None, kind: str | _models.WorkbookSharedTypeKind | None = None, etag: str | None = None, **kwargs: Any)[source]

Bases: TrackedResource

An azure resource object.

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.

Variables:
  • id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long

  • 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 (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.

  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.

  • kind (str or WorkbookSharedTypeKind) – The kind of workbook. Only valid value is shared. “shared”

  • etag (str) – Resource etag.

Keyword Arguments:
  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.

  • kind (str or WorkbookSharedTypeKind) – The kind of workbook. Only valid value is shared. “shared”

  • etag (str) – Resource etag.

class azure.mgmt.applicationinsights.v2024_02_01_preview.models.DeletedWorkbooksListResult(*, next_link: str | None = None, **kwargs: Any)[source]

Bases: Model

Workbook list result.

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

Variables:
Keyword Arguments:

next_link (str)

class azure.mgmt.applicationinsights.v2024_02_01_preview.models.Resource(**kwargs: Any)[source]

Bases: Model

Common fields that are returned in the response for all Azure Resource Manager resources.

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

Variables:
  • id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long

  • 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 (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.

class azure.mgmt.applicationinsights.v2024_02_01_preview.models.SystemData(*, created_by: str | None = None, created_by_type: str | _models.CreatedByType | None = None, created_at: datetime | None = None, last_modified_by: str | None = None, last_modified_by_type: str | _models.CreatedByType | None = None, last_modified_at: datetime | None = None, **kwargs: Any)[source]

Bases: Model

Metadata pertaining to creation and last modification of the resource.

Variables:
  • created_by (str) – The identity that created the resource.

  • created_by_type (str or CreatedByType) – The type of identity that created the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.

  • created_at (datetime) – The timestamp of resource creation (UTC).

  • last_modified_by (str) – The identity that last modified the resource.

  • last_modified_by_type (str or CreatedByType) – The type of identity that last modified the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.

  • last_modified_at (datetime) – The timestamp of resource last modification (UTC).

Keyword Arguments:
  • created_by (str) – The identity that created the resource.

  • created_by_type (str or CreatedByType) – The type of identity that created the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.

  • created_at (datetime) – The timestamp of resource creation (UTC).

  • last_modified_by (str) – The identity that last modified the resource.

  • last_modified_by_type (str or CreatedByType) – The type of identity that last modified the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.

  • last_modified_at (datetime) – The timestamp of resource last modification (UTC).

class azure.mgmt.applicationinsights.v2024_02_01_preview.models.TrackedResource(*, location: str, tags: Dict[str, str] | None = None, **kwargs: Any)[source]

Bases: Resource

The resource model definition for an Azure Resource Manager tracked top level resource which has ‘tags’ and a ‘location’.

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.

Variables:
  • id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long

  • 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 (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.

  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.

Keyword Arguments:
  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.

class azure.mgmt.applicationinsights.v2024_02_01_preview.models.WorkbookSharedTypeKind(*values)[source]

Bases: str, Enum

The kind of workbook. Only valid value is shared.

SHARED = 'shared'