Interface Configurations
public interface Configurations
Resource collection API of Configurations.
-
Method Summary
Modifier and TypeMethodDescriptionbatchUpdate
(String resourceGroupName, String serverName, ConfigurationListForBatchUpdate parameters) Update a list of configurations in a given server.batchUpdate
(String resourceGroupName, String serverName, ConfigurationListForBatchUpdate parameters, com.azure.core.util.Context context) Update a list of configurations in a given server.Gets information about a configuration of 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 configuration of server.com.azure.core.http.rest.PagedIterable<Configuration>
listByServer
(String resourceGroupName, String serverName) List all the configurations in a given server.com.azure.core.http.rest.PagedIterable<Configuration>
listByServer
(String resourceGroupName, String serverName, String tags, String keyword, Integer page, Integer pageSize, com.azure.core.util.Context context) List all the configurations in a given server.update
(String resourceGroupName, String serverName, String configurationName, ConfigurationInner parameters) Updates a configuration of a server.update
(String resourceGroupName, String serverName, String configurationName, ConfigurationInner parameters, com.azure.core.util.Context context) Updates a configuration of a server.
-
Method Details
-
update
Configuration update(String resourceGroupName, String serverName, String configurationName, ConfigurationInner parameters) Updates a configuration of a server.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.serverName
- The name of the server.configurationName
- The name of the server configuration.parameters
- The required parameters for updating a server configuration.- Returns:
- represents a Configuration.
- 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.
-
update
Configuration update(String resourceGroupName, String serverName, String configurationName, ConfigurationInner parameters, com.azure.core.util.Context context) Updates a configuration of a server.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.serverName
- The name of the server.configurationName
- The name of the server configuration.parameters
- The required parameters for updating a server configuration.context
- The context to associate with this operation.- Returns:
- represents a Configuration.
- 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 configuration of server.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.serverName
- The name of the server.configurationName
- The name of the server configuration.context
- The context to associate with this operation.- Returns:
- information about a configuration of 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 configuration of server.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.serverName
- The name of the server.configurationName
- The name of the server configuration.- Returns:
- information about a configuration of 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.
-
batchUpdate
ConfigurationListResult batchUpdate(String resourceGroupName, String serverName, ConfigurationListForBatchUpdate parameters) Update a list of configurations in a given server.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.serverName
- The name of the server.parameters
- The parameters for updating a list of server configuration.- Returns:
- a list of server configurations.
- 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.
-
batchUpdate
ConfigurationListResult batchUpdate(String resourceGroupName, String serverName, ConfigurationListForBatchUpdate parameters, com.azure.core.util.Context context) Update a list of configurations in a given server.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.serverName
- The name of the server.parameters
- The parameters for updating a list of server configuration.context
- The context to associate with this operation.- Returns:
- a list of server configurations.
- 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) List all the configurations in a given server.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.serverName
- The name of the server.- Returns:
- a list of server configurations 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, String tags, String keyword, Integer page, Integer pageSize, com.azure.core.util.Context context) List all the configurations in a given server.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.serverName
- The name of the server.tags
- The tags of the server configuration.keyword
- The keyword of the server configuration.page
- The page of the server configuration.pageSize
- The pageSize of the server configuration.context
- The context to associate with this operation.- Returns:
- a list of server configurations 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.
-