azure.mgmt.applicationinsights.v2023_06_01.models module

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

Bases: str, Enum

CategoryType.

PERFORMANCE = 'performance'
RETENTION = 'retention'
TSG = 'TSG'
WORKBOOK = 'workbook'
class azure.mgmt.applicationinsights.v2023_06_01.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.v2023_06_01.models.ManagedServiceIdentity(*, type: str | _models.ManagedServiceIdentityType, user_assigned_identities: Dict[str, _models.UserAssignedIdentity] | None = None, **kwargs: Any)[source]

Bases: Model

Managed service identity (system assigned and/or user assigned identities).

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:
  • principal_id (str) – The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.

  • tenant_id (str) – The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.

  • type (str or ManagedServiceIdentityType) – Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). Required. Known values are: “None”, “SystemAssigned”, “UserAssigned”, and “SystemAssigned,UserAssigned”.

  • user_assigned_identities (dict[str, UserAssignedIdentity]) – The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. # pylint: disable=line-too-long The dictionary values can be empty objects ({}) in requests.

Keyword Arguments:
  • type (str or ManagedServiceIdentityType) – Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). Required. Known values are: “None”, “SystemAssigned”, “UserAssigned”, and “SystemAssigned,UserAssigned”.

  • user_assigned_identities (dict[str, UserAssignedIdentity]) – The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. # pylint: disable=line-too-long The dictionary values can be empty objects ({}) in requests.

class azure.mgmt.applicationinsights.v2023_06_01.models.ManagedServiceIdentityType(*values)[source]

Bases: str, Enum

Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).

NONE = 'None'
SYSTEM_ASSIGNED = 'SystemAssigned'
SYSTEM_ASSIGNED_USER_ASSIGNED = 'SystemAssigned,UserAssigned'
USER_ASSIGNED = 'UserAssigned'
class azure.mgmt.applicationinsights.v2023_06_01.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. Ex - /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”.

class azure.mgmt.applicationinsights.v2023_06_01.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.v2023_06_01.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. Ex - /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”.

  • 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.v2023_06_01.models.UserAssignedIdentity(**kwargs: Any)[source]

Bases: Model

User assigned identity properties.

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

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

  • client_id (str) – The client ID of the assigned identity.

class azure.mgmt.applicationinsights.v2023_06_01.models.Workbook(*, location: str, tags: Dict[str, str] | None = None, identity: _models.WorkbookResourceIdentity | 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: WorkbookResource

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. Ex - /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”.

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

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

  • identity (WorkbookResourceIdentity) – Identity used for BYOS.

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

  • etag (str) – Resource etag.

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

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

  • identity (WorkbookResourceIdentity) – Identity used for BYOS.

  • 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.v2023_06_01.models.WorkbookError(*, error: _models.WorkbookErrorDefinition | None = None, **kwargs: Any)[source]

Bases: Model

Error response.

Variables:

error (WorkbookErrorDefinition) – The error details.

Keyword Arguments:

error (WorkbookErrorDefinition) – The error details.

class azure.mgmt.applicationinsights.v2023_06_01.models.WorkbookErrorDefinition(**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 (WorkbookInnerErrorTrace) – Internal error details.

class azure.mgmt.applicationinsights.v2023_06_01.models.WorkbookInnerErrorTrace(**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.v2023_06_01.models.WorkbookResource(*, location: str, tags: Dict[str, str] | None = None, identity: _models.WorkbookResourceIdentity | 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. Ex - /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”.

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

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

  • identity (WorkbookResourceIdentity) – Identity used for BYOS.

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

  • etag (str) – Resource etag.

Keyword Arguments:
class azure.mgmt.applicationinsights.v2023_06_01.models.WorkbookResourceIdentity(*, type: str | _models.ManagedServiceIdentityType, user_assigned_identities: Dict[str, _models.UserAssignedIdentity] | None = None, **kwargs: Any)[source]

Bases: ManagedServiceIdentity

Identity used for BYOS.

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:
  • principal_id (str) – The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.

  • tenant_id (str) – The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.

  • type (str or ManagedServiceIdentityType) – Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). Required. Known values are: “None”, “SystemAssigned”, “UserAssigned”, and “SystemAssigned,UserAssigned”.

  • user_assigned_identities (dict[str, UserAssignedIdentity]) – The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. # pylint: disable=line-too-long The dictionary values can be empty objects ({}) in requests.

Keyword Arguments:
  • type (str or ManagedServiceIdentityType) – Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). Required. Known values are: “None”, “SystemAssigned”, “UserAssigned”, and “SystemAssigned,UserAssigned”.

  • user_assigned_identities (dict[str, UserAssignedIdentity]) – The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. # pylint: disable=line-too-long The dictionary values can be empty objects ({}) in requests.

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

Bases: str, Enum

The kind of workbook. Only valid value is shared.

SHARED = 'shared'
class azure.mgmt.applicationinsights.v2023_06_01.models.WorkbookUpdateParameters(*, kind: str | _models.WorkbookUpdateSharedTypeKind | None = None, tags: Dict[str, str] | None = None, display_name: str | None = None, serialized_data: str | None = None, category: str | None = None, tags_properties_tags: List[str] | None = None, description: str | None = None, revision: str | None = None, **kwargs: Any)[source]

Bases: Model

The parameters that can be provided when updating workbook properties properties.

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

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

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

  • 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 workbook definition.

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

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

Keyword Arguments:
  • kind (str or WorkbookUpdateSharedTypeKind) – The kind of workbook. Only valid value is shared. “shared”

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

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

  • 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 workbook definition.

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

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

class azure.mgmt.applicationinsights.v2023_06_01.models.WorkbookUpdateSharedTypeKind(*values)[source]

Bases: str, Enum

The kind of workbook. Only valid value is shared.

SHARED = 'shared'
class azure.mgmt.applicationinsights.v2023_06_01.models.WorkbooksListResult(*, 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)