Share via


SecurityConnectorGitHubOwnerCollection Class

Definition

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

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

Constructors

SecurityConnectorGitHubOwnerCollection()

Initializes a new instance of the SecurityConnectorGitHubOwnerCollection 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}
  • Operation Id: GitHubOwners_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: SecurityConnectorGitHubOwnerResource
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}
  • Operation Id: GitHubOwners_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: SecurityConnectorGitHubOwnerResource
Get(String, CancellationToken)

Returns a monitored GitHub owner.

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

Returns a list of GitHub owners onboarded to the connector.

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

Returns a list of GitHub owners onboarded to the connector.

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

Returns a monitored GitHub owner.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SecurityConnectorGitHubOwnerResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to