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
113 changes: 109 additions & 4 deletions sdk/loganalytics/azure-resourcemanager-loganalytics/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,119 @@
# Release History

## 1.2.0-beta.1 (Unreleased)
## 1.0.0-beta.1 (2025-04-14)

### Features Added
- Azure Resource Manager LogAnalytics client library for Java. This package contains Microsoft Azure SDK for LogAnalytics Management SDK. Operational Insights Client. Package tag package-2025-02-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Breaking Changes

### Bugs Fixed
#### `models.AzureResourceProperties` was removed

#### `models.SystemDataAutoGenerated` was removed

#### `models.CreatedByType` was removed

#### `models.QueryPacksResource` was removed

#### `models.CapacityReservationProperties` was modified

* `java.lang.String lastSkuUpdate()` -> `java.time.OffsetDateTime lastSkuUpdate()`

#### `models.WorkspacePatch` was modified

* `java.lang.String createdDate()` -> `java.time.OffsetDateTime createdDate()`
* `java.lang.String modifiedDate()` -> `java.time.OffsetDateTime modifiedDate()`

#### `models.Workspace` was modified

* `java.lang.String createdDate()` -> `java.time.OffsetDateTime createdDate()`
* `models.SystemDataAutoGenerated systemData()` -> `com.azure.core.management.SystemData systemData()`
* `java.lang.String modifiedDate()` -> `java.time.OffsetDateTime modifiedDate()`

#### `models.WorkspaceSku` was modified

* `java.lang.String lastSkuUpdate()` -> `java.time.OffsetDateTime lastSkuUpdate()`

#### `models.AssociatedWorkspace` was modified

* `java.lang.String workspaceId()` -> `java.util.UUID workspaceId()`
* `java.lang.String associateDate()` -> `java.time.OffsetDateTime associateDate()`

#### `models.Table` was modified

* `models.SystemDataAutoGenerated systemData()` -> `com.azure.core.management.SystemData systemData()`

#### `models.Cluster` was modified

* `java.lang.String createdDate()` -> `java.time.OffsetDateTime createdDate()`
* `java.lang.String lastModifiedDate()` -> `java.time.OffsetDateTime lastModifiedDate()`

#### `models.IdentityType` was modified

* `java.util.Collection values()` -> `models.IdentityType[] values()`

### Features Added

* `models.WorkspaceReplicationProperties` was added

* `models.WorkspaceFailoverProperties` was added

* `models.ClusterReplicationProperties` was added

* `models.ClusterReplicationState` was added

* `models.WorkspaceReplicationState` was added

* `models.WorkspaceFailoverState` was added

#### `models.Cluster$Definition` was modified

* `withReplication(models.ClusterReplicationProperties)` was added

#### `models.WorkspaceFeatures` was modified

* `unifiedSentinelBillingOnly()` was added

#### `models.Workspace$Update` was modified

* `withReplication(models.WorkspaceReplicationProperties)` was added
* `withFailover(models.WorkspaceFailoverProperties)` was added

#### `models.Workspace$Definition` was modified

* `withFailover(models.WorkspaceFailoverProperties)` was added
* `withReplication(models.WorkspaceReplicationProperties)` was added

#### `models.WorkspacePatch` was modified

* `withReplication(models.WorkspaceReplicationProperties)` was added
* `withFailover(models.WorkspaceFailoverProperties)` was added
* `failover()` was added
* `replication()` was added

#### `models.Workspace` was modified

* `failover()` was added
* `replication()` was added

#### `models.LogAnalyticsQueryPack` was modified

* `systemData()` was added

#### `models.Workspaces` was modified

* `failback(java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
* `failover(java.lang.String,java.lang.String,java.lang.String)` was added
* `failover(java.lang.String,java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
* `failback(java.lang.String,java.lang.String)` was added

#### `models.Cluster` was modified

* `replication()` was added

#### `models.IdentityType` was modified

### Other Changes
* `toString()` was added
* `valueOf(java.lang.String)` was added

## 1.1.0 (2024-12-13)

Expand Down
8 changes: 3 additions & 5 deletions sdk/loganalytics/azure-resourcemanager-loganalytics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager LogAnalytics client library for Java.

This package contains Microsoft Azure SDK for LogAnalytics Management SDK. Operational Insights Client. Package tag package-2022-10. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
This package contains Microsoft Azure SDK for LogAnalytics Management SDK. Operational Insights Client. Package tag package-2025-02-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

## We'd love to hear your feedback

Expand Down Expand Up @@ -52,15 +52,15 @@ Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment
Assuming the use of the `DefaultAzureCredential` credential class, the client can be authenticated using the following code:

```java
AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
AzureProfile profile = new AzureProfile(AzureCloud.AZURE_PUBLIC_CLOUD);
TokenCredential credential = new DefaultAzureCredentialBuilder()
.authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
.build();
LogAnalyticsManager manager = LogAnalyticsManager
.authenticate(credential, profile);
```

The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.
The sample code assumes global Azure. Please change the `AzureCloud.AZURE_PUBLIC_CLOUD` variable if otherwise.

See [Authentication][authenticate] for more options.

Expand Down Expand Up @@ -107,5 +107,3 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
[coc]: https://opensource.microsoft.com/codeofconduct/
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/


Loading