azure.mgmt.applicationinsights.v2018_06_17_preview.models module

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

Bases: str, Enum

CategoryType.

PERFORMANCE = 'performance'
RETENTION = 'retention'
TSG = 'TSG'
WORKBOOK = 'workbook'
class azure.mgmt.applicationinsights.v2018_06_17_preview.models.ErrorFieldContract(*, 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.v2018_06_17_preview.models.ErrorResponse(*, code: str | None = None, message: str | None = None, **kwargs: Any)[source]

Bases: Model

Error response indicates Insights service is not able to process the incoming request. The reason is provided in the error message.

Variables:
  • code (str) – Error code.

  • message (str) – Error message indicating why the operation failed.

Keyword Arguments:
  • code (str) – Error code.

  • message (str) – Error message indicating why the operation failed.

class azure.mgmt.applicationinsights.v2018_06_17_preview.models.Operation(*, name: str | None = None, display: _models.OperationDisplay | None = None, **kwargs: Any)[source]

Bases: Model

CDN REST API operation.

Variables:
  • name (str) – Operation name: {provider}/{resource}/{operation}.

  • display (OperationDisplay) – The object that represents the operation.

Keyword Arguments:
  • name (str) – Operation name: {provider}/{resource}/{operation}.

  • display (OperationDisplay) – The object that represents the operation.

class azure.mgmt.applicationinsights.v2018_06_17_preview.models.OperationDisplay(*, provider: str | None = None, resource: str | None = None, operation: str | None = None, **kwargs: Any)[source]

Bases: Model

The object that represents the operation.

Variables:
  • provider (str) – Service provider: Microsoft.Cdn.

  • resource (str) – Resource on which the operation is performed: Profile, endpoint, etc.

  • operation (str) – Operation type: Read, write, delete, etc.

Keyword Arguments:
  • provider (str) – Service provider: Microsoft.Cdn.

  • resource (str) – Resource on which the operation is performed: Profile, endpoint, etc.

  • operation (str) – Operation type: Read, write, delete, etc.

class azure.mgmt.applicationinsights.v2018_06_17_preview.models.OperationListResult(*, value: List[_models.Operation] | None = None, next_link: str | None = None, **kwargs: Any)[source]

Bases: Model

Result of the request to list CDN operations. It contains a list of operations and a URL link to get the next set of results.

Variables:
  • value (list[Operation]) – List of CDN operations supported by the CDN resource provider.

  • next_link (str) – URL to get the next set of operation list results if there are any.

Keyword Arguments:
  • value (list[Operation]) – List of CDN operations supported by the CDN resource provider.

  • next_link (str) – URL to get the next set of operation list results if there are any.

class azure.mgmt.applicationinsights.v2018_06_17_preview.models.Resource(*, location: str, kind: str | _models.SharedTypeKind | None = None, 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. This is GUID value. The display name should be assigned within properties field.

  • type (str) – Azure resource type.

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

  • location (str) – Resource location. Required.

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

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

  • location (str) – Resource location. Required.

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

class azure.mgmt.applicationinsights.v2018_06_17_preview.models.SharedTypeKind(*values)[source]

Bases: str, Enum

The kind of workbook. Choices are user and shared.

SHARED = 'shared'
USER = 'user'
class azure.mgmt.applicationinsights.v2018_06_17_preview.models.Workbook(*, location: str, kind: str | _models.SharedTypeKind | None = None, tags: Dict[str, str] | None = None, display_name: str | None = None, serialized_data: str | None = None, category: str | None = None, version: str | None = None, tags_properties_tags: List[str] | None = None, source_id: str | None = None, **kwargs: Any)[source]

Bases: Resource

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

  • name (str) – Azure resource name. This is GUID value. The display name should be assigned within properties field.

  • type (str) – Azure resource type.

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

  • location (str) – Resource location. Required.

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

  • time_modified (str) – 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.

  • version (str) – Workbook version.

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

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

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

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

  • location (str) – Resource location. Required.

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

  • version (str) – Workbook version.

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

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

class azure.mgmt.applicationinsights.v2018_06_17_preview.models.WorkbookError(*, code: str | None = None, message: str | None = None, details: List[_models.ErrorFieldContract] | 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[ErrorFieldContract]) – 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[ErrorFieldContract]) – The list of invalid fields send in request, in case of validation error.

class azure.mgmt.applicationinsights.v2018_06_17_preview.models.WorkbookUpdateParameters(*, kind: str | _models.SharedTypeKind | 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, **kwargs: Any)[source]

Bases: Model

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

Variables:
  • kind (str or SharedTypeKind) – The kind of workbook. Choices are user and shared. Known values are: “user” and “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.

Keyword Arguments:
  • kind (str or SharedTypeKind) – The kind of workbook. Choices are user and shared. Known values are: “user” and “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.

class azure.mgmt.applicationinsights.v2018_06_17_preview.models.WorkbooksListResult(*, value: List[_models.Workbook] | None = None, **kwargs: Any)[source]

Bases: Model

Workbook list result.

Variables:

value (list[Workbook]) – An array of workbooks.

Keyword Arguments:

value (list[Workbook]) – An array of workbooks.