Partager via


GitHubConnectorResource.GetGitHubOwner(String, CancellationToken) Méthode

Définition

Retourne un dépôt GitHub surveillé.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/gitHubConnectors/{gitHubConnectorName}/owners/{gitHubOwnerName}
  • IdGitHubOwner_Get d’opération
public virtual Azure.Response<Azure.ResourceManager.SecurityDevOps.GitHubOwnerResource> GetGitHubOwner (string gitHubOwnerName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetGitHubOwner : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityDevOps.GitHubOwnerResource>
override this.GetGitHubOwner : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityDevOps.GitHubOwnerResource>
Public Overridable Function GetGitHubOwner (gitHubOwnerName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of GitHubOwnerResource)

Paramètres

gitHubOwnerName
String

Nom du propriétaire GitHub.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

gitHubOwnerName est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.

gitHubOwnerName a la valeur null.

S’applique à