GitHubIssuesClient Interface

public interface GitHubIssuesClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<Void>,Void> beginCreate(String resourceGroupName, String securityConnectorName, String ownerName, String repoName)

Creates a GitHub issue for the specified repository and assessment.

abstract SyncPoller<PollResult<Void>,Void> beginCreate(String resourceGroupName, String securityConnectorName, String ownerName, String repoName, IssueCreationRequest createIssueRequest, Context context)

Creates a GitHub issue for the specified repository and assessment.

abstract void create(String resourceGroupName, String securityConnectorName, String ownerName, String repoName)

Creates a GitHub issue for the specified repository and assessment.

abstract void create(String resourceGroupName, String securityConnectorName, String ownerName, String repoName, IssueCreationRequest createIssueRequest, Context context)

Creates a GitHub issue for the specified repository and assessment.

Method Details

beginCreate

public abstract SyncPoller<PollResult<Void>,Void> beginCreate(String resourceGroupName, String securityConnectorName, String ownerName, String repoName)

Creates a GitHub issue for the specified repository and assessment.

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:

the SyncPoller<T,U> for polling of long-running operation.

beginCreate

public abstract SyncPoller<PollResult<Void>,Void> beginCreate(String resourceGroupName, String securityConnectorName, String ownerName, String repoName, IssueCreationRequest createIssueRequest, Context context)

Creates a GitHub issue for the specified repository and assessment.

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.
createIssueRequest - The request model containing details for creating the GitHub issue.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

create

public abstract void create(String resourceGroupName, String securityConnectorName, String ownerName, String repoName)

Creates a GitHub issue for the specified repository and assessment.

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.

create

public abstract void create(String resourceGroupName, String securityConnectorName, String ownerName, String repoName, IssueCreationRequest createIssueRequest, Context context)

Creates a GitHub issue for the specified repository and assessment.

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.
createIssueRequest - The request model containing details for creating the GitHub issue.
context - The context to associate with this operation.

Applies to