VpnSitesClient Interface

Implements

public interface VpnSitesClient
extends InnerSupportsGet<VpnSiteInner>, InnerSupportsListing<VpnSiteInner>, InnerSupportsDelete<Void>

An instance of this class provides access to all the operations defined in VpnSitesClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<VpnSiteInner>,VpnSiteInner> beginCreateOrUpdate(String resourceGroupName, String vpnSiteName, VpnSiteInner vpnSiteParameters)

Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite.

abstract SyncPoller<PollResult<VpnSiteInner>,VpnSiteInner> beginCreateOrUpdate(String resourceGroupName, String vpnSiteName, VpnSiteInner vpnSiteParameters, Context context)

Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite.

abstract PollerFlux<PollResult<VpnSiteInner>,VpnSiteInner> beginCreateOrUpdateAsync(String resourceGroupName, String vpnSiteName, VpnSiteInner vpnSiteParameters)

Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String vpnSiteName)

Deletes a VpnSite.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String vpnSiteName, Context context)

Deletes a VpnSite.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String vpnSiteName)

Deletes a VpnSite.

abstract VpnSiteInner createOrUpdate(String resourceGroupName, String vpnSiteName, VpnSiteInner vpnSiteParameters)

Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite.

abstract VpnSiteInner createOrUpdate(String resourceGroupName, String vpnSiteName, VpnSiteInner vpnSiteParameters, Context context)

Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite.

abstract Mono<VpnSiteInner> createOrUpdateAsync(String resourceGroupName, String vpnSiteName, VpnSiteInner vpnSiteParameters)

Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String vpnSiteName, VpnSiteInner vpnSiteParameters)

Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite.

abstract void delete(String resourceGroupName, String vpnSiteName)

Deletes a VpnSite.

abstract void delete(String resourceGroupName, String vpnSiteName, Context context)

Deletes a VpnSite.

abstract Mono<Void> deleteAsync(String resourceGroupName, String vpnSiteName)

Deletes a VpnSite.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String vpnSiteName)

Deletes a VpnSite.

abstract VpnSiteInner getByResourceGroup(String resourceGroupName, String vpnSiteName)

Retrieves the details of a VPN site.

abstract Mono<VpnSiteInner> getByResourceGroupAsync(String resourceGroupName, String vpnSiteName)

Retrieves the details of a VPN site.

abstract Response<VpnSiteInner> getByResourceGroupWithResponse(String resourceGroupName, String vpnSiteName, Context context)

Retrieves the details of a VPN site.

abstract Mono<Response<VpnSiteInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String vpnSiteName)

Retrieves the details of a VPN site.

abstract PagedIterable<VpnSiteInner> list()

Lists all the VpnSites in a subscription.

abstract PagedIterable<VpnSiteInner> list(Context context)

Lists all the VpnSites in a subscription.

abstract PagedFlux<VpnSiteInner> listAsync()

Lists all the VpnSites in a subscription.

abstract PagedIterable<VpnSiteInner> listByResourceGroup(String resourceGroupName)

Lists all the vpnSites in a resource group.

abstract PagedIterable<VpnSiteInner> listByResourceGroup(String resourceGroupName, Context context)

Lists all the vpnSites in a resource group.

abstract PagedFlux<VpnSiteInner> listByResourceGroupAsync(String resourceGroupName)

Lists all the vpnSites in a resource group.

abstract VpnSiteInner updateTags(String resourceGroupName, String vpnSiteName, TagsObject vpnSiteParameters)

Updates VpnSite tags.

abstract Mono<VpnSiteInner> updateTagsAsync(String resourceGroupName, String vpnSiteName, TagsObject vpnSiteParameters)

Updates VpnSite tags.

abstract Response<VpnSiteInner> updateTagsWithResponse(String resourceGroupName, String vpnSiteName, TagsObject vpnSiteParameters, Context context)

Updates VpnSite tags.

abstract Mono<Response<VpnSiteInner>> updateTagsWithResponseAsync(String resourceGroupName, String vpnSiteName, TagsObject vpnSiteParameters)

Updates VpnSite tags.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,VpnSiteInner> beginCreateOrUpdate(String resourceGroupName, String vpnSiteName, VpnSiteInner vpnSiteParameters)

Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite.

Parameters:

resourceGroupName - The resource group name of the VpnSite.
vpnSiteName - The name of the VpnSite being created or updated.
vpnSiteParameters - Parameters supplied to create or update VpnSite.

Returns:

the SyncPoller<T,U> for polling of vpnSite Resource.

beginCreateOrUpdate

public abstract SyncPoller,VpnSiteInner> beginCreateOrUpdate(String resourceGroupName, String vpnSiteName, VpnSiteInner vpnSiteParameters, Context context)

Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite.

Parameters:

resourceGroupName - The resource group name of the VpnSite.
vpnSiteName - The name of the VpnSite being created or updated.
vpnSiteParameters - Parameters supplied to create or update VpnSite.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of vpnSite Resource.

beginCreateOrUpdateAsync

public abstract PollerFlux,VpnSiteInner> beginCreateOrUpdateAsync(String resourceGroupName, String vpnSiteName, VpnSiteInner vpnSiteParameters)

Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite.

Parameters:

resourceGroupName - The resource group name of the VpnSite.
vpnSiteName - The name of the VpnSite being created or updated.
vpnSiteParameters - Parameters supplied to create or update VpnSite.

Returns:

the PollerFlux<T,U> for polling of vpnSite Resource.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String vpnSiteName)

Deletes a VpnSite.

Parameters:

resourceGroupName - The resource group name of the VpnSite.
vpnSiteName - The name of the VpnSite being deleted.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String vpnSiteName, Context context)

Deletes a VpnSite.

Parameters:

resourceGroupName - The resource group name of the VpnSite.
vpnSiteName - The name of the VpnSite being deleted.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String vpnSiteName)

Deletes a VpnSite.

Parameters:

resourceGroupName - The resource group name of the VpnSite.
vpnSiteName - The name of the VpnSite being deleted.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

createOrUpdate

public abstract VpnSiteInner createOrUpdate(String resourceGroupName, String vpnSiteName, VpnSiteInner vpnSiteParameters)

Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite.

Parameters:

resourceGroupName - The resource group name of the VpnSite.
vpnSiteName - The name of the VpnSite being created or updated.
vpnSiteParameters - Parameters supplied to create or update VpnSite.

Returns:

vpnSite Resource.

createOrUpdate

public abstract VpnSiteInner createOrUpdate(String resourceGroupName, String vpnSiteName, VpnSiteInner vpnSiteParameters, Context context)

Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite.

Parameters:

resourceGroupName - The resource group name of the VpnSite.
vpnSiteName - The name of the VpnSite being created or updated.
vpnSiteParameters - Parameters supplied to create or update VpnSite.
context - The context to associate with this operation.

Returns:

vpnSite Resource.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String vpnSiteName, VpnSiteInner vpnSiteParameters)

Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite.

Parameters:

resourceGroupName - The resource group name of the VpnSite.
vpnSiteName - The name of the VpnSite being created or updated.
vpnSiteParameters - Parameters supplied to create or update VpnSite.

Returns:

vpnSite Resource on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String vpnSiteName, VpnSiteInner vpnSiteParameters)

Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite.

Parameters:

resourceGroupName - The resource group name of the VpnSite.
vpnSiteName - The name of the VpnSite being created or updated.
vpnSiteParameters - Parameters supplied to create or update VpnSite.

Returns:

vpnSite Resource along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String vpnSiteName)

Deletes a VpnSite.

Parameters:

resourceGroupName - The resource group name of the VpnSite.
vpnSiteName - The name of the VpnSite being deleted.

delete

public abstract void delete(String resourceGroupName, String vpnSiteName, Context context)

Deletes a VpnSite.

Parameters:

resourceGroupName - The resource group name of the VpnSite.
vpnSiteName - The name of the VpnSite being deleted.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String vpnSiteName)

Deletes a VpnSite.

Parameters:

resourceGroupName - The resource group name of the VpnSite.
vpnSiteName - The name of the VpnSite being deleted.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String vpnSiteName)

Deletes a VpnSite.

Parameters:

resourceGroupName - The resource group name of the VpnSite.
vpnSiteName - The name of the VpnSite being deleted.

Returns:

the Response<T> on successful completion of Mono.

getByResourceGroup

public abstract VpnSiteInner getByResourceGroup(String resourceGroupName, String vpnSiteName)

Retrieves the details of a VPN site.

Parameters:

resourceGroupName - The resource group name of the VpnSite.
vpnSiteName - The name of the VpnSite being retrieved.

Returns:

vpnSite Resource.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(String resourceGroupName, String vpnSiteName)

Retrieves the details of a VPN site.

Parameters:

resourceGroupName - The resource group name of the VpnSite.
vpnSiteName - The name of the VpnSite being retrieved.

Returns:

vpnSite Resource on successful completion of Mono.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String vpnSiteName, Context context)

Retrieves the details of a VPN site.

Parameters:

resourceGroupName - The resource group name of the VpnSite.
vpnSiteName - The name of the VpnSite being retrieved.
context - The context to associate with this operation.

Returns:

vpnSite Resource along with Response<T>.

getByResourceGroupWithResponseAsync

public abstract Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String vpnSiteName)

Retrieves the details of a VPN site.

Parameters:

resourceGroupName - The resource group name of the VpnSite.
vpnSiteName - The name of the VpnSite being retrieved.

Returns:

vpnSite Resource along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

Lists all the VpnSites in a subscription.

Returns:

result of the request to list VpnSites as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

Lists all the VpnSites in a subscription.

Parameters:

context - The context to associate with this operation.

Returns:

result of the request to list VpnSites as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync()

Lists all the VpnSites in a subscription.

Returns:

result of the request to list VpnSites as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Lists all the vpnSites in a resource group.

Parameters:

resourceGroupName - The resource group name of the VpnSite.

Returns:

result of the request to list VpnSites as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)

Lists all the vpnSites in a resource group.

Parameters:

resourceGroupName - The resource group name of the VpnSite.
context - The context to associate with this operation.

Returns:

result of the request to list VpnSites as paginated response with PagedIterable<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)

Lists all the vpnSites in a resource group.

Parameters:

resourceGroupName - The resource group name of the VpnSite.

Returns:

result of the request to list VpnSites as paginated response with PagedFlux<T>.

updateTags

public abstract VpnSiteInner updateTags(String resourceGroupName, String vpnSiteName, TagsObject vpnSiteParameters)

Updates VpnSite tags.

Parameters:

resourceGroupName - The resource group name of the VpnSite.
vpnSiteName - The name of the VpnSite being updated.
vpnSiteParameters - Parameters supplied to update VpnSite tags.

Returns:

vpnSite Resource.

updateTagsAsync

public abstract Mono updateTagsAsync(String resourceGroupName, String vpnSiteName, TagsObject vpnSiteParameters)

Updates VpnSite tags.

Parameters:

resourceGroupName - The resource group name of the VpnSite.
vpnSiteName - The name of the VpnSite being updated.
vpnSiteParameters - Parameters supplied to update VpnSite tags.

Returns:

vpnSite Resource on successful completion of Mono.

updateTagsWithResponse

public abstract Response updateTagsWithResponse(String resourceGroupName, String vpnSiteName, TagsObject vpnSiteParameters, Context context)

Updates VpnSite tags.

Parameters:

resourceGroupName - The resource group name of the VpnSite.
vpnSiteName - The name of the VpnSite being updated.
vpnSiteParameters - Parameters supplied to update VpnSite tags.
context - The context to associate with this operation.

Returns:

vpnSite Resource along with Response<T>.

updateTagsWithResponseAsync

public abstract Mono> updateTagsWithResponseAsync(String resourceGroupName, String vpnSiteName, TagsObject vpnSiteParameters)

Updates VpnSite tags.

Parameters:

resourceGroupName - The resource group name of the VpnSite.
vpnSiteName - The name of the VpnSite being updated.
vpnSiteParameters - Parameters supplied to update VpnSite tags.

Returns:

vpnSite Resource along with Response<T> on successful completion of Mono.

Applies to