Interface VirtualEndpoints
public interface VirtualEndpoints
Resource collection API of VirtualEndpoints.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new VirtualEndpoint resource.voidDeletes a pair of virtual endpoints.voiddelete(String resourceGroupName, String serverName, String virtualEndpointName, com.azure.core.util.Context context) Deletes a pair of virtual endpoints.voiddeleteById(String id) Deletes a pair of virtual endpoints.voiddeleteByIdWithResponse(String id, com.azure.core.util.Context context) Deletes a pair of virtual endpoints.Gets information about a pair of virtual endpoints.Gets information about a pair of virtual endpoints.com.azure.core.http.rest.Response<VirtualEndpoint> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets information about a pair of virtual endpoints.com.azure.core.http.rest.Response<VirtualEndpoint> getWithResponse(String resourceGroupName, String serverName, String virtualEndpointName, com.azure.core.util.Context context) Gets information about a pair of virtual endpoints.com.azure.core.http.rest.PagedIterable<VirtualEndpoint> listByServer(String resourceGroupName, String serverName) Lists pair of virtual endpoints associated to a server.com.azure.core.http.rest.PagedIterable<VirtualEndpoint> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context) Lists pair of virtual endpoints associated to a server.
-
Method Details
-
delete
Deletes a pair of virtual endpoints.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.virtualEndpointName- Base name of the virtual endpoints.- 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 serverName, String virtualEndpointName, com.azure.core.util.Context context) Deletes a pair of virtual endpoints.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.virtualEndpointName- Base name of the virtual endpoints.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.
-
getWithResponse
com.azure.core.http.rest.Response<VirtualEndpoint> getWithResponse(String resourceGroupName, String serverName, String virtualEndpointName, com.azure.core.util.Context context) Gets information about a pair of virtual endpoints.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.virtualEndpointName- Base name of the virtual endpoints.context- The context to associate with this operation.- Returns:
- information about a pair of virtual endpoints 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
Gets information about a pair of virtual endpoints.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.virtualEndpointName- Base name of the virtual endpoints.- Returns:
- information about a pair of virtual endpoints.
- 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.
-
listByServer
com.azure.core.http.rest.PagedIterable<VirtualEndpoint> listByServer(String resourceGroupName, String serverName) Lists pair of virtual endpoints associated to a server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.- Returns:
- list of virtual endpoints 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.
-
listByServer
com.azure.core.http.rest.PagedIterable<VirtualEndpoint> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context) Lists pair of virtual endpoints associated to a server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.context- The context to associate with this operation.- Returns:
- list of virtual endpoints 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.
-
getById
Gets information about a pair of virtual endpoints.- Parameters:
id- the resource ID.- Returns:
- information about a pair of virtual endpoints 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<VirtualEndpoint> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets information about a pair of virtual endpoints.- Parameters:
id- the resource ID.context- The context to associate with this operation.- Returns:
- information about a pair of virtual endpoints 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.
-
deleteById
Deletes a pair of virtual endpoints.- Parameters:
id- the resource ID.- 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.
-
deleteByIdWithResponse
Deletes a pair of virtual endpoints.- Parameters:
id- the resource ID.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.
-
define
Begins definition for a new VirtualEndpoint resource.- Parameters:
name- resource name.- Returns:
- the first stage of the new VirtualEndpoint definition.
-