GitHubReposClient Interface

public interface GitHubReposClient

An instance of this class provides access to all the operations defined in GitHubReposClient.

Method Summary

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

Returns a monitored GitHub repository.

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

Returns a monitored GitHub repository.

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

Returns a list of GitHub repositories onboarded to the connector.

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

Returns a list of GitHub repositories onboarded to the connector.

Method Details

get

public abstract GitHubRepositoryInner 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 ownerName parameter.
repoName - The repoName parameter.

Returns:

gitHub Repository resource.

getWithResponse

public abstract Response<GitHubRepositoryInner> 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 ownerName parameter.
repoName - The repoName parameter.
context - The context to associate with this operation.

Returns:

gitHub Repository resource along with Response<T>.

list

public abstract PagedIterable<GitHubRepositoryInner> 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 ownerName parameter.

Returns:

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

list

public abstract PagedIterable<GitHubRepositoryInner> 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 ownerName parameter.
context - The context to associate with this operation.

Returns:

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

Applies to