GitLabGroupsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

SecurityCenter's

<xref:git_lab_groups> attribute.

Constructor

GitLabGroupsOperations(*args, **kwargs)

Methods

get

Returns a monitored GitLab Group resource for a given fully-qualified name.

Returns a monitored GitLab Group resource for a given fully-qualified name.

list

Returns a list of GitLab groups onboarded to the connector.

Returns a list of GitLab groups onboarded to the connector.

list_available

Returns a list of all GitLab groups accessible by the user token consumed by the connector.

Returns a list of all GitLab groups accessible by the user token consumed by the connector.

get

Returns a monitored GitLab Group resource for a given fully-qualified name.

Returns a monitored GitLab Group resource for a given fully-qualified name.

async get(resource_group_name: str, security_connector_name: str, group_fq_name: str, **kwargs: Any) -> GitLabGroup

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

GitLabGroup or the result of cls(response)

Exceptions

Type Description

list

Returns a list of GitLab groups onboarded to the connector.

Returns a list of GitLab groups onboarded to the connector.

list(resource_group_name: str, security_connector_name: str, **kwargs: Any) -> AsyncIterable[GitLabGroup]

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.

Returns

Type Description

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

Exceptions

Type Description

list_available

Returns a list of all GitLab groups accessible by the user token consumed by the connector.

Returns a list of all GitLab groups accessible by the user token consumed by the connector.

async list_available(resource_group_name: str, security_connector_name: str, **kwargs: Any) -> GitLabGroupListResponse

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.

Returns

Type Description

GitLabGroupListResponse 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'>