DscCompilationJobOperations class

Class representing a DscCompilationJobOperations.

Constructors

DscCompilationJobOperations(AutomationClientContext)

Create a DscCompilationJobOperations.

Methods

beginCreate(string, string, string, DscCompilationJobCreateParameters, RequestOptionsBase)

Creates the Dsc compilation job of the configuration.

create(string, string, string, DscCompilationJobCreateParameters, RequestOptionsBase)

Creates the Dsc compilation job of the configuration.

get(string, string, string, RequestOptionsBase)

Retrieve the Dsc configuration compilation job identified by job id.

get(string, string, string, RequestOptionsBase, ServiceCallback<DscCompilationJob>)
get(string, string, string, ServiceCallback<DscCompilationJob>)
getStream(string, string, string, string, RequestOptionsBase)

Retrieve the job stream identified by job stream id.

getStream(string, string, string, string, RequestOptionsBase, ServiceCallback<JobStream>)
getStream(string, string, string, string, ServiceCallback<JobStream>)
listByAutomationAccount(string, string, DscCompilationJobListByAutomationAccountOptionalParams)

Retrieve a list of dsc compilation jobs.

listByAutomationAccount(string, string, DscCompilationJobListByAutomationAccountOptionalParams, ServiceCallback<DscCompilationJobListResult>)
listByAutomationAccount(string, string, ServiceCallback<DscCompilationJobListResult>)
listByAutomationAccountNext(string, RequestOptionsBase)

Retrieve a list of dsc compilation jobs.

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

Constructor Details

DscCompilationJobOperations(AutomationClientContext)

Create a DscCompilationJobOperations.

new DscCompilationJobOperations(client: AutomationClientContext)

Parameters

client
AutomationClientContext

Reference to the service client.

Method Details

beginCreate(string, string, string, DscCompilationJobCreateParameters, RequestOptionsBase)

Creates the Dsc compilation job of the configuration.

function beginCreate(resourceGroupName: string, automationAccountName: string, compilationJobName: string, parameters: DscCompilationJobCreateParameters, options?: RequestOptionsBase): Promise<LROPoller>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

compilationJobName

string

The the DSC configuration Id.

parameters
DscCompilationJobCreateParameters

The parameters supplied to the create compilation job operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<@azure/ms-rest-azure-js.LROPoller>

Promise<msRestAzure.LROPoller>

create(string, string, string, DscCompilationJobCreateParameters, RequestOptionsBase)

Creates the Dsc compilation job of the configuration.

function create(resourceGroupName: string, automationAccountName: string, compilationJobName: string, parameters: DscCompilationJobCreateParameters, options?: RequestOptionsBase): Promise<DscCompilationJobCreateResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

compilationJobName

string

The the DSC configuration Id.

parameters
DscCompilationJobCreateParameters

The parameters supplied to the create compilation job operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.DscCompilationJobCreateResponse>

get(string, string, string, RequestOptionsBase)

Retrieve the Dsc configuration compilation job identified by job id.

function get(resourceGroupName: string, automationAccountName: string, compilationJobName: string, options?: RequestOptionsBase): Promise<DscCompilationJobGetResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

compilationJobName

string

The the DSC configuration Id.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.DscCompilationJobGetResponse>

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

function get(resourceGroupName: string, automationAccountName: string, compilationJobName: string, options: RequestOptionsBase, callback: ServiceCallback<DscCompilationJob>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

compilationJobName

string

The the DSC configuration Id.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<DscCompilationJob>

The callback

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

function get(resourceGroupName: string, automationAccountName: string, compilationJobName: string, callback: ServiceCallback<DscCompilationJob>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

compilationJobName

string

The the DSC configuration Id.

callback

ServiceCallback<DscCompilationJob>

The callback

getStream(string, string, string, string, RequestOptionsBase)

Retrieve the job stream identified by job stream id.

function getStream(resourceGroupName: string, automationAccountName: string, jobId: string, jobStreamId: string, options?: RequestOptionsBase): Promise<DscCompilationJobGetStreamResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

jobId

string

The job id.

jobStreamId

string

The job stream id.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.DscCompilationJobGetStreamResponse>

getStream(string, string, string, string, RequestOptionsBase, ServiceCallback<JobStream>)

function getStream(resourceGroupName: string, automationAccountName: string, jobId: string, jobStreamId: string, options: RequestOptionsBase, callback: ServiceCallback<JobStream>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

jobId

string

The job id.

jobStreamId

string

The job stream id.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<JobStream>

The callback

getStream(string, string, string, string, ServiceCallback<JobStream>)

function getStream(resourceGroupName: string, automationAccountName: string, jobId: string, jobStreamId: string, callback: ServiceCallback<JobStream>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

jobId

string

The job id.

jobStreamId

string

The job stream id.

callback

ServiceCallback<JobStream>

The callback

listByAutomationAccount(string, string, DscCompilationJobListByAutomationAccountOptionalParams)

Retrieve a list of dsc compilation jobs.

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: DscCompilationJobListByAutomationAccountOptionalParams): Promise<DscCompilationJobListByAutomationAccountResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

Returns

Promise<Models.DscCompilationJobListByAutomationAccountResponse>

listByAutomationAccount(string, string, DscCompilationJobListByAutomationAccountOptionalParams, ServiceCallback<DscCompilationJobListResult>)

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: DscCompilationJobListByAutomationAccountOptionalParams, callback: ServiceCallback<DscCompilationJobListResult>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

listByAutomationAccount(string, string, ServiceCallback<DscCompilationJobListResult>)

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

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

listByAutomationAccountNext(string, RequestOptionsBase)

Retrieve a list of dsc compilation jobs.

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.DscCompilationJobListByAutomationAccountNextResponse>

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<DscCompilationJobListResult>)

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

listByAutomationAccountNext(string, ServiceCallback<DscCompilationJobListResult>)

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.