Skip to content

Commit

Permalink
[Automation] Generate Fluent Lite from operationalinsights# (#20187)
Browse files Browse the repository at this point in the history
* [Automation] Generate Fluent Lite from operationalinsights#

* Update CHANGELOG.md

Co-authored-by: Weidong Xu <[email protected]>
  • Loading branch information
azure-sdk and weidongxu-microsoft authored Mar 30, 2021
1 parent c4cf784 commit 7ac2544
Show file tree
Hide file tree
Showing 40 changed files with 342 additions and 1,233 deletions.
71 changes: 5 additions & 66 deletions sdk/loganalytics/azure-resourcemanager-loganalytics/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,55 +1,15 @@
# Release History

## 1.0.0-beta.2 (2021-03-25)
## 1.0.0-beta.2 (2021-03-29)

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

### Breaking Change

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

* `withNextLink(java.lang.String)` was removed

#### `models.Cluster` was modified

* `nextLink()` was removed
- 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).

### New Feature

* `models.BillingType` was added

* `models.UserIdentityProperties` was added

* `models.CapacityReservationProperties` was added

* `models.AssociatedWorkspace` was added

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

* `withAssociatedWorkspaces(java.util.List)` was added
* `withBillingType(models.BillingType)` was added
* `withCapacityReservationProperties(models.CapacityReservationProperties)` was added
* `withIsDoubleEncryptionEnabled(java.lang.Boolean)` was added
* `withIsAvailabilityZonesEnabled(java.lang.Boolean)` was added

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

* `withIdentity(models.Identity)` was added

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

* `withFeatures(java.util.Map)` was added
* `withForceCmkForQuery(java.lang.Boolean)` was added

#### `models.Identity` was modified

* `withUserAssignedIdentities(java.util.Map)` was added
* `userAssignedIdentities()` was added

#### `models.ClusterPatch` was modified

* `identity()` was added
* `withIdentity(models.Identity)` was added
* `withFeatures(java.util.Map)` was added

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

Expand All @@ -60,38 +20,17 @@

* `withFeatures(java.util.Map)` was added
* `createdDate()` was added
* `forceCmkForQuery()` was added
* `withForceCmkForQuery(java.lang.Boolean)` was added
* `features()` was added
* `modifiedDate()` was added
* `forceCmkForQuery()` was added

#### `models.Workspace` was modified

* `createdDate()` was added
* `features()` was added
* `modifiedDate()` was added
* `forceCmkForQuery()` was added
* `createdDate()` was added

#### `models.KeyVaultProperties` was modified

* `withKeyRsaSize(java.lang.Integer)` was added
* `keyRsaSize()` was added

#### `models.Table` was modified

* `isTroubleshootingAllowed()` was added
* `lastTroubleshootDate()` was added
* `isTroubleshootEnabled()` was added

#### `models.Cluster` was modified

* `isAvailabilityZonesEnabled()` was added
* `isDoubleEncryptionEnabled()` was added
* `billingType()` was added
* `createdDate()` was added
* `capacityReservationProperties()` was added
* `lastModifiedDate()` was added
* `associatedWorkspaces()` was added

## 1.0.0-beta.1 (2020-12-18)

Expand Down
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-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-2020-08. 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
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-10.</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-08.</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,12 +82,20 @@ 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 @@ -100,16 +108,8 @@ public final class LogAnalyticsManager {

private WorkspacePurges workspacePurges;

private Clusters clusters;

private Operations operations;

private Tables tables;

private Workspaces workspaces;

private DeletedWorkspaces deletedWorkspaces;

private final OperationalInsightsManagementClient clientObject;

private LogAnalyticsManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
Expand Down Expand Up @@ -320,6 +320,14 @@ 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 @@ -344,6 +352,30 @@ 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 @@ -392,22 +424,6 @@ public WorkspacePurges workspacePurges() {
return workspacePurges;
}

/** @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 Tables. */
public Tables tables() {
if (this.tables == null) {
Expand All @@ -416,22 +432,6 @@ public Tables tables() {
return tables;
}

/** @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,6 +23,13 @@ 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 @@ -79,6 +86,13 @@ 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 @@ -100,6 +114,27 @@ 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 @@ -142,38 +177,10 @@ public interface OperationalInsightsManagementClient {
*/
WorkspacePurgesClient getWorkspacePurges();

/**
* 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 TablesClient object to access its operations.
*
* @return the TablesClient object.
*/
TablesClient getTables();

/**
* 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

0 comments on commit 7ac2544

Please sign in to comment.