Condividi tramite


AzureDevOpsConnectorCollection Class

Definition

A class representing a collection of AzureDevOpsConnectorResource and their operations. Each AzureDevOpsConnectorResource in the collection will belong to the same instance of ResourceGroupResource. To get an AzureDevOpsConnectorCollection instance call the GetAzureDevOpsConnectors method from an instance of ResourceGroupResource.

public class AzureDevOpsConnectorCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.SecurityDevOps.AzureDevOpsConnectorResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityDevOps.AzureDevOpsConnectorResource>
type AzureDevOpsConnectorCollection = class
    inherit ArmCollection
    interface seq<AzureDevOpsConnectorResource>
    interface IEnumerable
    interface IAsyncEnumerable<AzureDevOpsConnectorResource>
Public Class AzureDevOpsConnectorCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of AzureDevOpsConnectorResource), IEnumerable(Of AzureDevOpsConnectorResource)
Inheritance
AzureDevOpsConnectorCollection
Implements

Constructors

AzureDevOpsConnectorCollection()

Initializes a new instance of the AzureDevOpsConnectorCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, AzureDevOpsConnectorData, CancellationToken)

Creates or updates an Azure DevOps Connector.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/azureDevOpsConnectors/{azureDevOpsConnectorName}
  • Operation Id: AzureDevOpsConnector_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, AzureDevOpsConnectorData, CancellationToken)

Creates or updates an Azure DevOps Connector.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/azureDevOpsConnectors/{azureDevOpsConnectorName}
  • Operation Id: AzureDevOpsConnector_CreateOrUpdate
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/azureDevOpsConnectors/{azureDevOpsConnectorName}
  • Operation Id: AzureDevOpsConnector_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/azureDevOpsConnectors/{azureDevOpsConnectorName}
  • Operation Id: AzureDevOpsConnector_Get
Get(String, CancellationToken)

Returns a monitored AzureDevOps Connector resource for a given ID.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/azureDevOpsConnectors/{azureDevOpsConnectorName}
  • Operation Id: AzureDevOpsConnector_Get
GetAll(CancellationToken)
  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/azureDevOpsConnectors
  • Operation Id: AzureDevOpsConnector_ListByResourceGroup
GetAllAsync(CancellationToken)
  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/azureDevOpsConnectors
  • Operation Id: AzureDevOpsConnector_ListByResourceGroup
GetAsync(String, CancellationToken)

Returns a monitored AzureDevOps Connector resource for a given ID.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/azureDevOpsConnectors/{azureDevOpsConnectorName}
  • Operation Id: AzureDevOpsConnector_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/azureDevOpsConnectors/{azureDevOpsConnectorName}
  • Operation Id: AzureDevOpsConnector_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/azureDevOpsConnectors/{azureDevOpsConnectorName}
  • Operation Id: AzureDevOpsConnector_Get
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<AzureDevOpsConnectorResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<AzureDevOpsConnectorResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to