共用方式為


SecurityConnectorGitLabProjectCollection Class

Definition

A class representing a collection of SecurityConnectorGitLabProjectResource and their operations. Each SecurityConnectorGitLabProjectResource in the collection will belong to the same instance of SecurityConnectorGitLabGroupResource. To get a SecurityConnectorGitLabProjectCollection instance call the GetSecurityConnectorGitLabProjects method from an instance of SecurityConnectorGitLabGroupResource.

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

Constructors

SecurityConnectorGitLabProjectCollection()

Initializes a new instance of the SecurityConnectorGitLabProjectCollection 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/gitLabGroups/{groupFQName}/projects/{projectName}
  • Operation Id: GitLabProjects_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: SecurityConnectorGitLabProjectResource
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: 2023-09-01-preview
  • Resource: SecurityConnectorGitLabProjectResource
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: 2023-09-01-preview
  • Resource: SecurityConnectorGitLabProjectResource
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: 2023-09-01-preview
  • Resource: SecurityConnectorGitLabProjectResource
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: 2023-09-01-preview
  • Resource: SecurityConnectorGitLabProjectResource
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: 2023-09-01-preview
  • Resource: SecurityConnectorGitLabProjectResource
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: 2023-09-01-preview
  • Resource: SecurityConnectorGitLabProjectResource
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: 2023-09-01-preview
  • Resource: SecurityConnectorGitLabProjectResource
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<SecurityConnectorGitLabProjectResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SecurityConnectorGitLabProjectResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to