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
Method Details
beginCreateOrUpdate
public 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.
Parameters:
Returns:
beginCreateOrUpdate
public 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.
Parameters:
Returns:
beginCreateOrUpdateAsync
public 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.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String vpnSiteName)
Deletes a VpnSite.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String vpnSiteName, Context context)
Deletes a VpnSite.
Parameters:
Returns:
beginDeleteAsync
public abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String vpnSiteName)
Deletes a VpnSite.
Parameters:
Returns:
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:
Returns:
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:
Returns:
createOrUpdateAsync
public abstract Mono<VpnSiteInner> createOrUpdateAsync(String resourceGroupName, String vpnSiteName, VpnSiteInner vpnSiteParameters)
Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite.
Parameters:
Returns:
createOrUpdateWithResponseAsync
public 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.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String vpnSiteName)
Deletes a VpnSite.
Parameters:
delete
public abstract void delete(String resourceGroupName, String vpnSiteName, Context context)
Deletes a VpnSite.
Parameters:
deleteAsync
public abstract Mono<Void> deleteAsync(String resourceGroupName, String vpnSiteName)
Deletes a VpnSite.
Parameters:
Returns:
deleteWithResponseAsync
public abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String vpnSiteName)
Deletes a VpnSite.
Parameters:
Returns:
getByResourceGroup
public abstract VpnSiteInner getByResourceGroup(String resourceGroupName, String vpnSiteName)
Retrieves the details of a VPN site.
Parameters:
Returns:
getByResourceGroupAsync
public abstract Mono<VpnSiteInner> getByResourceGroupAsync(String resourceGroupName, String vpnSiteName)
Retrieves the details of a VPN site.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response<VpnSiteInner> getByResourceGroupWithResponse(String resourceGroupName, String vpnSiteName, Context context)
Retrieves the details of a VPN site.
Parameters:
Returns:
getByResourceGroupWithResponseAsync
public abstract Mono<Response<VpnSiteInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String vpnSiteName)
Retrieves the details of a VPN site.
Parameters:
Returns:
list
public abstract PagedIterable<VpnSiteInner> list()
Lists all the VpnSites in a subscription.
Returns:
list
public abstract PagedIterable<VpnSiteInner> list(Context context)
Lists all the VpnSites in a subscription.
Parameters:
Returns:
listAsync
public abstract PagedFlux<VpnSiteInner> listAsync()
Lists all the VpnSites in a subscription.
Returns:
listByResourceGroup
public abstract PagedIterable<VpnSiteInner> listByResourceGroup(String resourceGroupName)
Lists all the vpnSites in a resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<VpnSiteInner> listByResourceGroup(String resourceGroupName, Context context)
Lists all the vpnSites in a resource group.
Parameters:
Returns:
listByResourceGroupAsync
public abstract PagedFlux<VpnSiteInner> listByResourceGroupAsync(String resourceGroupName)
Lists all the vpnSites in a resource group.
Parameters:
Returns:
updateTags
public abstract VpnSiteInner updateTags(String resourceGroupName, String vpnSiteName, TagsObject vpnSiteParameters)
Updates VpnSite tags.
Parameters:
Returns:
updateTagsAsync
public abstract Mono<VpnSiteInner> updateTagsAsync(String resourceGroupName, String vpnSiteName, TagsObject vpnSiteParameters)
Updates VpnSite tags.
Parameters:
Returns:
updateTagsWithResponse
public abstract Response<VpnSiteInner> updateTagsWithResponse(String resourceGroupName, String vpnSiteName, TagsObject vpnSiteParameters, Context context)
Updates VpnSite tags.
Parameters:
Returns:
updateTagsWithResponseAsync
public abstract Mono<Response<VpnSiteInner>> updateTagsWithResponseAsync(String resourceGroupName, String vpnSiteName, TagsObject vpnSiteParameters)
Updates VpnSite tags.
Parameters:
Returns: