Skip to content

Commit

Permalink
Generated from 6cd69b45480a407e866640b0b9e0d53758cd4219
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed Oct 15, 2020
1 parent 718d0da commit 7af740f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 11 deletions.
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 @@ -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

0 comments on commit 7af740f

Please sign in to comment.