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
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Release History

## 1.0.0-beta.3 (Unreleased)
## 1.0.0-beta.1 (2021-05-06)

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

## 1.0.0-beta.2 (2021-03-30)

Expand Down
4 changes: 2 additions & 2 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-2020-08. 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-2020-10. 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 @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-loganalytics</artifactId>
<version>1.0.0-beta.2</version>
<version>1.0.0-beta.3</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<packaging>jar</packaging>

<name>Microsoft Azure SDK for LogAnalytics Management</name>
<description>This package contains Microsoft Azure SDK for LogAnalytics Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Operational Insights Client. Package tag package-2020-08.</description>
<description>This package contains Microsoft Azure SDK for LogAnalytics Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Operational Insights Client. Package tag package-2020-10.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,20 +82,12 @@ public final class LogAnalyticsManager {

private ManagementGroups managementGroups;

private Operations operations;

private OperationStatuses operationStatuses;

private SharedKeysOperations sharedKeysOperations;

private Usages usages;

private Workspaces workspaces;

private DeletedWorkspaces deletedWorkspaces;

private Clusters clusters;

private StorageInsightConfigs storageInsightConfigs;

private SavedSearches savedSearches;
Expand All @@ -110,6 +102,14 @@ public final class LogAnalyticsManager {

private Tables tables;

private Clusters clusters;

private Operations operations;

private Workspaces workspaces;

private DeletedWorkspaces deletedWorkspaces;

private final OperationalInsightsManagementClient clientObject;

private LogAnalyticsManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
Expand Down Expand Up @@ -234,7 +234,7 @@ public LogAnalyticsManager authenticate(TokenCredential credential, AzureProfile
.append("-")
.append("com.azure.resourcemanager.loganalytics")
.append("/")
.append("1.0.0-beta.2");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand All @@ -261,6 +261,7 @@ public LogAnalyticsManager authenticate(TokenCredential credential, AzureProfile
.add(
new BearerTokenAuthenticationPolicy(
credential, profile.getEnvironment().getManagementEndpoint() + "/.default"));
policies.addAll(this.policies);
HttpPolicyProviders.addAfterRetryPolicies(policies);
policies.add(new HttpLoggingPolicy(httpLogOptions));
HttpPipeline httpPipeline =
Expand Down Expand Up @@ -320,14 +321,6 @@ public ManagementGroups managementGroups() {
return managementGroups;
}

/** @return Resource collection API of Operations. */
public Operations operations() {
if (this.operations == null) {
this.operations = new OperationsImpl(clientObject.getOperations(), this);
}
return operations;
}

/** @return Resource collection API of OperationStatuses. */
public OperationStatuses operationStatuses() {
if (this.operationStatuses == null) {
Expand All @@ -352,30 +345,6 @@ public Usages usages() {
return usages;
}

/** @return Resource collection API of Workspaces. */
public Workspaces workspaces() {
if (this.workspaces == null) {
this.workspaces = new WorkspacesImpl(clientObject.getWorkspaces(), this);
}
return workspaces;
}

/** @return Resource collection API of DeletedWorkspaces. */
public DeletedWorkspaces deletedWorkspaces() {
if (this.deletedWorkspaces == null) {
this.deletedWorkspaces = new DeletedWorkspacesImpl(clientObject.getDeletedWorkspaces(), this);
}
return deletedWorkspaces;
}

/** @return Resource collection API of Clusters. */
public Clusters clusters() {
if (this.clusters == null) {
this.clusters = new ClustersImpl(clientObject.getClusters(), this);
}
return clusters;
}

/** @return Resource collection API of StorageInsightConfigs. */
public StorageInsightConfigs storageInsightConfigs() {
if (this.storageInsightConfigs == null) {
Expand Down Expand Up @@ -432,6 +401,38 @@ public Tables tables() {
return tables;
}

/** @return Resource collection API of Clusters. */
public Clusters clusters() {
if (this.clusters == null) {
this.clusters = new ClustersImpl(clientObject.getClusters(), this);
}
return clusters;
}

/** @return Resource collection API of Operations. */
public Operations operations() {
if (this.operations == null) {
this.operations = new OperationsImpl(clientObject.getOperations(), this);
}
return operations;
}

/** @return Resource collection API of Workspaces. */
public Workspaces workspaces() {
if (this.workspaces == null) {
this.workspaces = new WorkspacesImpl(clientObject.getWorkspaces(), this);
}
return workspaces;
}

/** @return Resource collection API of DeletedWorkspaces. */
public DeletedWorkspaces deletedWorkspaces() {
if (this.deletedWorkspaces == null) {
this.deletedWorkspaces = new DeletedWorkspacesImpl(clientObject.getDeletedWorkspaces(), this);
}
return deletedWorkspaces;
}

/**
* @return Wrapped service client OperationalInsightsManagementClient providing direct access to the underlying
* auto-generated API implementation, based on Azure REST API.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@ public interface OperationalInsightsManagementClient {
*/
String getEndpoint();

/**
* Gets Api Version.
*
* @return the apiVersion value.
*/
String getApiVersion();

/**
* Gets The HTTP pipeline to send requests through.
*
Expand Down Expand Up @@ -86,13 +79,6 @@ public interface OperationalInsightsManagementClient {
*/
ManagementGroupsClient getManagementGroups();

/**
* Gets the OperationsClient object to access its operations.
*
* @return the OperationsClient object.
*/
OperationsClient getOperations();

/**
* Gets the OperationStatusesClient object to access its operations.
*
Expand All @@ -114,27 +100,6 @@ public interface OperationalInsightsManagementClient {
*/
UsagesClient getUsages();

/**
* Gets the WorkspacesClient object to access its operations.
*
* @return the WorkspacesClient object.
*/
WorkspacesClient getWorkspaces();

/**
* Gets the DeletedWorkspacesClient object to access its operations.
*
* @return the DeletedWorkspacesClient object.
*/
DeletedWorkspacesClient getDeletedWorkspaces();

/**
* Gets the ClustersClient object to access its operations.
*
* @return the ClustersClient object.
*/
ClustersClient getClusters();

/**
* Gets the StorageInsightConfigsClient object to access its operations.
*
Expand Down Expand Up @@ -183,4 +148,32 @@ public interface OperationalInsightsManagementClient {
* @return the TablesClient object.
*/
TablesClient getTables();

/**
* Gets the ClustersClient object to access its operations.
*
* @return the ClustersClient object.
*/
ClustersClient getClusters();

/**
* Gets the OperationsClient object to access its operations.
*
* @return the OperationsClient object.
*/
OperationsClient getOperations();

/**
* Gets the WorkspacesClient object to access its operations.
*
* @return the WorkspacesClient object.
*/
WorkspacesClient getWorkspaces();

/**
* Gets the DeletedWorkspacesClient object to access its operations.
*
* @return the DeletedWorkspacesClient object.
*/
DeletedWorkspacesClient getDeletedWorkspaces();
}
Loading