Dela via


GitHubOwnerCollection.Get(String, CancellationToken) Method

Definition

Returns a monitored GitHub repository.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/gitHubConnectors/{gitHubConnectorName}/owners/{gitHubOwnerName}
  • Operation Id: GitHubOwner_Get
public virtual Azure.Response<Azure.ResourceManager.SecurityDevOps.GitHubOwnerResource> Get (string gitHubOwnerName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityDevOps.GitHubOwnerResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityDevOps.GitHubOwnerResource>
Public Overridable Function Get (gitHubOwnerName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of GitHubOwnerResource)

Parameters

gitHubOwnerName
String

Name of the GitHub Owner.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

gitHubOwnerName is an empty string, and was expected to be non-empty.

gitHubOwnerName is null.

Applies to