Web Apps - Create Or Update Host Secret Slot

Beschrijving voor Een geheim op hostniveau toevoegen of bijwerken.

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/{keyType}/{keyName}?api-version=2023-12-01

URI-parameters

Name In Vereist Type Description
keyName
path True

string

De naam van de sleutel.

keyType
path True

string

Het type hostsleutel.

name
path True

string

Sitenaam.

resourceGroupName
path True

string

Naam van de resourcegroep waartoe de resource behoort.

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

slot
path True

string

Naam van de implementatiesite.

subscriptionId
path True

string

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

api-version
query True

string

API-versie

Aanvraagbody

Name Type Description
name

string

Sleutelnaam

value

string

Sleutelwaarde

Antwoorden

Name Type Description
200 OK

KeyInfo

Sleutel is bijgewerkt.

201 Created

KeyInfo

De sleutel is gemaakt.

Other Status Codes

DefaultErrorResponse

App Service foutreactie.

Beveiliging

azure_auth

Azure Active Directory OAuth2-stroom

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation uw gebruikersaccount imiteren

Definities

Name Description
DefaultErrorResponse

App Service foutreactie.

Details
Error

Foutmodel.

KeyInfo

Informatie over functiesleutel.

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.

KeyInfo

Informatie over functiesleutel.

Name Type Description
name

string

Sleutelnaam

value

string

Sleutelwaarde