GitHubRepoOperations interface

Interface representing a GitHubRepoOperations.

Methods

beginCreateOrUpdate(string, string, string, string, GitHubRepo, GitHubRepoCreateOrUpdateOptionalParams)

Create or update a monitored GitHub repository.

beginCreateOrUpdateAndWait(string, string, string, string, GitHubRepo, GitHubRepoCreateOrUpdateOptionalParams)

Create or update a monitored GitHub repository.

beginUpdate(string, string, string, string, GitHubRepoUpdateOptionalParams)

Patch a monitored GitHub repository.

beginUpdateAndWait(string, string, string, string, GitHubRepoUpdateOptionalParams)

Patch a monitored GitHub repository.

get(string, string, string, string, GitHubRepoGetOptionalParams)

Returns a monitored GitHub repository.

list(string, string, string, GitHubRepoListOptionalParams)

Returns a list of monitored GitHub repositories.

listByConnector(string, string, GitHubRepoListByConnectorOptionalParams)

Returns a list of monitored GitHub repositories.

Method Details

beginCreateOrUpdate(string, string, string, string, GitHubRepo, GitHubRepoCreateOrUpdateOptionalParams)

Create or update a monitored GitHub repository.

function beginCreateOrUpdate(resourceGroupName: string, gitHubConnectorName: string, gitHubOwnerName: string, gitHubRepoName: string, gitHubRepo: GitHubRepo, options?: GitHubRepoCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<GitHubRepo>, GitHubRepo>>

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.

gitHubRepoName

string

Name of the GitHub Repo.

gitHubRepo
GitHubRepo

Github repo.

options
GitHubRepoCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<GitHubRepo>, GitHubRepo>>

beginCreateOrUpdateAndWait(string, string, string, string, GitHubRepo, GitHubRepoCreateOrUpdateOptionalParams)

Create or update a monitored GitHub repository.

function beginCreateOrUpdateAndWait(resourceGroupName: string, gitHubConnectorName: string, gitHubOwnerName: string, gitHubRepoName: string, gitHubRepo: GitHubRepo, options?: GitHubRepoCreateOrUpdateOptionalParams): Promise<GitHubRepo>

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.

gitHubRepoName

string

Name of the GitHub Repo.

gitHubRepo
GitHubRepo

Github repo.

options
GitHubRepoCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<GitHubRepo>

beginUpdate(string, string, string, string, GitHubRepoUpdateOptionalParams)

Patch a monitored GitHub repository.

function beginUpdate(resourceGroupName: string, gitHubConnectorName: string, gitHubOwnerName: string, gitHubRepoName: string, options?: GitHubRepoUpdateOptionalParams): Promise<PollerLike<PollOperationState<GitHubRepo>, GitHubRepo>>

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.

gitHubRepoName

string

Name of the GitHub Repo.

options
GitHubRepoUpdateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<GitHubRepo>, GitHubRepo>>

beginUpdateAndWait(string, string, string, string, GitHubRepoUpdateOptionalParams)

Patch a monitored GitHub repository.

function beginUpdateAndWait(resourceGroupName: string, gitHubConnectorName: string, gitHubOwnerName: string, gitHubRepoName: string, options?: GitHubRepoUpdateOptionalParams): Promise<GitHubRepo>

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.

gitHubRepoName

string

Name of the GitHub Repo.

options
GitHubRepoUpdateOptionalParams

The options parameters.

Returns

Promise<GitHubRepo>

get(string, string, string, string, GitHubRepoGetOptionalParams)

Returns a monitored GitHub repository.

function get(resourceGroupName: string, gitHubConnectorName: string, gitHubOwnerName: string, gitHubRepoName: string, options?: GitHubRepoGetOptionalParams): Promise<GitHubRepo>

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.

gitHubRepoName

string

Name of the GitHub Repo.

options
GitHubRepoGetOptionalParams

The options parameters.

Returns

Promise<GitHubRepo>

list(string, string, string, GitHubRepoListOptionalParams)

Returns a list of monitored GitHub repositories.

function list(resourceGroupName: string, gitHubConnectorName: string, gitHubOwnerName: string, options?: GitHubRepoListOptionalParams): PagedAsyncIterableIterator<GitHubRepo, GitHubRepo[], PageSettings>

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
GitHubRepoListOptionalParams

The options parameters.

Returns

listByConnector(string, string, GitHubRepoListByConnectorOptionalParams)

Returns a list of monitored GitHub repositories.

function listByConnector(resourceGroupName: string, gitHubConnectorName: string, options?: GitHubRepoListByConnectorOptionalParams): PagedAsyncIterableIterator<GitHubRepo, GitHubRepo[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

gitHubConnectorName

string

Name of the GitHub Connector.

options
GitHubRepoListByConnectorOptionalParams

The options parameters.

Returns