Interface VirtualApplianceSitesClient
public interface VirtualApplianceSitesClient
An instance of this class provides access to all the operations defined in VirtualApplianceSitesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualApplianceSiteInner>, VirtualApplianceSiteInner> beginCreateOrUpdate(String resourceGroupName, String networkVirtualApplianceName, String siteName, VirtualApplianceSiteInner parameters) Creates or updates the specified Network Virtual Appliance Site.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualApplianceSiteInner>, VirtualApplianceSiteInner> beginCreateOrUpdate(String resourceGroupName, String networkVirtualApplianceName, String siteName, VirtualApplianceSiteInner parameters, com.azure.core.util.Context context) Creates or updates the specified Network Virtual Appliance Site.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualApplianceSiteInner>, VirtualApplianceSiteInner> beginCreateOrUpdateAsync(String resourceGroupName, String networkVirtualApplianceName, String siteName, VirtualApplianceSiteInner parameters) Creates or updates the specified Network Virtual Appliance Site.beginDelete(String resourceGroupName, String networkVirtualApplianceName, String siteName) Deletes the specified site from a Virtual Appliance.beginDelete(String resourceGroupName, String networkVirtualApplianceName, String siteName, com.azure.core.util.Context context) Deletes the specified site from a Virtual Appliance.beginDeleteAsync(String resourceGroupName, String networkVirtualApplianceName, String siteName) Deletes the specified site from a Virtual Appliance.createOrUpdate(String resourceGroupName, String networkVirtualApplianceName, String siteName, VirtualApplianceSiteInner parameters) Creates or updates the specified Network Virtual Appliance Site.createOrUpdate(String resourceGroupName, String networkVirtualApplianceName, String siteName, VirtualApplianceSiteInner parameters, com.azure.core.util.Context context) Creates or updates the specified Network Virtual Appliance Site.createOrUpdateAsync(String resourceGroupName, String networkVirtualApplianceName, String siteName, VirtualApplianceSiteInner parameters) Creates or updates the specified Network Virtual Appliance Site.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkVirtualApplianceName, String siteName, VirtualApplianceSiteInner parameters) Creates or updates the specified Network Virtual Appliance Site.voidDeletes the specified site from a Virtual Appliance.voiddelete(String resourceGroupName, String networkVirtualApplianceName, String siteName, com.azure.core.util.Context context) Deletes the specified site from a Virtual Appliance.deleteAsync(String resourceGroupName, String networkVirtualApplianceName, String siteName) Deletes the specified site from a Virtual Appliance.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String networkVirtualApplianceName, String siteName) Deletes the specified site from a Virtual Appliance.Gets the specified Virtual Appliance Site.Gets the specified Virtual Appliance Site.com.azure.core.http.rest.Response<VirtualApplianceSiteInner> getWithResponse(String resourceGroupName, String networkVirtualApplianceName, String siteName, com.azure.core.util.Context context) Gets the specified Virtual Appliance Site.Mono<com.azure.core.http.rest.Response<VirtualApplianceSiteInner>> getWithResponseAsync(String resourceGroupName, String networkVirtualApplianceName, String siteName) Gets the specified Virtual Appliance Site.com.azure.core.http.rest.PagedIterable<VirtualApplianceSiteInner> Lists all Network Virtual Appliance Sites in a Network Virtual Appliance resource.com.azure.core.http.rest.PagedIterable<VirtualApplianceSiteInner> list(String resourceGroupName, String networkVirtualApplianceName, com.azure.core.util.Context context) Lists all Network Virtual Appliance Sites in a Network Virtual Appliance resource.com.azure.core.http.rest.PagedFlux<VirtualApplianceSiteInner> Lists all Network Virtual Appliance Sites in a Network Virtual Appliance resource.
-
Method Details
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String networkVirtualApplianceName, String siteName) Deletes the specified site from a Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of the Network Virtual Appliance.siteName- The name of the site.- 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, String siteName) Deletes the specified site from a Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of the Network Virtual Appliance.siteName- The name of the site.- 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, String siteName) Deletes the specified site from a Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of the Network Virtual Appliance.siteName- The name of the site.- 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, String siteName, com.azure.core.util.Context context) Deletes the specified site from a Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of the Network Virtual Appliance.siteName- The name of the site.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
Mono<Void> deleteAsync(String resourceGroupName, String networkVirtualApplianceName, String siteName) Deletes the specified site from a Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of the Network Virtual Appliance.siteName- The name of the site.- 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 site from a Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of the Network Virtual Appliance.siteName- The name of the site.- 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, String siteName, com.azure.core.util.Context context) Deletes the specified site from a Virtual Appliance.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of the Network Virtual Appliance.siteName- The name of the site.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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<VirtualApplianceSiteInner>> getWithResponseAsync(String resourceGroupName, String networkVirtualApplianceName, String siteName) Gets the specified Virtual Appliance Site.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of the Network Virtual Appliance.siteName- The name of the site.- Returns:
- the specified Virtual Appliance Site 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.
-
getAsync
Mono<VirtualApplianceSiteInner> getAsync(String resourceGroupName, String networkVirtualApplianceName, String siteName) Gets the specified Virtual Appliance Site.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of the Network Virtual Appliance.siteName- The name of the site.- Returns:
- the specified Virtual Appliance Site 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.
-
getWithResponse
com.azure.core.http.rest.Response<VirtualApplianceSiteInner> getWithResponse(String resourceGroupName, String networkVirtualApplianceName, String siteName, com.azure.core.util.Context context) Gets the specified Virtual Appliance Site.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of the Network Virtual Appliance.siteName- The name of the site.context- The context to associate with this operation.- Returns:
- the specified Virtual Appliance Site 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.
-
get
VirtualApplianceSiteInner get(String resourceGroupName, String networkVirtualApplianceName, String siteName) Gets the specified Virtual Appliance Site.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of the Network Virtual Appliance.siteName- The name of the site.- Returns:
- the specified Virtual Appliance Site.
- 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, String siteName, VirtualApplianceSiteInner parameters) Creates or updates the specified Network Virtual Appliance Site.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of the Network Virtual Appliance.siteName- The name of the site.parameters- Parameters supplied to the create or update Network Virtual Appliance Site operation.- Returns:
- virtual Appliance Site 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<VirtualApplianceSiteInner>,VirtualApplianceSiteInner> beginCreateOrUpdateAsync(String resourceGroupName, String networkVirtualApplianceName, String siteName, VirtualApplianceSiteInner parameters) Creates or updates the specified Network Virtual Appliance Site.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of the Network Virtual Appliance.siteName- The name of the site.parameters- Parameters supplied to the create or update Network Virtual Appliance Site operation.- Returns:
- the
PollerFluxfor polling of virtual Appliance Site 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<VirtualApplianceSiteInner>,VirtualApplianceSiteInner> beginCreateOrUpdate(String resourceGroupName, String networkVirtualApplianceName, String siteName, VirtualApplianceSiteInner parameters) Creates or updates the specified Network Virtual Appliance Site.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of the Network Virtual Appliance.siteName- The name of the site.parameters- Parameters supplied to the create or update Network Virtual Appliance Site operation.- Returns:
- the
SyncPollerfor polling of virtual Appliance Site 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<VirtualApplianceSiteInner>,VirtualApplianceSiteInner> beginCreateOrUpdate(String resourceGroupName, String networkVirtualApplianceName, String siteName, VirtualApplianceSiteInner parameters, com.azure.core.util.Context context) Creates or updates the specified Network Virtual Appliance Site.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of the Network Virtual Appliance.siteName- The name of the site.parameters- Parameters supplied to the create or update Network Virtual Appliance Site operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of virtual Appliance Site 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<VirtualApplianceSiteInner> createOrUpdateAsync(String resourceGroupName, String networkVirtualApplianceName, String siteName, VirtualApplianceSiteInner parameters) Creates or updates the specified Network Virtual Appliance Site.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of the Network Virtual Appliance.siteName- The name of the site.parameters- Parameters supplied to the create or update Network Virtual Appliance Site operation.- Returns:
- virtual Appliance Site 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
VirtualApplianceSiteInner createOrUpdate(String resourceGroupName, String networkVirtualApplianceName, String siteName, VirtualApplianceSiteInner parameters) Creates or updates the specified Network Virtual Appliance Site.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of the Network Virtual Appliance.siteName- The name of the site.parameters- Parameters supplied to the create or update Network Virtual Appliance Site operation.- Returns:
- virtual Appliance Site 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
VirtualApplianceSiteInner createOrUpdate(String resourceGroupName, String networkVirtualApplianceName, String siteName, VirtualApplianceSiteInner parameters, com.azure.core.util.Context context) Creates or updates the specified Network Virtual Appliance Site.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of the Network Virtual Appliance.siteName- The name of the site.parameters- Parameters supplied to the create or update Network Virtual Appliance Site operation.context- The context to associate with this operation.- Returns:
- virtual Appliance Site 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<VirtualApplianceSiteInner> listAsync(String resourceGroupName, String networkVirtualApplianceName) Lists all Network Virtual Appliance Sites in a Network Virtual Appliance resource.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of the Network Virtual Appliance.- Returns:
- response for ListNetworkVirtualApplianceSites 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.
-
list
com.azure.core.http.rest.PagedIterable<VirtualApplianceSiteInner> list(String resourceGroupName, String networkVirtualApplianceName) Lists all Network Virtual Appliance Sites in a Network Virtual Appliance resource.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of the Network Virtual Appliance.- Returns:
- response for ListNetworkVirtualApplianceSites 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.
-
list
com.azure.core.http.rest.PagedIterable<VirtualApplianceSiteInner> list(String resourceGroupName, String networkVirtualApplianceName, com.azure.core.util.Context context) Lists all Network Virtual Appliance Sites in a Network Virtual Appliance resource.- Parameters:
resourceGroupName- The name of the resource group.networkVirtualApplianceName- The name of the Network Virtual Appliance.context- The context to associate with this operation.- Returns:
- response for ListNetworkVirtualApplianceSites 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.
-