Interface Configurations
public interface Configurations
Resource collection API of Configurations.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new Configuration resource.Gets information about a specific configuration (also known as server parameter) of a server.Gets information about a specific configuration (also known as server parameter) of a server.com.azure.core.http.rest.Response<Configuration> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets information about a specific configuration (also known as server parameter) of a server.com.azure.core.http.rest.Response<Configuration> getWithResponse(String resourceGroupName, String serverName, String configurationName, com.azure.core.util.Context context) Gets information about a specific configuration (also known as server parameter) of a server.com.azure.core.http.rest.PagedIterable<Configuration> listByServer(String resourceGroupName, String serverName) Lists all configurations (also known as server parameters) of a server.com.azure.core.http.rest.PagedIterable<Configuration> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context) Lists all configurations (also known as server parameters) of a server.
-
Method Details
-
listByServer
com.azure.core.http.rest.PagedIterable<Configuration> listByServer(String resourceGroupName, String serverName) Lists all configurations (also known as server parameters) of a server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.- Returns:
- list of configurations (also known as server parameters) 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<Configuration> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context) Lists all configurations (also known as server parameters) of 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 configurations (also known as server parameters) 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.
-
getWithResponse
com.azure.core.http.rest.Response<Configuration> getWithResponse(String resourceGroupName, String serverName, String configurationName, com.azure.core.util.Context context) Gets information about a specific configuration (also known as server parameter) of a server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.configurationName- Name of the configuration (also known as server parameter).context- The context to associate with this operation.- Returns:
- information about a specific configuration (also known as server parameter) of a server 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 specific configuration (also known as server parameter) of a server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.configurationName- Name of the configuration (also known as server parameter).- Returns:
- information about a specific configuration (also known as server parameter) of a server.
- 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 specific configuration (also known as server parameter) of a server.- Parameters:
id- the resource ID.- Returns:
- information about a specific configuration (also known as server parameter) of a server 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<Configuration> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets information about a specific configuration (also known as server parameter) of a server.- Parameters:
id- the resource ID.context- The context to associate with this operation.- Returns:
- information about a specific configuration (also known as server parameter) of a server 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.
-
define
Begins definition for a new Configuration resource.- Parameters:
name- resource name.- Returns:
- the first stage of the new Configuration definition.
-