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/servicebus/mgmt-v2015_08_01] Service Bus : Added DisasterRecoveryConfig to 2018-preview API version #17097

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
4 changes: 2 additions & 2 deletions sdk/servicebus/mgmt-v2015_08_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.2.0</version>
<relativePath>../../parents/azure-arm-parent</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-servicebus</artifactId>
<version>1.0.0-beta</version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,14 @@ private Observable<SharedAccessAuthorizationRuleResourceInner> getSharedAccessAu
public Observable<NamespaceSharedAccessAuthorizationRuleResource> getAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String authorizationRuleName) {
NamespacesInner client = this.inner();
return client.getAuthorizationRuleAsync(resourceGroupName, namespaceName, authorizationRuleName)
.map(new Func1<SharedAccessAuthorizationRuleResourceInner, NamespaceSharedAccessAuthorizationRuleResource>() {
.flatMap(new Func1<SharedAccessAuthorizationRuleResourceInner, Observable<NamespaceSharedAccessAuthorizationRuleResource>>() {
@Override
public NamespaceSharedAccessAuthorizationRuleResource call(SharedAccessAuthorizationRuleResourceInner inner) {
return wrapNamespaceSharedAccessAuthorizationRuleResourceModel(inner);
public Observable<NamespaceSharedAccessAuthorizationRuleResource> call(SharedAccessAuthorizationRuleResourceInner inner) {
if (inner == null) {
return Observable.empty();
} else {
return Observable.just((NamespaceSharedAccessAuthorizationRuleResource)wrapNamespaceSharedAccessAuthorizationRuleResourceModel(inner));
}
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,14 @@ public QueueResource call(QueueResourceInner inner) {
public Observable<QueueResource> getAsync(String resourceGroupName, String namespaceName, String queueName) {
QueuesInner client = this.inner();
return client.getAsync(resourceGroupName, namespaceName, queueName)
.map(new Func1<QueueResourceInner, QueueResource>() {
.flatMap(new Func1<QueueResourceInner, Observable<QueueResource>>() {
@Override
public QueueResource call(QueueResourceInner inner) {
return wrapModel(inner);
public Observable<QueueResource> call(QueueResourceInner inner) {
if (inner == null) {
return Observable.empty();
} else {
return Observable.just((QueueResource)wrapModel(inner));
}
}
});
}
Expand Down Expand Up @@ -107,10 +111,14 @@ private Observable<SharedAccessAuthorizationRuleResourceInner> getSharedAccessAu
public Observable<QueueNamespaceSharedAccessAuthorizationRuleResource> getAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String queueName, String authorizationRuleName) {
QueuesInner client = this.inner();
return client.getAuthorizationRuleAsync(resourceGroupName, namespaceName, queueName, authorizationRuleName)
.map(new Func1<SharedAccessAuthorizationRuleResourceInner, QueueNamespaceSharedAccessAuthorizationRuleResource>() {
.flatMap(new Func1<SharedAccessAuthorizationRuleResourceInner, Observable<QueueNamespaceSharedAccessAuthorizationRuleResource>>() {
@Override
public QueueNamespaceSharedAccessAuthorizationRuleResource call(SharedAccessAuthorizationRuleResourceInner inner) {
return wrapQueueNamespaceSharedAccessAuthorizationRuleResourceModel(inner);
public Observable<QueueNamespaceSharedAccessAuthorizationRuleResource> call(SharedAccessAuthorizationRuleResourceInner inner) {
if (inner == null) {
return Observable.empty();
} else {
return Observable.just((QueueNamespaceSharedAccessAuthorizationRuleResource)wrapQueueNamespaceSharedAccessAuthorizationRuleResourceModel(inner));
}
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,14 @@ public SubscriptionResource call(SubscriptionResourceInner inner) {
public Observable<SubscriptionResource> getAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName) {
SubscriptionsInner client = this.inner();
return client.getAsync(resourceGroupName, namespaceName, topicName, subscriptionName)
.map(new Func1<SubscriptionResourceInner, SubscriptionResource>() {
.flatMap(new Func1<SubscriptionResourceInner, Observable<SubscriptionResource>>() {
@Override
public SubscriptionResource call(SubscriptionResourceInner inner) {
return wrapModel(inner);
public Observable<SubscriptionResource> call(SubscriptionResourceInner inner) {
if (inner == null) {
return Observable.empty();
} else {
return Observable.just((SubscriptionResource)wrapModel(inner));
}
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,14 @@ public TopicResource call(TopicResourceInner inner) {
public Observable<TopicResource> getAsync(String resourceGroupName, String namespaceName, String topicName) {
TopicsInner client = this.inner();
return client.getAsync(resourceGroupName, namespaceName, topicName)
.map(new Func1<TopicResourceInner, TopicResource>() {
.flatMap(new Func1<TopicResourceInner, Observable<TopicResource>>() {
@Override
public TopicResource call(TopicResourceInner inner) {
return wrapModel(inner);
public Observable<TopicResource> call(TopicResourceInner inner) {
if (inner == null) {
return Observable.empty();
} else {
return Observable.just((TopicResource)wrapModel(inner));
}
}
});
}
Expand Down Expand Up @@ -107,10 +111,14 @@ private Observable<SharedAccessAuthorizationRuleResourceInner> getSharedAccessAu
public Observable<TopicNamespaceSharedAccessAuthorizationRuleResource> getAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName) {
TopicsInner client = this.inner();
return client.getAuthorizationRuleAsync(resourceGroupName, namespaceName, topicName, authorizationRuleName)
.map(new Func1<SharedAccessAuthorizationRuleResourceInner, TopicNamespaceSharedAccessAuthorizationRuleResource>() {
.flatMap(new Func1<SharedAccessAuthorizationRuleResourceInner, Observable<TopicNamespaceSharedAccessAuthorizationRuleResource>>() {
@Override
public TopicNamespaceSharedAccessAuthorizationRuleResource call(SharedAccessAuthorizationRuleResourceInner inner) {
return wrapTopicNamespaceSharedAccessAuthorizationRuleResourceModel(inner);
public Observable<TopicNamespaceSharedAccessAuthorizationRuleResource> call(SharedAccessAuthorizationRuleResourceInner inner) {
if (inner == null) {
return Observable.empty();
} else {
return Observable.just((TopicNamespaceSharedAccessAuthorizationRuleResource)wrapTopicNamespaceSharedAccessAuthorizationRuleResourceModel(inner));
}
}
});
}
Expand Down