Skip to content

Commit 055c941

Browse files
author
SDKAuto
committed
CodeGen from PR 33696 in Azure/azure-rest-api-specs
Merge 89b0f7984a565d99adae7ae3d4a604e57e7203dc into bec6cd80f0a570dc0bad3c18f6b517a6c5981e75
1 parent 92864d4 commit 055c941

File tree

270 files changed

+2819
-7688
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

270 files changed

+2819
-7688
lines changed

sdk/loganalytics/azure-resourcemanager-loganalytics/CHANGELOG.md

Lines changed: 109 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,119 @@
11
# Release History
22

3-
## 1.2.0-beta.1 (Unreleased)
3+
## 1.0.0-beta.1 (2025-04-12)
44

5-
### Features Added
5+
- 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).
66

77
### Breaking Changes
88

9-
### Bugs Fixed
9+
#### `models.AzureResourceProperties` was removed
10+
11+
#### `models.SystemDataAutoGenerated` was removed
12+
13+
#### `models.CreatedByType` was removed
14+
15+
#### `models.QueryPacksResource` was removed
16+
17+
#### `models.CapacityReservationProperties` was modified
18+
19+
* `java.lang.String lastSkuUpdate()` -> `java.time.OffsetDateTime lastSkuUpdate()`
20+
21+
#### `models.WorkspacePatch` was modified
22+
23+
* `java.lang.String modifiedDate()` -> `java.time.OffsetDateTime modifiedDate()`
24+
* `java.lang.String createdDate()` -> `java.time.OffsetDateTime createdDate()`
25+
26+
#### `models.Workspace` was modified
27+
28+
* `models.SystemDataAutoGenerated systemData()` -> `com.azure.core.management.SystemData systemData()`
29+
* `java.lang.String createdDate()` -> `java.time.OffsetDateTime createdDate()`
30+
* `java.lang.String modifiedDate()` -> `java.time.OffsetDateTime modifiedDate()`
31+
32+
#### `models.WorkspaceSku` was modified
33+
34+
* `java.lang.String lastSkuUpdate()` -> `java.time.OffsetDateTime lastSkuUpdate()`
35+
36+
#### `models.AssociatedWorkspace` was modified
37+
38+
* `java.lang.String workspaceId()` -> `java.util.UUID workspaceId()`
39+
* `java.lang.String associateDate()` -> `java.time.OffsetDateTime associateDate()`
40+
41+
#### `models.Table` was modified
42+
43+
* `models.SystemDataAutoGenerated systemData()` -> `com.azure.core.management.SystemData systemData()`
44+
45+
#### `models.Cluster` was modified
46+
47+
* `java.lang.String lastModifiedDate()` -> `java.time.OffsetDateTime lastModifiedDate()`
48+
* `java.lang.String createdDate()` -> `java.time.OffsetDateTime createdDate()`
49+
50+
#### `models.IdentityType` was modified
51+
52+
* `java.util.Collection values()` -> `models.IdentityType[] values()`
53+
54+
### Features Added
55+
56+
* `models.WorkspaceReplicationProperties` was added
57+
58+
* `models.WorkspaceFailoverProperties` was added
59+
60+
* `models.ClusterReplicationProperties` was added
61+
62+
* `models.ClusterReplicationState` was added
63+
64+
* `models.WorkspaceReplicationState` was added
65+
66+
* `models.WorkspaceFailoverState` was added
67+
68+
#### `models.Cluster$Definition` was modified
69+
70+
* `withReplication(models.ClusterReplicationProperties)` was added
71+
72+
#### `models.WorkspaceFeatures` was modified
73+
74+
* `unifiedSentinelBillingOnly()` was added
75+
76+
#### `models.Workspace$Update` was modified
77+
78+
* `withReplication(models.WorkspaceReplicationProperties)` was added
79+
* `withFailover(models.WorkspaceFailoverProperties)` was added
80+
81+
#### `models.Workspace$Definition` was modified
82+
83+
* `withFailover(models.WorkspaceFailoverProperties)` was added
84+
* `withReplication(models.WorkspaceReplicationProperties)` was added
85+
86+
#### `models.WorkspacePatch` was modified
87+
88+
* `failover()` was added
89+
* `replication()` was added
90+
* `withFailover(models.WorkspaceFailoverProperties)` was added
91+
* `withReplication(models.WorkspaceReplicationProperties)` was added
92+
93+
#### `models.Workspace` was modified
94+
95+
* `failover()` was added
96+
* `replication()` was added
97+
98+
#### `models.LogAnalyticsQueryPack` was modified
99+
100+
* `systemData()` was added
101+
102+
#### `models.Workspaces` was modified
103+
104+
* `failback(java.lang.String,java.lang.String)` was added
105+
* `failover(java.lang.String,java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
106+
* `failback(java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
107+
* `failover(java.lang.String,java.lang.String,java.lang.String)` was added
108+
109+
#### `models.Cluster` was modified
110+
111+
* `replication()` was added
112+
113+
#### `models.IdentityType` was modified
10114

11-
### Other Changes
115+
* `toString()` was added
116+
* `valueOf(java.lang.String)` was added
12117

13118
## 1.1.0 (2024-12-13)
14119

sdk/loganalytics/azure-resourcemanager-loganalytics/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Azure Resource Manager LogAnalytics client library for Java.
44

5-
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).
5+
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).
66

77
## We'd love to hear your feedback
88

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

5454
```java
55-
AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
55+
AzureProfile profile = new AzureProfile(AzureCloud.AZURE_PUBLIC_CLOUD);
5656
TokenCredential credential = new DefaultAzureCredentialBuilder()
5757
.authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
5858
.build();
5959
LogAnalyticsManager manager = LogAnalyticsManager
6060
.authenticate(credential, profile);
6161
```
6262

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

6565
See [Authentication][authenticate] for more options.
6666

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

0 commit comments

Comments
 (0)