SecurityDevOpsExtensions.GetAzureDevOpsConnectors Method

Definition

Overloads

GetAzureDevOpsConnectors(ResourceGroupResource)

Gets a collection of AzureDevOpsConnectorResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAzureDevOpsConnectors() instead.

GetAzureDevOpsConnectors(SubscriptionResource, CancellationToken)

Returns a list of monitored AzureDevOps Connectors.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.SecurityDevOps/azureDevOpsConnectors
  • Operation Id: AzureDevOpsConnector_ListBySubscription

GetAzureDevOpsConnectors(ResourceGroupResource)

Source:
SecurityDevOpsExtensions.cs

Gets a collection of AzureDevOpsConnectorResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAzureDevOpsConnectors() instead.

public static Azure.ResourceManager.SecurityDevOps.AzureDevOpsConnectorCollection GetAzureDevOpsConnectors (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetAzureDevOpsConnectors : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.SecurityDevOps.AzureDevOpsConnectorCollection
<Extension()>
Public Function GetAzureDevOpsConnectors (resourceGroupResource As ResourceGroupResource) As AzureDevOpsConnectorCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of AzureDevOpsConnectorResources and their operations over a AzureDevOpsConnectorResource.

Exceptions

resourceGroupResource is null.

Applies to

GetAzureDevOpsConnectors(SubscriptionResource, CancellationToken)

Source:
SecurityDevOpsExtensions.cs

Returns a list of monitored AzureDevOps Connectors.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.SecurityDevOps/azureDevOpsConnectors
  • Operation Id: AzureDevOpsConnector_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.SecurityDevOps.AzureDevOpsConnectorResource> GetAzureDevOpsConnectors (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetAzureDevOpsConnectors : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityDevOps.AzureDevOpsConnectorResource>
<Extension()>
Public Function GetAzureDevOpsConnectors (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AzureDevOpsConnectorResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of AzureDevOpsConnectorResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to