GitHubRepoes Interface

public interface GitHubRepoes

Resource collection API of GitHubRepoes.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new GitHubRepo resource.

abstract GitHubRepo get(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, String gitHubRepoName)

Returns a monitored GitHub repository.

abstract GitHubRepo getById(String id)

Returns a monitored GitHub repository.

abstract Response<GitHubRepo> getByIdWithResponse(String id, Context context)

Returns a monitored GitHub repository.

abstract Response<GitHubRepo> getWithResponse(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, String gitHubRepoName, Context context)

Returns a monitored GitHub repository.

abstract PagedIterable<GitHubRepo> list(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName)

Returns a list of monitored GitHub repositories.

abstract PagedIterable<GitHubRepo> list(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, Context context)

Returns a list of monitored GitHub repositories.

abstract PagedIterable<GitHubRepo> listByConnector(String resourceGroupName, String gitHubConnectorName)

Returns a list of monitored GitHub repositories.

abstract PagedIterable<GitHubRepo> listByConnector(String resourceGroupName, String gitHubConnectorName, Context context)

Returns a list of monitored GitHub repositories.

Method Details

define

public abstract GitHubRepo.DefinitionStages.Blank define(String name)

Begins definition for a new GitHubRepo resource.

Parameters:

name - resource name.

Returns:

the first stage of the new GitHubRepo definition.

get

public abstract GitHubRepo get(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, String gitHubRepoName)

Returns a monitored GitHub repository.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
gitHubConnectorName - Name of the GitHub Connector.
gitHubOwnerName - Name of the GitHub Owner.
gitHubRepoName - Name of the GitHub Repo.

Returns:

gitHub repo Proxy Resource.

getById

public abstract GitHubRepo getById(String id)

Returns a monitored GitHub repository.

Parameters:

id - the resource ID.

Returns:

gitHub repo Proxy Resource along with Response<T>.

getByIdWithResponse

public abstract Response<GitHubRepo> getByIdWithResponse(String id, Context context)

Returns a monitored GitHub repository.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

gitHub repo Proxy Resource along with Response<T>.

getWithResponse

public abstract Response<GitHubRepo> getWithResponse(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, String gitHubRepoName, Context context)

Returns a monitored GitHub repository.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
gitHubConnectorName - Name of the GitHub Connector.
gitHubOwnerName - Name of the GitHub Owner.
gitHubRepoName - Name of the GitHub Repo.
context - The context to associate with this operation.

Returns:

gitHub repo Proxy Resource along with Response<T>.

list

public abstract PagedIterable<GitHubRepo> list(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName)

Returns a list of monitored GitHub repositories.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
gitHubConnectorName - Name of the GitHub Connector.
gitHubOwnerName - Name of the GitHub Owner.

Returns:

the paginated response with PagedIterable<T>.

list

public abstract PagedIterable<GitHubRepo> list(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, Context context)

Returns a list of monitored GitHub repositories.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
gitHubConnectorName - Name of the GitHub Connector.
gitHubOwnerName - Name of the GitHub Owner.
context - The context to associate with this operation.

Returns:

the paginated response with PagedIterable<T>.

listByConnector

public abstract PagedIterable<GitHubRepo> listByConnector(String resourceGroupName, String gitHubConnectorName)

Returns a list of monitored GitHub repositories.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
gitHubConnectorName - Name of the GitHub Connector.

Returns:

the paginated response with PagedIterable<T>.

listByConnector

public abstract PagedIterable<GitHubRepo> listByConnector(String resourceGroupName, String gitHubConnectorName, Context context)

Returns a list of monitored GitHub repositories.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
gitHubConnectorName - Name of the GitHub Connector.
context - The context to associate with this operation.

Returns:

the paginated response with PagedIterable<T>.

Applies to