|
35 | 35 | import rx.Observable; |
36 | 36 | import com.microsoft.azure.LongRunningFinalState; |
37 | 37 | import com.microsoft.azure.LongRunningOperationOptions; |
38 | | -import com.microsoft.azure.LongRunningFinalState; |
39 | | -import com.microsoft.azure.LongRunningOperationOptions; |
40 | 38 |
|
41 | 39 | /** |
42 | 40 | * An instance of this class provides access to all the operations defined |
@@ -195,7 +193,7 @@ public Observable<ServiceResponse<ConnectionMonitorResultInner>> createOrUpdateW |
195 | 193 | throw new IllegalArgumentException("Parameter parameters is required and cannot be null."); |
196 | 194 | } |
197 | 195 | Validator.validate(parameters); |
198 | | - final String apiVersion = "2019-06-01"; |
| 196 | + final String apiVersion = "2019-07-01"; |
199 | 197 | Observable<Response<ResponseBody>> observable = service.createOrUpdate(resourceGroupName, networkWatcherName, connectionMonitorName, this.client.subscriptionId(), parameters, apiVersion, this.client.acceptLanguage(), this.client.userAgent()); |
200 | 198 | return client.getAzureClient().getPutOrPatchResultAsync(observable, new TypeToken<ConnectionMonitorResultInner>() { }.getType()); |
201 | 199 | } |
@@ -277,7 +275,7 @@ public Observable<ServiceResponse<ConnectionMonitorResultInner>> beginCreateOrUp |
277 | 275 | throw new IllegalArgumentException("Parameter parameters is required and cannot be null."); |
278 | 276 | } |
279 | 277 | Validator.validate(parameters); |
280 | | - final String apiVersion = "2019-06-01"; |
| 278 | + final String apiVersion = "2019-07-01"; |
281 | 279 | return service.beginCreateOrUpdate(resourceGroupName, networkWatcherName, connectionMonitorName, this.client.subscriptionId(), parameters, apiVersion, this.client.acceptLanguage(), this.client.userAgent()) |
282 | 280 | .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<ConnectionMonitorResultInner>>>() { |
283 | 281 | @Override |
@@ -369,7 +367,7 @@ public Observable<ServiceResponse<ConnectionMonitorResultInner>> getWithServiceR |
369 | 367 | if (this.client.subscriptionId() == null) { |
370 | 368 | throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); |
371 | 369 | } |
372 | | - final String apiVersion = "2019-06-01"; |
| 370 | + final String apiVersion = "2019-07-01"; |
373 | 371 | return service.get(resourceGroupName, networkWatcherName, connectionMonitorName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent()) |
374 | 372 | .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<ConnectionMonitorResultInner>>>() { |
375 | 373 | @Override |
@@ -459,7 +457,7 @@ public Observable<ServiceResponse<Void>> deleteWithServiceResponseAsync(String r |
459 | 457 | if (this.client.subscriptionId() == null) { |
460 | 458 | throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); |
461 | 459 | } |
462 | | - final String apiVersion = "2019-06-01"; |
| 460 | + final String apiVersion = "2019-07-01"; |
463 | 461 | Observable<Response<ResponseBody>> observable = service.delete(resourceGroupName, networkWatcherName, connectionMonitorName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent()); |
464 | 462 | return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken<Void>() { }.getType()); |
465 | 463 | } |
@@ -532,7 +530,7 @@ public Observable<ServiceResponse<Void>> beginDeleteWithServiceResponseAsync(Str |
532 | 530 | if (this.client.subscriptionId() == null) { |
533 | 531 | throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); |
534 | 532 | } |
535 | | - final String apiVersion = "2019-06-01"; |
| 533 | + final String apiVersion = "2019-07-01"; |
536 | 534 | return service.beginDelete(resourceGroupName, networkWatcherName, connectionMonitorName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent()) |
537 | 535 | .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Void>>>() { |
538 | 536 | @Override |
@@ -624,7 +622,7 @@ public Observable<ServiceResponse<ConnectionMonitorResultInner>> updateTagsWithS |
624 | 622 | if (this.client.subscriptionId() == null) { |
625 | 623 | throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); |
626 | 624 | } |
627 | | - final String apiVersion = "2019-06-01"; |
| 625 | + final String apiVersion = "2019-07-01"; |
628 | 626 | final Map<String, String> tags = null; |
629 | 627 | TagsObject parameters = new TagsObject(); |
630 | 628 | parameters.withTags(null); |
@@ -716,7 +714,7 @@ public Observable<ServiceResponse<ConnectionMonitorResultInner>> updateTagsWithS |
716 | 714 | throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); |
717 | 715 | } |
718 | 716 | Validator.validate(tags); |
719 | | - final String apiVersion = "2019-06-01"; |
| 717 | + final String apiVersion = "2019-07-01"; |
720 | 718 | TagsObject parameters = new TagsObject(); |
721 | 719 | parameters.withTags(tags); |
722 | 720 | return service.updateTags(resourceGroupName, networkWatcherName, connectionMonitorName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), parameters, this.client.userAgent()) |
@@ -808,7 +806,7 @@ public Observable<ServiceResponse<Void>> stopWithServiceResponseAsync(String res |
808 | 806 | if (this.client.subscriptionId() == null) { |
809 | 807 | throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); |
810 | 808 | } |
811 | | - final String apiVersion = "2019-06-01"; |
| 809 | + final String apiVersion = "2019-07-01"; |
812 | 810 | Observable<Response<ResponseBody>> observable = service.stop(resourceGroupName, networkWatcherName, connectionMonitorName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent()); |
813 | 811 | return client.getAzureClient().getPostOrDeleteResultAsync(observable, new LongRunningOperationOptions().withFinalStateVia(LongRunningFinalState.LOCATION), new TypeToken<Void>() { }.getType()); |
814 | 812 | } |
@@ -881,7 +879,7 @@ public Observable<ServiceResponse<Void>> beginStopWithServiceResponseAsync(Strin |
881 | 879 | if (this.client.subscriptionId() == null) { |
882 | 880 | throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); |
883 | 881 | } |
884 | | - final String apiVersion = "2019-06-01"; |
| 882 | + final String apiVersion = "2019-07-01"; |
885 | 883 | return service.beginStop(resourceGroupName, networkWatcherName, connectionMonitorName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent()) |
886 | 884 | .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Void>>>() { |
887 | 885 | @Override |
@@ -972,7 +970,7 @@ public Observable<ServiceResponse<Void>> startWithServiceResponseAsync(String re |
972 | 970 | if (this.client.subscriptionId() == null) { |
973 | 971 | throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); |
974 | 972 | } |
975 | | - final String apiVersion = "2019-06-01"; |
| 973 | + final String apiVersion = "2019-07-01"; |
976 | 974 | Observable<Response<ResponseBody>> observable = service.start(resourceGroupName, networkWatcherName, connectionMonitorName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent()); |
977 | 975 | return client.getAzureClient().getPostOrDeleteResultAsync(observable, new LongRunningOperationOptions().withFinalStateVia(LongRunningFinalState.LOCATION), new TypeToken<Void>() { }.getType()); |
978 | 976 | } |
@@ -1045,7 +1043,7 @@ public Observable<ServiceResponse<Void>> beginStartWithServiceResponseAsync(Stri |
1045 | 1043 | if (this.client.subscriptionId() == null) { |
1046 | 1044 | throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); |
1047 | 1045 | } |
1048 | | - final String apiVersion = "2019-06-01"; |
| 1046 | + final String apiVersion = "2019-07-01"; |
1049 | 1047 | return service.beginStart(resourceGroupName, networkWatcherName, connectionMonitorName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent()) |
1050 | 1048 | .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Void>>>() { |
1051 | 1049 | @Override |
@@ -1137,7 +1135,7 @@ public Observable<ServiceResponse<ConnectionMonitorQueryResultInner>> queryWithS |
1137 | 1135 | if (this.client.subscriptionId() == null) { |
1138 | 1136 | throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); |
1139 | 1137 | } |
1140 | | - final String apiVersion = "2019-06-01"; |
| 1138 | + final String apiVersion = "2019-07-01"; |
1141 | 1139 | Observable<Response<ResponseBody>> observable = service.query(resourceGroupName, networkWatcherName, connectionMonitorName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent()); |
1142 | 1140 | return client.getAzureClient().getPostOrDeleteResultAsync(observable, new LongRunningOperationOptions().withFinalStateVia(LongRunningFinalState.LOCATION), new TypeToken<ConnectionMonitorQueryResultInner>() { }.getType()); |
1143 | 1141 | } |
@@ -1211,7 +1209,7 @@ public Observable<ServiceResponse<ConnectionMonitorQueryResultInner>> beginQuery |
1211 | 1209 | if (this.client.subscriptionId() == null) { |
1212 | 1210 | throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); |
1213 | 1211 | } |
1214 | | - final String apiVersion = "2019-06-01"; |
| 1212 | + final String apiVersion = "2019-07-01"; |
1215 | 1213 | return service.beginQuery(resourceGroupName, networkWatcherName, connectionMonitorName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent()) |
1216 | 1214 | .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<ConnectionMonitorQueryResultInner>>>() { |
1217 | 1215 | @Override |
@@ -1296,7 +1294,7 @@ public Observable<ServiceResponse<List<ConnectionMonitorResultInner>>> listWithS |
1296 | 1294 | if (this.client.subscriptionId() == null) { |
1297 | 1295 | throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); |
1298 | 1296 | } |
1299 | | - final String apiVersion = "2019-06-01"; |
| 1297 | + final String apiVersion = "2019-07-01"; |
1300 | 1298 | return service.list(resourceGroupName, networkWatcherName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent()) |
1301 | 1299 | .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<List<ConnectionMonitorResultInner>>>>() { |
1302 | 1300 | @Override |
|
0 commit comments