azure.mgmt.applicationinsights.v2021_03_08.models module

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

Bases: str, Enum

CategoryType.

PERFORMANCE = 'performance'
RETENTION = 'retention'
TSG = 'TSG'
WORKBOOK = 'workbook'
class azure.mgmt.applicationinsights.v2021_03_08.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.v2021_03_08.models.ErrorDefinition(**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 (any) – Internal error details.

class azure.mgmt.applicationinsights.v2021_03_08.models.InnerErrorTrace(**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.v2021_03_08.models.Kind(*values)[source]

Bases: str, Enum

The kind of workbook. Choices are user and shared.

SHARED = 'shared'
USER = 'user'
class azure.mgmt.applicationinsights.v2021_03_08.models.MyWorkbook(*, identity: _models.MyWorkbookManagedIdentity | None = None, id: str | None = None, name: str | None = None, type: str | None = None, location: str | None = None, tags: Dict[str, str] | None = None, etag: Dict[str, str] | None = None, kind: str | _models.Kind | 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, **kwargs: Any)[source]

Bases: MyWorkbookResource

An Application Insights private workbook definition.

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

Variables:
  • identity (MyWorkbookManagedIdentity) – Identity used for BYOS.

  • id (str) – Azure resource Id.

  • name (str) – Azure resource name.

  • type (str) – Azure resource type.

  • location (str) – Resource location.

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

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

  • kind (str or Kind) – The kind of workbook. Choices are user and shared. Known values are: “user” and “shared”.

  • system_data (SystemData) – Metadata pertaining to creation and last modification of the resource.

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

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

  • version (str) – This instance’s version of the data model. This can change as new features are added that can be marked private workbook.

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

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

  • tags_properties_tags (list[str]) – A list of 0 or more tags that are associated with this private workbook definition.

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

  • source_id (str) – Optional resourceId for a source resource.

  • storage_uri (str) – BYOS Storage Account URI.

Keyword Arguments:
  • identity (MyWorkbookManagedIdentity) – Identity used for BYOS.

  • id (str) – Azure resource Id.

  • name (str) – Azure resource name.

  • type (str) – Azure resource type.

  • location (str) – Resource location.

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

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

  • kind (str or Kind) – The kind of workbook. Choices are user and shared. Known values are: “user” and “shared”.

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

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

  • version (str) – This instance’s version of the data model. This can change as new features are added that can be marked private workbook.

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

  • tags_properties_tags (list[str]) – A list of 0 or more tags that are associated with this private workbook definition.

  • source_id (str) – Optional resourceId for a source resource.

  • storage_uri (str) – BYOS Storage Account URI.

class azure.mgmt.applicationinsights.v2021_03_08.models.MyWorkbookError(*, error: _models.ErrorDefinition | None = None, **kwargs: Any)[source]

Bases: Model

Error response.

Variables:

error (ErrorDefinition) – The error details.

Keyword Arguments:

error (ErrorDefinition) – The error details.

class azure.mgmt.applicationinsights.v2021_03_08.models.MyWorkbookManagedIdentity(*, user_assigned_identities: _models.MyWorkbookUserAssignedIdentities | None = None, type: str | _models.MyWorkbookManagedIdentityType | None = None, **kwargs: Any)[source]

Bases: Model

Customer Managed Identity.

Variables:
Keyword Arguments:
class azure.mgmt.applicationinsights.v2021_03_08.models.MyWorkbookManagedIdentityType(*values)[source]

Bases: str, Enum

The identity type.

NONE = 'None'
USER_ASSIGNED = 'UserAssigned'
class azure.mgmt.applicationinsights.v2021_03_08.models.MyWorkbookResource(*, identity: _models.MyWorkbookManagedIdentity | None = None, id: str | None = None, name: str | None = None, type: str | None = None, location: str | None = None, tags: Dict[str, str] | None = None, etag: Dict[str, str] | None = None, **kwargs: Any)[source]

Bases: Model

An azure resource object.

Variables:
  • identity (MyWorkbookManagedIdentity) – Identity used for BYOS.

  • id (str) – Azure resource Id.

  • name (str) – Azure resource name.

  • type (str) – Azure resource type.

  • location (str) – Resource location.

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

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

Keyword Arguments:
  • identity (MyWorkbookManagedIdentity) – Identity used for BYOS.

  • id (str) – Azure resource Id.

  • name (str) – Azure resource name.

  • type (str) – Azure resource type.

  • location (str) – Resource location.

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

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

class azure.mgmt.applicationinsights.v2021_03_08.models.MyWorkbookUserAssignedIdentities(**kwargs: Any)[source]

Bases: Model

Customer Managed Identity.

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

Variables:
  • principal_id (str) – The principal ID of resource identity.

  • tenant_id (str) – The tenant ID of resource.

class azure.mgmt.applicationinsights.v2021_03_08.models.MyWorkbooksListResult(*, 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.v2021_03_08.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).