GitHubRepos Interface

public interface GitHubRepos

Resource collection API of GitHubRepos.

Method Summary

Modifier and Type Method and Description
abstract GitHubRepository get(String resourceGroupName, String securityConnectorName, String ownerName, String repoName)

Returns a monitored GitHub repository.

abstract Response<GitHubRepository> getWithResponse(String resourceGroupName, String securityConnectorName, String ownerName, String repoName, Context context)

Returns a monitored GitHub repository.

abstract PagedIterable<GitHubRepository> list(String resourceGroupName, String securityConnectorName, String ownerName)

Returns a list of GitHub repositories onboarded to the connector.

abstract PagedIterable<GitHubRepository> list(String resourceGroupName, String securityConnectorName, String ownerName, Context context)

Returns a list of GitHub repositories onboarded to the connector.

Method Details

get

public abstract GitHubRepository get(String resourceGroupName, String securityConnectorName, String ownerName, String repoName)

Returns a monitored GitHub repository.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
securityConnectorName - The security connector name.
ownerName - The GitHub owner name.
repoName - The repository name.

Returns:

gitHub Repository resource.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String securityConnectorName, String ownerName, String repoName, Context context)

Returns a monitored GitHub repository.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
securityConnectorName - The security connector name.
ownerName - The GitHub owner name.
repoName - The repository name.
context - The context to associate with this operation.

Returns:

gitHub Repository resource along with Response<T>.

list

public abstract PagedIterable list(String resourceGroupName, String securityConnectorName, String ownerName)

Returns a list of GitHub repositories onboarded to the connector.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
securityConnectorName - The security connector name.
ownerName - The GitHub owner name.

Returns:

list of RP resources which supports pagination as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String resourceGroupName, String securityConnectorName, String ownerName, Context context)

Returns a list of GitHub repositories onboarded to the connector.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
securityConnectorName - The security connector name.
ownerName - The GitHub owner name.
context - The context to associate with this operation.

Returns:

list of RP resources which supports pagination as paginated response with PagedIterable<T>.

Applies to