Delen via


Web Apps - Get Site Connection String Key Vault Reference

Beschrijving voor Hiermee haalt u de configuratiereferentie en status van een app op

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/connectionstrings/{connectionStringKey}?api-version=2023-12-01

URI-parameters

Name In Vereist Type Description
connectionStringKey
path True

string

name
path True

string

Naam van de app.

resourceGroupName
path True

string

Naam van de resourcegroep waartoe de resource behoort.

Regex-patroon: ^[-\w\._\(\)]+[^\.]$

subscriptionId
path True

string

Uw Azure-abonnements-id. Dit is een tekenreeks met GUID-indeling (bijvoorbeeld 000000000-0000-0000-0000-000000000000).

api-version
query True

string

API-versie

Antwoorden

Name Type Description
200 OK

ApiKVReference

OK

Other Status Codes

DefaultErrorResponse

App Service foutreactie.

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

Definities

Name Description
ApiKVReference

Beschrijving van verwijzingen naar sitesleutelkluis.

ConfigReferenceSource
DefaultErrorResponse

App Service foutreactie.

Details
Error

Foutmodel.

ManagedServiceIdentity

Beheerde service-identiteit.

ManagedServiceIdentityType

Type beheerde service-identiteit.

ResolveStatus
userAssignedIdentity

Door de gebruiker toegewezen identiteit.

ApiKVReference

Beschrijving van verwijzingen naar sitesleutelkluis.

Name Type Description
id

string

Resource-id.

kind

string

Soort resource.

name

string

Resourcenaam.

properties.activeVersion

string

properties.details

string

properties.identityType

ManagedServiceIdentity

Beheerde service-identiteit.

properties.reference

string

properties.secretName

string

properties.secretVersion

string

properties.source

ConfigReferenceSource

properties.status

ResolveStatus

properties.vaultName

string

type

string

Resourcetype.

ConfigReferenceSource

Name Type Description
KeyVault

string

DefaultErrorResponse

App Service foutreactie.

Name Type Description
error

Error

Foutmodel.

Details

Name Type Description
code

string

Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren.

message

string

Gedetailleerde foutbeschrijving en foutopsporingsinformatie.

target

string

Gedetailleerde foutbeschrijving en foutopsporingsinformatie.

Error

Foutmodel.

Name Type Description
code

string

Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren.

details

Details[]

Gedetailleerde fouten.

innererror

string

Meer informatie over foutopsporing.

message

string

Gedetailleerde foutbeschrijving en foutopsporingsinformatie.

target

string

Gedetailleerde foutbeschrijving en foutopsporingsinformatie.

ManagedServiceIdentity

Beheerde service-identiteit.

Name Type Description
principalId

string

Principal-id van beheerde service-identiteit.

tenantId

string

Tenant van beheerde service-identiteit.

type

ManagedServiceIdentityType

Type beheerde service-identiteit.

userAssignedIdentities

<string,  userAssignedIdentity>

De lijst met door de gebruiker toegewezen identiteiten die zijn gekoppeld aan de resource. De sleutelverwijzingen naar de gebruikersidentiteitswoordenlijst zijn ARM-resource-id's in de vorm: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}

ManagedServiceIdentityType

Type beheerde service-identiteit.

Name Type Description
None

string

SystemAssigned

string

SystemAssigned, UserAssigned

string

UserAssigned

string

ResolveStatus

Name Type Description
AccessToKeyVaultDenied

string

FetchTimedOut

string

Initialized

string

InvalidSyntax

string

MSINotEnabled

string

OtherReasons

string

Resolved

string

SecretNotFound

string

SecretVersionNotFound

string

UnauthorizedClient

string

VaultNotFound

string

userAssignedIdentity

Door de gebruiker toegewezen identiteit.

Name Type Description
clientId

string

Client-id van door de gebruiker toegewezen identiteit

principalId

string

Principal-id van door de gebruiker toegewezen identiteit