Interface HubVirtualNetworkConnectionsClient
public interface HubVirtualNetworkConnectionsClient
An instance of this class provides access to all the operations defined in HubVirtualNetworkConnectionsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<HubVirtualNetworkConnectionInner>, HubVirtualNetworkConnectionInner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters) Creates a hub virtual network connection if it doesn't exist else updates the existing one.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<HubVirtualNetworkConnectionInner>, HubVirtualNetworkConnectionInner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters, com.azure.core.util.Context context) Creates a hub virtual network connection if it doesn't exist else updates the existing one.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<HubVirtualNetworkConnectionInner>, HubVirtualNetworkConnectionInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters) Creates a hub virtual network connection if it doesn't exist else updates the existing one.beginDelete(String resourceGroupName, String virtualHubName, String connectionName) Deletes a HubVirtualNetworkConnection.beginDelete(String resourceGroupName, String virtualHubName, String connectionName, com.azure.core.util.Context context) Deletes a HubVirtualNetworkConnection.beginDeleteAsync(String resourceGroupName, String virtualHubName, String connectionName) Deletes a HubVirtualNetworkConnection.createOrUpdate(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters) Creates a hub virtual network connection if it doesn't exist else updates the existing one.createOrUpdate(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters, com.azure.core.util.Context context) Creates a hub virtual network connection if it doesn't exist else updates the existing one.createOrUpdateAsync(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters) Creates a hub virtual network connection if it doesn't exist else updates the existing one.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters) Creates a hub virtual network connection if it doesn't exist else updates the existing one.voidDeletes a HubVirtualNetworkConnection.voiddelete(String resourceGroupName, String virtualHubName, String connectionName, com.azure.core.util.Context context) Deletes a HubVirtualNetworkConnection.deleteAsync(String resourceGroupName, String virtualHubName, String connectionName) Deletes a HubVirtualNetworkConnection.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String virtualHubName, String connectionName) Deletes a HubVirtualNetworkConnection.Retrieves the details of a HubVirtualNetworkConnection.Retrieves the details of a HubVirtualNetworkConnection.com.azure.core.http.rest.Response<HubVirtualNetworkConnectionInner> getWithResponse(String resourceGroupName, String virtualHubName, String connectionName, com.azure.core.util.Context context) Retrieves the details of a HubVirtualNetworkConnection.Mono<com.azure.core.http.rest.Response<HubVirtualNetworkConnectionInner>> getWithResponseAsync(String resourceGroupName, String virtualHubName, String connectionName) Retrieves the details of a HubVirtualNetworkConnection.com.azure.core.http.rest.PagedIterable<HubVirtualNetworkConnectionInner> Retrieves the details of all HubVirtualNetworkConnections.com.azure.core.http.rest.PagedIterable<HubVirtualNetworkConnectionInner> Retrieves the details of all HubVirtualNetworkConnections.com.azure.core.http.rest.PagedFlux<HubVirtualNetworkConnectionInner> Retrieves the details of all HubVirtualNetworkConnections.
-
Method Details
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters) Creates a hub virtual network connection if it doesn't exist else updates the existing one.- Parameters:
resourceGroupName- The resource group name of the HubVirtualNetworkConnection.virtualHubName- The name of the VirtualHub.connectionName- The name of the HubVirtualNetworkConnection.hubVirtualNetworkConnectionParameters- Parameters supplied to create or update a hub virtual network connection.- Returns:
- hubVirtualNetworkConnection 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<HubVirtualNetworkConnectionInner>,HubVirtualNetworkConnectionInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters) Creates a hub virtual network connection if it doesn't exist else updates the existing one.- Parameters:
resourceGroupName- The resource group name of the HubVirtualNetworkConnection.virtualHubName- The name of the VirtualHub.connectionName- The name of the HubVirtualNetworkConnection.hubVirtualNetworkConnectionParameters- Parameters supplied to create or update a hub virtual network connection.- Returns:
- the
PollerFluxfor polling of hubVirtualNetworkConnection 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<HubVirtualNetworkConnectionInner>,HubVirtualNetworkConnectionInner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters) Creates a hub virtual network connection if it doesn't exist else updates the existing one.- Parameters:
resourceGroupName- The resource group name of the HubVirtualNetworkConnection.virtualHubName- The name of the VirtualHub.connectionName- The name of the HubVirtualNetworkConnection.hubVirtualNetworkConnectionParameters- Parameters supplied to create or update a hub virtual network connection.- Returns:
- the
SyncPollerfor polling of hubVirtualNetworkConnection 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<HubVirtualNetworkConnectionInner>,HubVirtualNetworkConnectionInner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters, com.azure.core.util.Context context) Creates a hub virtual network connection if it doesn't exist else updates the existing one.- Parameters:
resourceGroupName- The resource group name of the HubVirtualNetworkConnection.virtualHubName- The name of the VirtualHub.connectionName- The name of the HubVirtualNetworkConnection.hubVirtualNetworkConnectionParameters- Parameters supplied to create or update a hub virtual network connection.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of hubVirtualNetworkConnection 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<HubVirtualNetworkConnectionInner> createOrUpdateAsync(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters) Creates a hub virtual network connection if it doesn't exist else updates the existing one.- Parameters:
resourceGroupName- The resource group name of the HubVirtualNetworkConnection.virtualHubName- The name of the VirtualHub.connectionName- The name of the HubVirtualNetworkConnection.hubVirtualNetworkConnectionParameters- Parameters supplied to create or update a hub virtual network connection.- Returns:
- hubVirtualNetworkConnection 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
HubVirtualNetworkConnectionInner createOrUpdate(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters) Creates a hub virtual network connection if it doesn't exist else updates the existing one.- Parameters:
resourceGroupName- The resource group name of the HubVirtualNetworkConnection.virtualHubName- The name of the VirtualHub.connectionName- The name of the HubVirtualNetworkConnection.hubVirtualNetworkConnectionParameters- Parameters supplied to create or update a hub virtual network connection.- Returns:
- hubVirtualNetworkConnection 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
HubVirtualNetworkConnectionInner createOrUpdate(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters, com.azure.core.util.Context context) Creates a hub virtual network connection if it doesn't exist else updates the existing one.- Parameters:
resourceGroupName- The resource group name of the HubVirtualNetworkConnection.virtualHubName- The name of the VirtualHub.connectionName- The name of the HubVirtualNetworkConnection.hubVirtualNetworkConnectionParameters- Parameters supplied to create or update a hub virtual network connection.context- The context to associate with this operation.- Returns:
- hubVirtualNetworkConnection 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String virtualHubName, String connectionName) Deletes a HubVirtualNetworkConnection.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.connectionName- The name of the HubVirtualNetworkConnection.- 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 virtualHubName, String connectionName) Deletes a HubVirtualNetworkConnection.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.connectionName- The name of the HubVirtualNetworkConnection.- 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 virtualHubName, String connectionName) Deletes a HubVirtualNetworkConnection.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.connectionName- The name of the HubVirtualNetworkConnection.- 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 virtualHubName, String connectionName, com.azure.core.util.Context context) Deletes a HubVirtualNetworkConnection.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.connectionName- The name of the HubVirtualNetworkConnection.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 a HubVirtualNetworkConnection.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.connectionName- The name of the HubVirtualNetworkConnection.- 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 a HubVirtualNetworkConnection.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.connectionName- The name of the HubVirtualNetworkConnection.- 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 virtualHubName, String connectionName, com.azure.core.util.Context context) Deletes a HubVirtualNetworkConnection.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.connectionName- The name of the HubVirtualNetworkConnection.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<HubVirtualNetworkConnectionInner>> getWithResponseAsync(String resourceGroupName, String virtualHubName, String connectionName) Retrieves the details of a HubVirtualNetworkConnection.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.connectionName- The name of the vpn connection.- Returns:
- hubVirtualNetworkConnection 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.
-
getAsync
Mono<HubVirtualNetworkConnectionInner> getAsync(String resourceGroupName, String virtualHubName, String connectionName) Retrieves the details of a HubVirtualNetworkConnection.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.connectionName- The name of the vpn connection.- Returns:
- hubVirtualNetworkConnection 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.
-
getWithResponse
com.azure.core.http.rest.Response<HubVirtualNetworkConnectionInner> getWithResponse(String resourceGroupName, String virtualHubName, String connectionName, com.azure.core.util.Context context) Retrieves the details of a HubVirtualNetworkConnection.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.connectionName- The name of the vpn connection.context- The context to associate with this operation.- Returns:
- hubVirtualNetworkConnection 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.
-
get
HubVirtualNetworkConnectionInner get(String resourceGroupName, String virtualHubName, String connectionName) Retrieves the details of a HubVirtualNetworkConnection.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.connectionName- The name of the vpn connection.- Returns:
- hubVirtualNetworkConnection 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<HubVirtualNetworkConnectionInner> listAsync(String resourceGroupName, String virtualHubName) Retrieves the details of all HubVirtualNetworkConnections.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.- Returns:
- list of HubVirtualNetworkConnections and a URL nextLink to get the next set of results 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<HubVirtualNetworkConnectionInner> list(String resourceGroupName, String virtualHubName) Retrieves the details of all HubVirtualNetworkConnections.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.- Returns:
- list of HubVirtualNetworkConnections and a URL nextLink to get the next set of results 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<HubVirtualNetworkConnectionInner> list(String resourceGroupName, String virtualHubName, com.azure.core.util.Context context) Retrieves the details of all HubVirtualNetworkConnections.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.context- The context to associate with this operation.- Returns:
- list of HubVirtualNetworkConnections and a URL nextLink to get the next set of results 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.
-