VirtualRoutersClient Interface
Implements
public interface VirtualRoutersClient extends InnerSupportsGet <VirtualRouterInner >, InnerSupportsListing <VirtualRouterInner >, InnerSupportsDelete <Void >
An instance of this class provides access to all the operations defined in VirtualRoutersClient.
Method Summary
Modifier and Type
Method and Description
abstract
SyncPoller <PollResult <VirtualRouterInner >,VirtualRouterInner >
beginCreateOrUpdate(String resourceGroupName, String virtualRouterName, VirtualRouterInner parameters)
Creates or updates the specified Virtual Router.
abstract
SyncPoller <PollResult <VirtualRouterInner >,VirtualRouterInner >
beginCreateOrUpdate(String resourceGroupName, String virtualRouterName, VirtualRouterInner parameters, Context context)
Creates or updates the specified Virtual Router.
abstract
PollerFlux <PollResult <VirtualRouterInner >,VirtualRouterInner >
beginCreateOrUpdateAsync(String resourceGroupName, String virtualRouterName, VirtualRouterInner parameters)
Creates or updates the specified Virtual Router.
abstract
SyncPoller <PollResult <Void >,Void >
beginDelete(String resourceGroupName, String virtualRouterName)
Deletes the specified Virtual Router.
abstract
SyncPoller <PollResult <Void >,Void >
beginDelete(String resourceGroupName, String virtualRouterName, Context context)
Deletes the specified Virtual Router.
abstract
PollerFlux <PollResult <Void >,Void >
beginDeleteAsync(String resourceGroupName, String virtualRouterName)
Deletes the specified Virtual Router.
abstract
VirtualRouterInner
createOrUpdate(String resourceGroupName, String virtualRouterName, VirtualRouterInner parameters)
Creates or updates the specified Virtual Router.
abstract
VirtualRouterInner
createOrUpdate(String resourceGroupName, String virtualRouterName, VirtualRouterInner parameters, Context context)
Creates or updates the specified Virtual Router.
abstract
Mono <VirtualRouterInner >
createOrUpdateAsync(String resourceGroupName, String virtualRouterName, VirtualRouterInner parameters)
Creates or updates the specified Virtual Router.
abstract
Mono <Response <Flux <ByteBuffer >>>
createOrUpdateWithResponseAsync(String resourceGroupName, String virtualRouterName, VirtualRouterInner parameters)
Creates or updates the specified Virtual Router.
abstract
void
delete(String resourceGroupName, String virtualRouterName)
Deletes the specified Virtual Router.
abstract
void
delete(String resourceGroupName, String virtualRouterName, Context context)
Deletes the specified Virtual Router.
abstract
Mono <Void >
deleteAsync(String resourceGroupName, String virtualRouterName)
Deletes the specified Virtual Router.
abstract
Mono <Response <Flux <ByteBuffer >>>
deleteWithResponseAsync(String resourceGroupName, String virtualRouterName)
Deletes the specified Virtual Router.
abstract
VirtualRouterInner
getByResourceGroup(String resourceGroupName, String virtualRouterName)
Gets the specified Virtual Router.
abstract
Mono <VirtualRouterInner >
getByResourceGroupAsync(String resourceGroupName, String virtualRouterName)
Gets the specified Virtual Router.
abstract
Response <VirtualRouterInner >
getByResourceGroupWithResponse(String resourceGroupName, String virtualRouterName, String expand, Context context)
Gets the specified Virtual Router.
abstract
Mono <Response <VirtualRouterInner >>
getByResourceGroupWithResponseAsync(String resourceGroupName, String virtualRouterName, String expand)
Gets the specified Virtual Router.
abstract
PagedIterable <VirtualRouterInner >
list()
Gets all the Virtual Routers in a subscription.
abstract
PagedIterable <VirtualRouterInner >
list(Context context)
Gets all the Virtual Routers in a subscription.
abstract
PagedFlux <VirtualRouterInner >
listAsync()
Gets all the Virtual Routers in a subscription.
abstract
PagedIterable <VirtualRouterInner >
listByResourceGroup(String resourceGroupName)
Lists all Virtual Routers in a resource group.
abstract
PagedIterable <VirtualRouterInner >
listByResourceGroup(String resourceGroupName, Context context)
Lists all Virtual Routers in a resource group.
abstract
PagedFlux <VirtualRouterInner >
listByResourceGroupAsync(String resourceGroupName)
Lists all Virtual Routers in a resource group.
Method Details
beginCreateOrUpdate
public abstract SyncPoller,VirtualRouterInner> beginCreateOrUpdate(String resourceGroupName, String virtualRouterName, VirtualRouterInner parameters)
Creates or updates the specified Virtual Router.
Parameters:
resourceGroupName
- The name of the resource group.
virtualRouterName
- The name of the Virtual Router.
parameters
- Parameters supplied to the create or update Virtual Router.
Returns:
beginCreateOrUpdate
public abstract SyncPoller,VirtualRouterInner> beginCreateOrUpdate(String resourceGroupName, String virtualRouterName, VirtualRouterInner parameters, Context context)
Creates or updates the specified Virtual Router.
Parameters:
resourceGroupName
- The name of the resource group.
virtualRouterName
- The name of the Virtual Router.
parameters
- Parameters supplied to the create or update Virtual Router.
context
- The context to associate with this operation.
Returns:
beginCreateOrUpdateAsync
public abstract PollerFlux,VirtualRouterInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualRouterName, VirtualRouterInner parameters)
Creates or updates the specified Virtual Router.
Parameters:
resourceGroupName
- The name of the resource group.
virtualRouterName
- The name of the Virtual Router.
parameters
- Parameters supplied to the create or update Virtual Router.
Returns:
beginDelete
public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String virtualRouterName)
Deletes the specified Virtual Router.
Parameters:
resourceGroupName
- The name of the resource group.
virtualRouterName
- The name of the Virtual Router.
Returns:
beginDelete
public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String virtualRouterName, Context context)
Deletes the specified Virtual Router.
Parameters:
resourceGroupName
- The name of the resource group.
virtualRouterName
- The name of the Virtual Router.
context
- The context to associate with this operation.
Returns:
beginDeleteAsync
public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String virtualRouterName)
Deletes the specified Virtual Router.
Parameters:
resourceGroupName
- The name of the resource group.
virtualRouterName
- The name of the Virtual Router.
Returns:
createOrUpdate
public abstract VirtualRouterInner createOrUpdate(String resourceGroupName, String virtualRouterName, VirtualRouterInner parameters)
Creates or updates the specified Virtual Router.
Parameters:
resourceGroupName
- The name of the resource group.
virtualRouterName
- The name of the Virtual Router.
parameters
- Parameters supplied to the create or update Virtual Router.
Returns:
virtualRouter Resource.
createOrUpdate
public abstract VirtualRouterInner createOrUpdate(String resourceGroupName, String virtualRouterName, VirtualRouterInner parameters, Context context)
Creates or updates the specified Virtual Router.
Parameters:
resourceGroupName
- The name of the resource group.
virtualRouterName
- The name of the Virtual Router.
parameters
- Parameters supplied to the create or update Virtual Router.
context
- The context to associate with this operation.
Returns:
virtualRouter Resource.
createOrUpdateAsync
public abstract Mono createOrUpdateAsync(String resourceGroupName, String virtualRouterName, VirtualRouterInner parameters)
Creates or updates the specified Virtual Router.
Parameters:
resourceGroupName
- The name of the resource group.
virtualRouterName
- The name of the Virtual Router.
parameters
- Parameters supplied to the create or update Virtual Router.
Returns:
virtualRouter Resource on successful completion of Mono .
createOrUpdateWithResponseAsync
public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualRouterName, VirtualRouterInner parameters)
Creates or updates the specified Virtual Router.
Parameters:
resourceGroupName
- The name of the resource group.
virtualRouterName
- The name of the Virtual Router.
parameters
- Parameters supplied to the create or update Virtual Router.
Returns:
virtualRouter Resource along with
Response<T> on successful completion of
Mono .
delete
public abstract void delete(String resourceGroupName, String virtualRouterName)
Deletes the specified Virtual Router.
Parameters:
resourceGroupName
- The name of the resource group.
virtualRouterName
- The name of the Virtual Router.
delete
public abstract void delete(String resourceGroupName, String virtualRouterName, Context context)
Deletes the specified Virtual Router.
Parameters:
resourceGroupName
- The name of the resource group.
virtualRouterName
- The name of the Virtual Router.
context
- The context to associate with this operation.
deleteAsync
public abstract Mono deleteAsync(String resourceGroupName, String virtualRouterName)
Deletes the specified Virtual Router.
Parameters:
resourceGroupName
- The name of the resource group.
virtualRouterName
- The name of the Virtual Router.
Returns:
A Mono that completes when a successful response is received.
deleteWithResponseAsync
public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String virtualRouterName)
Deletes the specified Virtual Router.
Parameters:
resourceGroupName
- The name of the resource group.
virtualRouterName
- The name of the Virtual Router.
Returns:
getByResourceGroup
public abstract VirtualRouterInner getByResourceGroup(String resourceGroupName, String virtualRouterName)
Gets the specified Virtual Router.
Parameters:
resourceGroupName
- The name of the resource group.
virtualRouterName
- The name of the Virtual Router.
Returns:
the specified Virtual Router.
getByResourceGroupAsync
public abstract Mono getByResourceGroupAsync(String resourceGroupName, String virtualRouterName)
Gets the specified Virtual Router.
Parameters:
resourceGroupName
- The name of the resource group.
virtualRouterName
- The name of the Virtual Router.
Returns:
the specified Virtual Router on successful completion of Mono .
getByResourceGroupWithResponse
public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String virtualRouterName, String expand, Context context)
Gets the specified Virtual Router.
Parameters:
resourceGroupName
- The name of the resource group.
virtualRouterName
- The name of the Virtual Router.
expand
- Expands referenced resources.
context
- The context to associate with this operation.
Returns:
getByResourceGroupWithResponseAsync
public abstract Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String virtualRouterName, String expand)
Gets the specified Virtual Router.
Parameters:
resourceGroupName
- The name of the resource group.
virtualRouterName
- The name of the Virtual Router.
expand
- Expands referenced resources.
Returns:
the specified Virtual Router along with
Response<T> on successful completion of
Mono .
list
public abstract PagedIterable list()
Gets all the Virtual Routers in a subscription.
Returns:
all the Virtual Routers in a subscription as paginated response with
PagedIterable<T> .
list
public abstract PagedIterable list(Context context)
Gets all the Virtual Routers in a subscription.
Parameters:
context
- The context to associate with this operation.
Returns:
all the Virtual Routers in a subscription as paginated response with
PagedIterable<T> .
listAsync
public abstract PagedFlux listAsync()
Gets all the Virtual Routers in a subscription.
Returns:
all the Virtual Routers in a subscription as paginated response with
PagedFlux<T> .
listByResourceGroup
public abstract PagedIterable listByResourceGroup(String resourceGroupName)
Lists all Virtual Routers in a resource group.
Parameters:
resourceGroupName
- The name of the resource group.
Returns:
response for ListVirtualRouters API service call as paginated response with
PagedIterable<T> .
listByResourceGroup
public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)
Lists all Virtual Routers in a resource group.
Parameters:
resourceGroupName
- The name of the resource group.
context
- The context to associate with this operation.
Returns:
response for ListVirtualRouters API service call as paginated response with
PagedIterable<T> .
listByResourceGroupAsync
public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)
Lists all Virtual Routers in a resource group.
Parameters:
resourceGroupName
- The name of the resource group.
Returns:
response for ListVirtualRouters API service call as paginated response with
PagedFlux<T> .
Applies to