Sdílet prostřednictvím


SecurityConnectorGitHubRepositoryCollection Class

Definition

A class representing a collection of SecurityConnectorGitHubRepositoryResource and their operations. Each SecurityConnectorGitHubRepositoryResource in the collection will belong to the same instance of SecurityConnectorGitHubOwnerResource. To get a SecurityConnectorGitHubRepositoryCollection instance call the GetSecurityConnectorGitHubRepositories method from an instance of SecurityConnectorGitHubOwnerResource.

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

Constructors

SecurityConnectorGitHubRepositoryCollection()

Initializes a new instance of the SecurityConnectorGitHubRepositoryCollection 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

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitHubOwners/{ownerName}/repos/{repoName}
  • Operation Id: GitHubRepos_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: SecurityConnectorGitHubRepositoryResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitHubOwners/{ownerName}/repos/{repoName}
  • Operation Id: GitHubRepos_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: SecurityConnectorGitHubRepositoryResource
Get(String, CancellationToken)

Returns a monitored GitHub repository.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitHubOwners/{ownerName}/repos/{repoName}
  • Operation Id: GitHubRepos_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: SecurityConnectorGitHubRepositoryResource
GetAll(CancellationToken)

Returns a list of GitHub repositories onboarded to the connector.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitHubOwners/{ownerName}/repos
  • Operation Id: GitHubRepos_List
  • Default Api Version: 2023-09-01-preview
  • Resource: SecurityConnectorGitHubRepositoryResource
GetAllAsync(CancellationToken)

Returns a list of GitHub repositories onboarded to the connector.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitHubOwners/{ownerName}/repos
  • Operation Id: GitHubRepos_List
  • Default Api Version: 2023-09-01-preview
  • Resource: SecurityConnectorGitHubRepositoryResource
GetAsync(String, CancellationToken)

Returns a monitored GitHub repository.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitHubOwners/{ownerName}/repos/{repoName}
  • Operation Id: GitHubRepos_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: SecurityConnectorGitHubRepositoryResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitHubOwners/{ownerName}/repos/{repoName}
  • Operation Id: GitHubRepos_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: SecurityConnectorGitHubRepositoryResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitHubOwners/{ownerName}/repos/{repoName}
  • Operation Id: GitHubRepos_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: SecurityConnectorGitHubRepositoryResource
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<SecurityConnectorGitHubRepositoryResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SecurityConnectorGitHubRepositoryResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to