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

SourceControlOperations class

表示 SourceControlOperations 的类。

构造函数

SourceControlOperations(AutomationClientContext)

创建 SourceControlOperations。

方法

createOrUpdate(string, string, string, SourceControlCreateOrUpdateParameters, RequestOptionsBase)

创建源代码管理。

createOrUpdate(string, string, string, SourceControlCreateOrUpdateParameters, RequestOptionsBase, ServiceCallback<SourceControl>)
createOrUpdate(string, string, string, SourceControlCreateOrUpdateParameters, ServiceCallback<SourceControl>)
deleteMethod(string, string, string, RequestOptionsBase)

删除源代码管理。

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, string, ServiceCallback<void>)
get(string, string, string, RequestOptionsBase)

检索由源代码管理名称标识的源代码管理。

get(string, string, string, RequestOptionsBase, ServiceCallback<SourceControl>)
get(string, string, string, ServiceCallback<SourceControl>)
listByAutomationAccount(string, string, ServiceCallback<SourceControlListResult>)
listByAutomationAccount(string, string, SourceControlListByAutomationAccountOptionalParams)

检索源代码管理的列表。

listByAutomationAccount(string, string, SourceControlListByAutomationAccountOptionalParams, ServiceCallback<SourceControlListResult>)
listByAutomationAccountNext(string, RequestOptionsBase)

检索源代码管理的列表。

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<SourceControlListResult>)
listByAutomationAccountNext(string, ServiceCallback<SourceControlListResult>)
update(string, string, string, SourceControlUpdateParameters, RequestOptionsBase)

更新源代码管理。

update(string, string, string, SourceControlUpdateParameters, RequestOptionsBase, ServiceCallback<SourceControl>)
update(string, string, string, SourceControlUpdateParameters, ServiceCallback<SourceControl>)

构造函数详细信息

SourceControlOperations(AutomationClientContext)

创建 SourceControlOperations。

new SourceControlOperations(client: AutomationClientContext)

参数

client
AutomationClientContext

对服务客户端的引用。

方法详细信息

createOrUpdate(string, string, string, SourceControlCreateOrUpdateParameters, RequestOptionsBase)

创建源代码管理。

function createOrUpdate(resourceGroupName: string, automationAccountName: string, sourceControlName: string, parameters: SourceControlCreateOrUpdateParameters, options?: RequestOptionsBase): Promise<SourceControlCreateOrUpdateResponse>

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

sourceControlName

string

源代码管理名称。

parameters
SourceControlCreateOrUpdateParameters

提供给创建或更新源代码管理作的参数。

options
RequestOptionsBase

可选参数

返回

承诺<Models.SourceControlCreateOrUpdateResponse>

createOrUpdate(string, string, string, SourceControlCreateOrUpdateParameters, RequestOptionsBase, ServiceCallback<SourceControl>)

function createOrUpdate(resourceGroupName: string, automationAccountName: string, sourceControlName: string, parameters: SourceControlCreateOrUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<SourceControl>)

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

sourceControlName

string

源代码管理名称。

parameters
SourceControlCreateOrUpdateParameters

提供给创建或更新源代码管理作的参数。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<SourceControl>

回调

createOrUpdate(string, string, string, SourceControlCreateOrUpdateParameters, ServiceCallback<SourceControl>)

function createOrUpdate(resourceGroupName: string, automationAccountName: string, sourceControlName: string, parameters: SourceControlCreateOrUpdateParameters, callback: ServiceCallback<SourceControl>)

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

sourceControlName

string

源代码管理名称。

parameters
SourceControlCreateOrUpdateParameters

提供给创建或更新源代码管理作的参数。

callback

ServiceCallback<SourceControl>

回调

deleteMethod(string, string, string, RequestOptionsBase)

删除源代码管理。

function deleteMethod(resourceGroupName: string, automationAccountName: string, sourceControlName: string, options?: RequestOptionsBase): Promise<RestResponse>

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

sourceControlName

string

源代码管理的名称。

options
RequestOptionsBase

可选参数

返回

Promise<RestResponse>

承诺<msRest.RestResponse>

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, automationAccountName: string, sourceControlName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

sourceControlName

string

源代码管理的名称。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<void>

回调

deleteMethod(string, string, string, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, automationAccountName: string, sourceControlName: string, callback: ServiceCallback<void>)

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

sourceControlName

string

源代码管理的名称。

callback

ServiceCallback<void>

回调

get(string, string, string, RequestOptionsBase)

检索由源代码管理名称标识的源代码管理。

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

sourceControlName

string

源代码管理的名称。

options
RequestOptionsBase

可选参数

返回

承诺<Models.SourceControlGetResponse>

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

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

sourceControlName

string

源代码管理的名称。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<SourceControl>

回调

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

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

sourceControlName

string

源代码管理的名称。

callback

ServiceCallback<SourceControl>

回调

listByAutomationAccount(string, string, ServiceCallback<SourceControlListResult>)

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

listByAutomationAccount(string, string, SourceControlListByAutomationAccountOptionalParams)

检索源代码管理的列表。

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: SourceControlListByAutomationAccountOptionalParams): Promise<SourceControlListByAutomationAccountResponse>

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

返回

承诺<模型.SourceControlListByAutomationAccountResponse>

listByAutomationAccount(string, string, SourceControlListByAutomationAccountOptionalParams, ServiceCallback<SourceControlListResult>)

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: SourceControlListByAutomationAccountOptionalParams, callback: ServiceCallback<SourceControlListResult>)

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

listByAutomationAccountNext(string, RequestOptionsBase)

检索源代码管理的列表。

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

参数

nextPageLink

string

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

options
RequestOptionsBase

可选参数

返回

Promise<Models.SourceControlListByAutomationAccountNextResponse>

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<SourceControlListResult>)

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

参数

nextPageLink

string

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

options
RequestOptionsBase

可选参数

listByAutomationAccountNext(string, ServiceCallback<SourceControlListResult>)

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

参数

nextPageLink

string

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

update(string, string, string, SourceControlUpdateParameters, RequestOptionsBase)

更新源代码管理。

function update(resourceGroupName: string, automationAccountName: string, sourceControlName: string, parameters: SourceControlUpdateParameters, options?: RequestOptionsBase): Promise<SourceControlUpdateResponse>

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

sourceControlName

string

源代码管理名称。

parameters
SourceControlUpdateParameters

提供给更新源代码管理作的参数。

options
RequestOptionsBase

可选参数

返回

承诺<Models.SourceControlUpdateResponse>

update(string, string, string, SourceControlUpdateParameters, RequestOptionsBase, ServiceCallback<SourceControl>)

function update(resourceGroupName: string, automationAccountName: string, sourceControlName: string, parameters: SourceControlUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<SourceControl>)

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

sourceControlName

string

源代码管理名称。

parameters
SourceControlUpdateParameters

提供给更新源代码管理作的参数。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<SourceControl>

回调

update(string, string, string, SourceControlUpdateParameters, ServiceCallback<SourceControl>)

function update(resourceGroupName: string, automationAccountName: string, sourceControlName: string, parameters: SourceControlUpdateParameters, callback: ServiceCallback<SourceControl>)

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

sourceControlName

string

源代码管理名称。

parameters
SourceControlUpdateParameters

提供给更新源代码管理作的参数。

callback

ServiceCallback<SourceControl>

回调