다음을 통해 공유


Web Apps - Create Or Update Site Container

사이트 또는 배포 슬롯에 대한 사이트 컨테이너를 만들거나 업데이트.

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

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
containerName
path True

string

사이트 컨테이너 이름

regex 패턴: (^[a-zA-Z0-9]$)|(^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$)

name
path True

string

응용 프로그램의 이름입니다.

resourceGroupName
path True

string

리소스가 속한 리소스 그룹의 이름입니다.

regex 패턴: ^[-\w\._\(\)]+[^\.]$

subscriptionId
path True

string

Azure 구독 ID. GUID 형식 문자열입니다(예: 000000000-0000-0000-0000-0000-000000000000).

api-version
query True

string

API 버전

요청 본문

Name 필수 형식 Description
properties.image True

string

이미지 이름

properties.isMain True

boolean

true컨테이너가 기본 사이트 컨테이너이면 이고false, 그렇지 않으면 입니다.

kind

string

리소스 종류입니다.

properties.authType

AuthType

인증 유형

properties.environmentVariables

EnvironmentVariable[]

환경 변수 목록

properties.passwordSecret

string

암호 암호

properties.startUpCommand

string

StartUp 명령

properties.targetPort

string

대상 포트

properties.userManagedIdentityClientId

string

UserManagedIdentity ClientId

properties.userName

string

사용자 이름

properties.volumeMounts

VolumeMount[]

볼륨 탑재 목록

응답

Name 형식 Description
200 OK

SiteContainer

사이트 컨테이너가 업데이트되었습니다.

201 Created

SiteContainer

사이트 컨테이너가 만들어졌습니다.

Other Status Codes

DefaultErrorResponse

오류 응답을 App Service.

보안

azure_auth

Azure Active Directory OAuth2 Flow

형식: oauth2
Flow: implicit
권한 부여 URL: https://login.microsoftonline.com/common/oauth2/authorize

범위

Name Description
user_impersonation 사용자 계정 가장

정의

Name Description
AuthType

인증 유형

DefaultErrorResponse

오류 응답을 App Service.

Details
EnvironmentVariable
Error

오류 모델.

SiteContainer

사이트 컨테이너

VolumeMount

AuthType

인증 유형

Name 형식 Description
Anonymous

string

SystemIdentity

string

UserAssigned

string

UserCredentials

string

DefaultErrorResponse

오류 응답을 App Service.

Name 형식 Description
error

Error

오류 모델.

Details

Name 형식 Description
code

string

프로그래밍 방식으로 오류를 식별하는 표준화된 문자열입니다.

message

string

자세한 오류 설명 및 디버깅 정보입니다.

target

string

자세한 오류 설명 및 디버깅 정보입니다.

EnvironmentVariable

Name 형식 Description
name

string

환경 변수 이름

value

string

환경 변수 값

Error

오류 모델.

Name 형식 Description
code

string

프로그래밍 방식으로 오류를 식별하는 표준화된 문자열입니다.

details

Details[]

자세한 오류입니다.

innererror

string

디버그 오류에 대한 자세한 정보입니다.

message

string

자세한 오류 설명 및 디버깅 정보입니다.

target

string

자세한 오류 설명 및 디버깅 정보입니다.

SiteContainer

사이트 컨테이너

Name 형식 Description
id

string

리소스 ID입니다.

kind

string

리소스 종류입니다.

name

string

리소스 이름입니다.

properties.authType

AuthType

인증 유형

properties.createdTime

string

만든 시간

properties.environmentVariables

EnvironmentVariable[]

환경 변수 목록

properties.image

string

이미지 이름

properties.isMain

boolean

true컨테이너가 기본 사이트 컨테이너이면 이고false, 그렇지 않으면 입니다.

properties.lastModifiedTime

string

마지막으로 수정한 시간

properties.passwordSecret

string

암호 암호

properties.startUpCommand

string

StartUp 명령

properties.targetPort

string

대상 포트

properties.userManagedIdentityClientId

string

UserManagedIdentity ClientId

properties.userName

string

사용자 이름

properties.volumeMounts

VolumeMount[]

볼륨 탑재 목록

type

string

리소스 종류.

VolumeMount

Name 형식 Description
containerMountPath

string

볼륨이 탑재된 컨테이너의 대상 경로

data

string

볼륨에 탑재할 구성 데이터

readOnly

boolean

탑재가 컨테이너에서만 읽혀지는지 여부를 지정하는 부울

volumeSubPath

string

볼륨이 탑재되는 볼륨의 하위 경로입니다.