你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DscCompilationJobOperations class

表示 DscCompilationJobOperations 的类。

构造函数

DscCompilationJobOperations(AutomationClientContext)

创建 DscCompilationJobOperations。

方法

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

创建配置的 Dsc 编译作业。

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

创建配置的 Dsc 编译作业。

get(string, string, string, RequestOptionsBase)

检索由作业 ID 标识的 Dsc 配置编译作业。

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

检索作业流 ID 标识的作业流。

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

检索 dsc 编译作业的列表。

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

检索 dsc 编译作业的列表。

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

构造函数详细信息

DscCompilationJobOperations(AutomationClientContext)

创建 DscCompilationJobOperations。

new DscCompilationJobOperations(client: AutomationClientContext)

参数

client
AutomationClientContext

对服务客户端的引用。

方法详细信息

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

创建配置的 Dsc 编译作业。

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

compilationJobName

string

DSC 配置 ID。

parameters
DscCompilationJobCreateParameters

提供给创建编译作业作的参数。

options
RequestOptionsBase

可选参数

返回

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

承诺<msRestAzure.LROPoller>

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

创建配置的 Dsc 编译作业。

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

compilationJobName

string

DSC 配置 ID。

parameters
DscCompilationJobCreateParameters

提供给创建编译作业作的参数。

options
RequestOptionsBase

可选参数

返回

承诺<Models.DscCompilationJobCreateResponse>

get(string, string, string, RequestOptionsBase)

检索由作业 ID 标识的 Dsc 配置编译作业。

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

compilationJobName

string

DSC 配置 ID。

options
RequestOptionsBase

可选参数

返回

承诺<Models.DscCompilationJobGetResponse>

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

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

compilationJobName

string

DSC 配置 ID。

options
RequestOptionsBase

可选参数

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

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

compilationJobName

string

DSC 配置 ID。

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

检索作业流 ID 标识的作业流。

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

jobId

string

作业 ID。

jobStreamId

string

作业流 ID。

options
RequestOptionsBase

可选参数

返回

承诺<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>)

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

jobId

string

作业 ID。

jobStreamId

string

作业流 ID。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<JobStream>

回调

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

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

jobId

string

作业 ID。

jobStreamId

string

作业流 ID。

callback

ServiceCallback<JobStream>

回调

listByAutomationAccount(string, string, DscCompilationJobListByAutomationAccountOptionalParams)

检索 dsc 编译作业的列表。

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

返回

Promise<Models.DscCompilationJobListByAutomationAccountResponse>

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

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

listByAutomationAccount(string, string, ServiceCallback<DscCompilationJobListResult>)

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

listByAutomationAccountNext(string, RequestOptionsBase)

检索 dsc 编译作业的列表。

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

参数

nextPageLink

string

上一次成功调用 List作的 NextLink。

options
RequestOptionsBase

可选参数

返回

Promise<Models.DscCompilationJobListByAutomationAccountNextResponse>

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<DscCompilationJobListResult>)

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

参数

nextPageLink

string

上一次成功调用 List作的 NextLink。

options
RequestOptionsBase

可选参数

listByAutomationAccountNext(string, ServiceCallback<DscCompilationJobListResult>)

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

参数

nextPageLink

string

上一次成功调用 List作的 NextLink。