Interface VpnServerConfigurationsClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<VpnServerConfigurationInner>,InnerSupportsListing<VpnServerConfigurationInner>
public interface VpnServerConfigurationsClient
extends InnerSupportsGet<VpnServerConfigurationInner>, InnerSupportsListing<VpnServerConfigurationInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in VpnServerConfigurationsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnServerConfigurationInner>, VpnServerConfigurationInner> beginCreateOrUpdate(String resourceGroupName, String vpnServerConfigurationName, VpnServerConfigurationInner vpnServerConfigurationParameters) Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnServerConfigurationInner>, VpnServerConfigurationInner> beginCreateOrUpdate(String resourceGroupName, String vpnServerConfigurationName, VpnServerConfigurationInner vpnServerConfigurationParameters, com.azure.core.util.Context context) Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VpnServerConfigurationInner>, VpnServerConfigurationInner> beginCreateOrUpdateAsync(String resourceGroupName, String vpnServerConfigurationName, VpnServerConfigurationInner vpnServerConfigurationParameters) Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.beginDelete(String resourceGroupName, String vpnServerConfigurationName) Deletes a VpnServerConfiguration.beginDelete(String resourceGroupName, String vpnServerConfigurationName, com.azure.core.util.Context context) Deletes a VpnServerConfiguration.beginDeleteAsync(String resourceGroupName, String vpnServerConfigurationName) Deletes a VpnServerConfiguration.createOrUpdate(String resourceGroupName, String vpnServerConfigurationName, VpnServerConfigurationInner vpnServerConfigurationParameters) Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.createOrUpdate(String resourceGroupName, String vpnServerConfigurationName, VpnServerConfigurationInner vpnServerConfigurationParameters, com.azure.core.util.Context context) Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.createOrUpdateAsync(String resourceGroupName, String vpnServerConfigurationName, VpnServerConfigurationInner vpnServerConfigurationParameters) Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String vpnServerConfigurationName, VpnServerConfigurationInner vpnServerConfigurationParameters) Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.voidDeletes a VpnServerConfiguration.voiddelete(String resourceGroupName, String vpnServerConfigurationName, com.azure.core.util.Context context) Deletes a VpnServerConfiguration.deleteAsync(String resourceGroupName, String vpnServerConfigurationName) Deletes a VpnServerConfiguration.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String vpnServerConfigurationName) Deletes a VpnServerConfiguration.getByResourceGroup(String resourceGroupName, String vpnServerConfigurationName) Retrieves the details of a VpnServerConfiguration.getByResourceGroupAsync(String resourceGroupName, String vpnServerConfigurationName) Retrieves the details of a VpnServerConfiguration.com.azure.core.http.rest.Response<VpnServerConfigurationInner> getByResourceGroupWithResponse(String resourceGroupName, String vpnServerConfigurationName, com.azure.core.util.Context context) Retrieves the details of a VpnServerConfiguration.Mono<com.azure.core.http.rest.Response<VpnServerConfigurationInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String vpnServerConfigurationName) Retrieves the details of a VpnServerConfiguration.com.azure.core.http.rest.PagedIterable<VpnServerConfigurationInner> list()Lists all the VpnServerConfigurations in a subscription.com.azure.core.http.rest.PagedIterable<VpnServerConfigurationInner> list(com.azure.core.util.Context context) Lists all the VpnServerConfigurations in a subscription.com.azure.core.http.rest.PagedFlux<VpnServerConfigurationInner> Lists all the VpnServerConfigurations in a subscription.com.azure.core.http.rest.PagedIterable<VpnServerConfigurationInner> listByResourceGroup(String resourceGroupName) Lists all the vpnServerConfigurations in a resource group.com.azure.core.http.rest.PagedIterable<VpnServerConfigurationInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists all the vpnServerConfigurations in a resource group.com.azure.core.http.rest.PagedFlux<VpnServerConfigurationInner> listByResourceGroupAsync(String resourceGroupName) Lists all the vpnServerConfigurations in a resource group.updateTags(String resourceGroupName, String vpnServerConfigurationName, TagsObject vpnServerConfigurationParameters) Updates VpnServerConfiguration tags.updateTagsAsync(String resourceGroupName, String vpnServerConfigurationName, TagsObject vpnServerConfigurationParameters) Updates VpnServerConfiguration tags.com.azure.core.http.rest.Response<VpnServerConfigurationInner> updateTagsWithResponse(String resourceGroupName, String vpnServerConfigurationName, TagsObject vpnServerConfigurationParameters, com.azure.core.util.Context context) Updates VpnServerConfiguration tags.Mono<com.azure.core.http.rest.Response<VpnServerConfigurationInner>> updateTagsWithResponseAsync(String resourceGroupName, String vpnServerConfigurationName, TagsObject vpnServerConfigurationParameters) Updates VpnServerConfiguration tags.
-
Method Details
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<VpnServerConfigurationInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String vpnServerConfigurationName) Retrieves the details of a VpnServerConfiguration.- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration being retrieved.- Returns:
- vpnServerConfiguration 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.
-
getByResourceGroupAsync
Mono<VpnServerConfigurationInner> getByResourceGroupAsync(String resourceGroupName, String vpnServerConfigurationName) Retrieves the details of a VpnServerConfiguration.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<VpnServerConfigurationInner>- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration being retrieved.- Returns:
- vpnServerConfiguration 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<VpnServerConfigurationInner> getByResourceGroupWithResponse(String resourceGroupName, String vpnServerConfigurationName, com.azure.core.util.Context context) Retrieves the details of a VpnServerConfiguration.- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration being retrieved.context- The context to associate with this operation.- Returns:
- vpnServerConfiguration 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.
-
getByResourceGroup
VpnServerConfigurationInner getByResourceGroup(String resourceGroupName, String vpnServerConfigurationName) Retrieves the details of a VpnServerConfiguration.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<VpnServerConfigurationInner>- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration being retrieved.- Returns:
- vpnServerConfiguration 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String vpnServerConfigurationName, VpnServerConfigurationInner vpnServerConfigurationParameters) Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration being created or updated.vpnServerConfigurationParameters- Parameters supplied to create or update VpnServerConfiguration.- Returns:
- vpnServerConfiguration 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<VpnServerConfigurationInner>,VpnServerConfigurationInner> beginCreateOrUpdateAsync(String resourceGroupName, String vpnServerConfigurationName, VpnServerConfigurationInner vpnServerConfigurationParameters) Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration being created or updated.vpnServerConfigurationParameters- Parameters supplied to create or update VpnServerConfiguration.- Returns:
- the
PollerFluxfor polling of vpnServerConfiguration 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<VpnServerConfigurationInner>,VpnServerConfigurationInner> beginCreateOrUpdate(String resourceGroupName, String vpnServerConfigurationName, VpnServerConfigurationInner vpnServerConfigurationParameters) Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration being created or updated.vpnServerConfigurationParameters- Parameters supplied to create or update VpnServerConfiguration.- Returns:
- the
SyncPollerfor polling of vpnServerConfiguration 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<VpnServerConfigurationInner>,VpnServerConfigurationInner> beginCreateOrUpdate(String resourceGroupName, String vpnServerConfigurationName, VpnServerConfigurationInner vpnServerConfigurationParameters, com.azure.core.util.Context context) Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration being created or updated.vpnServerConfigurationParameters- Parameters supplied to create or update VpnServerConfiguration.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of vpnServerConfiguration 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<VpnServerConfigurationInner> createOrUpdateAsync(String resourceGroupName, String vpnServerConfigurationName, VpnServerConfigurationInner vpnServerConfigurationParameters) Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration being created or updated.vpnServerConfigurationParameters- Parameters supplied to create or update VpnServerConfiguration.- Returns:
- vpnServerConfiguration 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
VpnServerConfigurationInner createOrUpdate(String resourceGroupName, String vpnServerConfigurationName, VpnServerConfigurationInner vpnServerConfigurationParameters) Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration being created or updated.vpnServerConfigurationParameters- Parameters supplied to create or update VpnServerConfiguration.- Returns:
- vpnServerConfiguration 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
VpnServerConfigurationInner createOrUpdate(String resourceGroupName, String vpnServerConfigurationName, VpnServerConfigurationInner vpnServerConfigurationParameters, com.azure.core.util.Context context) Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration being created or updated.vpnServerConfigurationParameters- Parameters supplied to create or update VpnServerConfiguration.context- The context to associate with this operation.- Returns:
- vpnServerConfiguration 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<VpnServerConfigurationInner>> updateTagsWithResponseAsync(String resourceGroupName, String vpnServerConfigurationName, TagsObject vpnServerConfigurationParameters) Updates VpnServerConfiguration tags.- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration being updated.vpnServerConfigurationParameters- Parameters supplied to update VpnServerConfiguration tags.- Returns:
- vpnServerConfiguration 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<VpnServerConfigurationInner> updateTagsAsync(String resourceGroupName, String vpnServerConfigurationName, TagsObject vpnServerConfigurationParameters) Updates VpnServerConfiguration tags.- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration being updated.vpnServerConfigurationParameters- Parameters supplied to update VpnServerConfiguration tags.- Returns:
- vpnServerConfiguration 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.
-
updateTagsWithResponse
com.azure.core.http.rest.Response<VpnServerConfigurationInner> updateTagsWithResponse(String resourceGroupName, String vpnServerConfigurationName, TagsObject vpnServerConfigurationParameters, com.azure.core.util.Context context) Updates VpnServerConfiguration tags.- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration being updated.vpnServerConfigurationParameters- Parameters supplied to update VpnServerConfiguration tags.context- The context to associate with this operation.- Returns:
- vpnServerConfiguration 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.
-
updateTags
VpnServerConfigurationInner updateTags(String resourceGroupName, String vpnServerConfigurationName, TagsObject vpnServerConfigurationParameters) Updates VpnServerConfiguration tags.- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration being updated.vpnServerConfigurationParameters- Parameters supplied to update VpnServerConfiguration tags.- Returns:
- vpnServerConfiguration 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String vpnServerConfigurationName) Deletes a VpnServerConfiguration.- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration being deleted.- 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 vpnServerConfigurationName) Deletes a VpnServerConfiguration.- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration being deleted.- 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 vpnServerConfigurationName) Deletes a VpnServerConfiguration.- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration being deleted.- 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 vpnServerConfigurationName, com.azure.core.util.Context context) Deletes a VpnServerConfiguration.- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration being deleted.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
Deletes a VpnServerConfiguration.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration being deleted.- 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
Deletes a VpnServerConfiguration.- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration being deleted.- 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 vpnServerConfigurationName, com.azure.core.util.Context context) Deletes a VpnServerConfiguration.- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration being deleted.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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<VpnServerConfigurationInner> listByResourceGroupAsync(String resourceGroupName) Lists all the vpnServerConfigurations in a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<VpnServerConfigurationInner>- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.- Returns:
- result of the request to list all VpnServerConfigurations 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<VpnServerConfigurationInner> listByResourceGroup(String resourceGroupName) Lists all the vpnServerConfigurations in a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<VpnServerConfigurationInner>- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.- Returns:
- result of the request to list all VpnServerConfigurations 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<VpnServerConfigurationInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists all the vpnServerConfigurations in a resource group.- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.context- The context to associate with this operation.- Returns:
- result of the request to list all VpnServerConfigurations 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<VpnServerConfigurationInner> listAsync()Lists all the VpnServerConfigurations in a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<VpnServerConfigurationInner>- Returns:
- result of the request to list all VpnServerConfigurations 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<VpnServerConfigurationInner> list()Lists all the VpnServerConfigurations in a subscription.- Specified by:
listin interfaceInnerSupportsListing<VpnServerConfigurationInner>- Returns:
- result of the request to list all VpnServerConfigurations 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<VpnServerConfigurationInner> list(com.azure.core.util.Context context) Lists all the VpnServerConfigurations in a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- result of the request to list all VpnServerConfigurations 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.
-