Interface NetworkVirtualAppliancesClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<NetworkVirtualApplianceInner>,InnerSupportsListing<NetworkVirtualApplianceInner>
public interface NetworkVirtualAppliancesClient
extends InnerSupportsGet<NetworkVirtualApplianceInner>, InnerSupportsListing<NetworkVirtualApplianceInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in NetworkVirtualAppliancesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NetworkVirtualApplianceInner>, NetworkVirtualApplianceInner> beginCreateOrUpdate(String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters) Creates or updates the specified Network Virtual Appliance.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NetworkVirtualApplianceInner>, NetworkVirtualApplianceInner> beginCreateOrUpdate(String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters, com.azure.core.util.Context context) Creates or updates the specified Network Virtual Appliance.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<NetworkVirtualApplianceInner>, NetworkVirtualApplianceInner> beginCreateOrUpdateAsync(String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters) Creates or updates the specified Network Virtual Appliance.beginDelete(String resourceGroupName, String networkVirtualApplianceName) Deletes the specified Network Virtual Appliance.beginDelete(String resourceGroupName, String networkVirtualApplianceName, com.azure.core.util.Context context) Deletes the specified Network Virtual Appliance.beginDeleteAsync(String resourceGroupName, String networkVirtualApplianceName) Deletes the specified Network Virtual Appliance.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NetworkVirtualApplianceInstanceIdsInner>, NetworkVirtualApplianceInstanceIdsInner> beginRestart(String resourceGroupName, String networkVirtualApplianceName) Restarts one or more VMs belonging to the specified Network Virtual Appliance.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NetworkVirtualApplianceInstanceIdsInner>, NetworkVirtualApplianceInstanceIdsInner> beginRestart(String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInstanceIdsInner networkVirtualApplianceInstanceIds, com.azure.core.util.Context context) Restarts one or more VMs belonging to the specified Network Virtual Appliance.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<NetworkVirtualApplianceInstanceIdsInner>, NetworkVirtualApplianceInstanceIdsInner> beginRestartAsync(String resourceGroupName, String networkVirtualApplianceName) Restarts one or more VMs belonging to the specified Network Virtual Appliance.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<NetworkVirtualApplianceInstanceIdsInner>, NetworkVirtualApplianceInstanceIdsInner> beginRestartAsync(String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInstanceIdsInner networkVirtualApplianceInstanceIds) Restarts one or more VMs belonging to the specified Network Virtual Appliance.createOrUpdate(String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters) Creates or updates the specified Network Virtual Appliance.createOrUpdate(String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters, com.azure.core.util.Context context) Creates or updates the specified Network Virtual Appliance.createOrUpdateAsync(String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters) Creates or updates the specified Network Virtual Appliance.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters) Creates or updates the specified Network Virtual Appliance.voidDeletes the specified Network Virtual Appliance.voiddelete(String resourceGroupName, String networkVirtualApplianceName, com.azure.core.util.Context context) Deletes the specified Network Virtual Appliance.deleteAsync(String resourceGroupName, String networkVirtualApplianceName) Deletes the specified Network Virtual Appliance.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String networkVirtualApplianceName) Deletes the specified Network Virtual Appliance.getByResourceGroup(String resourceGroupName, String networkVirtualApplianceName) Gets the specified Network Virtual Appliance.getByResourceGroupAsync(String resourceGroupName, String networkVirtualApplianceName) Gets the specified Network Virtual Appliance.com.azure.core.http.rest.Response<NetworkVirtualApplianceInner> getByResourceGroupWithResponse(String resourceGroupName, String networkVirtualApplianceName, String expand, com.azure.core.util.Context context) Gets the specified Network Virtual Appliance.Mono<com.azure.core.http.rest.Response<NetworkVirtualApplianceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String networkVirtualApplianceName, String expand) Gets the specified Network Virtual Appliance.com.azure.core.http.rest.PagedIterable<NetworkVirtualApplianceInner> list()Gets all Network Virtual Appliances in a subscription.com.azure.core.http.rest.PagedIterable<NetworkVirtualApplianceInner> list(com.azure.core.util.Context context) Gets all Network Virtual Appliances in a subscription.com.azure.core.http.rest.PagedFlux<NetworkVirtualApplianceInner> Gets all Network Virtual Appliances in a subscription.com.azure.core.http.rest.PagedIterable<NetworkVirtualApplianceInner> listByResourceGroup(String resourceGroupName) Lists all Network Virtual Appliances in a resource group.com.azure.core.http.rest.PagedIterable<NetworkVirtualApplianceInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists all Network Virtual Appliances in a resource group.com.azure.core.http.rest.PagedFlux<NetworkVirtualApplianceInner> listByResourceGroupAsync(String resourceGroupName) Lists all Network Virtual Appliances in a resource group.Restarts one or more VMs belonging to the specified Network Virtual Appliance.restart(String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInstanceIdsInner networkVirtualApplianceInstanceIds, com.azure.core.util.Context context) Restarts one or more VMs belonging to the specified Network Virtual Appliance.restartAsync(String resourceGroupName, String networkVirtualApplianceName) Restarts one or more VMs belonging to the specified Network Virtual Appliance.restartAsync(String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInstanceIdsInner networkVirtualApplianceInstanceIds) Restarts one or more VMs belonging to the specified Network Virtual Appliance.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> restartWithResponseAsync(String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInstanceIdsInner networkVirtualApplianceInstanceIds) Restarts one or more VMs belonging to the specified Network Virtual Appliance.updateTags(String resourceGroupName, String networkVirtualApplianceName, TagsObject parameters) Updates a Network Virtual Appliance.updateTagsAsync(String resourceGroupName, String networkVirtualApplianceName, TagsObject parameters) Updates a Network Virtual Appliance.com.azure.core.http.rest.Response<NetworkVirtualApplianceInner> updateTagsWithResponse(String resourceGroupName, String networkVirtualApplianceName, TagsObject parameters, com.azure.core.util.Context context) Updates a Network Virtual Appliance.Mono<com.azure.core.http.rest.Response<NetworkVirtualApplianceInner>> updateTagsWithResponseAsync(String resourceGroupName, String networkVirtualApplianceName, TagsObject parameters) Updates a Network Virtual Appliance.
-
Method Details
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String networkVirtualApplianceName) Deletes the specified Network Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of Network Virtual Appliance.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String networkVirtualApplianceName) Deletes the specified Network Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of Network Virtual Appliance.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String networkVirtualApplianceName) Deletes the specified Network Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of Network Virtual Appliance.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String networkVirtualApplianceName, com.azure.core.util.Context context) Deletes the specified Network Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of Network Virtual Appliance.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Deletes the specified Network Virtual Appliance.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of Network Virtual Appliance.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes the specified Network Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of Network Virtual Appliance.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String networkVirtualApplianceName, com.azure.core.util.Context context) Deletes the specified Network Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of Network Virtual Appliance.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<NetworkVirtualApplianceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String networkVirtualApplianceName, String expand) Gets the specified Network Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of Network Virtual Appliance.expand- Expands referenced resources.- Returns:
- the specified Network Virtual Appliance along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupAsync
Mono<NetworkVirtualApplianceInner> getByResourceGroupAsync(String resourceGroupName, String networkVirtualApplianceName) Gets the specified Network Virtual Appliance.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<NetworkVirtualApplianceInner>- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of Network Virtual Appliance.- Returns:
- the specified Network Virtual Appliance on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<NetworkVirtualApplianceInner> getByResourceGroupWithResponse(String resourceGroupName, String networkVirtualApplianceName, String expand, com.azure.core.util.Context context) Gets the specified Network Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of Network Virtual Appliance.expand- Expands referenced resources.context- The context to associate with this operation.- Returns:
- the specified Network Virtual Appliance along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroup
NetworkVirtualApplianceInner getByResourceGroup(String resourceGroupName, String networkVirtualApplianceName) Gets the specified Network Virtual Appliance.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<NetworkVirtualApplianceInner>- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of Network Virtual Appliance.- Returns:
- the specified Network Virtual Appliance.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateTagsWithResponseAsync
Mono<com.azure.core.http.rest.Response<NetworkVirtualApplianceInner>> updateTagsWithResponseAsync(String resourceGroupName, String networkVirtualApplianceName, TagsObject parameters) Updates a Network Virtual Appliance.- Parameters:
resourceGroupName- The resource group name of Network Virtual Appliance.networkVirtualApplianceName- The name of Network Virtual Appliance being updated.parameters- Parameters supplied to Update Network Virtual Appliance Tags.- Returns:
- networkVirtualAppliance Resource along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateTagsAsync
Mono<NetworkVirtualApplianceInner> updateTagsAsync(String resourceGroupName, String networkVirtualApplianceName, TagsObject parameters) Updates a Network Virtual Appliance.- Parameters:
resourceGroupName- The resource group name of Network Virtual Appliance.networkVirtualApplianceName- The name of Network Virtual Appliance being updated.parameters- Parameters supplied to Update Network Virtual Appliance Tags.- Returns:
- networkVirtualAppliance Resource on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateTagsWithResponse
com.azure.core.http.rest.Response<NetworkVirtualApplianceInner> updateTagsWithResponse(String resourceGroupName, String networkVirtualApplianceName, TagsObject parameters, com.azure.core.util.Context context) Updates a Network Virtual Appliance.- Parameters:
resourceGroupName- The resource group name of Network Virtual Appliance.networkVirtualApplianceName- The name of Network Virtual Appliance being updated.parameters- Parameters supplied to Update Network Virtual Appliance Tags.context- The context to associate with this operation.- Returns:
- networkVirtualAppliance Resource along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateTags
NetworkVirtualApplianceInner updateTags(String resourceGroupName, String networkVirtualApplianceName, TagsObject parameters) Updates a Network Virtual Appliance.- Parameters:
resourceGroupName- The resource group name of Network Virtual Appliance.networkVirtualApplianceName- The name of Network Virtual Appliance being updated.parameters- Parameters supplied to Update Network Virtual Appliance Tags.- Returns:
- networkVirtualAppliance Resource.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters) Creates or updates the specified Network Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of Network Virtual Appliance.parameters- Parameters supplied to the create or update Network Virtual Appliance.- Returns:
- networkVirtualAppliance Resource along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<NetworkVirtualApplianceInner>,NetworkVirtualApplianceInner> beginCreateOrUpdateAsync(String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters) Creates or updates the specified Network Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of Network Virtual Appliance.parameters- Parameters supplied to the create or update Network Virtual Appliance.- Returns:
- the
PollerFluxfor polling of networkVirtualAppliance Resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NetworkVirtualApplianceInner>,NetworkVirtualApplianceInner> beginCreateOrUpdate(String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters) Creates or updates the specified Network Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of Network Virtual Appliance.parameters- Parameters supplied to the create or update Network Virtual Appliance.- Returns:
- the
SyncPollerfor polling of networkVirtualAppliance Resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NetworkVirtualApplianceInner>,NetworkVirtualApplianceInner> beginCreateOrUpdate(String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters, com.azure.core.util.Context context) Creates or updates the specified Network Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of Network Virtual Appliance.parameters- Parameters supplied to the create or update Network Virtual Appliance.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of networkVirtualAppliance Resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<NetworkVirtualApplianceInner> createOrUpdateAsync(String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters) Creates or updates the specified Network Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of Network Virtual Appliance.parameters- Parameters supplied to the create or update Network Virtual Appliance.- Returns:
- networkVirtualAppliance Resource on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
NetworkVirtualApplianceInner createOrUpdate(String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters) Creates or updates the specified Network Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of Network Virtual Appliance.parameters- Parameters supplied to the create or update Network Virtual Appliance.- Returns:
- networkVirtualAppliance Resource.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
NetworkVirtualApplianceInner createOrUpdate(String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters, com.azure.core.util.Context context) Creates or updates the specified Network Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of Network Virtual Appliance.parameters- Parameters supplied to the create or update Network Virtual Appliance.context- The context to associate with this operation.- Returns:
- networkVirtualAppliance Resource.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
restartWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> restartWithResponseAsync(String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInstanceIdsInner networkVirtualApplianceInstanceIds) Restarts one or more VMs belonging to the specified Network Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of Network Virtual Appliance.networkVirtualApplianceInstanceIds- Specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances.- Returns:
- specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances along
with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginRestartAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<NetworkVirtualApplianceInstanceIdsInner>,NetworkVirtualApplianceInstanceIdsInner> beginRestartAsync(String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInstanceIdsInner networkVirtualApplianceInstanceIds) Restarts one or more VMs belonging to the specified Network Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of Network Virtual Appliance.networkVirtualApplianceInstanceIds- Specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances.- Returns:
- the
PollerFluxfor polling of specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginRestartAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<NetworkVirtualApplianceInstanceIdsInner>,NetworkVirtualApplianceInstanceIdsInner> beginRestartAsync(String resourceGroupName, String networkVirtualApplianceName) Restarts one or more VMs belonging to the specified Network Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of Network Virtual Appliance.- Returns:
- the
PollerFluxfor polling of specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginRestart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NetworkVirtualApplianceInstanceIdsInner>,NetworkVirtualApplianceInstanceIdsInner> beginRestart(String resourceGroupName, String networkVirtualApplianceName) Restarts one or more VMs belonging to the specified Network Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of Network Virtual Appliance.- Returns:
- the
SyncPollerfor polling of specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginRestart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NetworkVirtualApplianceInstanceIdsInner>,NetworkVirtualApplianceInstanceIdsInner> beginRestart(String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInstanceIdsInner networkVirtualApplianceInstanceIds, com.azure.core.util.Context context) Restarts one or more VMs belonging to the specified Network Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of Network Virtual Appliance.networkVirtualApplianceInstanceIds- Specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
restartAsync
Mono<NetworkVirtualApplianceInstanceIdsInner> restartAsync(String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInstanceIdsInner networkVirtualApplianceInstanceIds) Restarts one or more VMs belonging to the specified Network Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of Network Virtual Appliance.networkVirtualApplianceInstanceIds- Specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances.- Returns:
- specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances on
successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
restartAsync
Mono<NetworkVirtualApplianceInstanceIdsInner> restartAsync(String resourceGroupName, String networkVirtualApplianceName) Restarts one or more VMs belonging to the specified Network Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of Network Virtual Appliance.- Returns:
- specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances on
successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
restart
NetworkVirtualApplianceInstanceIdsInner restart(String resourceGroupName, String networkVirtualApplianceName) Restarts one or more VMs belonging to the specified Network Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of Network Virtual Appliance.- Returns:
- specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
restart
NetworkVirtualApplianceInstanceIdsInner restart(String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInstanceIdsInner networkVirtualApplianceInstanceIds, com.azure.core.util.Context context) Restarts one or more VMs belonging to the specified Network Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of Network Virtual Appliance.networkVirtualApplianceInstanceIds- Specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances.context- The context to associate with this operation.- Returns:
- specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<NetworkVirtualApplianceInner> listByResourceGroupAsync(String resourceGroupName) Lists all Network Virtual Appliances in a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<NetworkVirtualApplianceInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- response for ListNetworkVirtualAppliances API service call as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<NetworkVirtualApplianceInner> listByResourceGroup(String resourceGroupName) Lists all Network Virtual Appliances in a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<NetworkVirtualApplianceInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- response for ListNetworkVirtualAppliances API service call as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<NetworkVirtualApplianceInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists all Network Virtual Appliances in a resource group.- Parameters:
resourceGroupName- The name of the resource group.context- The context to associate with this operation.- Returns:
- response for ListNetworkVirtualAppliances API service call as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
com.azure.core.http.rest.PagedFlux<NetworkVirtualApplianceInner> listAsync()Gets all Network Virtual Appliances in a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<NetworkVirtualApplianceInner>- Returns:
- all Network Virtual Appliances in a subscription as paginated response with
PagedFlux. - Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<NetworkVirtualApplianceInner> list()Gets all Network Virtual Appliances in a subscription.- Specified by:
listin interfaceInnerSupportsListing<NetworkVirtualApplianceInner>- Returns:
- all Network Virtual Appliances in a subscription as paginated response with
PagedIterable. - Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<NetworkVirtualApplianceInner> list(com.azure.core.util.Context context) Gets all Network Virtual Appliances in a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- all Network Virtual Appliances in a subscription as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-