Web Apps - Create Or Update Function Secret Slot

Beschrijving voor Een functiegeheim toevoegen of bijwerken.

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/keys/{keyName}?api-version=2026-07-15

URI-parameters

Naam In Vereist Type Description
functionName
path True

string

keyName
path True

string

name
path True

string

resourceGroupName
path True

string

minLength: 1
maxLength: 90

De naam van de resource group. De naam is hoofdletterongevoelig.

slot
path True

string

subscriptionId
path True

string (uuid)

De ID van het doelabonnement. De waarde moet een UUID zijn.

api-version
query True

string

minLength: 1

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

Aanvraagbody

Naam Type Description
name

string

Sleutelnaam

value

string

Sleutelwaarde

Antwoorden

Naam Type Description
200 OK

KeyInfo

Azure-operatie succesvol voltooid.

201 Created

KeyInfo

De aanmaakoperatie van de bron 'KeyInfo' is geslaagd

Other Status Codes

DefaultErrorResponse

Een onverwachte foutreactie.

Beveiliging

azure_auth

OAuth2-stroom voor Azure Active Directory.

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

Bereiken

Naam Description
user_impersonation Uw gebruikersaccount imiteren

Definities

Naam Description
DefaultErrorResponse

Foutreactie van App Service.

DefaultErrorResponseError

Foutmodel.

DefaultErrorResponseErrorDetailsItem

Gedetailleerde fouten.

KeyInfo

Informatie over functietoetsen.

DefaultErrorResponse

Foutreactie van App Service.

Naam Type Description
error

DefaultErrorResponseError

Foutmodel.

DefaultErrorResponseError

Foutmodel.

Naam Type Description
code

string

Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren.

details

DefaultErrorResponseErrorDetailsItem[]

Gedetailleerde fouten.

innererror

string

Meer informatie om fouten op te sporen.

message

string

Gedetailleerde foutbeschrijving en foutopsporingsinformatie.

target

string

Gedetailleerde foutbeschrijving en foutopsporingsinformatie.

DefaultErrorResponseErrorDetailsItem

Gedetailleerde fouten.

Naam Type Description
code

string

Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren.

message

string

Gedetailleerde foutbeschrijving en foutopsporingsinformatie.

target

string

Gedetailleerde foutbeschrijving en foutopsporingsinformatie.

KeyInfo

Informatie over functietoetsen.

Naam Type Description
name

string

Sleutelnaam

value

string

Sleutelwaarde