Interface DscNodesClient


public interface DscNodesClient
An instance of this class provides access to all the operations defined in DscNodesClient.
  • Method Details

    • delete

      void delete(String resourceGroupName, String automationAccountName, String nodeId)
      Delete the dsc node identified by node id.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      nodeId - The node 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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String automationAccountName, String nodeId, com.azure.core.util.Context context)
      Delete the dsc node identified by node id.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      nodeId - The node 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.
    • get

      DscNodeInner get(String resourceGroupName, String automationAccountName, String nodeId)
      Retrieve the dsc node identified by node id.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      nodeId - The node id.
      Returns:
      definition of a DscNode.
      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<DscNodeInner> getWithResponse(String resourceGroupName, String automationAccountName, String nodeId, com.azure.core.util.Context context)
      Retrieve the dsc node identified by node id.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      nodeId - The node id.
      context - The context to associate with this operation.
      Returns:
      definition of a DscNode 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

      DscNodeInner update(String resourceGroupName, String automationAccountName, String nodeId, DscNodeUpdateParameters dscNodeUpdateParameters)
      Update the dsc node.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      nodeId - Parameters supplied to the update dsc node.
      dscNodeUpdateParameters - Parameters supplied to the update dsc node.
      Returns:
      definition of a DscNode.
      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<DscNodeInner> updateWithResponse(String resourceGroupName, String automationAccountName, String nodeId, DscNodeUpdateParameters dscNodeUpdateParameters, com.azure.core.util.Context context)
      Update the dsc node.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      nodeId - Parameters supplied to the update dsc node.
      dscNodeUpdateParameters - Parameters supplied to the update dsc node.
      context - The context to associate with this operation.
      Returns:
      definition of a DscNode 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<DscNodeInner> listByAutomationAccount(String resourceGroupName, String automationAccountName)
      Retrieve a list of dsc nodes.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      Returns:
      the response model for the list dsc nodes 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<DscNodeInner> listByAutomationAccount(String resourceGroupName, String automationAccountName, String filter, Integer skip, Integer top, String inlinecount, com.azure.core.util.Context context)
      Retrieve a list of dsc nodes.
      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 dsc nodes 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.