19
19
import com .azure .resourcemanager .resources .fluentcore .collection .InnerSupportsGet ;
20
20
import com .azure .resourcemanager .resources .fluentcore .collection .InnerSupportsListing ;
21
21
import java .nio .ByteBuffer ;
22
+ import java .util .List ;
22
23
import reactor .core .publisher .Flux ;
23
24
import reactor .core .publisher .Mono ;
24
25
@@ -197,7 +198,7 @@ Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(
197
198
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
198
199
* @return a container group.
199
200
*/
200
- @ ServiceMethod (returns = ReturnType .SINGLE )
201
+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
201
202
PollerFlux <PollResult <ContainerGroupInner >, ContainerGroupInner > beginCreateOrUpdateAsync (
202
203
String resourceGroupName , String containerGroupName , ContainerGroupInner containerGroup );
203
204
@@ -212,7 +213,7 @@ PollerFlux<PollResult<ContainerGroupInner>, ContainerGroupInner> beginCreateOrUp
212
213
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
213
214
* @return a container group.
214
215
*/
215
- @ ServiceMethod (returns = ReturnType .SINGLE )
216
+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
216
217
SyncPoller <PollResult <ContainerGroupInner >, ContainerGroupInner > beginCreateOrUpdate (
217
218
String resourceGroupName , String containerGroupName , ContainerGroupInner containerGroup );
218
219
@@ -228,7 +229,7 @@ SyncPoller<PollResult<ContainerGroupInner>, ContainerGroupInner> beginCreateOrUp
228
229
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
229
230
* @return a container group.
230
231
*/
231
- @ ServiceMethod (returns = ReturnType .SINGLE )
232
+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
232
233
SyncPoller <PollResult <ContainerGroupInner >, ContainerGroupInner > beginCreateOrUpdate (
233
234
String resourceGroupName , String containerGroupName , ContainerGroupInner containerGroup , Context context );
234
235
@@ -362,7 +363,7 @@ Response<ContainerGroupInner> updateWithResponse(
362
363
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
363
364
* @return a container group.
364
365
*/
365
- @ ServiceMethod (returns = ReturnType .SINGLE )
366
+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
366
367
PollerFlux <PollResult <ContainerGroupInner >, ContainerGroupInner > beginDeleteAsync (
367
368
String resourceGroupName , String containerGroupName );
368
369
@@ -377,7 +378,7 @@ PollerFlux<PollResult<ContainerGroupInner>, ContainerGroupInner> beginDeleteAsyn
377
378
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
378
379
* @return a container group.
379
380
*/
380
- @ ServiceMethod (returns = ReturnType .SINGLE )
381
+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
381
382
SyncPoller <PollResult <ContainerGroupInner >, ContainerGroupInner > beginDelete (
382
383
String resourceGroupName , String containerGroupName );
383
384
@@ -393,7 +394,7 @@ SyncPoller<PollResult<ContainerGroupInner>, ContainerGroupInner> beginDelete(
393
394
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
394
395
* @return a container group.
395
396
*/
396
- @ ServiceMethod (returns = ReturnType .SINGLE )
397
+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
397
398
SyncPoller <PollResult <ContainerGroupInner >, ContainerGroupInner > beginDelete (
398
399
String resourceGroupName , String containerGroupName , Context context );
399
400
@@ -465,7 +466,7 @@ SyncPoller<PollResult<ContainerGroupInner>, ContainerGroupInner> beginDelete(
465
466
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
466
467
* @return the completion.
467
468
*/
468
- @ ServiceMethod (returns = ReturnType .SINGLE )
469
+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
469
470
PollerFlux <PollResult <Void >, Void > beginRestartAsync (String resourceGroupName , String containerGroupName );
470
471
471
472
/**
@@ -479,7 +480,7 @@ SyncPoller<PollResult<ContainerGroupInner>, ContainerGroupInner> beginDelete(
479
480
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
480
481
* @return the completion.
481
482
*/
482
- @ ServiceMethod (returns = ReturnType .SINGLE )
483
+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
483
484
SyncPoller <PollResult <Void >, Void > beginRestart (String resourceGroupName , String containerGroupName );
484
485
485
486
/**
@@ -494,7 +495,7 @@ SyncPoller<PollResult<ContainerGroupInner>, ContainerGroupInner> beginDelete(
494
495
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
495
496
* @return the completion.
496
497
*/
497
- @ ServiceMethod (returns = ReturnType .SINGLE )
498
+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
498
499
SyncPoller <PollResult <Void >, Void > beginRestart (
499
500
String resourceGroupName , String containerGroupName , Context context );
500
501
@@ -614,7 +615,7 @@ SyncPoller<PollResult<Void>, Void> beginRestart(
614
615
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
615
616
* @return the completion.
616
617
*/
617
- @ ServiceMethod (returns = ReturnType .SINGLE )
618
+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
618
619
PollerFlux <PollResult <Void >, Void > beginStartAsync (String resourceGroupName , String containerGroupName );
619
620
620
621
/**
@@ -627,7 +628,7 @@ SyncPoller<PollResult<Void>, Void> beginRestart(
627
628
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
628
629
* @return the completion.
629
630
*/
630
- @ ServiceMethod (returns = ReturnType .SINGLE )
631
+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
631
632
SyncPoller <PollResult <Void >, Void > beginStart (String resourceGroupName , String containerGroupName );
632
633
633
634
/**
@@ -641,7 +642,7 @@ SyncPoller<PollResult<Void>, Void> beginRestart(
641
642
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
642
643
* @return the completion.
643
644
*/
644
- @ ServiceMethod (returns = ReturnType .SINGLE )
645
+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
645
646
SyncPoller <PollResult <Void >, Void > beginStart (String resourceGroupName , String containerGroupName , Context context );
646
647
647
648
/**
@@ -681,4 +682,68 @@ SyncPoller<PollResult<Void>, Void> beginRestart(
681
682
*/
682
683
@ ServiceMethod (returns = ReturnType .SINGLE )
683
684
void start (String resourceGroupName , String containerGroupName , Context context );
685
+
686
+ /**
687
+ * Gets all the network dependencies for this container group to allow complete control of network setting and
688
+ * configuration. For container groups, this will always be an empty list.
689
+ *
690
+ * @param resourceGroupName The name of the resource group.
691
+ * @param containerGroupName The name of the container group.
692
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
693
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
694
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
695
+ * @return all the network dependencies for this container group to allow complete control of network setting and
696
+ * configuration.
697
+ */
698
+ @ ServiceMethod (returns = ReturnType .SINGLE )
699
+ Mono <Response <List <String >>> getOutboundNetworkDependenciesEndpointsWithResponseAsync (
700
+ String resourceGroupName , String containerGroupName );
701
+
702
+ /**
703
+ * Gets all the network dependencies for this container group to allow complete control of network setting and
704
+ * configuration. For container groups, this will always be an empty list.
705
+ *
706
+ * @param resourceGroupName The name of the resource group.
707
+ * @param containerGroupName The name of the container group.
708
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
709
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
710
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
711
+ * @return all the network dependencies for this container group to allow complete control of network setting and
712
+ * configuration.
713
+ */
714
+ @ ServiceMethod (returns = ReturnType .SINGLE )
715
+ Mono <List <String >> getOutboundNetworkDependenciesEndpointsAsync (
716
+ String resourceGroupName , String containerGroupName );
717
+
718
+ /**
719
+ * Gets all the network dependencies for this container group to allow complete control of network setting and
720
+ * configuration. For container groups, this will always be an empty list.
721
+ *
722
+ * @param resourceGroupName The name of the resource group.
723
+ * @param containerGroupName The name of the container group.
724
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
725
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
726
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
727
+ * @return all the network dependencies for this container group to allow complete control of network setting and
728
+ * configuration.
729
+ */
730
+ @ ServiceMethod (returns = ReturnType .SINGLE )
731
+ List <String > getOutboundNetworkDependenciesEndpoints (String resourceGroupName , String containerGroupName );
732
+
733
+ /**
734
+ * Gets all the network dependencies for this container group to allow complete control of network setting and
735
+ * configuration. For container groups, this will always be an empty list.
736
+ *
737
+ * @param resourceGroupName The name of the resource group.
738
+ * @param containerGroupName The name of the container group.
739
+ * @param context The context to associate with this operation.
740
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
741
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
742
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
743
+ * @return all the network dependencies for this container group to allow complete control of network setting and
744
+ * configuration.
745
+ */
746
+ @ ServiceMethod (returns = ReturnType .SINGLE )
747
+ Response <List <String >> getOutboundNetworkDependenciesEndpointsWithResponse (
748
+ String resourceGroupName , String containerGroupName , Context context );
684
749
}
0 commit comments