Interface CapturedLogsClient
public interface CapturedLogsClient
An instance of this class provides access to all the operations defined in CapturedLogsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<CapturedLogInner> listByServer(String resourceGroupName, String serverName) Lists all captured logs for download in a server.com.azure.core.http.rest.PagedIterable<CapturedLogInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context) Lists all captured logs for download in a server.com.azure.core.http.rest.PagedFlux<CapturedLogInner> listByServerAsync(String resourceGroupName, String serverName) Lists all captured logs for download in a server.
-
Method Details
-
listByServerAsync
com.azure.core.http.rest.PagedFlux<CapturedLogInner> listByServerAsync(String resourceGroupName, String serverName) Lists all captured logs for download in a server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.- Returns:
- list of log files 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.
-
listByServer
com.azure.core.http.rest.PagedIterable<CapturedLogInner> listByServer(String resourceGroupName, String serverName) Lists all captured logs for download in a server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.- Returns:
- list of log files 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<CapturedLogInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context) Lists all captured logs for download in 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 log files 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.
-