Interface VirtualNetworkTapsClient
-
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<VirtualNetworkTapInner>,InnerSupportsListing<VirtualNetworkTapInner>
public interface VirtualNetworkTapsClient extends InnerSupportsGet<VirtualNetworkTapInner>, InnerSupportsListing<VirtualNetworkTapInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in VirtualNetworkTapsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworkTapInner>,VirtualNetworkTapInner>beginCreateOrUpdate(String resourceGroupName, String tapName, VirtualNetworkTapInner parameters)Creates or updates a Virtual Network Tap.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworkTapInner>,VirtualNetworkTapInner>beginCreateOrUpdate(String resourceGroupName, String tapName, VirtualNetworkTapInner parameters, com.azure.core.util.Context context)Creates or updates a Virtual Network Tap.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualNetworkTapInner>,VirtualNetworkTapInner>beginCreateOrUpdateAsync(String resourceGroupName, String tapName, VirtualNetworkTapInner parameters)Creates or updates a Virtual Network Tap.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>beginDelete(String resourceGroupName, String tapName)Deletes the specified virtual network tap.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>beginDelete(String resourceGroupName, String tapName, com.azure.core.util.Context context)Deletes the specified virtual network tap.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void>beginDeleteAsync(String resourceGroupName, String tapName)Deletes the specified virtual network tap.VirtualNetworkTapInnercreateOrUpdate(String resourceGroupName, String tapName, VirtualNetworkTapInner parameters)Creates or updates a Virtual Network Tap.VirtualNetworkTapInnercreateOrUpdate(String resourceGroupName, String tapName, VirtualNetworkTapInner parameters, com.azure.core.util.Context context)Creates or updates a Virtual Network Tap.Mono<VirtualNetworkTapInner>createOrUpdateAsync(String resourceGroupName, String tapName, VirtualNetworkTapInner parameters)Creates or updates a Virtual Network Tap.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createOrUpdateWithResponseAsync(String resourceGroupName, String tapName, VirtualNetworkTapInner parameters)Creates or updates a Virtual Network Tap.voiddelete(String resourceGroupName, String tapName)Deletes the specified virtual network tap.voiddelete(String resourceGroupName, String tapName, com.azure.core.util.Context context)Deletes the specified virtual network tap.Mono<Void>deleteAsync(String resourceGroupName, String tapName)Deletes the specified virtual network tap.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteWithResponseAsync(String resourceGroupName, String tapName)Deletes the specified virtual network tap.VirtualNetworkTapInnergetByResourceGroup(String resourceGroupName, String tapName)Gets information about the specified virtual network tap.Mono<VirtualNetworkTapInner>getByResourceGroupAsync(String resourceGroupName, String tapName)Gets information about the specified virtual network tap.com.azure.core.http.rest.Response<VirtualNetworkTapInner>getByResourceGroupWithResponse(String resourceGroupName, String tapName, com.azure.core.util.Context context)Gets information about the specified virtual network tap.Mono<com.azure.core.http.rest.Response<VirtualNetworkTapInner>>getByResourceGroupWithResponseAsync(String resourceGroupName, String tapName)Gets information about the specified virtual network tap.com.azure.core.http.rest.PagedIterable<VirtualNetworkTapInner>list()Gets all the VirtualNetworkTaps in a subscription.com.azure.core.http.rest.PagedIterable<VirtualNetworkTapInner>list(com.azure.core.util.Context context)Gets all the VirtualNetworkTaps in a subscription.com.azure.core.http.rest.PagedFlux<VirtualNetworkTapInner>listAsync()Gets all the VirtualNetworkTaps in a subscription.com.azure.core.http.rest.PagedIterable<VirtualNetworkTapInner>listByResourceGroup(String resourceGroupName)Gets all the VirtualNetworkTaps in a subscription.com.azure.core.http.rest.PagedIterable<VirtualNetworkTapInner>listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)Gets all the VirtualNetworkTaps in a subscription.com.azure.core.http.rest.PagedFlux<VirtualNetworkTapInner>listByResourceGroupAsync(String resourceGroupName)Gets all the VirtualNetworkTaps in a subscription.VirtualNetworkTapInnerupdateTags(String resourceGroupName, String tapName, TagsObject tapParameters)Updates an VirtualNetworkTap tags.Mono<VirtualNetworkTapInner>updateTagsAsync(String resourceGroupName, String tapName, TagsObject tapParameters)Updates an VirtualNetworkTap tags.com.azure.core.http.rest.Response<VirtualNetworkTapInner>updateTagsWithResponse(String resourceGroupName, String tapName, TagsObject tapParameters, com.azure.core.util.Context context)Updates an VirtualNetworkTap tags.Mono<com.azure.core.http.rest.Response<VirtualNetworkTapInner>>updateTagsWithResponseAsync(String resourceGroupName, String tapName, TagsObject tapParameters)Updates an VirtualNetworkTap tags.
-
-
-
Method Detail
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String tapName)
Deletes the specified virtual network tap.- Parameters:
resourceGroupName- The name of the resource group.tapName- The name of the virtual network tap.- 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 tapName)
Deletes the specified virtual network tap.- Parameters:
resourceGroupName- The name of the resource group.tapName- The name of the virtual network tap.- 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 tapName)
Deletes the specified virtual network tap.- Parameters:
resourceGroupName- The name of the resource group.tapName- The name of the virtual network tap.- 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 tapName, com.azure.core.util.Context context)
Deletes the specified virtual network tap.- Parameters:
resourceGroupName- The name of the resource group.tapName- The name of the virtual network tap.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 tapName)
Deletes the specified virtual network tap.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.tapName- The name of the virtual network tap.- 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
void delete(String resourceGroupName, String tapName)
Deletes the specified virtual network tap.- Parameters:
resourceGroupName- The name of the resource group.tapName- The name of the virtual network tap.- 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 tapName, com.azure.core.util.Context context)
Deletes the specified virtual network tap.- Parameters:
resourceGroupName- The name of the resource group.tapName- The name of the virtual network tap.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<VirtualNetworkTapInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String tapName)
Gets information about the specified virtual network tap.- Parameters:
resourceGroupName- The name of the resource group.tapName- The name of virtual network tap.- Returns:
- information about the specified virtual network tap 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<VirtualNetworkTapInner> getByResourceGroupAsync(String resourceGroupName, String tapName)
Gets information about the specified virtual network tap.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<VirtualNetworkTapInner>- Parameters:
resourceGroupName- The name of the resource group.tapName- The name of virtual network tap.- Returns:
- information about the specified virtual network tap 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.
-
getByResourceGroup
VirtualNetworkTapInner getByResourceGroup(String resourceGroupName, String tapName)
Gets information about the specified virtual network tap.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<VirtualNetworkTapInner>- Parameters:
resourceGroupName- The name of the resource group.tapName- The name of virtual network tap.- Returns:
- information about the specified virtual network tap.
- 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<VirtualNetworkTapInner> getByResourceGroupWithResponse(String resourceGroupName, String tapName, com.azure.core.util.Context context)
Gets information about the specified virtual network tap.- Parameters:
resourceGroupName- The name of the resource group.tapName- The name of virtual network tap.context- The context to associate with this operation.- Returns:
- information about the specified virtual network tap 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String tapName, VirtualNetworkTapInner parameters)
Creates or updates a Virtual Network Tap.- Parameters:
resourceGroupName- The name of the resource group.tapName- The name of the virtual network tap.parameters- Parameters supplied to the create or update virtual network tap operation.- Returns:
- virtual Network Tap 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<VirtualNetworkTapInner>,VirtualNetworkTapInner> beginCreateOrUpdateAsync(String resourceGroupName, String tapName, VirtualNetworkTapInner parameters)
Creates or updates a Virtual Network Tap.- Parameters:
resourceGroupName- The name of the resource group.tapName- The name of the virtual network tap.parameters- Parameters supplied to the create or update virtual network tap operation.- Returns:
- the
PollerFluxfor polling of virtual Network Tap 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<VirtualNetworkTapInner>,VirtualNetworkTapInner> beginCreateOrUpdate(String resourceGroupName, String tapName, VirtualNetworkTapInner parameters)
Creates or updates a Virtual Network Tap.- Parameters:
resourceGroupName- The name of the resource group.tapName- The name of the virtual network tap.parameters- Parameters supplied to the create or update virtual network tap operation.- Returns:
- the
SyncPollerfor polling of virtual Network Tap 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<VirtualNetworkTapInner>,VirtualNetworkTapInner> beginCreateOrUpdate(String resourceGroupName, String tapName, VirtualNetworkTapInner parameters, com.azure.core.util.Context context)
Creates or updates a Virtual Network Tap.- Parameters:
resourceGroupName- The name of the resource group.tapName- The name of the virtual network tap.parameters- Parameters supplied to the create or update virtual network tap operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of virtual Network Tap 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<VirtualNetworkTapInner> createOrUpdateAsync(String resourceGroupName, String tapName, VirtualNetworkTapInner parameters)
Creates or updates a Virtual Network Tap.- Parameters:
resourceGroupName- The name of the resource group.tapName- The name of the virtual network tap.parameters- Parameters supplied to the create or update virtual network tap operation.- Returns:
- virtual Network Tap 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
VirtualNetworkTapInner createOrUpdate(String resourceGroupName, String tapName, VirtualNetworkTapInner parameters)
Creates or updates a Virtual Network Tap.- Parameters:
resourceGroupName- The name of the resource group.tapName- The name of the virtual network tap.parameters- Parameters supplied to the create or update virtual network tap operation.- Returns:
- virtual Network Tap 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
VirtualNetworkTapInner createOrUpdate(String resourceGroupName, String tapName, VirtualNetworkTapInner parameters, com.azure.core.util.Context context)
Creates or updates a Virtual Network Tap.- Parameters:
resourceGroupName- The name of the resource group.tapName- The name of the virtual network tap.parameters- Parameters supplied to the create or update virtual network tap operation.context- The context to associate with this operation.- Returns:
- virtual Network Tap 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.
-
updateTagsWithResponseAsync
Mono<com.azure.core.http.rest.Response<VirtualNetworkTapInner>> updateTagsWithResponseAsync(String resourceGroupName, String tapName, TagsObject tapParameters)
Updates an VirtualNetworkTap tags.- Parameters:
resourceGroupName- The name of the resource group.tapName- The name of the tap.tapParameters- Parameters supplied to update VirtualNetworkTap tags.- Returns:
- virtual Network Tap 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<VirtualNetworkTapInner> updateTagsAsync(String resourceGroupName, String tapName, TagsObject tapParameters)
Updates an VirtualNetworkTap tags.- Parameters:
resourceGroupName- The name of the resource group.tapName- The name of the tap.tapParameters- Parameters supplied to update VirtualNetworkTap tags.- Returns:
- virtual Network Tap 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.
-
updateTags
VirtualNetworkTapInner updateTags(String resourceGroupName, String tapName, TagsObject tapParameters)
Updates an VirtualNetworkTap tags.- Parameters:
resourceGroupName- The name of the resource group.tapName- The name of the tap.tapParameters- Parameters supplied to update VirtualNetworkTap tags.- Returns:
- virtual Network Tap 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.
-
updateTagsWithResponse
com.azure.core.http.rest.Response<VirtualNetworkTapInner> updateTagsWithResponse(String resourceGroupName, String tapName, TagsObject tapParameters, com.azure.core.util.Context context)
Updates an VirtualNetworkTap tags.- Parameters:
resourceGroupName- The name of the resource group.tapName- The name of the tap.tapParameters- Parameters supplied to update VirtualNetworkTap tags.context- The context to associate with this operation.- Returns:
- virtual Network Tap 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<VirtualNetworkTapInner> listAsync()
Gets all the VirtualNetworkTaps in a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<VirtualNetworkTapInner>- Returns:
- all the VirtualNetworkTaps 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<VirtualNetworkTapInner> list()
Gets all the VirtualNetworkTaps in a subscription.- Specified by:
listin interfaceInnerSupportsListing<VirtualNetworkTapInner>- Returns:
- all the VirtualNetworkTaps 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<VirtualNetworkTapInner> list(com.azure.core.util.Context context)
Gets all the VirtualNetworkTaps in a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- all the VirtualNetworkTaps 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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<VirtualNetworkTapInner> listByResourceGroupAsync(String resourceGroupName)
Gets all the VirtualNetworkTaps in a subscription.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<VirtualNetworkTapInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all the VirtualNetworkTaps in a subscription 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<VirtualNetworkTapInner> listByResourceGroup(String resourceGroupName)
Gets all the VirtualNetworkTaps in a subscription.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<VirtualNetworkTapInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all the VirtualNetworkTaps 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<VirtualNetworkTapInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
Gets all the VirtualNetworkTaps in a subscription.- Parameters:
resourceGroupName- The name of the resource group.context- The context to associate with this operation.- Returns:
- all the VirtualNetworkTaps 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.
-
-