Interface DscNodeConfigurations
public interface DscNodeConfigurations
Resource collection API of DscNodeConfigurations.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new DscNodeConfiguration resource.void
Delete the Dsc node configurations by node configuration.void
deleteById
(String id) Delete the Dsc node configurations by node configuration.com.azure.core.http.rest.Response<Void>
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Delete the Dsc node configurations by node configuration.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String automationAccountName, String nodeConfigurationName, com.azure.core.util.Context context) Delete the Dsc node configurations by node configuration.Retrieve the Dsc node configurations by node configuration.Retrieve the Dsc node configurations by node configuration.com.azure.core.http.rest.Response<DscNodeConfiguration>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Retrieve the Dsc node configurations by node configuration.com.azure.core.http.rest.Response<DscNodeConfiguration>
getWithResponse
(String resourceGroupName, String automationAccountName, String nodeConfigurationName, com.azure.core.util.Context context) Retrieve the Dsc node configurations by node configuration.com.azure.core.http.rest.PagedIterable<DscNodeConfiguration>
listByAutomationAccount
(String resourceGroupName, String automationAccountName) Retrieve a list of dsc node configurations.com.azure.core.http.rest.PagedIterable<DscNodeConfiguration>
listByAutomationAccount
(String resourceGroupName, String automationAccountName, String filter, Integer skip, Integer top, String inlinecount, com.azure.core.util.Context context) Retrieve a list of dsc node configurations.
-
Method Details
-
delete
Delete the Dsc node configurations by node configuration.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.nodeConfigurationName
- The Dsc node 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 nodeConfigurationName, com.azure.core.util.Context context) Delete the Dsc node configurations by node configuration.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.nodeConfigurationName
- The Dsc node 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
DscNodeConfiguration get(String resourceGroupName, String automationAccountName, String nodeConfigurationName) Retrieve the Dsc node configurations by node configuration.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.nodeConfigurationName
- The Dsc node configuration name.- Returns:
- definition of the dsc node 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<DscNodeConfiguration> getWithResponse(String resourceGroupName, String automationAccountName, String nodeConfigurationName, com.azure.core.util.Context context) Retrieve the Dsc node configurations by node configuration.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.nodeConfigurationName
- The Dsc node configuration name.context
- The context to associate with this operation.- Returns:
- definition of the dsc node configuration 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<DscNodeConfiguration> listByAutomationAccount(String resourceGroupName, String automationAccountName) Retrieve a list of dsc node configurations.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.- Returns:
- the response model for the list job 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<DscNodeConfiguration> listByAutomationAccount(String resourceGroupName, String automationAccountName, String filter, Integer skip, Integer top, String inlinecount, com.azure.core.util.Context context) Retrieve a list of dsc node 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 job 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.
-
getById
Retrieve the Dsc node configurations by node configuration.- Parameters:
id
- the resource ID.- Returns:
- definition of the dsc node configuration 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<DscNodeConfiguration> getByIdWithResponse(String id, com.azure.core.util.Context context) Retrieve the Dsc node configurations by node configuration.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- definition of the dsc node configuration 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.
-
deleteById
Delete the Dsc node configurations by node configuration.- Parameters:
id
- the resource ID.- 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.
-
deleteByIdWithResponse
com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) Delete the Dsc node configurations by node configuration.- Parameters:
id
- the resource ID.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.
-
define
Begins definition for a new DscNodeConfiguration resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new DscNodeConfiguration definition.
-