你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
GitHubOwnerOperations interface
Interface representing a GitHubOwnerOperations.
Methods
begin |
Create or update a monitored GitHub owner. |
begin |
Create or update a monitored GitHub owner. |
begin |
Patch a monitored GitHub repository. |
begin |
Patch a monitored GitHub repository. |
get(string, string, string, Git |
Returns a monitored GitHub repository. |
list(string, string, Git |
Returns a list of monitored GitHub owners. |
Method Details
beginCreateOrUpdate(string, string, string, GitHubOwner, GitHubOwnerCreateOrUpdateOptionalParams)
Create or update a monitored GitHub owner.
function beginCreateOrUpdate(resourceGroupName: string, gitHubConnectorName: string, gitHubOwnerName: string, gitHubOwner: GitHubOwner, options?: GitHubOwnerCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<GitHubOwner>, GitHubOwner>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- gitHubConnectorName
-
string
Name of the GitHub Connector.
- gitHubOwnerName
-
string
Name of the GitHub Owner.
- gitHubOwner
- GitHubOwner
Github owner.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<GitHubOwner>, GitHubOwner>>
beginCreateOrUpdateAndWait(string, string, string, GitHubOwner, GitHubOwnerCreateOrUpdateOptionalParams)
Create or update a monitored GitHub owner.
function beginCreateOrUpdateAndWait(resourceGroupName: string, gitHubConnectorName: string, gitHubOwnerName: string, gitHubOwner: GitHubOwner, options?: GitHubOwnerCreateOrUpdateOptionalParams): Promise<GitHubOwner>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- gitHubConnectorName
-
string
Name of the GitHub Connector.
- gitHubOwnerName
-
string
Name of the GitHub Owner.
- gitHubOwner
- GitHubOwner
Github owner.
The options parameters.
Returns
Promise<GitHubOwner>
beginUpdate(string, string, string, GitHubOwnerUpdateOptionalParams)
Patch a monitored GitHub repository.
function beginUpdate(resourceGroupName: string, gitHubConnectorName: string, gitHubOwnerName: string, options?: GitHubOwnerUpdateOptionalParams): Promise<PollerLike<PollOperationState<GitHubOwner>, GitHubOwner>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- gitHubConnectorName
-
string
Name of the GitHub Connector.
- gitHubOwnerName
-
string
Name of the GitHub Owner.
- options
- GitHubOwnerUpdateOptionalParams
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<GitHubOwner>, GitHubOwner>>
beginUpdateAndWait(string, string, string, GitHubOwnerUpdateOptionalParams)
Patch a monitored GitHub repository.
function beginUpdateAndWait(resourceGroupName: string, gitHubConnectorName: string, gitHubOwnerName: string, options?: GitHubOwnerUpdateOptionalParams): Promise<GitHubOwner>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- gitHubConnectorName
-
string
Name of the GitHub Connector.
- gitHubOwnerName
-
string
Name of the GitHub Owner.
- options
- GitHubOwnerUpdateOptionalParams
The options parameters.
Returns
Promise<GitHubOwner>
get(string, string, string, GitHubOwnerGetOptionalParams)
Returns a monitored GitHub repository.
function get(resourceGroupName: string, gitHubConnectorName: string, gitHubOwnerName: string, options?: GitHubOwnerGetOptionalParams): Promise<GitHubOwner>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- gitHubConnectorName
-
string
Name of the GitHub Connector.
- gitHubOwnerName
-
string
Name of the GitHub Owner.
- options
- GitHubOwnerGetOptionalParams
The options parameters.
Returns
Promise<GitHubOwner>
list(string, string, GitHubOwnerListOptionalParams)
Returns a list of monitored GitHub owners.
function list(resourceGroupName: string, gitHubConnectorName: string, options?: GitHubOwnerListOptionalParams): PagedAsyncIterableIterator<GitHubOwner, GitHubOwner[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- gitHubConnectorName
-
string
Name of the GitHub Connector.
- options
- GitHubOwnerListOptionalParams
The options parameters.