Udostępnij za pośrednictwem


MockableSecurityDevOpsSubscriptionResource.GetGitHubConnectorsAsync Method

Definition

Returns a list of monitored GitHub Connectors.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.SecurityDevOps/gitHubConnectors
  • Operation Id: GitHubConnector_ListBySubscription
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityDevOps.GitHubConnectorResource> GetGitHubConnectorsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetGitHubConnectorsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityDevOps.GitHubConnectorResource>
override this.GetGitHubConnectorsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityDevOps.GitHubConnectorResource>
Public Overridable Function GetGitHubConnectorsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of GitHubConnectorResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to