Aracılığıyla paylaş


GitHubRepoCollection Class

Definition

A class representing a collection of GitHubRepoResource and their operations. Each GitHubRepoResource in the collection will belong to the same instance of GitHubOwnerResource. To get a GitHubRepoCollection instance call the GetGitHubRepos method from an instance of GitHubOwnerResource.

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

Constructors

GitHubRepoCollection()

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

Create or update a monitored GitHub repository.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/gitHubConnectors/{gitHubConnectorName}/owners/{gitHubOwnerName}/repos/{gitHubRepoName}
  • Operation Id: GitHubRepo_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, GitHubRepoData, CancellationToken)

Create or update a monitored GitHub repository.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Returns a monitored GitHub repository.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/gitHubConnectors/{gitHubConnectorName}/owners/{gitHubOwnerName}/repos/{gitHubRepoName}
  • Operation Id: GitHubRepo_Get
GetAll(CancellationToken)

Returns a list of monitored GitHub repositories.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/gitHubConnectors/{gitHubConnectorName}/owners/{gitHubOwnerName}/repos
  • Operation Id: GitHubRepo_List
GetAllAsync(CancellationToken)

Returns a list of monitored GitHub repositories.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/gitHubConnectors/{gitHubConnectorName}/owners/{gitHubOwnerName}/repos
  • Operation Id: GitHubRepo_List
GetAsync(String, CancellationToken)

Returns a monitored GitHub repository.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/gitHubConnectors/{gitHubConnectorName}/owners/{gitHubOwnerName}/repos/{gitHubRepoName}
  • Operation Id: GitHubRepo_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}/owners/{gitHubOwnerName}/repos/{gitHubRepoName}
  • Operation Id: GitHubRepo_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}/owners/{gitHubOwnerName}/repos/{gitHubRepoName}
  • Operation Id: GitHubRepo_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<GitHubRepoResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<GitHubRepoResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to