Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public Observable<ServiceResponse<Void>> deleteWithServiceResponseAsync(String r
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2018-02-01";
final String apiVersion = "2018-05-01";
Observable<Response<ResponseBody>> observable = service.delete(resourceGroupName, applicationGatewayName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent());
return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken<Void>() { }.getType());
}
Expand Down Expand Up @@ -284,7 +284,7 @@ public Observable<ServiceResponse<Void>> beginDeleteWithServiceResponseAsync(Str
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2018-02-01";
final String apiVersion = "2018-05-01";
return service.beginDelete(resourceGroupName, applicationGatewayName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Void>>>() {
@Override
Expand Down Expand Up @@ -370,7 +370,7 @@ public Observable<ServiceResponse<ApplicationGatewayInner>> getByResourceGroupWi
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2018-02-01";
final String apiVersion = "2018-05-01";
return service.getByResourceGroup(resourceGroupName, applicationGatewayName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<ApplicationGatewayInner>>>() {
@Override
Expand Down Expand Up @@ -462,7 +462,7 @@ public Observable<ServiceResponse<ApplicationGatewayInner>> createOrUpdateWithSe
throw new IllegalArgumentException("Parameter parameters is required and cannot be null.");
}
Validator.validate(parameters);
final String apiVersion = "2018-02-01";
final String apiVersion = "2018-05-01";
Observable<Response<ResponseBody>> observable = service.createOrUpdate(resourceGroupName, applicationGatewayName, this.client.subscriptionId(), parameters, apiVersion, this.client.acceptLanguage(), this.client.userAgent());
return client.getAzureClient().getPutOrPatchResultAsync(observable, new TypeToken<ApplicationGatewayInner>() { }.getType());
}
Expand Down Expand Up @@ -537,7 +537,7 @@ public Observable<ServiceResponse<ApplicationGatewayInner>> beginCreateOrUpdateW
throw new IllegalArgumentException("Parameter parameters is required and cannot be null.");
}
Validator.validate(parameters);
final String apiVersion = "2018-02-01";
final String apiVersion = "2018-05-01";
return service.beginCreateOrUpdate(resourceGroupName, applicationGatewayName, this.client.subscriptionId(), parameters, apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<ApplicationGatewayInner>>>() {
@Override
Expand Down Expand Up @@ -622,7 +622,7 @@ public Observable<ServiceResponse<ApplicationGatewayInner>> updateTagsWithServic
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2018-02-01";
final String apiVersion = "2018-05-01";
final Map<String, String> tags = null;
TagsObject parameters = new TagsObject();
parameters.withTags(null);
Expand Down Expand Up @@ -696,7 +696,7 @@ public Observable<ServiceResponse<ApplicationGatewayInner>> updateTagsWithServic
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
Validator.validate(tags);
final String apiVersion = "2018-02-01";
final String apiVersion = "2018-05-01";
TagsObject parameters = new TagsObject();
parameters.withTags(tags);
Observable<Response<ResponseBody>> observable = service.updateTags(resourceGroupName, applicationGatewayName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), parameters, this.client.userAgent());
Expand Down Expand Up @@ -765,7 +765,7 @@ public Observable<ServiceResponse<ApplicationGatewayInner>> beginUpdateTagsWithS
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2018-02-01";
final String apiVersion = "2018-05-01";
final Map<String, String> tags = null;
TagsObject parameters = new TagsObject();
parameters.withTags(null);
Expand Down Expand Up @@ -850,7 +850,7 @@ public Observable<ServiceResponse<ApplicationGatewayInner>> beginUpdateTagsWithS
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
Validator.validate(tags);
final String apiVersion = "2018-02-01";
final String apiVersion = "2018-05-01";
TagsObject parameters = new TagsObject();
parameters.withTags(tags);
return service.beginUpdateTags(resourceGroupName, applicationGatewayName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), parameters, this.client.userAgent())
Expand Down Expand Up @@ -965,7 +965,7 @@ public Observable<ServiceResponse<Page<ApplicationGatewayInner>>> listByResource
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2018-02-01";
final String apiVersion = "2018-05-01";
return service.listByResourceGroup(resourceGroupName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Page<ApplicationGatewayInner>>>>() {
@Override
Expand Down Expand Up @@ -1070,7 +1070,7 @@ public Observable<ServiceResponse<Page<ApplicationGatewayInner>>> listAllSingleP
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2018-02-01";
final String apiVersion = "2018-05-01";
return service.listAll(this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Page<ApplicationGatewayInner>>>>() {
@Override
Expand Down Expand Up @@ -1153,7 +1153,7 @@ public Observable<ServiceResponse<Void>> startWithServiceResponseAsync(String re
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2018-02-01";
final String apiVersion = "2018-05-01";
Observable<Response<ResponseBody>> observable = service.start(resourceGroupName, applicationGatewayName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent());
return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken<Void>() { }.getType());
}
Expand Down Expand Up @@ -1219,7 +1219,7 @@ public Observable<ServiceResponse<Void>> beginStartWithServiceResponseAsync(Stri
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2018-02-01";
final String apiVersion = "2018-05-01";
return service.beginStart(resourceGroupName, applicationGatewayName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Void>>>() {
@Override
Expand Down Expand Up @@ -1303,7 +1303,7 @@ public Observable<ServiceResponse<Void>> stopWithServiceResponseAsync(String res
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2018-02-01";
final String apiVersion = "2018-05-01";
Observable<Response<ResponseBody>> observable = service.stop(resourceGroupName, applicationGatewayName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent());
return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken<Void>() { }.getType());
}
Expand Down Expand Up @@ -1369,7 +1369,7 @@ public Observable<ServiceResponse<Void>> beginStopWithServiceResponseAsync(Strin
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2018-02-01";
final String apiVersion = "2018-05-01";
return service.beginStop(resourceGroupName, applicationGatewayName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Void>>>() {
@Override
Expand Down Expand Up @@ -1454,7 +1454,7 @@ public Observable<ServiceResponse<ApplicationGatewayBackendHealthInner>> backend
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2018-02-01";
final String apiVersion = "2018-05-01";
final String expand = null;
Observable<Response<ResponseBody>> observable = service.backendHealth(resourceGroupName, applicationGatewayName, this.client.subscriptionId(), apiVersion, expand, this.client.acceptLanguage(), this.client.userAgent());
return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken<ApplicationGatewayBackendHealthInner>() { }.getType());
Expand Down Expand Up @@ -1525,7 +1525,7 @@ public Observable<ServiceResponse<ApplicationGatewayBackendHealthInner>> backend
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2018-02-01";
final String apiVersion = "2018-05-01";
Observable<Response<ResponseBody>> observable = service.backendHealth(resourceGroupName, applicationGatewayName, this.client.subscriptionId(), apiVersion, expand, this.client.acceptLanguage(), this.client.userAgent());
return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken<ApplicationGatewayBackendHealthInner>() { }.getType());
}
Expand Down Expand Up @@ -1592,7 +1592,7 @@ public Observable<ServiceResponse<ApplicationGatewayBackendHealthInner>> beginBa
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2018-02-01";
final String apiVersion = "2018-05-01";
final String expand = null;
return service.beginBackendHealth(resourceGroupName, applicationGatewayName, this.client.subscriptionId(), apiVersion, expand, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<ApplicationGatewayBackendHealthInner>>>() {
Expand Down Expand Up @@ -1674,7 +1674,7 @@ public Observable<ServiceResponse<ApplicationGatewayBackendHealthInner>> beginBa
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2018-02-01";
final String apiVersion = "2018-05-01";
return service.beginBackendHealth(resourceGroupName, applicationGatewayName, this.client.subscriptionId(), apiVersion, expand, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<ApplicationGatewayBackendHealthInner>>>() {
@Override
Expand Down Expand Up @@ -1745,7 +1745,7 @@ public Observable<ServiceResponse<ApplicationGatewayAvailableWafRuleSetsResultIn
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2018-02-01";
final String apiVersion = "2018-05-01";
return service.listAvailableWafRuleSets(this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<ApplicationGatewayAvailableWafRuleSetsResultInner>>>() {
@Override
Expand Down Expand Up @@ -1815,7 +1815,7 @@ public Observable<ServiceResponse<ApplicationGatewayAvailableSslOptionsInner>> l
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2018-02-01";
final String apiVersion = "2018-05-01";
return service.listAvailableSslOptions(this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<ApplicationGatewayAvailableSslOptionsInner>>>() {
@Override
Expand Down Expand Up @@ -1920,7 +1920,7 @@ public Observable<ServiceResponse<Page<ApplicationGatewaySslPredefinedPolicyInne
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2018-02-01";
final String apiVersion = "2018-05-01";
return service.listAvailableSslPredefinedPolicies(this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Page<ApplicationGatewaySslPredefinedPolicyInner>>>>() {
@Override
Expand Down Expand Up @@ -1997,7 +1997,7 @@ public Observable<ServiceResponse<ApplicationGatewaySslPredefinedPolicyInner>> g
if (predefinedPolicyName == null) {
throw new IllegalArgumentException("Parameter predefinedPolicyName is required and cannot be null.");
}
final String apiVersion = "2018-02-01";
final String apiVersion = "2018-05-01";
return service.getSslPredefinedPolicy(this.client.subscriptionId(), predefinedPolicyName, apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<ApplicationGatewaySslPredefinedPolicyInner>>>() {
@Override
Expand Down
Loading