Interface SourceControlSyncJobsClient


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

    • create

      SourceControlSyncJobInner create(String resourceGroupName, String automationAccountName, String sourceControlName, UUID sourceControlSyncJobId, SourceControlSyncJobCreateParameters parameters)
      Creates the sync job for a source control.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      sourceControlName - The source control name.
      sourceControlSyncJobId - The source control sync job id.
      parameters - The parameters supplied to the create source control sync job operation.
      Returns:
      definition of the source control sync job.
      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.
    • createWithResponse

      com.azure.core.http.rest.Response<SourceControlSyncJobInner> createWithResponse(String resourceGroupName, String automationAccountName, String sourceControlName, UUID sourceControlSyncJobId, SourceControlSyncJobCreateParameters parameters, com.azure.core.util.Context context)
      Creates the sync job for a source control.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      sourceControlName - The source control name.
      sourceControlSyncJobId - The source control sync job id.
      parameters - The parameters supplied to the create source control sync job operation.
      context - The context to associate with this operation.
      Returns:
      definition of the source control sync job 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

      SourceControlSyncJobByIdInner get(String resourceGroupName, String automationAccountName, String sourceControlName, UUID sourceControlSyncJobId)
      Retrieve the source control sync job identified by job id.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      sourceControlName - The source control name.
      sourceControlSyncJobId - The source control sync job id.
      Returns:
      definition of the source control sync job.
      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<SourceControlSyncJobByIdInner> getWithResponse(String resourceGroupName, String automationAccountName, String sourceControlName, UUID sourceControlSyncJobId, com.azure.core.util.Context context)
      Retrieve the source control sync job identified by job id.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      sourceControlName - The source control name.
      sourceControlSyncJobId - The source control sync job id.
      context - The context to associate with this operation.
      Returns:
      definition of the source control sync job 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<SourceControlSyncJobInner> listByAutomationAccount(String resourceGroupName, String automationAccountName, String sourceControlName)
      Retrieve a list of source control sync jobs.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      sourceControlName - The source control name.
      Returns:
      the response model for the list source control sync jobs 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<SourceControlSyncJobInner> listByAutomationAccount(String resourceGroupName, String automationAccountName, String sourceControlName, String filter, com.azure.core.util.Context context)
      Retrieve a list of source control sync jobs.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      sourceControlName - The source control name.
      filter - The filter to apply on the operation.
      context - The context to associate with this operation.
      Returns:
      the response model for the list source control sync jobs 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.