Interface SourceControlSyncJobs


public interface SourceControlSyncJobs
Resource collection API of SourceControlSyncJobs.
  • Method Details

    • get

      SourceControlSyncJobById 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<SourceControlSyncJobById> 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<SourceControlSyncJob> 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<SourceControlSyncJob> 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.
    • define

      Begins definition for a new SourceControlSyncJob resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new SourceControlSyncJob definition.