Web Apps - Create Or Update Site Container
Bir site veya dağıtım yuvası için site kapsayıcısı oluşturur veya Güncelleştirmeler.
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sitecontainers/{containerName}?api-version=2023-12-01
URI Parametreleri
Name | İçinde | Gerekli | Tür | Description |
---|---|---|---|---|
container
|
path | True |
string |
Site KapsayıcıSı Adı Regex pattern: |
name
|
path | True |
string |
Uygulamanın adı. |
resource
|
path | True |
string |
Kaynağın ait olduğu kaynak grubunun adı. Regex pattern: |
subscription
|
path | True |
string |
Azure abonelik kimliğiniz. Bu GUID biçimli bir dizedir (örneğin, 000000000-0000-0000-0000-00000000000000). |
api-version
|
query | True |
string |
API Sürümü |
İstek Gövdesi
Name | Gerekli | Tür | Description |
---|---|---|---|
properties.image | True |
string |
Görüntü Adı |
properties.isMain | True |
boolean |
|
kind |
string |
Bir tür kaynak. |
|
properties.authType |
Kimlik Doğrulama Türü |
||
properties.environmentVariables |
Ortam değişkenleri listesi |
||
properties.passwordSecret |
string |
Parola Gizli Dizisi |
|
properties.startUpCommand |
string |
StartUp Komutu |
|
properties.targetPort |
string |
Hedef Bağlantı Noktası |
|
properties.userManagedIdentityClientId |
string |
UserManagedIdentity ClientId |
|
properties.userName |
string |
User Name |
|
properties.volumeMounts |
Birim bağlamalarının listesi |
Yanıtlar
Name | Tür | Description |
---|---|---|
200 OK |
Site kapsayıcısı güncelleştirildi. |
|
201 Created |
Site kapsayıcısı oluşturuldu. |
|
Other Status Codes |
hata yanıtı App Service. |
Güvenlik
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | kullanıcı hesabınızın kimliğine bürünme |
Tanımlar
Name | Description |
---|---|
Auth |
Kimlik Doğrulama Türü |
Default |
hata yanıtı App Service. |
Details | |
Environment |
|
Error |
Hata modeli. |
Site |
Sitenin kapsayıcısı |
Volume |
AuthType
Kimlik Doğrulama Türü
Name | Tür | Description |
---|---|---|
Anonymous |
string |
|
SystemIdentity |
string |
|
UserAssigned |
string |
|
UserCredentials |
string |
DefaultErrorResponse
hata yanıtı App Service.
Name | Tür | Description |
---|---|---|
error |
Hata modeli. |
Details
Name | Tür | Description |
---|---|---|
code |
string |
Hatayı program aracılığıyla tanımlamak için standartlaştırılmış dize. |
message |
string |
Ayrıntılı hata açıklaması ve hata ayıklama bilgileri. |
target |
string |
Ayrıntılı hata açıklaması ve hata ayıklama bilgileri. |
EnvironmentVariable
Name | Tür | Description |
---|---|---|
name |
string |
Ortam değişkeni adı |
value |
string |
Ortam değişkeni değeri |
Error
Hata modeli.
Name | Tür | Description |
---|---|---|
code |
string |
Hatayı program aracılığıyla tanımlamak için standartlaştırılmış dize. |
details |
Details[] |
Ayrıntılı hatalar. |
innererror |
string |
Hata ayıklamak için daha fazla bilgi. |
message |
string |
Ayrıntılı hata açıklaması ve hata ayıklama bilgileri. |
target |
string |
Ayrıntılı hata açıklaması ve hata ayıklama bilgileri. |
SiteContainer
Sitenin kapsayıcısı
Name | Tür | Description |
---|---|---|
id |
string |
Kaynak Kimliği. |
kind |
string |
Bir tür kaynak. |
name |
string |
Kaynak Adı. |
properties.authType |
Kimlik Doğrulama Türü |
|
properties.createdTime |
string |
Oluşturma Zamanı |
properties.environmentVariables |
Ortam değişkenleri listesi |
|
properties.image |
string |
Görüntü Adı |
properties.isMain |
boolean |
|
properties.lastModifiedTime |
string |
Son Değişiklik Zamanı |
properties.passwordSecret |
string |
Parola Gizli Dizisi |
properties.startUpCommand |
string |
StartUp Komutu |
properties.targetPort |
string |
Hedef Bağlantı Noktası |
properties.userManagedIdentityClientId |
string |
UserManagedIdentity ClientId |
properties.userName |
string |
User Name |
properties.volumeMounts |
Birim bağlamalarının listesi |
|
type |
string |
Kaynak türü. |
VolumeMount
Name | Tür | Description |
---|---|---|
containerMountPath |
string |
Birimin bağlandığı kapsayıcıda hedef yol |
data |
string |
Birime bağlanacak Yapılandırma Verileri |
readOnly |
boolean |
Bağlamanın kapsayıcıda salt okunur olup olmadığını belirtmek için Boole değeri |
volumeSubPath |
string |
Birimin bağlandığı birimdeki alt yol. |