Interface ConfigurationsClient
public interface ConfigurationsClient
An instance of this class provides access to all the operations defined in ConfigurationsClient.
-
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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfigurationListResultInner>,
ConfigurationListResultInner> beginBatchUpdate
(String resourceGroupName, String serverName, ConfigurationListForBatchUpdate parameters) Update a list of configurations in a given server.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfigurationListResultInner>,
ConfigurationListResultInner> beginBatchUpdate
(String resourceGroupName, String serverName, ConfigurationListForBatchUpdate parameters, com.azure.core.util.Context context) Update a list of configurations in a given server.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfigurationInner>,
ConfigurationInner> beginUpdate
(String resourceGroupName, String serverName, String configurationName, ConfigurationInner parameters) Updates a configuration of a server.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfigurationInner>,
ConfigurationInner> beginUpdate
(String resourceGroupName, String serverName, String configurationName, ConfigurationInner parameters, com.azure.core.util.Context context) Updates a configuration of a server.Gets information about a configuration of server.com.azure.core.http.rest.Response<ConfigurationInner>
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<ConfigurationInner>
listByServer
(String resourceGroupName, String serverName) List all the configurations in a given server.com.azure.core.http.rest.PagedIterable<ConfigurationInner>
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
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfigurationInner>,ConfigurationInner> beginUpdate(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:
- the
SyncPoller
for polling of 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfigurationInner>,ConfigurationInner> beginUpdate(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:
- the
SyncPoller
for polling of 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
ConfigurationInner 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
ConfigurationInner 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<ConfigurationInner> 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.
-
beginBatchUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfigurationListResultInner>,ConfigurationListResultInner> beginBatchUpdate(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:
- the
SyncPoller
for polling of 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.
-
beginBatchUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfigurationListResultInner>,ConfigurationListResultInner> beginBatchUpdate(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:
- the
SyncPoller
for polling of 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
ConfigurationListResultInner 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
ConfigurationListResultInner 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<ConfigurationInner> 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<ConfigurationInner> 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.
-