你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
GitHubConnectorOperations interface
表示 GitHubConnectorOperations 的接口。
方法
begin |
创建或更新受监视的 GitHub 连接器资源。 |
begin |
创建或更新受监视的 GitHub 连接器资源。 |
begin |
删除受监视的 GitHub 连接器详细信息。 |
begin |
删除受监视的 GitHub 连接器详细信息。 |
begin |
更新受监视的 GitHub 连接器详细信息。 |
begin |
更新受监视的 GitHub 连接器详细信息。 |
get(string, string, Git |
返回给定 ID 的受监视 GitHub 连接器资源。 |
list |
|
list |
返回受监视的 GitHub 连接器的列表。 |
方法详细信息
beginCreateOrUpdate(string, string, GitHubConnector, GitHubConnectorCreateOrUpdateOptionalParams)
创建或更新受监视的 GitHub 连接器资源。
function beginCreateOrUpdate(resourceGroupName: string, gitHubConnectorName: string, gitHubConnector: GitHubConnector, options?: GitHubConnectorCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<GitHubConnector>, GitHubConnector>>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- gitHubConnectorName
-
string
GitHub 连接器的名称。
- gitHubConnector
- GitHubConnector
连接器资源有效负载。
选项参数。
返回
Promise<PollerLike<@azure/core-lro.PollOperationState<GitHubConnector>, GitHubConnector>>
beginCreateOrUpdateAndWait(string, string, GitHubConnector, GitHubConnectorCreateOrUpdateOptionalParams)
创建或更新受监视的 GitHub 连接器资源。
function beginCreateOrUpdateAndWait(resourceGroupName: string, gitHubConnectorName: string, gitHubConnector: GitHubConnector, options?: GitHubConnectorCreateOrUpdateOptionalParams): Promise<GitHubConnector>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- gitHubConnectorName
-
string
GitHub 连接器的名称。
- gitHubConnector
- GitHubConnector
连接器资源有效负载。
选项参数。
返回
Promise<GitHubConnector>
beginDelete(string, string, GitHubConnectorDeleteOptionalParams)
删除受监视的 GitHub 连接器详细信息。
function beginDelete(resourceGroupName: string, gitHubConnectorName: string, options?: GitHubConnectorDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- gitHubConnectorName
-
string
GitHub 连接器的名称。
选项参数。
返回
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginDeleteAndWait(string, string, GitHubConnectorDeleteOptionalParams)
删除受监视的 GitHub 连接器详细信息。
function beginDeleteAndWait(resourceGroupName: string, gitHubConnectorName: string, options?: GitHubConnectorDeleteOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- gitHubConnectorName
-
string
GitHub 连接器的名称。
选项参数。
返回
Promise<void>
beginUpdate(string, string, GitHubConnectorUpdateOptionalParams)
更新受监视的 GitHub 连接器详细信息。
function beginUpdate(resourceGroupName: string, gitHubConnectorName: string, options?: GitHubConnectorUpdateOptionalParams): Promise<PollerLike<PollOperationState<GitHubConnector>, GitHubConnector>>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- gitHubConnectorName
-
string
GitHub 连接器的名称。
选项参数。
返回
Promise<PollerLike<@azure/core-lro.PollOperationState<GitHubConnector>, GitHubConnector>>
beginUpdateAndWait(string, string, GitHubConnectorUpdateOptionalParams)
更新受监视的 GitHub 连接器详细信息。
function beginUpdateAndWait(resourceGroupName: string, gitHubConnectorName: string, options?: GitHubConnectorUpdateOptionalParams): Promise<GitHubConnector>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- gitHubConnectorName
-
string
GitHub 连接器的名称。
选项参数。
返回
Promise<GitHubConnector>
get(string, string, GitHubConnectorGetOptionalParams)
返回给定 ID 的受监视 GitHub 连接器资源。
function get(resourceGroupName: string, gitHubConnectorName: string, options?: GitHubConnectorGetOptionalParams): Promise<GitHubConnector>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- gitHubConnectorName
-
string
GitHub 连接器的名称。
- options
- GitHubConnectorGetOptionalParams
选项参数。
返回
Promise<GitHubConnector>
listByResourceGroup(string, GitHubConnectorListByResourceGroupOptionalParams)
function listByResourceGroup(resourceGroupName: string, options?: GitHubConnectorListByResourceGroupOptionalParams): PagedAsyncIterableIterator<GitHubConnector, GitHubConnector[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
选项参数。
返回
listBySubscription(GitHubConnectorListBySubscriptionOptionalParams)
返回受监视的 GitHub 连接器的列表。
function listBySubscription(options?: GitHubConnectorListBySubscriptionOptionalParams): PagedAsyncIterableIterator<GitHubConnector, GitHubConnector[], PageSettings>
参数
选项参数。