Web Apps - Create Or Update Function Secret Slot

A Függvény titkos kulcsának hozzáadása vagy frissítése leírása.

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

URI-paraméterek

Name In Kötelező Típus Description
functionName
path True

string

keyName
path True

string

name
path True

string

resourceGroupName
path True

string

minLength: 1
maxLength: 90

Az erőforráscsoport neve. A név nem megkülönbözteti a kis- és nagybetűket.

slot
path True

string

subscriptionId
path True

string (uuid)

A cél-előfizetés azonosítója. Az értéknek UUID-nek kell lennie.

api-version
query True

string

minLength: 1

A művelethez használni kívánt API-verzió.

Kérelem törzse

Name Típus Description
name

string

A kulcs neve

value

string

Kulcsérték

Válaszok

Name Típus Description
200 OK

KeyInfo

Az Azure-művelet sikeresen befejeződött.

201 Created

KeyInfo

'KeyInfo' erőforrás létrehozása művelet sikeres

Other Status Codes

DefaultErrorResponse

Váratlan hibaválasz.

Biztonság

azure_auth

Azure Active Directory Oauth2-folyamat.

Típus: oauth2
Folyamat: implicit
Engedélyezési URL: https://login.microsoftonline.com/common/oauth2/authorize

Hatókörök

Name Description
user_impersonation a felhasználói fiók megszemélyesítése

Definíciók

Name Description
DefaultErrorResponse

App Service-hibaválasz.

DefaultErrorResponseError

Hibamodell.

DefaultErrorResponseErrorDetailsItem

Részletes hibák.

KeyInfo

Funkciógomb információ.

DefaultErrorResponse

App Service-hibaválasz.

Name Típus Description
error

DefaultErrorResponseError

Hibamodell.

DefaultErrorResponseError

Hibamodell.

Name Típus Description
code

string

Szabványosított sztring a hiba programozott azonosításához.

details

DefaultErrorResponseErrorDetailsItem[]

Részletes hibák.

innererror

string

További információ a hiba hibakereséséről.

message

string

Részletes hibaleírás és hibakeresési információk.

target

string

Részletes hibaleírás és hibakeresési információk.

DefaultErrorResponseErrorDetailsItem

Részletes hibák.

Name Típus Description
code

string

Szabványosított sztring a hiba programozott azonosításához.

message

string

Részletes hibaleírás és hibakeresési információk.

target

string

Részletes hibaleírás és hibakeresési információk.

KeyInfo

Funkciógomb információ.

Name Típus Description
name

string

A kulcs neve

value

string

Kulcsérték