Interface VpnSiteLinksClient
public interface VpnSiteLinksClient
An instance of this class provides access to all the operations defined in VpnSiteLinksClient.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the details of a VPN site link.Retrieves the details of a VPN site link.com.azure.core.http.rest.Response<VpnSiteLinkInner> getWithResponse(String resourceGroupName, String vpnSiteName, String vpnSiteLinkName, com.azure.core.util.Context context) Retrieves the details of a VPN site link.Mono<com.azure.core.http.rest.Response<VpnSiteLinkInner>> getWithResponseAsync(String resourceGroupName, String vpnSiteName, String vpnSiteLinkName) Retrieves the details of a VPN site link.com.azure.core.http.rest.PagedIterable<VpnSiteLinkInner> listByVpnSite(String resourceGroupName, String vpnSiteName) Lists all the vpnSiteLinks in a resource group for a vpn site.com.azure.core.http.rest.PagedIterable<VpnSiteLinkInner> listByVpnSite(String resourceGroupName, String vpnSiteName, com.azure.core.util.Context context) Lists all the vpnSiteLinks in a resource group for a vpn site.com.azure.core.http.rest.PagedFlux<VpnSiteLinkInner> listByVpnSiteAsync(String resourceGroupName, String vpnSiteName) Lists all the vpnSiteLinks in a resource group for a vpn site.
-
Method Details
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<VpnSiteLinkInner>> getWithResponseAsync(String resourceGroupName, String vpnSiteName, String vpnSiteLinkName) Retrieves the details of a VPN site link.- Parameters:
resourceGroupName- The resource group name of the VpnSite.vpnSiteName- The name of the VpnSite.vpnSiteLinkName- The name of the VpnSiteLink being retrieved.- Returns:
- vpnSiteLink 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.
-
getAsync
Mono<VpnSiteLinkInner> getAsync(String resourceGroupName, String vpnSiteName, String vpnSiteLinkName) Retrieves the details of a VPN site link.- Parameters:
resourceGroupName- The resource group name of the VpnSite.vpnSiteName- The name of the VpnSite.vpnSiteLinkName- The name of the VpnSiteLink being retrieved.- Returns:
- vpnSiteLink 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.
-
getWithResponse
com.azure.core.http.rest.Response<VpnSiteLinkInner> getWithResponse(String resourceGroupName, String vpnSiteName, String vpnSiteLinkName, com.azure.core.util.Context context) Retrieves the details of a VPN site link.- Parameters:
resourceGroupName- The resource group name of the VpnSite.vpnSiteName- The name of the VpnSite.vpnSiteLinkName- The name of the VpnSiteLink being retrieved.context- The context to associate with this operation.- Returns:
- vpnSiteLink 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.
-
get
Retrieves the details of a VPN site link.- Parameters:
resourceGroupName- The resource group name of the VpnSite.vpnSiteName- The name of the VpnSite.vpnSiteLinkName- The name of the VpnSiteLink being retrieved.- Returns:
- vpnSiteLink 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.
-
listByVpnSiteAsync
com.azure.core.http.rest.PagedFlux<VpnSiteLinkInner> listByVpnSiteAsync(String resourceGroupName, String vpnSiteName) Lists all the vpnSiteLinks in a resource group for a vpn site.- Parameters:
resourceGroupName- The resource group name of the VpnSite.vpnSiteName- The name of the VpnSite.- Returns:
- result of the request to list VpnSiteLinks 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.
-
listByVpnSite
com.azure.core.http.rest.PagedIterable<VpnSiteLinkInner> listByVpnSite(String resourceGroupName, String vpnSiteName) Lists all the vpnSiteLinks in a resource group for a vpn site.- Parameters:
resourceGroupName- The resource group name of the VpnSite.vpnSiteName- The name of the VpnSite.- Returns:
- result of the request to list VpnSiteLinks 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.
-
listByVpnSite
com.azure.core.http.rest.PagedIterable<VpnSiteLinkInner> listByVpnSite(String resourceGroupName, String vpnSiteName, com.azure.core.util.Context context) Lists all the vpnSiteLinks in a resource group for a vpn site.- Parameters:
resourceGroupName- The resource group name of the VpnSite.vpnSiteName- The name of the VpnSite.context- The context to associate with this operation.- Returns:
- result of the request to list VpnSiteLinks 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.
-