Delen via


Git Lab Groups - List Available

Retourneert een lijst met alle GitLab-groepen die toegankelijk zijn voor het gebruikerstoken dat door de connector wordt gebruikt.

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/listAvailableGitLabGroups?api-version=2024-05-15-preview

URI-parameters

Name In Vereist Type Description
resourceGroupName
path True

string

De naam van de resourcegroep. De naam is niet hoofdlettergevoelig.

securityConnectorName
path True

string

De naam van de beveiligingsconnector.

subscriptionId
path True

string

De id van het doelabonnement.

api-version
query True

string

De API-versie die voor deze bewerking moet worden gebruikt.

Antwoorden

Name Type Description
200 OK

GitLabGroupListResponse

Bevat een lijst met GitLab-groepsdetails

Other Status Codes

ErrorResponse

Foutreactie waarin wordt beschreven waarom de bewerking is mislukt.

Beveiliging

azure_auth

Azure Active Directory OAuth2-stroom

Type: oauth2
Stroom: implicit
Autorisatie-URL: https://login.microsoftonline.com/common/oauth2/authorize

Bereiken

Name Description
user_impersonation Uw gebruikersaccount imiteren

Voorbeelden

ListAvailable_GitLabGroups

Voorbeeldaanvraag

POST https://management.azure.com/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/listAvailableGitLabGroups?api-version=2024-05-15-preview

Voorbeeldrespons

{
  "value": [
    {
      "properties": {
        "fullyQualifiedName": "myGitLabGroup$mySubGroup",
        "url": "https://gitlab.example.com/myGitLabGroup/mySubGroup",
        "onboardingState": "Onboarded",
        "provisioningState": "Succeeded"
      },
      "id": "/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/gitLabGroups/myGitLabGroup$mySubGroup",
      "name": "myGitLabGroup$mySubGroup",
      "type": "Microsoft.Security/securityConnectors/devops/gitLabGroups"
    },
    {
      "properties": {
        "fullyQualifiedName": "myGitLabGroup",
        "url": "https://gitlab.example.com/myGitLabGroup",
        "onboardingState": "OnboardedByOtherConnector",
        "provisioningState": "Succeeded"
      },
      "id": "/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/gitLabGroups/myGitLabGroup",
      "name": "myGitLabGroup",
      "type": "Microsoft.Security/securityConnectors/devops/gitLabGroups"
    },
    {
      "properties": {
        "fullyQualifiedName": "anotherGitLabGroup",
        "url": "https://gitlab.example.com/anotherGitLabGroup",
        "onboardingState": "NotOnboarded"
      },
      "id": "/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/gitLabGroups/anotherGitLabGroup",
      "name": "anotherGitLabGroup",
      "type": "Microsoft.Security/securityConnectors/devops/gitLabGroups"
    }
  ]
}

Definities

Name Description
createdByType

Het type identiteit waarmee de resource is gemaakt.

DevOpsProvisioningState

De inrichtingsstatus van de resource.

In behandeling : inrichting in behandeling. Mislukt: inrichten is mislukt. Geslaagd: geslaagde inrichting. Geannuleerd : inrichting geannuleerd. PendingDeletion - Verwijdering in behandeling. DeletionSuccess - Verwijderen is geslaagd. DeletionFailure - Verwijderingsfout.

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

ErrorDetail

De foutdetails.

ErrorResponse

Foutreactie

GitLabGroup

GitLab-groepsresource.

GitLabGroupListResponse

Lijst met RP-resources die paginering ondersteunen.

GitLabGroupProperties

Eigenschappen van GitLab-groep.

OnboardingState

Details over de onboardingstatus van resources voor alle connectors.

OnboardedByOtherConnector: deze resource is al geïmplementeerd voor een andere connector. Dit is alleen van toepassing op resources op het hoogste niveau. Onboarded: deze resource is al ge onboarded door de opgegeven connector. NotOnboarded: deze resource is niet ge onboarded naar een connector. NotApplicable: de onboardingstatus is niet van toepassing op het huidige eindpunt.

systemData

Metagegevens met betrekking tot het maken en de laatste wijziging van de resource.

createdByType

Het type identiteit waarmee de resource is gemaakt.

Name Type Description
Application

string

Key

string

ManagedIdentity

string

User

string

DevOpsProvisioningState

De inrichtingsstatus van de resource.

In behandeling : inrichting in behandeling. Mislukt: inrichten is mislukt. Geslaagd: geslaagde inrichting. Geannuleerd : inrichting geannuleerd. PendingDeletion - Verwijdering in behandeling. DeletionSuccess - Verwijderen is geslaagd. DeletionFailure - Verwijderingsfout.

Name Type Description
Canceled

string

DeletionFailure

string

DeletionSuccess

string

Failed

string

Pending

string

PendingDeletion

string

Succeeded

string

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

Name Type Description
info

object

De aanvullende informatie.

type

string

Het extra informatietype.

ErrorDetail

De foutdetails.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

De fout bevat aanvullende informatie.

code

string

De foutcode.

details

ErrorDetail[]

De foutdetails.

message

string

Het foutbericht.

target

string

Het foutdoel.

ErrorResponse

Foutreactie

Name Type Description
error

ErrorDetail

Het foutobject.

GitLabGroup

GitLab-groepsresource.

Name Type Description
id

string

Volledig gekwalificeerde resource-id voor de resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

string

De naam van de resource

properties

GitLabGroupProperties

Eigenschappen van GitLab-groep.

systemData

systemData

Metagegevens met betrekking tot het maken en de laatste wijziging van de resource.

type

string

Het type resource. Bijvoorbeeld 'Microsoft.Compute/virtualMachines' of 'Microsoft.Storage/storageAccounts'

GitLabGroupListResponse

Lijst met RP-resources die paginering ondersteunen.

Name Type Description
nextLink

string

Hiermee haalt u de volgende koppeling op of stelt u deze in om over de resultaten te schuiven.

value

GitLabGroup[]

Hiermee haalt u een lijst met resources op of stelt u deze in.

GitLabGroupProperties

Eigenschappen van GitLab-groep.

Name Type Description
fullyQualifiedFriendlyName

string

Hiermee haalt u de volledig leesbare volledig gekwalificeerde naam van het groepsobject op of stelt u deze in.

Dit bevat de volledige naamruimtehiërarchie, zoals te zien is in de GitLab-gebruikersinterface, waarbij naamruimten worden gescheiden door het teken /.

fullyQualifiedName

string

Hiermee wordt de volledig gekwalificeerde naam van het groepsobject opgehaald of ingesteld.

Dit bevat de volledige naamruimtehiërarchie waarbij naamruimten worden gescheiden door het teken $.

onboardingState

OnboardingState

Details over de onboardingstatus van resources voor alle connectors.

OnboardedByOtherConnector: deze resource is al geïmplementeerd voor een andere connector. Dit is alleen van toepassing op resources op het hoogste niveau. Onboarded: deze resource is al ge onboarded door de opgegeven connector. NotOnboarded: deze resource is niet ge onboarded naar een connector. NotApplicable: de onboardingstatus is niet van toepassing op het huidige eindpunt.

provisioningState

DevOpsProvisioningState

De inrichtingsstatus van de resource.

In behandeling : inrichting in behandeling. Mislukt: inrichten is mislukt. Geslaagd: geslaagde inrichting. Geannuleerd : inrichting geannuleerd. PendingDeletion - Verwijdering in behandeling. DeletionSuccess - Verwijderen is geslaagd. DeletionFailure - Verwijderingsfout.

provisioningStatusMessage

string

Hiermee wordt het bericht over de resourcestatus ophaalt.

provisioningStatusUpdateTimeUtc

string

Hiermee wordt de tijd opgehaald waarop de resource voor het laatst is gecontroleerd.

url

string

Hiermee haalt u de URL van de GitLab-groep op of stelt u deze in.

OnboardingState

Details over de onboardingstatus van resources voor alle connectors.

OnboardedByOtherConnector: deze resource is al geïmplementeerd voor een andere connector. Dit is alleen van toepassing op resources op het hoogste niveau. Onboarded: deze resource is al ge onboarded door de opgegeven connector. NotOnboarded: deze resource is niet ge onboarded naar een connector. NotApplicable: de onboardingstatus is niet van toepassing op het huidige eindpunt.

Name Type Description
NotApplicable

string

NotOnboarded

string

Onboarded

string

OnboardedByOtherConnector

string

systemData

Metagegevens met betrekking tot het maken en de laatste wijziging van de resource.

Name Type Description
createdAt

string

De tijdstempel van het maken van resources (UTC).

createdBy

string

De identiteit waarmee de resource is gemaakt.

createdByType

createdByType

Het type identiteit waarmee de resource is gemaakt.

lastModifiedAt

string

De tijdstempel van de laatste wijziging van de resource (UTC)

lastModifiedBy

string

De identiteit die de resource voor het laatst heeft gewijzigd.

lastModifiedByType

createdByType

Het type identiteit dat de resource voor het laatst heeft gewijzigd.