Cluster Principal Assignments - Get
Hiermee wordt een Kusto-cluster-principalAssignment opgehaald.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/principalAssignments/{principalAssignmentName}?api-version=2024-04-13
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
cluster
|
path | True |
string pattern: ^.*$ |
De naam van het Kusto-cluster. |
principal
|
path | True |
string pattern: ^.*$ |
De naam van de Kusto principalAssignment. |
resource
|
path | True |
string minLength: 1maxLength: 90 |
De naam van de resourcegroep. De naam is niet hoofdlettergevoelig. |
subscription
|
path | True |
string minLength: 1 |
De id van het doelabonnement. |
api-version
|
query | True |
string minLength: 1 |
De API-versie die voor deze bewerking moet worden gebruikt. |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
Het Kusto-clusterprincipaaltoewijzingsobject. |
|
Other Status Codes |
Foutreactie waarin wordt beschreven waarom de bewerking is mislukt. |
Voorbeelden
KustoClusterPrincipalAssignmentsGet
Voorbeeldaanvraag
Voorbeeldrespons
{
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoCluster/PrincipalAssignments/kustoprincipal1",
"name": "kustoCluster/kustoprincipal1",
"type": "Microsoft.Kusto/Clusters/PrincipalAssignments",
"properties": {
"role": "AllDatabasesAdmin",
"principalId": "87654321-1234-1234-1234-123456789123",
"principalType": "App",
"tenantId": "12345678-1234-1234-1234-123456789123",
"tenantName": "tenantName",
"principalName": "TestApp",
"provisioningState": "Succeeded",
"aadObjectId": "98765432-1234-1234-1234-123456789123"
}
}
Definities
Name | Description |
---|---|
Cluster |
Klasse die een toewijzing van een clusterprincipaal vertegenwoordigt. |
Cluster |
Clusterprincipaalrol. |
Error |
Aanvullende informatie over de resourcebeheerfout. |
Error |
De foutdetails. |
Error |
Foutreactie |
Principal |
Principal-type. |
Provisioning |
De ingerichte status van de resource. |
ClusterPrincipalAssignment
Klasse die een toewijzing van een clusterprincipaal vertegenwoordigt.
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.aadObjectId |
string |
De object-id van de service-principal in AAD (Azure Active Directory) |
properties.principalId |
string |
De principal-id die is toegewezen aan de cluster-principal. Dit kan een gebruikers-e-mail, toepassings-id of naam van een beveiligingsgroep zijn. |
properties.principalName |
string |
De principal-naam |
properties.principalType |
Principal-type. |
|
properties.provisioningState |
De ingerichte status van de resource. |
|
properties.role |
Clusterprincipaalrol. |
|
properties.tenantId |
string |
De tenant-id van de principal |
properties.tenantName |
string |
De tenantnaam van de principal |
type |
string |
Het type resource. Bijvoorbeeld 'Microsoft.Compute/virtualMachines' of 'Microsoft.Storage/storageAccounts' |
ClusterPrincipalRole
Clusterprincipaalrol.
Waarde | Description |
---|---|
AllDatabasesAdmin | |
AllDatabasesMonitor | |
AllDatabasesViewer |
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 |
De fout bevat aanvullende informatie. |
|
code |
string |
De foutcode. |
details |
De foutdetails. |
|
message |
string |
Het foutbericht. |
target |
string |
Het foutdoel. |
ErrorResponse
Foutreactie
Name | Type | Description |
---|---|---|
error |
Het foutobject. |
PrincipalType
Principal-type.
Waarde | Description |
---|---|
App | |
Group | |
User |
ProvisioningState
De ingerichte status van de resource.
Waarde | Description |
---|---|
Canceled | |
Creating | |
Deleting | |
Failed | |
Moving | |
Running | |
Succeeded |