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 sdk/managedapplications/mgmt-v2019_07_01] Include Tags in GetSubscription and Deployment APIs #8508

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
2 changes: 1 addition & 1 deletion sdk/managedapplications/mgmt-v2019_07_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.2.0</version>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-managedapplications</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,18 @@ public ApplicationDefinitionImpl define(String name) {
return wrapModel(name);
}

@Override
public Observable<ApplicationDefinition> getByIdAsync(String applicationDefinitionId) {
ApplicationDefinitionsInner client = this.inner();
return client.getByIdAsync(applicationDefinitionId)
.map(new Func1<ApplicationDefinitionInner, ApplicationDefinition>() {
@Override
public ApplicationDefinition call(ApplicationDefinitionInner inner) {
return new ApplicationDefinitionImpl(inner.name(), inner, manager());
}
});
}

@Override
public Completable deleteByIdAsync(String applicationDefinitionId) {
ApplicationDefinitionsInner client = this.inner();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,18 @@ public ApplicationImpl define(String name) {
return wrapModel(name);
}

@Override
public Observable<Application> getByIdAsync(String applicationId) {
ApplicationsInner client = this.inner();
return client.getByIdAsync(applicationId)
.map(new Func1<ApplicationInner, Application>() {
@Override
public Application call(ApplicationInner inner) {
return new ApplicationImpl(inner.name(), inner, manager());
}
});
}

@Override
public Completable deleteByIdAsync(String applicationId) {
ApplicationsInner client = this.inner();
Expand Down