Delen via


Web Apps - Update Connection Strings

Beschrijving voor Vervangt de verbindingsreeksen van een app.

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

URI-parameters

Name In Vereist Type Description
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 00000000-0000-0000-0000-000000000000).

api-version
query True

string

API-versie

Aanvraagbody

Name Type Description
kind

string

Soort resource.

properties.

ConnStringValueTypePair

Database verbindingsreeks waarde om paar te typen.

Antwoorden

Name Type Description
200 OK

ConnectionStringDictionary

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
ConnectionStringDictionary

Resource voor tekenreekswoordenlijst.

ConnectionStringType

Type database.

ConnStringValueTypePair

Database verbindingsreeks waarde om paar te typen.

DefaultErrorResponse

App Service foutreactie.

Details
Error

Foutmodel.

ConnectionStringDictionary

Resource voor tekenreekswoordenlijst.

Name Type Description
id

string

Resource-id.

kind

string

Soort resource.

name

string

Resourcenaam.

properties.

ConnStringValueTypePair

Database verbindingsreeks waarde om paar te typen.

type

string

Resourcetype.

ConnectionStringType

Type database.

Name Type Description
ApiHub

string

Custom

string

DocDb

string

EventHub

string

MySql

string

NotificationHub

string

PostgreSQL

string

RedisCache

string

SQLAzure

string

SQLServer

string

ServiceBus

string

ConnStringValueTypePair

Database verbindingsreeks waarde om paar te typen.

Name Type Description
type

ConnectionStringType

Type database.

value

string

Waarde van paar.

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.