Web Apps - Create Or Update Site Container
Hiermee maakt of Updates u een sitecontainer voor een site of een implementatiesite.
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sitecontainers/{containerName}?api-version=2023-12-01
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
container
|
path | True |
string |
Naam van sitecontainer Regex-patroon: |
name
|
path | True |
string |
Naam van de app. |
resource
|
path | True |
string |
Naam van de resourcegroep waartoe de resource behoort. Regex-patroon: |
subscription
|
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 | Vereist | Type | Description |
---|---|---|---|
properties.image | True |
string |
Naam van installatiekopie |
properties.isMain | True |
boolean |
|
kind |
string |
Soort resource. |
|
properties.authType |
Verificatietype |
||
properties.environmentVariables |
Lijst met omgevingsvariabelen |
||
properties.passwordSecret |
string |
Wachtwoordgeheim |
|
properties.startUpCommand |
string |
Opstartopdracht |
|
properties.targetPort |
string |
Doelpoort |
|
properties.userManagedIdentityClientId |
string |
UserManagedIdentity ClientId |
|
properties.userName |
string |
Gebruikersnaam |
|
properties.volumeMounts |
Lijst met volumekoppelingen |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
Sitecontainer is bijgewerkt. |
|
201 Created |
De sitecontainer is gemaakt. |
|
Other Status Codes |
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 |
---|---|
Auth |
Verificatietype |
Default |
App Service foutreactie. |
Details | |
Environment |
|
Error |
Foutmodel. |
Site |
Container van een site |
Volume |
AuthType
Verificatietype
Name | Type | Description |
---|---|---|
Anonymous |
string |
|
SystemIdentity |
string |
|
UserAssigned |
string |
|
UserCredentials |
string |
DefaultErrorResponse
App Service foutreactie.
Name | Type | Description |
---|---|---|
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. |
EnvironmentVariable
Name | Type | Description |
---|---|---|
name |
string |
Naam van omgevingsvariabele |
value |
string |
Waarde van omgevingsvariabele |
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. |
SiteContainer
Container van een site
Name | Type | Description |
---|---|---|
id |
string |
Resource-id. |
kind |
string |
Soort resource. |
name |
string |
Resourcenaam. |
properties.authType |
Verificatietype |
|
properties.createdTime |
string |
Gemaakt om |
properties.environmentVariables |
Lijst met omgevingsvariabelen |
|
properties.image |
string |
Naam van installatiekopie |
properties.isMain |
boolean |
|
properties.lastModifiedTime |
string |
Tijdstip laatst gewijzigd |
properties.passwordSecret |
string |
Wachtwoordgeheim |
properties.startUpCommand |
string |
Opstartopdracht |
properties.targetPort |
string |
Doelpoort |
properties.userManagedIdentityClientId |
string |
UserManagedIdentity ClientId |
properties.userName |
string |
Gebruikersnaam |
properties.volumeMounts |
Lijst met volumekoppelingen |
|
type |
string |
Resourcetype. |
VolumeMount
Name | Type | Description |
---|---|---|
containerMountPath |
string |
Doelpad op de container waarop het volume is gekoppeld |
data |
string |
Configuratiegegevens die op het volume moeten worden gekoppeld |
readOnly |
boolean |
Booleaanse waarde om op te geven of de koppeling alleen-lezen is voor de container |
volumeSubPath |
string |
Subpad in het volume waaruit het volume is gekoppeld. |