Skip to content

Commit e20c1f4

Browse files
author
SDKAuto
committed
CodeGen from PR 11649 in Azure/azure-rest-api-specs
Merge 02f6511d7e980ed7e91d0adb183ee92bff265234 into 11e915c47baf981dc5613fd782fccef4bc942a42
1 parent c417552 commit e20c1f4

File tree

6 files changed

+11
-13
lines changed

6 files changed

+11
-13
lines changed

sdk/loganalytics/mgmt-v2020_03_01_preview/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
<parent>
1212
<groupId>com.microsoft.azure</groupId>
1313
<artifactId>azure-arm-parent</artifactId>
14-
<version>1.3.2</version>
15-
<relativePath>../../parents/azure-arm-parent/pom.xml</relativePath>
14+
<version>1.1.0</version>
15+
<relativePath>../../../pom.management.xml</relativePath>
1616
</parent>
1717
<artifactId>azure-mgmt-loganalytics</artifactId>
18-
<version>1.0.0-beta-1</version>
18+
<version>1.0.0-beta</version>
1919
<packaging>jar</packaging>
2020
<name>Microsoft Azure SDK for LogAnalytics Management</name>
2121
<description>This package contains Microsoft LogAnalytics Management SDK.</description>

sdk/loganalytics/mgmt-v2020_03_01_preview/src/main/java/com/microsoft/azure/management/loganalytics/v2020_03_01_preview/AzureEntityResource.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
import com.microsoft.azure.ProxyResource;
1313

1414
/**
15-
* The resource model definition for a Azure Resource Manager resource with an
15+
* Entity Resource.
16+
* The resource model definition for an Azure Resource Manager resource with an
1617
* etag.
1718
*/
1819
public class AzureEntityResource extends ProxyResource {

sdk/loganalytics/mgmt-v2020_03_01_preview/src/main/java/com/microsoft/azure/management/loganalytics/v2020_03_01_preview/ErrorResponse.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212
import com.fasterxml.jackson.annotation.JsonProperty;
1313

1414
/**
15-
* The resource management error response.
15+
* Error Response.
16+
* Common error response for all Azure Resource Manager APIs to return error
17+
* details for failed operations. (This also follows the OData error response
18+
* format.).
1619
*/
1720
public class ErrorResponse {
1821
/**

sdk/loganalytics/mgmt-v2020_03_01_preview/src/main/java/com/microsoft/azure/management/loganalytics/v2020_03_01_preview/implementation/GatewaysImpl.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
import com.microsoft.azure.arm.model.implementation.WrapperImpl;
1313
import com.microsoft.azure.management.loganalytics.v2020_03_01_preview.Gateways;
14-
import rx.Completable;
1514

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

28-
@Override
29-
public Completable deleteAsync(String resourceGroupName, String workspaceName, String gatewayId) {
30-
return this.inner().deleteAsync(resourceGroupName, workspaceName, gatewayId).toCompletable();
31-
}
3227
}

sdk/loganalytics/mgmt-v2020_03_01_preview/src/main/java/com/microsoft/azure/management/loganalytics/v2020_03_01_preview/implementation/LinkedStorageAccountsImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
package com.microsoft.azure.management.loganalytics.v2020_03_01_preview.implementation;
1111

1212
import com.microsoft.azure.arm.model.implementation.WrapperImpl;
13-
import com.microsoft.azure.management.loganalytics.v2020_03_01_preview.DataSourceType;
1413
import com.microsoft.azure.management.loganalytics.v2020_03_01_preview.LinkedStorageAccounts;
1514
import rx.Completable;
1615
import rx.Observable;

sdk/loganalytics/mgmt-v2020_03_01_preview/src/main/java/com/microsoft/azure/management/loganalytics/v2020_03_01_preview/implementation/LinkedStorageAccountsResourceImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ class LinkedStorageAccountsResourceImpl extends CreatableUpdatableImpl<LinkedSto
2626
super(name, new LinkedStorageAccountsResourceInner());
2727
this.manager = manager;
2828
// Set resource name
29-
this.dataSourceType = DataSourceType.fromString(name);
29+
this.dataSourceType = name;
3030
//
3131
}
3232

3333
LinkedStorageAccountsResourceImpl(LinkedStorageAccountsResourceInner inner, LogAnalyticsManager manager) {
3434
super(inner.name(), inner);
3535
this.manager = manager;
3636
// Set resource name
37-
this.dataSourceType = DataSourceType.fromString(inner.name());
37+
this.dataSourceType = inner.name();
3838
// set resource ancestor and positional variables
3939
this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourcegroups");
4040
this.workspaceName = IdParsingUtils.getValueFromIdByName(inner.id(), "workspaces");

0 commit comments

Comments
 (0)