public interface VpnSitesClient extends InnerSupportsGet<VpnSiteInner>, InnerSupportsListing<VpnSiteInner>, InnerSupportsDelete<Void>
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnSiteInner>,VpnSiteInner> |
beginCreateOrUpdate(String resourceGroupName,
String vpnSiteName,
VpnSiteInner vpnSiteParameters)
Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnSiteInner>,VpnSiteInner> |
beginCreateOrUpdate(String resourceGroupName,
String vpnSiteName,
VpnSiteInner vpnSiteParameters,
com.azure.core.util.Context context)
Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VpnSiteInner>,VpnSiteInner> |
beginCreateOrUpdateAsync(String resourceGroupName,
String vpnSiteName,
VpnSiteInner vpnSiteParameters)
Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String vpnSiteName)
Deletes a VpnSite.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String vpnSiteName,
com.azure.core.util.Context context)
Deletes a VpnSite.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String vpnSiteName)
Deletes a VpnSite.
|
VpnSiteInner |
createOrUpdate(String resourceGroupName,
String vpnSiteName,
VpnSiteInner vpnSiteParameters)
Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite.
|
VpnSiteInner |
createOrUpdate(String resourceGroupName,
String vpnSiteName,
VpnSiteInner vpnSiteParameters,
com.azure.core.util.Context context)
Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite.
|
Mono<VpnSiteInner> |
createOrUpdateAsync(String resourceGroupName,
String vpnSiteName,
VpnSiteInner vpnSiteParameters)
Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String vpnSiteName,
VpnSiteInner vpnSiteParameters)
Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite.
|
void |
delete(String resourceGroupName,
String vpnSiteName)
Deletes a VpnSite.
|
void |
delete(String resourceGroupName,
String vpnSiteName,
com.azure.core.util.Context context)
Deletes a VpnSite.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String vpnSiteName)
Deletes a VpnSite.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String vpnSiteName)
Deletes a VpnSite.
|
VpnSiteInner |
getByResourceGroup(String resourceGroupName,
String vpnSiteName)
Retrieves the details of a VPN site.
|
Mono<VpnSiteInner> |
getByResourceGroupAsync(String resourceGroupName,
String vpnSiteName)
Retrieves the details of a VPN site.
|
com.azure.core.http.rest.Response<VpnSiteInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String vpnSiteName,
com.azure.core.util.Context context)
Retrieves the details of a VPN site.
|
Mono<com.azure.core.http.rest.Response<VpnSiteInner>> |
getByResourceGroupWithResponseAsync(String resourceGroupName,
String vpnSiteName)
Retrieves the details of a VPN site.
|
com.azure.core.http.rest.PagedIterable<VpnSiteInner> |
list()
Lists all the VpnSites in a subscription.
|
com.azure.core.http.rest.PagedIterable<VpnSiteInner> |
list(com.azure.core.util.Context context)
Lists all the VpnSites in a subscription.
|
com.azure.core.http.rest.PagedFlux<VpnSiteInner> |
listAsync()
Lists all the VpnSites in a subscription.
|
com.azure.core.http.rest.PagedIterable<VpnSiteInner> |
listByResourceGroup(String resourceGroupName)
Lists all the vpnSites in a resource group.
|
com.azure.core.http.rest.PagedIterable<VpnSiteInner> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
Lists all the vpnSites in a resource group.
|
com.azure.core.http.rest.PagedFlux<VpnSiteInner> |
listByResourceGroupAsync(String resourceGroupName)
Lists all the vpnSites in a resource group.
|
VpnSiteInner |
updateTags(String resourceGroupName,
String vpnSiteName)
Updates VpnSite tags.
|
Mono<VpnSiteInner> |
updateTagsAsync(String resourceGroupName,
String vpnSiteName)
Updates VpnSite tags.
|
Mono<VpnSiteInner> |
updateTagsAsync(String resourceGroupName,
String vpnSiteName,
Map<String,String> tags)
Updates VpnSite tags.
|
com.azure.core.http.rest.Response<VpnSiteInner> |
updateTagsWithResponse(String resourceGroupName,
String vpnSiteName,
Map<String,String> tags,
com.azure.core.util.Context context)
Updates VpnSite tags.
|
Mono<com.azure.core.http.rest.Response<VpnSiteInner>> |
updateTagsWithResponseAsync(String resourceGroupName,
String vpnSiteName,
Map<String,String> tags)
Updates VpnSite tags.
|
Mono<com.azure.core.http.rest.Response<VpnSiteInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String vpnSiteName)
resourceGroupName - The resource group name of the VpnSite.vpnSiteName - The name of the VpnSite being retrieved.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.Mono<VpnSiteInner> getByResourceGroupAsync(String resourceGroupName, String vpnSiteName)
getByResourceGroupAsync in interface InnerSupportsGet<VpnSiteInner>resourceGroupName - The resource group name of the VpnSite.vpnSiteName - The name of the VpnSite being retrieved.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.VpnSiteInner getByResourceGroup(String resourceGroupName, String vpnSiteName)
getByResourceGroup in interface InnerSupportsGet<VpnSiteInner>resourceGroupName - The resource group name of the VpnSite.vpnSiteName - The name of the VpnSite being retrieved.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.com.azure.core.http.rest.Response<VpnSiteInner> getByResourceGroupWithResponse(String resourceGroupName, String vpnSiteName, com.azure.core.util.Context context)
resourceGroupName - The resource group name of the VpnSite.vpnSiteName - The name of the VpnSite being retrieved.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String vpnSiteName, VpnSiteInner vpnSiteParameters)
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.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VpnSiteInner>,VpnSiteInner> beginCreateOrUpdateAsync(String resourceGroupName, String vpnSiteName, VpnSiteInner vpnSiteParameters)
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.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnSiteInner>,VpnSiteInner> beginCreateOrUpdate(String resourceGroupName, String vpnSiteName, VpnSiteInner vpnSiteParameters)
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.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnSiteInner>,VpnSiteInner> beginCreateOrUpdate(String resourceGroupName, String vpnSiteName, VpnSiteInner vpnSiteParameters, com.azure.core.util.Context context)
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.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.Mono<VpnSiteInner> createOrUpdateAsync(String resourceGroupName, String vpnSiteName, VpnSiteInner vpnSiteParameters)
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.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.VpnSiteInner createOrUpdate(String resourceGroupName, String vpnSiteName, VpnSiteInner vpnSiteParameters)
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.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.VpnSiteInner createOrUpdate(String resourceGroupName, String vpnSiteName, VpnSiteInner vpnSiteParameters, com.azure.core.util.Context context)
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.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.Mono<com.azure.core.http.rest.Response<VpnSiteInner>> updateTagsWithResponseAsync(String resourceGroupName, String vpnSiteName, Map<String,String> tags)
resourceGroupName - The resource group name of the VpnSite.vpnSiteName - The name of the VpnSite being updated.tags - Resource tags.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.Mono<VpnSiteInner> updateTagsAsync(String resourceGroupName, String vpnSiteName, Map<String,String> tags)
resourceGroupName - The resource group name of the VpnSite.vpnSiteName - The name of the VpnSite being updated.tags - Resource tags.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.Mono<VpnSiteInner> updateTagsAsync(String resourceGroupName, String vpnSiteName)
resourceGroupName - The resource group name of the VpnSite.vpnSiteName - The name of the VpnSite being updated.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.VpnSiteInner updateTags(String resourceGroupName, String vpnSiteName)
resourceGroupName - The resource group name of the VpnSite.vpnSiteName - The name of the VpnSite being updated.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.com.azure.core.http.rest.Response<VpnSiteInner> updateTagsWithResponse(String resourceGroupName, String vpnSiteName, Map<String,String> tags, com.azure.core.util.Context context)
resourceGroupName - The resource group name of the VpnSite.vpnSiteName - The name of the VpnSite being updated.tags - Resource tags.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String vpnSiteName)
resourceGroupName - The resource group name of the VpnSite.vpnSiteName - The name of the VpnSite being deleted.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String vpnSiteName)
resourceGroupName - The resource group name of the VpnSite.vpnSiteName - The name of the VpnSite being deleted.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String vpnSiteName)
resourceGroupName - The resource group name of the VpnSite.vpnSiteName - The name of the VpnSite being deleted.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String vpnSiteName, com.azure.core.util.Context context)
resourceGroupName - The resource group name of the VpnSite.vpnSiteName - The name of the VpnSite being deleted.context - The context to associate with this operation.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.Mono<Void> deleteAsync(String resourceGroupName, String vpnSiteName)
deleteAsync in interface InnerSupportsDelete<Void>resourceGroupName - The resource group name of the VpnSite.vpnSiteName - The name of the VpnSite being deleted.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.void delete(String resourceGroupName, String vpnSiteName)
resourceGroupName - The resource group name of the VpnSite.vpnSiteName - The name of the VpnSite being deleted.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.void delete(String resourceGroupName, String vpnSiteName, com.azure.core.util.Context context)
resourceGroupName - The resource group name of the VpnSite.vpnSiteName - The name of the VpnSite being deleted.context - The context to associate with this operation.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.com.azure.core.http.rest.PagedFlux<VpnSiteInner> listByResourceGroupAsync(String resourceGroupName)
listByResourceGroupAsync in interface InnerSupportsListing<VpnSiteInner>resourceGroupName - The resource group name of the VpnSite.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.com.azure.core.http.rest.PagedIterable<VpnSiteInner> listByResourceGroup(String resourceGroupName)
listByResourceGroup in interface InnerSupportsListing<VpnSiteInner>resourceGroupName - The resource group name of the VpnSite.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.com.azure.core.http.rest.PagedIterable<VpnSiteInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName - The resource group name of the VpnSite.context - The context to associate with this operation.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.com.azure.core.http.rest.PagedFlux<VpnSiteInner> listAsync()
listAsync in interface InnerSupportsListing<VpnSiteInner>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.com.azure.core.http.rest.PagedIterable<VpnSiteInner> list()
list in interface InnerSupportsListing<VpnSiteInner>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.com.azure.core.http.rest.PagedIterable<VpnSiteInner> list(com.azure.core.util.Context context)
context - The context to associate with this operation.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.Copyright © 2021 Microsoft Corporation. All rights reserved.