@@ -196,7 +196,7 @@ public Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String roleInsta
196196 return Mono .error (new IllegalArgumentException (
197197 "Parameter this.client.getSubscriptionId() is required and cannot be null." ));
198198 }
199- final String apiVersion = "2022-09 -04" ;
199+ final String apiVersion = "2024-11 -04" ;
200200 final String accept = "application/json" ;
201201 return FluxUtil
202202 .withContext (context -> service .delete (this .client .getEndpoint (), roleInstanceName , resourceGroupName ,
@@ -239,7 +239,7 @@ private Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String roleInst
239239 return Mono .error (new IllegalArgumentException (
240240 "Parameter this.client.getSubscriptionId() is required and cannot be null." ));
241241 }
242- final String apiVersion = "2022-09 -04" ;
242+ final String apiVersion = "2024-11 -04" ;
243243 final String accept = "application/json" ;
244244 context = this .client .mergeContext (context );
245245 return service .delete (this .client .getEndpoint (), roleInstanceName , resourceGroupName , cloudServiceName ,
@@ -426,7 +426,7 @@ public Mono<Response<RoleInstanceInner>> getWithResponseAsync(String roleInstanc
426426 return Mono .error (new IllegalArgumentException (
427427 "Parameter this.client.getSubscriptionId() is required and cannot be null." ));
428428 }
429- final String apiVersion = "2022-09 -04" ;
429+ final String apiVersion = "2024-11 -04" ;
430430 final String accept = "application/json" ;
431431 return FluxUtil
432432 .withContext (context -> service .get (this .client .getEndpoint (), roleInstanceName , resourceGroupName ,
@@ -471,7 +471,7 @@ private Mono<Response<RoleInstanceInner>> getWithResponseAsync(String roleInstan
471471 return Mono .error (new IllegalArgumentException (
472472 "Parameter this.client.getSubscriptionId() is required and cannot be null." ));
473473 }
474- final String apiVersion = "2022-09 -04" ;
474+ final String apiVersion = "2024-11 -04" ;
475475 final String accept = "application/json" ;
476476 context = this .client .mergeContext (context );
477477 return service .get (this .client .getEndpoint (), roleInstanceName , resourceGroupName , cloudServiceName ,
@@ -568,7 +568,7 @@ public Mono<Response<RoleInstanceViewInner>> getInstanceViewWithResponseAsync(St
568568 return Mono .error (new IllegalArgumentException (
569569 "Parameter this.client.getSubscriptionId() is required and cannot be null." ));
570570 }
571- final String apiVersion = "2022-09 -04" ;
571+ final String apiVersion = "2024-11 -04" ;
572572 final String accept = "application/json" ;
573573 return FluxUtil
574574 .withContext (context -> service .getInstanceView (this .client .getEndpoint (), roleInstanceName ,
@@ -612,7 +612,7 @@ private Mono<Response<RoleInstanceViewInner>> getInstanceViewWithResponseAsync(S
612612 return Mono .error (new IllegalArgumentException (
613613 "Parameter this.client.getSubscriptionId() is required and cannot be null." ));
614614 }
615- final String apiVersion = "2022-09 -04" ;
615+ final String apiVersion = "2024-11 -04" ;
616616 final String accept = "application/json" ;
617617 context = this .client .mergeContext (context );
618618 return service .getInstanceView (this .client .getEndpoint (), roleInstanceName , resourceGroupName , cloudServiceName ,
@@ -705,7 +705,7 @@ private Mono<PagedResponse<RoleInstanceInner>> listSinglePageAsync(String resour
705705 return Mono .error (new IllegalArgumentException (
706706 "Parameter this.client.getSubscriptionId() is required and cannot be null." ));
707707 }
708- final String apiVersion = "2022-09 -04" ;
708+ final String apiVersion = "2024-11 -04" ;
709709 final String accept = "application/json" ;
710710 return FluxUtil
711711 .withContext (context -> service .list (this .client .getEndpoint (), resourceGroupName , cloudServiceName ,
@@ -748,7 +748,7 @@ private Mono<PagedResponse<RoleInstanceInner>> listSinglePageAsync(String resour
748748 return Mono .error (new IllegalArgumentException (
749749 "Parameter this.client.getSubscriptionId() is required and cannot be null." ));
750750 }
751- final String apiVersion = "2022-09 -04" ;
751+ final String apiVersion = "2024-11 -04" ;
752752 final String accept = "application/json" ;
753753 context = this .client .mergeContext (context );
754754 return service
@@ -885,7 +885,7 @@ public Mono<Response<Flux<ByteBuffer>>> restartWithResponseAsync(String roleInst
885885 return Mono .error (new IllegalArgumentException (
886886 "Parameter this.client.getSubscriptionId() is required and cannot be null." ));
887887 }
888- final String apiVersion = "2022-09 -04" ;
888+ final String apiVersion = "2024-11 -04" ;
889889 final String accept = "application/json" ;
890890 return FluxUtil
891891 .withContext (context -> service .restart (this .client .getEndpoint (), roleInstanceName , resourceGroupName ,
@@ -928,7 +928,7 @@ private Mono<Response<Flux<ByteBuffer>>> restartWithResponseAsync(String roleIns
928928 return Mono .error (new IllegalArgumentException (
929929 "Parameter this.client.getSubscriptionId() is required and cannot be null." ));
930930 }
931- final String apiVersion = "2022-09 -04" ;
931+ final String apiVersion = "2024-11 -04" ;
932932 final String accept = "application/json" ;
933933 context = this .client .mergeContext (context );
934934 return service .restart (this .client .getEndpoint (), roleInstanceName , resourceGroupName , cloudServiceName ,
@@ -1114,7 +1114,7 @@ public Mono<Response<Flux<ByteBuffer>>> reimageWithResponseAsync(String roleInst
11141114 return Mono .error (new IllegalArgumentException (
11151115 "Parameter this.client.getSubscriptionId() is required and cannot be null." ));
11161116 }
1117- final String apiVersion = "2022-09 -04" ;
1117+ final String apiVersion = "2024-11 -04" ;
11181118 final String accept = "application/json" ;
11191119 return FluxUtil
11201120 .withContext (context -> service .reimage (this .client .getEndpoint (), roleInstanceName , resourceGroupName ,
@@ -1158,7 +1158,7 @@ private Mono<Response<Flux<ByteBuffer>>> reimageWithResponseAsync(String roleIns
11581158 return Mono .error (new IllegalArgumentException (
11591159 "Parameter this.client.getSubscriptionId() is required and cannot be null." ));
11601160 }
1161- final String apiVersion = "2022-09 -04" ;
1161+ final String apiVersion = "2024-11 -04" ;
11621162 final String accept = "application/json" ;
11631163 context = this .client .mergeContext (context );
11641164 return service .reimage (this .client .getEndpoint (), roleInstanceName , resourceGroupName , cloudServiceName ,
@@ -1353,7 +1353,7 @@ public Mono<Response<Flux<ByteBuffer>>> rebuildWithResponseAsync(String roleInst
13531353 return Mono .error (new IllegalArgumentException (
13541354 "Parameter this.client.getSubscriptionId() is required and cannot be null." ));
13551355 }
1356- final String apiVersion = "2022-09 -04" ;
1356+ final String apiVersion = "2024-11 -04" ;
13571357 final String accept = "application/json" ;
13581358 return FluxUtil
13591359 .withContext (context -> service .rebuild (this .client .getEndpoint (), roleInstanceName , resourceGroupName ,
@@ -1398,7 +1398,7 @@ private Mono<Response<Flux<ByteBuffer>>> rebuildWithResponseAsync(String roleIns
13981398 return Mono .error (new IllegalArgumentException (
13991399 "Parameter this.client.getSubscriptionId() is required and cannot be null." ));
14001400 }
1401- final String apiVersion = "2022-09 -04" ;
1401+ final String apiVersion = "2024-11 -04" ;
14021402 final String accept = "application/json" ;
14031403 context = this .client .mergeContext (context );
14041404 return service .rebuild (this .client .getEndpoint (), roleInstanceName , resourceGroupName , cloudServiceName ,
@@ -1600,7 +1600,7 @@ public Mono<Response<BinaryData>> getRemoteDesktopFileWithResponseAsync(String r
16001600 return Mono .error (new IllegalArgumentException (
16011601 "Parameter this.client.getSubscriptionId() is required and cannot be null." ));
16021602 }
1603- final String apiVersion = "2022-09 -04" ;
1603+ final String apiVersion = "2024-11 -04" ;
16041604 final String accept = "application/x-rdp" ;
16051605 return FluxUtil
16061606 .withContext (context -> service .getRemoteDesktopFile (this .client .getEndpoint (), roleInstanceName ,
@@ -1644,7 +1644,7 @@ private Mono<Response<BinaryData>> getRemoteDesktopFileWithResponseAsync(String
16441644 return Mono .error (new IllegalArgumentException (
16451645 "Parameter this.client.getSubscriptionId() is required and cannot be null." ));
16461646 }
1647- final String apiVersion = "2022-09 -04" ;
1647+ final String apiVersion = "2024-11 -04" ;
16481648 final String accept = "application/x-rdp" ;
16491649 context = this .client .mergeContext (context );
16501650 return service .getRemoteDesktopFile (this .client .getEndpoint (), roleInstanceName , resourceGroupName ,
0 commit comments