azure.mgmt.applicationinsights.v2020_11_20.models module

class azure.mgmt.applicationinsights.v2020_11_20.models.WorkbookTemplate(*, location: str, tags: Dict[str, str] | None = None, priority: int | None = None, author: str | None = None, template_data: MutableMapping[str, Any] | None = None, galleries: List[_models.WorkbookTemplateGallery] | None = None, localized: Dict[str, List[_models.WorkbookTemplateLocalizedGallery]] | None = None, **kwargs: Any)[source]

Bases: WorkbookTemplateResource

An Application Insights workbook template 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) – Azure resource Id.

  • name (str) – Azure resource name.

  • type (str) – Azure resource type.

  • location (str) – Resource location. Required.

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

  • priority (int) – Priority of the template. Determines which template to open when a workbook gallery is opened in viewer mode.

  • author (str) – Information about the author of the workbook template.

  • template_data (JSON) – Valid JSON object containing workbook template payload.

  • galleries (list[WorkbookTemplateGallery]) – Workbook galleries supported by the template.

  • localized (dict[str, list[WorkbookTemplateLocalizedGallery]]) – Key value pair of localized gallery. Each key is the locale code of languages supported by the Azure portal.

Keyword Arguments:
  • location (str) – Resource location. Required.

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

  • priority (int) – Priority of the template. Determines which template to open when a workbook gallery is opened in viewer mode.

  • author (str) – Information about the author of the workbook template.

  • template_data (JSON) – Valid JSON object containing workbook template payload.

  • galleries (list[WorkbookTemplateGallery]) – Workbook galleries supported by the template.

  • localized (dict[str, list[WorkbookTemplateLocalizedGallery]]) – Key value pair of localized gallery. Each key is the locale code of languages supported by the Azure portal.

class azure.mgmt.applicationinsights.v2020_11_20.models.WorkbookTemplateError(*, error: _models.WorkbookTemplateErrorBody | None = None, **kwargs: Any)[source]

Bases: Model

Error message that will indicate why the operation failed.

Variables:

error (WorkbookTemplateErrorBody) – Error message object that will indicate why the operation failed.

Keyword Arguments:

error (WorkbookTemplateErrorBody) – Error message object that will indicate why the operation failed.

class azure.mgmt.applicationinsights.v2020_11_20.models.WorkbookTemplateErrorBody(*, code: str | None = None, message: str | None = None, details: List[_models.WorkbookTemplateErrorFieldContract] | None = None, **kwargs: Any)[source]

Bases: Model

Error message body that will indicate why the operation failed.

Variables:
  • code (str) – Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response.

  • message (str) – Human-readable representation of the error.

  • details (list[WorkbookTemplateErrorFieldContract]) – The list of invalid fields send in request, in case of validation error.

Keyword Arguments:
  • code (str) – Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response.

  • message (str) – Human-readable representation of the error.

  • details (list[WorkbookTemplateErrorFieldContract]) – The list of invalid fields send in request, in case of validation error.

class azure.mgmt.applicationinsights.v2020_11_20.models.WorkbookTemplateErrorFieldContract(*, code: str | None = None, message: str | None = None, target: str | None = None, **kwargs: Any)[source]

Bases: Model

Error Field contract.

Variables:
  • code (str) – Property level error code.

  • message (str) – Human-readable representation of property-level error.

  • target (str) – Property name.

Keyword Arguments:
  • code (str) – Property level error code.

  • message (str) – Human-readable representation of property-level error.

  • target (str) – Property name.

class azure.mgmt.applicationinsights.v2020_11_20.models.WorkbookTemplateGallery(*, name: str | None = None, category: str | None = None, type: str | None = None, order: int | None = None, resource_type: str | None = None, **kwargs: Any)[source]

Bases: Model

Gallery information for a workbook template.

Variables:
  • name (str) – Name of the workbook template in the gallery.

  • category (str) – Category for the gallery.

  • type (str) – Type of workbook supported by the workbook template.

  • order (int) – Order of the template within the gallery.

  • resource_type (str) – Azure resource type supported by the gallery.

Keyword Arguments:
  • name (str) – Name of the workbook template in the gallery.

  • category (str) – Category for the gallery.

  • type (str) – Type of workbook supported by the workbook template.

  • order (int) – Order of the template within the gallery.

  • resource_type (str) – Azure resource type supported by the gallery.

class azure.mgmt.applicationinsights.v2020_11_20.models.WorkbookTemplateLocalizedGallery(*, template_data: MutableMapping[str, Any] | None = None, galleries: List[_models.WorkbookTemplateGallery] | None = None, **kwargs: Any)[source]

Bases: Model

Localized template data and gallery information.

Variables:
  • template_data (JSON) – Valid JSON object containing workbook template payload.

  • galleries (list[WorkbookTemplateGallery]) – Workbook galleries supported by the template.

Keyword Arguments:
  • template_data (JSON) – Valid JSON object containing workbook template payload.

  • galleries (list[WorkbookTemplateGallery]) – Workbook galleries supported by the template.

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

Bases: Model

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) – Azure resource Id.

  • name (str) – Azure resource name.

  • type (str) – Azure resource type.

  • location (str) – Resource location. Required.

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

Keyword Arguments:
  • location (str) – Resource location. Required.

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

class azure.mgmt.applicationinsights.v2020_11_20.models.WorkbookTemplateUpdateParameters(*, tags: Dict[str, str] | None = None, priority: int | None = None, author: str | None = None, template_data: MutableMapping[str, Any] | None = None, galleries: List[_models.WorkbookTemplateGallery] | None = None, localized: Dict[str, List[_models.WorkbookTemplateLocalizedGallery]] | None = None, **kwargs: Any)[source]

Bases: Model

The parameters that can be provided when updating workbook template.

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

  • priority (int) – Priority of the template. Determines which template to open when a workbook gallery is opened in viewer mode.

  • author (str) – Information about the author of the workbook template.

  • template_data (JSON) – Valid JSON object containing workbook template payload.

  • galleries (list[WorkbookTemplateGallery]) – Workbook galleries supported by the template.

  • localized (dict[str, list[WorkbookTemplateLocalizedGallery]]) – Key value pair of localized gallery. Each key is the locale code of languages supported by the Azure portal.

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

  • priority (int) – Priority of the template. Determines which template to open when a workbook gallery is opened in viewer mode.

  • author (str) – Information about the author of the workbook template.

  • template_data (JSON) – Valid JSON object containing workbook template payload.

  • galleries (list[WorkbookTemplateGallery]) – Workbook galleries supported by the template.

  • localized (dict[str, list[WorkbookTemplateLocalizedGallery]]) – Key value pair of localized gallery. Each key is the locale code of languages supported by the Azure portal.

class azure.mgmt.applicationinsights.v2020_11_20.models.WorkbookTemplatesListResult(*, value: List[_models.WorkbookTemplate] | None = None, **kwargs: Any)[source]

Bases: Model

WorkbookTemplate list result.

Variables:

value (list[WorkbookTemplate]) – An array of workbook templates.

Keyword Arguments:

value (list[WorkbookTemplate]) – An array of workbook templates.