SourceControlSyncJobOperations class

Class representing a SourceControlSyncJobOperations.

Constructors

SourceControlSyncJobOperations(AutomationClientContext)

Create a SourceControlSyncJobOperations.

Methods

create(string, string, string, string, SourceControlSyncJobCreateParameters, RequestOptionsBase)

Creates the sync job for a source control.

create(string, string, string, string, SourceControlSyncJobCreateParameters, RequestOptionsBase, ServiceCallback<SourceControlSyncJob>)
create(string, string, string, string, SourceControlSyncJobCreateParameters, ServiceCallback<SourceControlSyncJob>)
get(string, string, string, string, RequestOptionsBase)

Retrieve the source control sync job identified by job id.

get(string, string, string, string, RequestOptionsBase, ServiceCallback<SourceControlSyncJobById>)
get(string, string, string, string, ServiceCallback<SourceControlSyncJobById>)
listByAutomationAccount(string, string, string, ServiceCallback<SourceControlSyncJobListResult>)
listByAutomationAccount(string, string, string, SourceControlSyncJobListByAutomationAccountOptionalParams)

Retrieve a list of source control sync jobs.

listByAutomationAccount(string, string, string, SourceControlSyncJobListByAutomationAccountOptionalParams, ServiceCallback<SourceControlSyncJobListResult>)
listByAutomationAccountNext(string, RequestOptionsBase)

Retrieve a list of source control sync jobs.

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<SourceControlSyncJobListResult>)
listByAutomationAccountNext(string, ServiceCallback<SourceControlSyncJobListResult>)

Constructor Details

SourceControlSyncJobOperations(AutomationClientContext)

Create a SourceControlSyncJobOperations.

new SourceControlSyncJobOperations(client: AutomationClientContext)

Parameters

client
AutomationClientContext

Reference to the service client.

Method Details

create(string, string, string, string, SourceControlSyncJobCreateParameters, RequestOptionsBase)

Creates the sync job for a source control.

function create(resourceGroupName: string, automationAccountName: string, sourceControlName: string, sourceControlSyncJobId: string, parameters: SourceControlSyncJobCreateParameters, options?: RequestOptionsBase): Promise<SourceControlSyncJobCreateResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

sourceControlName

string

The source control name.

sourceControlSyncJobId

string

The source control sync job id.

parameters
SourceControlSyncJobCreateParameters

The parameters supplied to the create source control sync job operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.SourceControlSyncJobCreateResponse>

create(string, string, string, string, SourceControlSyncJobCreateParameters, RequestOptionsBase, ServiceCallback<SourceControlSyncJob>)

function create(resourceGroupName: string, automationAccountName: string, sourceControlName: string, sourceControlSyncJobId: string, parameters: SourceControlSyncJobCreateParameters, options: RequestOptionsBase, callback: ServiceCallback<SourceControlSyncJob>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

sourceControlName

string

The source control name.

sourceControlSyncJobId

string

The source control sync job id.

parameters
SourceControlSyncJobCreateParameters

The parameters supplied to the create source control sync job operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<SourceControlSyncJob>

The callback

create(string, string, string, string, SourceControlSyncJobCreateParameters, ServiceCallback<SourceControlSyncJob>)

function create(resourceGroupName: string, automationAccountName: string, sourceControlName: string, sourceControlSyncJobId: string, parameters: SourceControlSyncJobCreateParameters, callback: ServiceCallback<SourceControlSyncJob>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

sourceControlName

string

The source control name.

sourceControlSyncJobId

string

The source control sync job id.

parameters
SourceControlSyncJobCreateParameters

The parameters supplied to the create source control sync job operation.

callback

ServiceCallback<SourceControlSyncJob>

The callback

get(string, string, string, string, RequestOptionsBase)

Retrieve the source control sync job identified by job id.

function get(resourceGroupName: string, automationAccountName: string, sourceControlName: string, sourceControlSyncJobId: string, options?: RequestOptionsBase): Promise<SourceControlSyncJobGetResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

sourceControlName

string

The source control name.

sourceControlSyncJobId

string

The source control sync job id.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.SourceControlSyncJobGetResponse>

get(string, string, string, string, RequestOptionsBase, ServiceCallback<SourceControlSyncJobById>)

function get(resourceGroupName: string, automationAccountName: string, sourceControlName: string, sourceControlSyncJobId: string, options: RequestOptionsBase, callback: ServiceCallback<SourceControlSyncJobById>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

sourceControlName

string

The source control name.

sourceControlSyncJobId

string

The source control sync job id.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<SourceControlSyncJobById>

The callback

get(string, string, string, string, ServiceCallback<SourceControlSyncJobById>)

function get(resourceGroupName: string, automationAccountName: string, sourceControlName: string, sourceControlSyncJobId: string, callback: ServiceCallback<SourceControlSyncJobById>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

sourceControlName

string

The source control name.

sourceControlSyncJobId

string

The source control sync job id.

callback

ServiceCallback<SourceControlSyncJobById>

The callback

listByAutomationAccount(string, string, string, ServiceCallback<SourceControlSyncJobListResult>)

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, sourceControlName: string, callback: ServiceCallback<SourceControlSyncJobListResult>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

sourceControlName

string

The source control name.

listByAutomationAccount(string, string, string, SourceControlSyncJobListByAutomationAccountOptionalParams)

Retrieve a list of source control sync jobs.

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, sourceControlName: string, options?: SourceControlSyncJobListByAutomationAccountOptionalParams): Promise<SourceControlSyncJobListByAutomationAccountResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

sourceControlName

string

The source control name.

Returns

Promise<Models.SourceControlSyncJobListByAutomationAccountResponse>

listByAutomationAccount(string, string, string, SourceControlSyncJobListByAutomationAccountOptionalParams, ServiceCallback<SourceControlSyncJobListResult>)

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, sourceControlName: string, options: SourceControlSyncJobListByAutomationAccountOptionalParams, callback: ServiceCallback<SourceControlSyncJobListResult>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

sourceControlName

string

The source control name.

listByAutomationAccountNext(string, RequestOptionsBase)

Retrieve a list of source control sync jobs.

function listByAutomationAccountNext(nextPageLink: string, options?: RequestOptionsBase): Promise<SourceControlSyncJobListByAutomationAccountNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.SourceControlSyncJobListByAutomationAccountNextResponse>

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<SourceControlSyncJobListResult>)

function listByAutomationAccountNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<SourceControlSyncJobListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

listByAutomationAccountNext(string, ServiceCallback<SourceControlSyncJobListResult>)

function listByAutomationAccountNext(nextPageLink: string, callback: ServiceCallback<SourceControlSyncJobListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.