@@ -68,7 +68,7 @@ Response<ClusterInner> getByResourceGroupWithResponse(
6868 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
6969 * @return class representing a Kusto cluster.
7070 */
71- @ ServiceMethod (returns = ReturnType .SINGLE )
71+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
7272 SyncPoller <PollResult <ClusterInner >, ClusterInner > beginCreateOrUpdate (
7373 String resourceGroupName , String clusterName , ClusterInner parameters , String ifMatch , String ifNoneMatch );
7474
@@ -88,7 +88,7 @@ SyncPoller<PollResult<ClusterInner>, ClusterInner> beginCreateOrUpdate(
8888 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
8989 * @return class representing a Kusto cluster.
9090 */
91- @ ServiceMethod (returns = ReturnType .SINGLE )
91+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
9292 SyncPoller <PollResult <ClusterInner >, ClusterInner > beginCreateOrUpdate (
9393 String resourceGroupName ,
9494 String clusterName ,
@@ -168,7 +168,7 @@ ClusterInner createOrUpdate(
168168 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
169169 * @return class representing a Kusto cluster.
170170 */
171- @ ServiceMethod (returns = ReturnType .SINGLE )
171+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
172172 SyncPoller <PollResult <ClusterInner >, ClusterInner > beginUpdate (
173173 String resourceGroupName , String clusterName , ClusterUpdate parameters , String ifMatch );
174174
@@ -186,7 +186,7 @@ SyncPoller<PollResult<ClusterInner>, ClusterInner> beginUpdate(
186186 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
187187 * @return class representing a Kusto cluster.
188188 */
189- @ ServiceMethod (returns = ReturnType .SINGLE )
189+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
190190 SyncPoller <PollResult <ClusterInner >, ClusterInner > beginUpdate (
191191 String resourceGroupName , String clusterName , ClusterUpdate parameters , String ifMatch , Context context );
192192
@@ -248,7 +248,7 @@ ClusterInner update(
248248 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
249249 * @return the completion.
250250 */
251- @ ServiceMethod (returns = ReturnType .SINGLE )
251+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
252252 SyncPoller <PollResult <Void >, Void > beginDelete (String resourceGroupName , String clusterName );
253253
254254 /**
@@ -262,7 +262,7 @@ ClusterInner update(
262262 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
263263 * @return the completion.
264264 */
265- @ ServiceMethod (returns = ReturnType .SINGLE )
265+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
266266 SyncPoller <PollResult <Void >, Void > beginDelete (String resourceGroupName , String clusterName , Context context );
267267
268268 /**
@@ -300,7 +300,7 @@ ClusterInner update(
300300 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
301301 * @return the completion.
302302 */
303- @ ServiceMethod (returns = ReturnType .SINGLE )
303+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
304304 SyncPoller <PollResult <Void >, Void > beginStop (String resourceGroupName , String clusterName );
305305
306306 /**
@@ -314,7 +314,7 @@ ClusterInner update(
314314 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
315315 * @return the completion.
316316 */
317- @ ServiceMethod (returns = ReturnType .SINGLE )
317+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
318318 SyncPoller <PollResult <Void >, Void > beginStop (String resourceGroupName , String clusterName , Context context );
319319
320320 /**
@@ -352,7 +352,7 @@ ClusterInner update(
352352 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
353353 * @return the completion.
354354 */
355- @ ServiceMethod (returns = ReturnType .SINGLE )
355+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
356356 SyncPoller <PollResult <Void >, Void > beginStart (String resourceGroupName , String clusterName );
357357
358358 /**
@@ -366,7 +366,7 @@ ClusterInner update(
366366 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
367367 * @return the completion.
368368 */
369- @ ServiceMethod (returns = ReturnType .SINGLE )
369+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
370370 SyncPoller <PollResult <Void >, Void > beginStart (String resourceGroupName , String clusterName , Context context );
371371
372372 /**
@@ -433,7 +433,7 @@ PagedIterable<FollowerDatabaseDefinitionInner> listFollowerDatabases(
433433 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
434434 * @return the completion.
435435 */
436- @ ServiceMethod (returns = ReturnType .SINGLE )
436+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
437437 SyncPoller <PollResult <Void >, Void > beginDetachFollowerDatabases (
438438 String resourceGroupName , String clusterName , FollowerDatabaseDefinitionInner followerDatabaseToRemove );
439439
@@ -449,7 +449,7 @@ SyncPoller<PollResult<Void>, Void> beginDetachFollowerDatabases(
449449 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
450450 * @return the completion.
451451 */
452- @ ServiceMethod (returns = ReturnType .SINGLE )
452+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
453453 SyncPoller <PollResult <Void >, Void > beginDetachFollowerDatabases (
454454 String resourceGroupName ,
455455 String clusterName ,
@@ -498,7 +498,7 @@ void detachFollowerDatabases(
498498 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
499499 * @return the response.
500500 */
501- @ ServiceMethod (returns = ReturnType .SINGLE )
501+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
502502 SyncPoller <PollResult <DiagnoseVirtualNetworkResultInner >, DiagnoseVirtualNetworkResultInner >
503503 beginDiagnoseVirtualNetwork (String resourceGroupName , String clusterName );
504504
@@ -513,7 +513,7 @@ void detachFollowerDatabases(
513513 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
514514 * @return the response.
515515 */
516- @ ServiceMethod (returns = ReturnType .SINGLE )
516+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
517517 SyncPoller <PollResult <DiagnoseVirtualNetworkResultInner >, DiagnoseVirtualNetworkResultInner >
518518 beginDiagnoseVirtualNetwork (String resourceGroupName , String clusterName , Context context );
519519
@@ -738,7 +738,7 @@ PagedIterable<LanguageExtensionInner> listLanguageExtensions(
738738 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
739739 * @return the completion.
740740 */
741- @ ServiceMethod (returns = ReturnType .SINGLE )
741+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
742742 SyncPoller <PollResult <Void >, Void > beginAddLanguageExtensions (
743743 String resourceGroupName , String clusterName , LanguageExtensionsList languageExtensionsToAdd );
744744
@@ -754,7 +754,7 @@ SyncPoller<PollResult<Void>, Void> beginAddLanguageExtensions(
754754 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
755755 * @return the completion.
756756 */
757- @ ServiceMethod (returns = ReturnType .SINGLE )
757+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
758758 SyncPoller <PollResult <Void >, Void > beginAddLanguageExtensions (
759759 String resourceGroupName , String clusterName , LanguageExtensionsList languageExtensionsToAdd , Context context );
760760
@@ -798,7 +798,7 @@ void addLanguageExtensions(
798798 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
799799 * @return the completion.
800800 */
801- @ ServiceMethod (returns = ReturnType .SINGLE )
801+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
802802 SyncPoller <PollResult <Void >, Void > beginRemoveLanguageExtensions (
803803 String resourceGroupName , String clusterName , LanguageExtensionsList languageExtensionsToRemove );
804804
@@ -814,7 +814,7 @@ SyncPoller<PollResult<Void>, Void> beginRemoveLanguageExtensions(
814814 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
815815 * @return the completion.
816816 */
817- @ ServiceMethod (returns = ReturnType .SINGLE )
817+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
818818 SyncPoller <PollResult <Void >, Void > beginRemoveLanguageExtensions (
819819 String resourceGroupName ,
820820 String clusterName ,
0 commit comments