GitLabProjectsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

SecurityCenter's

<xref:git_lab_projects> attribute.

Constructor

GitLabProjectsOperations(*args, **kwargs)

Methods

get

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

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

list

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

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

get

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

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

get(resource_group_name: str, security_connector_name: str, group_fq_name: str, project_name: str, **kwargs: Any) -> GitLabProject

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

security_connector_name
Required
str

The security connector name. Required.

group_fq_name
Required
str

The GitLab group fully-qualified name. Required.

project_name
Required
str

The project name. Required.

Returns

Type Description

GitLabProject or the result of cls(response)

Exceptions

Type Description

list

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

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

list(resource_group_name: str, security_connector_name: str, group_fq_name: str, **kwargs: Any) -> Iterable[GitLabProject]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

security_connector_name
Required
str

The security connector name. Required.

group_fq_name
Required
str

The GitLab group fully-qualified name. Required.

Returns

Type Description

An iterator like instance of either GitLabProject or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.security.v2024_04_01.models' from 'C:\\ToolCache\\Python\\3.12.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv218\\Lib\\site-packages\\azure\\mgmt\\security\\v2024_04_01\\models\\__init__.py'>