Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions sdk/loganalytics/azure-mgmt-loganalytics/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release History

## 13.2.0 (2026-06-03)

### Other Changes

- Migrated from Swagger to TypeSpec

## 13.1.1 (2026-01-05)

### Bugs Fixed
Expand Down
6 changes: 3 additions & 3 deletions sdk/loganalytics/azure-mgmt-loganalytics/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Microsoft Azure SDK for Python

This is the Microsoft Azure Log Analytics Management Client Library.
This package has been tested with Python 3.9+.
This package has been tested with Python 3.10+.
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).

## _Disclaimer_
Expand All @@ -12,7 +12,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For

### Prerequisites

- Python 3.9+ is required to use this package.
- Python 3.10+ is required to use this package.
- [Azure subscription](https://azure.microsoft.com/free/)

### Install the package
Expand All @@ -24,7 +24,7 @@ pip install azure-identity

### Authentication

By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables.
By default, [Microsoft Entra](https://learn.microsoft.com/entra/fundamentals/what-is-entra) token authentication depends on correct configuration of the following environment variables.

- `AZURE_CLIENT_ID` for Azure client ID.
- `AZURE_TENANT_ID` for Azure tenant ID.
Expand Down
6 changes: 3 additions & 3 deletions sdk/loganalytics/azure-mgmt-loganalytics/_metadata.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "53d56e4ec74156c450d1e51745a971d3f2031dd7",
"commit": "1d5f5b041214d74ab8d0361c992e8f84bc99f089",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
"@autorest/python@6.45.1",
"@autorest/python@6.50.0",
"@autorest/modelerfour@4.27.0"
],
"autorest_command": "autorest specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/OperationalInsights/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --package-mode=azure-mgmt --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.45.1 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
"autorest_command": "autorest specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/OperationalInsights/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --package-mode=azure-mgmt --python --python-sdks-folder=C:\\dev\\worktrees\\sdk-azure-mgmt-loganalytics\\sdk --use=@autorest/python@6.50.0 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
"readme": "specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/OperationalInsights/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"azure.mgmt.loganalytics.models.ClusterSku": null,
"azure.mgmt.loganalytics.models.Column": null,
"azure.mgmt.loganalytics.models.CoreSummary": null,
"azure.mgmt.loganalytics.models.ResourceAutoGenerated": null,
"azure.mgmt.loganalytics.models.ProxyResource": null,
"azure.mgmt.loganalytics.models.DataExport": null,
"azure.mgmt.loganalytics.models.DataExportListResult": null,
Expand All @@ -37,7 +38,7 @@
"azure.mgmt.loganalytics.models.LinkedServiceListResult": null,
"azure.mgmt.loganalytics.models.LinkedStorageAccountsListResult": null,
"azure.mgmt.loganalytics.models.LinkedStorageAccountsResource": null,
"azure.mgmt.loganalytics.models.ResourceAutoGenerated": null,
"azure.mgmt.loganalytics.models.ResourceAutoGenerated2": null,
"azure.mgmt.loganalytics.models.TrackedResourceAutoGenerated": null,
"azure.mgmt.loganalytics.models.LogAnalyticsQueryPack": null,
"azure.mgmt.loganalytics.models.LogAnalyticsQueryPackListResult": null,
Expand All @@ -62,6 +63,7 @@
"azure.mgmt.loganalytics.models.PrivateLinkScopedResource": null,
"azure.mgmt.loganalytics.models.ProvisioningIssue": null,
"azure.mgmt.loganalytics.models.ProvisioningIssueProperties": null,
"azure.mgmt.loganalytics.models.ProxyResourceAutoGenerated2": null,
"azure.mgmt.loganalytics.models.ResourceAssociation": null,
"azure.mgmt.loganalytics.models.RestoredLogs": null,
"azure.mgmt.loganalytics.models.ResultStatistics": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,7 @@

# This file is used for handwritten extensions to the generated code. Example:
# https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md


def patch_sdk():
pass
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "13.1.1"

VERSION = "13.2.0"
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,7 @@

# This file is used for handwritten extensions to the generated code. Example:
# https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md


def patch_sdk():
pass
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# ------------------------------------

"""Customize generated code here.

Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,11 @@
ProvisioningIssueProperties,
ProxyResource,
ProxyResourceAutoGenerated,
ProxyResourceAutoGenerated2,
Resource,
ResourceAssociation,
ResourceAutoGenerated,
ResourceAutoGenerated2,
RestoredLogs,
ResultStatistics,
RuleDefinition,
Expand Down Expand Up @@ -222,9 +224,11 @@
"ProvisioningIssueProperties",
"ProxyResource",
"ProxyResourceAutoGenerated",
"ProxyResourceAutoGenerated2",
"Resource",
"ResourceAssociation",
"ResourceAutoGenerated",
"ResourceAutoGenerated2",
"RestoredLogs",
"ResultStatistics",
"RuleDefinition",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ class ColumnTypeEnum(str, Enum, metaclass=CaseInsensitiveEnumMeta):
DATE_TIME = "dateTime"
GUID = "guid"
DYNAMIC = "dynamic"
INT_ENUM = "int"


class CreatedByType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
Expand Down Expand Up @@ -208,7 +207,9 @@ class ManagedServiceIdentityType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned,UserAssigned"


class NetworkSecurityPerimeterConfigurationProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
class NetworkSecurityPerimeterConfigurationProvisioningState( # pylint: disable=name-too-long
str, Enum, metaclass=CaseInsensitiveEnumMeta
):
"""Provisioning state of a network security perimeter configuration that is being created or
updated.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ class Column(_serialization.Model):
:ivar name: Column name.
:vartype name: str
:ivar type: Column data type. Known values are: "string", "int", "long", "real", "boolean",
"dateTime", "guid", "dynamic", and "int".
"dateTime", "guid", and "dynamic".
:vartype type: str or ~azure.mgmt.loganalytics.models.ColumnTypeEnum
:ivar data_type_hint: Column data type logical hint. Known values are: "uri", "guid",
"armPath", and "ip".
Expand Down Expand Up @@ -767,7 +767,7 @@ def __init__(
:keyword name: Column name.
:paramtype name: str
:keyword type: Column data type. Known values are: "string", "int", "long", "real", "boolean",
"dateTime", "guid", "dynamic", and "int".
"dateTime", "guid", and "dynamic".
:paramtype type: str or ~azure.mgmt.loganalytics.models.ColumnTypeEnum
:keyword data_type_hint: Column data type logical hint. Known values are: "uri", "guid",
"armPath", and "ip".
Expand Down Expand Up @@ -819,7 +819,42 @@ def __init__(self, *, number_of_documents: int, status: Optional[str] = None, **
self.number_of_documents = number_of_documents


class ProxyResource(Resource):
class ResourceAutoGenerated(_serialization.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.

:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
:ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
"Microsoft.Storage/storageAccounts".
:vartype type: str
"""

_validation = {
"id": {"readonly": True},
"name": {"readonly": True},
"type": {"readonly": True},
}

_attribute_map = {
"id": {"key": "id", "type": "str"},
"name": {"key": "name", "type": "str"},
"type": {"key": "type", "type": "str"},
}

def __init__(self, **kwargs: Any) -> None:
""" """
super().__init__(**kwargs)
self.id: Optional[str] = None
self.name: Optional[str] = None
self.type: Optional[str] = None


class ProxyResource(ResourceAutoGenerated):
"""The resource model definition for a Azure Resource Manager proxy resource. It will not have
tags and a location.

Expand Down Expand Up @@ -1632,7 +1667,7 @@ def __init__(self, *, storage_account_ids: Optional[list[str]] = None, **kwargs:
self.storage_account_ids = storage_account_ids


class ResourceAutoGenerated(_serialization.Model):
class ResourceAutoGenerated2(_serialization.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.
Expand Down Expand Up @@ -1673,7 +1708,7 @@ def __init__(self, **kwargs: Any) -> None:
self.system_data: Optional["_models.SystemData"] = None


class TrackedResourceAutoGenerated(ResourceAutoGenerated):
class TrackedResourceAutoGenerated(ResourceAutoGenerated2):
"""The resource model definition for an Azure Resource Manager tracked top level resource which
has 'tags' and a 'location'.

Expand Down Expand Up @@ -1836,7 +1871,7 @@ def __init__(
self.next_link = next_link


class ProxyResourceAutoGenerated(ResourceAutoGenerated):
class ProxyResourceAutoGenerated(ResourceAutoGenerated2):
"""The resource model definition for a Azure Resource Manager proxy resource. It will not have
tags and a location.

Expand Down Expand Up @@ -2776,6 +2811,23 @@ def __init__(self, **kwargs: Any) -> None:
self.suggested_access_rules: Optional[list["_models.AccessRule"]] = None


class ProxyResourceAutoGenerated2(Resource):
"""The resource model definition for a Azure Resource Manager proxy resource. It will not have
tags and a location.

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

:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
:ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
"Microsoft.Storage/storageAccounts".
:vartype type: str
"""


class ResourceAssociation(_serialization.Model):
"""Information about resource association.

Expand Down Expand Up @@ -3976,7 +4028,7 @@ def __init__(
self.last_modified_at = last_modified_at


class Table(ProxyResource):
class Table(ProxyResourceAutoGenerated2):
"""Workspace data table definition.

Variables are only populated by the server, and will be ignored when sending a request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# ------------------------------------

"""Customize generated code here.

Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# ------------------------------------

"""Customize generated code here.

Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
Expand Down
Loading
Loading