GitHubConnectorCollection Class

Definition

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

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

Constructors

GitHubConnectorCollection()

Initializes a new instance of the GitHubConnectorCollection 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, GitHubConnectorData, CancellationToken)

Create or update a monitored GitHub Connector resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/gitHubConnectors/{gitHubConnectorName}
  • Operation Id: GitHubConnector_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, GitHubConnectorData, CancellationToken)

Create or update a monitored GitHub Connector resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/gitHubConnectors/{gitHubConnectorName}
  • Operation Id: GitHubConnector_CreateOrUpdate
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/gitHubConnectors/{gitHubConnectorName}
  • Operation Id: GitHubConnector_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/gitHubConnectors/{gitHubConnectorName}
  • Operation Id: GitHubConnector_Get
Get(String, CancellationToken)

Returns a monitored GitHub Connector resource for a given ID.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/gitHubConnectors/{gitHubConnectorName}
  • Operation Id: GitHubConnector_Get
GetAll(CancellationToken)
  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/gitHubConnectors
  • Operation Id: GitHubConnector_ListByResourceGroup
GetAllAsync(CancellationToken)
  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/gitHubConnectors
  • Operation Id: GitHubConnector_ListByResourceGroup
GetAsync(String, CancellationToken)

Returns a monitored GitHub Connector resource for a given ID.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/gitHubConnectors/{gitHubConnectorName}
  • Operation Id: GitHubConnector_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/gitHubConnectors/{gitHubConnectorName}
  • Operation Id: GitHubConnector_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/gitHubConnectors/{gitHubConnectorName}
  • Operation Id: GitHubConnector_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<GitHubConnectorResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<GitHubConnectorResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to