GitLabProjectCollection Class

Definition

A class representing a collection of GitLabProjectResource and their operations. Each GitLabProjectResource in the collection will belong to the same instance of GitLabGroupResource. To get a GitLabProjectCollection instance call the GetGitLabProjects method from an instance of GitLabGroupResource.

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

Constructors

Name Description
GitLabProjectCollection()

Initializes a new instance of GitLabProjectCollection for mocking.

Properties

Name Description
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

Name Description
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/gitLabGroups/{groupFQName}/projects/{projectName}.
  • Operation Id. : GitLabProjects_Get.
  • Default Api Version. : 2025-11-01-preview.
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/gitLabGroups/{groupFQName}/projects/{projectName}.
  • Operation Id. : GitLabProjects_Get.
  • Default Api Version. : 2025-11-01-preview.
Get(String, CancellationToken)

Returns a monitored GitLab Project resource for a given fully-qualified group name and project name.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitLabGroups/{groupFQName}/projects/{projectName}.
  • Operation Id. : GitLabProjects_Get.
  • Default Api Version. : 2025-11-01-preview.
GetAll(CancellationToken)

Gets a list of GitLab projects that are directly owned by given group and onboarded to the connector.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitLabGroups/{groupFQName}/projects.
  • Operation Id. : GitLabProjects_List.
  • Default Api Version. : 2025-11-01-preview.
GetAllAsync(CancellationToken)

Gets a list of GitLab projects that are directly owned by given group and onboarded to the connector.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitLabGroups/{groupFQName}/projects.
  • Operation Id. : GitLabProjects_List.
  • Default Api Version. : 2025-11-01-preview.
GetAsync(String, CancellationToken)

Returns a monitored GitLab Project resource for a given fully-qualified group name and project name.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitLabGroups/{groupFQName}/projects/{projectName}.
  • Operation Id. : GitLabProjects_Get.
  • Default Api Version. : 2025-11-01-preview.
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/gitLabGroups/{groupFQName}/projects/{projectName}.
  • Operation Id. : GitLabProjects_Get.
  • Default Api Version. : 2025-11-01-preview.
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/gitLabGroups/{groupFQName}/projects/{projectName}.
  • Operation Id. : GitLabProjects_Get.
  • Default Api Version. : 2025-11-01-preview.
TryGetApiVersion(ResourceType, String)

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

(Inherited from ArmCollection)

Explicit Interface Implementations

Name Description
IAsyncEnumerable<GitLabProjectResource>.GetAsyncEnumerator(CancellationToken)
IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<GitLabProjectResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Extension Methods

Name Description
ArrayContainsAll<T>(IEnumerable<T>, Object[])

Returns whether all values are present in the array.

ArrayContainsAny<T>(IEnumerable<T>, Object[])

Returns whether any values are present in the array.

Applies to