Interface ConfigurationsClient
public interface ConfigurationsClient
An instance of this class provides access to all the operations defined in ConfigurationsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfigurationInner>,
ConfigurationInner> beginCreateOrUpdate
(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> beginCreateOrUpdate
(String resourceGroupName, String serverName, String configurationName, ConfigurationInner parameters, com.azure.core.util.Context context) Updates a configuration of a server.createOrUpdate
(String resourceGroupName, String serverName, String configurationName, ConfigurationInner parameters) Updates a configuration of a server.createOrUpdate
(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, com.azure.core.util.Context context) List all the configurations in a given server.
-
Method Details
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfigurationInner>,ConfigurationInner> beginCreateOrUpdate(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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfigurationInner>,ConfigurationInner> beginCreateOrUpdate(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.
-
createOrUpdate
ConfigurationInner createOrUpdate(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.
-
createOrUpdate
ConfigurationInner createOrUpdate(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.
-
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, 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.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.
-