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

[AutoPR sdk/cosmos/mgmt-v2019_12_12] [CosmosDB] Introducing the apiVersion 04-01-2020 #3037

Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public Observable<ServiceResponse<List<NotebookWorkspaceInner>>> listByDatabaseA
if (accountName == null) {
throw new IllegalArgumentException("Parameter accountName is required and cannot be null.");
}
final String apiVersion = "2019-08-01";
final String apiVersion = "2019-12-12";
return service.listByDatabaseAccount(this.client.subscriptionId(), resourceGroupName, accountName, apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<List<NotebookWorkspaceInner>>>>() {
@Override
Expand Down Expand Up @@ -256,7 +256,7 @@ public Observable<ServiceResponse<NotebookWorkspaceInner>> getWithServiceRespons
throw new IllegalArgumentException("Parameter accountName is required and cannot be null.");
}
final String notebookWorkspaceName = "default";
final String apiVersion = "2019-08-01";
final String apiVersion = "2019-12-12";
return service.get(this.client.subscriptionId(), resourceGroupName, accountName, notebookWorkspaceName, apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<NotebookWorkspaceInner>>>() {
@Override
Expand Down Expand Up @@ -341,7 +341,7 @@ public Observable<ServiceResponse<NotebookWorkspaceInner>> createOrUpdateWithSer
throw new IllegalArgumentException("Parameter accountName is required and cannot be null.");
}
final String notebookWorkspaceName = "default";
final String apiVersion = "2019-08-01";
final String apiVersion = "2019-12-12";
Observable<Response<ResponseBody>> observable = service.createOrUpdate(this.client.subscriptionId(), resourceGroupName, accountName, notebookWorkspaceName, apiVersion, this.client.acceptLanguage(), notebookCreateUpdateParameters, this.client.userAgent());
return client.getAzureClient().getPutOrPatchResultAsync(observable, new TypeToken<NotebookWorkspaceInner>() { }.getType());
}
Expand Down Expand Up @@ -409,7 +409,7 @@ public Observable<ServiceResponse<NotebookWorkspaceInner>> beginCreateOrUpdateWi
throw new IllegalArgumentException("Parameter accountName is required and cannot be null.");
}
final String notebookWorkspaceName = "default";
final String apiVersion = "2019-08-01";
final String apiVersion = "2019-12-12";
return service.beginCreateOrUpdate(this.client.subscriptionId(), resourceGroupName, accountName, notebookWorkspaceName, apiVersion, this.client.acceptLanguage(), notebookCreateUpdateParameters, this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<NotebookWorkspaceInner>>>() {
@Override
Expand Down Expand Up @@ -493,7 +493,7 @@ public Observable<ServiceResponse<Void>> deleteWithServiceResponseAsync(String r
throw new IllegalArgumentException("Parameter accountName is required and cannot be null.");
}
final String notebookWorkspaceName = "default";
final String apiVersion = "2019-08-01";
final String apiVersion = "2019-12-12";
Observable<Response<ResponseBody>> observable = service.delete(this.client.subscriptionId(), resourceGroupName, accountName, notebookWorkspaceName, apiVersion, this.client.acceptLanguage(), this.client.userAgent());
return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken<Void>() { }.getType());
}
Expand Down Expand Up @@ -560,7 +560,7 @@ public Observable<ServiceResponse<Void>> beginDeleteWithServiceResponseAsync(Str
throw new IllegalArgumentException("Parameter accountName is required and cannot be null.");
}
final String notebookWorkspaceName = "default";
final String apiVersion = "2019-08-01";
final String apiVersion = "2019-12-12";
return service.beginDelete(this.client.subscriptionId(), resourceGroupName, accountName, notebookWorkspaceName, apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Void>>>() {
@Override
Expand Down Expand Up @@ -646,7 +646,7 @@ public Observable<ServiceResponse<NotebookWorkspaceConnectionInfoResultInner>> l
throw new IllegalArgumentException("Parameter accountName is required and cannot be null.");
}
final String notebookWorkspaceName = "default";
final String apiVersion = "2019-08-01";
final String apiVersion = "2019-12-12";
return service.listConnectionInfo(this.client.subscriptionId(), resourceGroupName, accountName, notebookWorkspaceName, apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<NotebookWorkspaceConnectionInfoResultInner>>>() {
@Override
Expand Down Expand Up @@ -730,7 +730,7 @@ public Observable<ServiceResponse<Void>> regenerateAuthTokenWithServiceResponseA
throw new IllegalArgumentException("Parameter accountName is required and cannot be null.");
}
final String notebookWorkspaceName = "default";
final String apiVersion = "2019-08-01";
final String apiVersion = "2019-12-12";
Observable<Response<ResponseBody>> observable = service.regenerateAuthToken(this.client.subscriptionId(), resourceGroupName, accountName, notebookWorkspaceName, apiVersion, this.client.acceptLanguage(), this.client.userAgent());
return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken<Void>() { }.getType());
}
Expand Down Expand Up @@ -797,7 +797,7 @@ public Observable<ServiceResponse<Void>> beginRegenerateAuthTokenWithServiceResp
throw new IllegalArgumentException("Parameter accountName is required and cannot be null.");
}
final String notebookWorkspaceName = "default";
final String apiVersion = "2019-08-01";
final String apiVersion = "2019-12-12";
return service.beginRegenerateAuthToken(this.client.subscriptionId(), resourceGroupName, accountName, notebookWorkspaceName, apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Void>>>() {
@Override
Expand Down Expand Up @@ -882,7 +882,7 @@ public Observable<ServiceResponse<Void>> startWithServiceResponseAsync(String re
throw new IllegalArgumentException("Parameter accountName is required and cannot be null.");
}
final String notebookWorkspaceName = "default";
final String apiVersion = "2019-08-01";
final String apiVersion = "2019-12-12";
Observable<Response<ResponseBody>> observable = service.start(this.client.subscriptionId(), resourceGroupName, accountName, notebookWorkspaceName, apiVersion, this.client.acceptLanguage(), this.client.userAgent());
return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken<Void>() { }.getType());
}
Expand Down Expand Up @@ -949,7 +949,7 @@ public Observable<ServiceResponse<Void>> beginStartWithServiceResponseAsync(Stri
throw new IllegalArgumentException("Parameter accountName is required and cannot be null.");
}
final String notebookWorkspaceName = "default";
final String apiVersion = "2019-08-01";
final String apiVersion = "2019-12-12";
return service.beginStart(this.client.subscriptionId(), resourceGroupName, accountName, notebookWorkspaceName, apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Void>>>() {
@Override
Expand Down