Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ReleasePR mgmt-v2020_03_01_preview] AssociatedWorkspaces and CapacityReservationProperties added to cluster #17623

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: 3 additions & 3 deletions sdk/loganalytics/mgmt-v2020_03_01_preview/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.3.2</version>
<relativePath>../../parents/azure-arm-parent/pom.xml</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-loganalytics</artifactId>
<version>1.0.0-beta-1</version>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for LogAnalytics Management</name>
<description>This package contains Microsoft LogAnalytics Management SDK.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
import com.microsoft.azure.ProxyResource;

/**
* The resource model definition for a Azure Resource Manager resource with an
* Entity Resource.
* The resource model definition for an Azure Resource Manager resource with an
* etag.
*/
public class AzureEntityResource extends ProxyResource {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The resource management error response.
* Error Response.
* Common error response for all Azure Resource Manager APIs to return error
* details for failed operations. (This also follows the OData error response
* format.).
*/
public class ErrorResponse {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

import com.microsoft.azure.arm.model.implementation.WrapperImpl;
import com.microsoft.azure.management.loganalytics.v2020_03_01_preview.Gateways;
import rx.Completable;

class GatewaysImpl extends WrapperImpl<GatewaysInner> implements Gateways {
private final LogAnalyticsManager manager;
Expand All @@ -25,8 +24,4 @@ public LogAnalyticsManager manager() {
return this.manager;
}

@Override
public Completable deleteAsync(String resourceGroupName, String workspaceName, String gatewayId) {
return this.inner().deleteAsync(resourceGroupName, workspaceName, gatewayId).toCompletable();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
package com.microsoft.azure.management.loganalytics.v2020_03_01_preview.implementation;

import com.microsoft.azure.arm.model.implementation.WrapperImpl;
import com.microsoft.azure.management.loganalytics.v2020_03_01_preview.DataSourceType;
import com.microsoft.azure.management.loganalytics.v2020_03_01_preview.LinkedStorageAccounts;
import rx.Completable;
import rx.Observable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ class LinkedStorageAccountsResourceImpl extends CreatableUpdatableImpl<LinkedSto
super(name, new LinkedStorageAccountsResourceInner());
this.manager = manager;
// Set resource name
this.dataSourceType = DataSourceType.fromString(name);
this.dataSourceType = name;
//
}

LinkedStorageAccountsResourceImpl(LinkedStorageAccountsResourceInner inner, LogAnalyticsManager manager) {
super(inner.name(), inner);
this.manager = manager;
// Set resource name
this.dataSourceType = DataSourceType.fromString(inner.name());
this.dataSourceType = inner.name();
// set resource ancestor and positional variables
this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourcegroups");
this.workspaceName = IdParsingUtils.getValueFromIdByName(inner.id(), "workspaces");
Expand Down