GitHubRepos interface
Interface representing a GitHubRepos.
Methods
get(string, string, string, string, Git |
Returns a monitored GitHub repository. |
list(string, string, string, Git |
Returns a list of GitHub repositories onboarded to the connector. |
Method Details
get(string, string, string, string, GitHubReposGetOptionalParams)
Returns a monitored GitHub repository.
function get(resourceGroupName: string, securityConnectorName: string, ownerName: string, repoName: string, options?: GitHubReposGetOptionalParams): Promise<GitHubRepository>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- securityConnectorName
-
string
The security connector name.
- ownerName
-
string
The GitHub owner name.
- repoName
-
string
The repository name.
- options
- GitHubReposGetOptionalParams
The options parameters.
Returns
Promise<GitHubRepository>
list(string, string, string, GitHubReposListOptionalParams)
Returns a list of GitHub repositories onboarded to the connector.
function list(resourceGroupName: string, securityConnectorName: string, ownerName: string, options?: GitHubReposListOptionalParams): PagedAsyncIterableIterator<GitHubRepository, GitHubRepository[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- securityConnectorName
-
string
The security connector name.
- ownerName
-
string
The GitHub owner name.
- options
- GitHubReposListOptionalParams
The options parameters.
Returns
Azure SDK for JavaScript