1919import com .azure .resourcemanager .resources .fluentcore .collection .InnerSupportsGet ;
2020import com .azure .resourcemanager .resources .fluentcore .collection .InnerSupportsListing ;
2121import java .nio .ByteBuffer ;
22+ import java .util .List ;
2223import reactor .core .publisher .Flux ;
2324import reactor .core .publisher .Mono ;
2425
@@ -197,7 +198,7 @@ Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(
197198 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
198199 * @return a container group.
199200 */
200- @ ServiceMethod (returns = ReturnType .SINGLE )
201+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
201202 PollerFlux <PollResult <ContainerGroupInner >, ContainerGroupInner > beginCreateOrUpdateAsync (
202203 String resourceGroupName , String containerGroupName , ContainerGroupInner containerGroup );
203204
@@ -212,7 +213,7 @@ PollerFlux<PollResult<ContainerGroupInner>, ContainerGroupInner> beginCreateOrUp
212213 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
213214 * @return a container group.
214215 */
215- @ ServiceMethod (returns = ReturnType .SINGLE )
216+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
216217 SyncPoller <PollResult <ContainerGroupInner >, ContainerGroupInner > beginCreateOrUpdate (
217218 String resourceGroupName , String containerGroupName , ContainerGroupInner containerGroup );
218219
@@ -228,7 +229,7 @@ SyncPoller<PollResult<ContainerGroupInner>, ContainerGroupInner> beginCreateOrUp
228229 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
229230 * @return a container group.
230231 */
231- @ ServiceMethod (returns = ReturnType .SINGLE )
232+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
232233 SyncPoller <PollResult <ContainerGroupInner >, ContainerGroupInner > beginCreateOrUpdate (
233234 String resourceGroupName , String containerGroupName , ContainerGroupInner containerGroup , Context context );
234235
@@ -362,7 +363,7 @@ Response<ContainerGroupInner> updateWithResponse(
362363 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
363364 * @return a container group.
364365 */
365- @ ServiceMethod (returns = ReturnType .SINGLE )
366+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
366367 PollerFlux <PollResult <ContainerGroupInner >, ContainerGroupInner > beginDeleteAsync (
367368 String resourceGroupName , String containerGroupName );
368369
@@ -377,7 +378,7 @@ PollerFlux<PollResult<ContainerGroupInner>, ContainerGroupInner> beginDeleteAsyn
377378 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
378379 * @return a container group.
379380 */
380- @ ServiceMethod (returns = ReturnType .SINGLE )
381+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
381382 SyncPoller <PollResult <ContainerGroupInner >, ContainerGroupInner > beginDelete (
382383 String resourceGroupName , String containerGroupName );
383384
@@ -393,7 +394,7 @@ SyncPoller<PollResult<ContainerGroupInner>, ContainerGroupInner> beginDelete(
393394 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
394395 * @return a container group.
395396 */
396- @ ServiceMethod (returns = ReturnType .SINGLE )
397+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
397398 SyncPoller <PollResult <ContainerGroupInner >, ContainerGroupInner > beginDelete (
398399 String resourceGroupName , String containerGroupName , Context context );
399400
@@ -465,7 +466,7 @@ SyncPoller<PollResult<ContainerGroupInner>, ContainerGroupInner> beginDelete(
465466 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
466467 * @return the completion.
467468 */
468- @ ServiceMethod (returns = ReturnType .SINGLE )
469+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
469470 PollerFlux <PollResult <Void >, Void > beginRestartAsync (String resourceGroupName , String containerGroupName );
470471
471472 /**
@@ -479,7 +480,7 @@ SyncPoller<PollResult<ContainerGroupInner>, ContainerGroupInner> beginDelete(
479480 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
480481 * @return the completion.
481482 */
482- @ ServiceMethod (returns = ReturnType .SINGLE )
483+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
483484 SyncPoller <PollResult <Void >, Void > beginRestart (String resourceGroupName , String containerGroupName );
484485
485486 /**
@@ -494,7 +495,7 @@ SyncPoller<PollResult<ContainerGroupInner>, ContainerGroupInner> beginDelete(
494495 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
495496 * @return the completion.
496497 */
497- @ ServiceMethod (returns = ReturnType .SINGLE )
498+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
498499 SyncPoller <PollResult <Void >, Void > beginRestart (
499500 String resourceGroupName , String containerGroupName , Context context );
500501
@@ -614,7 +615,7 @@ SyncPoller<PollResult<Void>, Void> beginRestart(
614615 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
615616 * @return the completion.
616617 */
617- @ ServiceMethod (returns = ReturnType .SINGLE )
618+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
618619 PollerFlux <PollResult <Void >, Void > beginStartAsync (String resourceGroupName , String containerGroupName );
619620
620621 /**
@@ -627,7 +628,7 @@ SyncPoller<PollResult<Void>, Void> beginRestart(
627628 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
628629 * @return the completion.
629630 */
630- @ ServiceMethod (returns = ReturnType .SINGLE )
631+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
631632 SyncPoller <PollResult <Void >, Void > beginStart (String resourceGroupName , String containerGroupName );
632633
633634 /**
@@ -641,7 +642,7 @@ SyncPoller<PollResult<Void>, Void> beginRestart(
641642 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
642643 * @return the completion.
643644 */
644- @ ServiceMethod (returns = ReturnType .SINGLE )
645+ @ ServiceMethod (returns = ReturnType .LONG_RUNNING_OPERATION )
645646 SyncPoller <PollResult <Void >, Void > beginStart (String resourceGroupName , String containerGroupName , Context context );
646647
647648 /**
@@ -681,4 +682,68 @@ SyncPoller<PollResult<Void>, Void> beginRestart(
681682 */
682683 @ ServiceMethod (returns = ReturnType .SINGLE )
683684 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 );
684749}
0 commit comments