Interface DscConfigurationsClient
public interface DscConfigurationsClient
An instance of this class provides access to all the operations defined in DscConfigurationsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceGroupName, String automationAccountName, String configurationName, DscConfigurationCreateOrUpdateParameters parameters) Create the configuration identified by configuration name.createOrUpdate
(String resourceGroupName, String automationAccountName, String configurationName, String parameters) Create the configuration identified by configuration name.com.azure.core.http.rest.Response<DscConfigurationInner>
createOrUpdateWithResponse
(String resourceGroupName, String automationAccountName, String configurationName, DscConfigurationCreateOrUpdateParameters parameters, com.azure.core.util.Context context) Create the configuration identified by configuration name.com.azure.core.http.rest.Response<DscConfigurationInner>
createOrUpdateWithResponse
(String resourceGroupName, String automationAccountName, String configurationName, String parameters, com.azure.core.util.Context context) Create the configuration identified by configuration name.void
Delete the dsc configuration identified by configuration name.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String automationAccountName, String configurationName, com.azure.core.util.Context context) Delete the dsc configuration identified by configuration name.Retrieve the configuration identified by configuration name.getContent
(String resourceGroupName, String automationAccountName, String configurationName) Retrieve the configuration script identified by configuration name.com.azure.core.http.rest.Response<String>
getContentWithResponse
(String resourceGroupName, String automationAccountName, String configurationName, com.azure.core.util.Context context) Retrieve the configuration script identified by configuration name.com.azure.core.http.rest.Response<DscConfigurationInner>
getWithResponse
(String resourceGroupName, String automationAccountName, String configurationName, com.azure.core.util.Context context) Retrieve the configuration identified by configuration name.com.azure.core.http.rest.PagedIterable<DscConfigurationInner>
listByAutomationAccount
(String resourceGroupName, String automationAccountName) Retrieve a list of configurations.com.azure.core.http.rest.PagedIterable<DscConfigurationInner>
listByAutomationAccount
(String resourceGroupName, String automationAccountName, String filter, Integer skip, Integer top, String inlinecount, com.azure.core.util.Context context) Retrieve a list of configurations.Create the configuration identified by configuration name.com.azure.core.http.rest.Response<DscConfigurationInner>
updateWithResponse
(String resourceGroupName, String automationAccountName, String configurationName, DscConfigurationUpdateParameters parameters, com.azure.core.util.Context context) Create the configuration identified by configuration name.com.azure.core.http.rest.Response<DscConfigurationInner>
updateWithResponse
(String resourceGroupName, String automationAccountName, String configurationName, String parameters, com.azure.core.util.Context context) Create the configuration identified by configuration name.
-
Method Details
-
delete
Delete the dsc configuration identified by configuration name.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.configurationName
- The configuration name.- 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String automationAccountName, String configurationName, com.azure.core.util.Context context) Delete the dsc configuration identified by configuration name.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.configurationName
- The configuration name.context
- The context to associate with this operation.- Returns:
- the
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
DscConfigurationInner get(String resourceGroupName, String automationAccountName, String configurationName) Retrieve the configuration identified by configuration name.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.configurationName
- The configuration name.- Returns:
- definition of the configuration type.
- 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<DscConfigurationInner> getWithResponse(String resourceGroupName, String automationAccountName, String configurationName, com.azure.core.util.Context context) Retrieve the configuration identified by configuration name.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.configurationName
- The configuration name.context
- The context to associate with this operation.- Returns:
- definition of the configuration type 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.
-
createOrUpdate
DscConfigurationInner createOrUpdate(String resourceGroupName, String automationAccountName, String configurationName, DscConfigurationCreateOrUpdateParameters parameters) Create the configuration identified by configuration name.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.configurationName
- The create or update parameters for configuration.parameters
- The create or update parameters for configuration.- Returns:
- definition of the configuration type.
- 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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<DscConfigurationInner> createOrUpdateWithResponse(String resourceGroupName, String automationAccountName, String configurationName, DscConfigurationCreateOrUpdateParameters parameters, com.azure.core.util.Context context) Create the configuration identified by configuration name.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.configurationName
- The create or update parameters for configuration.parameters
- The create or update parameters for configuration.context
- The context to associate with this operation.- Returns:
- definition of the configuration type 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.
-
createOrUpdate
DscConfigurationInner createOrUpdate(String resourceGroupName, String automationAccountName, String configurationName, String parameters) Create the configuration identified by configuration name.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.configurationName
- The create or update parameters for configuration.parameters
- The create or update parameters for configuration.- Returns:
- definition of the configuration type.
- 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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<DscConfigurationInner> createOrUpdateWithResponse(String resourceGroupName, String automationAccountName, String configurationName, String parameters, com.azure.core.util.Context context) Create the configuration identified by configuration name.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.configurationName
- The create or update parameters for configuration.parameters
- The create or update parameters for configuration.context
- The context to associate with this operation.- Returns:
- definition of the configuration type 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.
-
update
DscConfigurationInner update(String resourceGroupName, String automationAccountName, String configurationName) Create the configuration identified by configuration name.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.configurationName
- The create or update parameters for configuration.- Returns:
- definition of the configuration type.
- 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.
-
updateWithResponse
com.azure.core.http.rest.Response<DscConfigurationInner> updateWithResponse(String resourceGroupName, String automationAccountName, String configurationName, DscConfigurationUpdateParameters parameters, com.azure.core.util.Context context) Create the configuration identified by configuration name.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.configurationName
- The create or update parameters for configuration.parameters
- The create or update parameters for configuration.context
- The context to associate with this operation.- Returns:
- definition of the configuration type 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.
-
updateWithResponse
com.azure.core.http.rest.Response<DscConfigurationInner> updateWithResponse(String resourceGroupName, String automationAccountName, String configurationName, String parameters, com.azure.core.util.Context context) Create the configuration identified by configuration name.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.configurationName
- The create or update parameters for configuration.parameters
- The create or update parameters for configuration.context
- The context to associate with this operation.- Returns:
- definition of the configuration type 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.
-
getContent
Retrieve the configuration script identified by configuration name.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.configurationName
- The configuration name.- Returns:
- the 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.
-
getContentWithResponse
com.azure.core.http.rest.Response<String> getContentWithResponse(String resourceGroupName, String automationAccountName, String configurationName, com.azure.core.util.Context context) Retrieve the configuration script identified by configuration name.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.configurationName
- The configuration name.context
- The context to associate with this operation.- Returns:
- the response body 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.
-
listByAutomationAccount
com.azure.core.http.rest.PagedIterable<DscConfigurationInner> listByAutomationAccount(String resourceGroupName, String automationAccountName) Retrieve a list of configurations.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.- Returns:
- the response model for the list configuration operation 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.
-
listByAutomationAccount
com.azure.core.http.rest.PagedIterable<DscConfigurationInner> listByAutomationAccount(String resourceGroupName, String automationAccountName, String filter, Integer skip, Integer top, String inlinecount, com.azure.core.util.Context context) Retrieve a list of configurations.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.filter
- The filter to apply on the operation.skip
- The number of rows to skip.top
- The number of rows to take.inlinecount
- Return total rows.context
- The context to associate with this operation.- Returns:
- the response model for the list configuration operation 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.
-