DevOpsConfigurationResource.GetAvailableGitHubOwnersAsync Method

Definition

Returns a list of all GitHub owners accessible by the user token consumed by the connector.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/listAvailableGitHubOwners
  • Operation Id: GitHubOwners_ListAvailable
  • Default Api Version: 2023-09-01-preview
  • Resource: SecurityConnectorGitHubOwnerResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecurityConnectorGitHubOwnerResource> GetAvailableGitHubOwnersAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAvailableGitHubOwnersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecurityConnectorGitHubOwnerResource>
override this.GetAvailableGitHubOwnersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecurityConnectorGitHubOwnerResource>
Public Overridable Function GetAvailableGitHubOwnersAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SecurityConnectorGitHubOwnerResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of SecurityConnectorGitHubOwnerResource that may take multiple service requests to iterate over.

Applies to