다음을 통해 공유


AppServicePlanPatchResource 클래스

App Service 계획에 대한 ARM 리소스입니다.

변수는 서버에서만 채워지고 요청을 보낼 때 무시됩니다.

상속
azure.mgmt.web.v2020_06_01.models._models_py3.ProxyOnlyResource
AppServicePlanPatchResource

생성자

AppServicePlanPatchResource(*, kind: str | None = None, worker_tier_name: str | None = None, hosting_environment_profile: _models.HostingEnvironmentProfile | None = None, per_site_scaling: bool = False, maximum_elastic_worker_count: int | None = None, is_spot: bool | None = None, spot_expiration_time: datetime | None = None, free_offer_expiration_time: datetime | None = None, reserved: bool = False, is_xenon: bool = False, hyper_v: bool = False, target_worker_count: int | None = None, target_worker_size_id: int | None = None, **kwargs: Any)

키워드 전용 매개 변수

Name Description
kind
str

리소스 종류입니다.

worker_tier_name
str

App Service 계획에 할당된 대상 작업자 계층입니다.

hosting_environment_profile

App Service 계획에 사용할 App Service Environment 대한 사양입니다.

per_site_scaling

이면 <code>true</code>이 App Service 계획에 할당된 앱을 독립적으로 확장할 수 있습니다. 이면 <code>false</code>이 App Service 계획에 할당된 앱이 계획의 모든 인스턴스로 확장됩니다.

maximum_elastic_worker_count
int

이 ElasticScaleEnabled App Service 플랜에 허용되는 최대 총 작업자 수입니다.

is_spot

이면 <code>true</code>이 App Service 계획이 스폿 인스턴스를 소유합니다.

spot_expiration_time

서버 팜이 만료되는 시간입니다. 스폿 서버 팜인 경우에만 유효합니다.

free_offer_expiration_time

서버 팜 무료 제품이 만료되는 시간입니다.

reserved

Linux App Service 계획을 만들 때 를 로 설정하고 <code>true</code><code>kind</code> 로 설정해야 합니다<code>Linux</code>. 그렇지 않으면 여야 <code>false</code> 합니다.

is_xenon

사용되지 않음: Hyper-V 컨테이너 앱 서비스 계획 <code>true</code><code>false</code> 인 경우 이고, 그렇지 않으면 입니다.

hyper_v

Hyper-V 컨테이너 앱 서비스 계획 <code>true</code><code>false</code> 인 경우 이고, 그렇지 않으면 입니다.

target_worker_count
int

작업자 수 크기 조정.

target_worker_size_id
int

작업자 크기 ID 크기 조정

변수

Name Description
id
str

리소스 ID입니다.

name
str

리소스 이름입니다.

kind
str

리소스 종류입니다.

type
str

리소스 종류.

worker_tier_name
str

App Service 계획에 할당된 대상 작업자 계층입니다.

status

App Service 계획 상태. 알려진 값은 "Ready", "Pending" 및 "Creating"입니다.

subscription
str

플랜 구독을 App Service.

hosting_environment_profile

App Service 계획에 사용할 App Service Environment 대한 사양입니다.

maximum_number_of_workers
int

이 App Service 계획에 할당할 수 있는 최대 인스턴스 수입니다.

geo_region
str

App Service 계획의 지리적 위치입니다.

per_site_scaling

이면 <code>true</code>이 App Service 계획에 할당된 앱을 독립적으로 확장할 수 있습니다. 이면 <code>false</code>이 App Service 계획에 할당된 앱이 계획의 모든 인스턴스로 확장됩니다.

maximum_elastic_worker_count
int

이 ElasticScaleEnabled App Service 플랜에 허용되는 최대 총 작업자 수입니다.

number_of_sites
int

이 App Service 계획에 할당된 앱 수입니다.

is_spot

이면 <code>true</code>이 App Service 계획이 스폿 인스턴스를 소유합니다.

spot_expiration_time

서버 팜이 만료되는 시간입니다. 스폿 서버 팜인 경우에만 유효합니다.

free_offer_expiration_time

서버 팜 무료 제품이 만료되는 시간입니다.

resource_group
str

App Service 계획의 리소스 그룹입니다.

reserved

Linux App Service 계획을 만들 때 를 로 설정하고 <code>true</code><code>kind</code> 로 설정해야 합니다<code>Linux</code>. 그렇지 않으면 여야 <code>false</code> 합니다.

is_xenon

사용되지 않음: Hyper-V 컨테이너 앱 서비스 계획 <code>true</code><code>false</code> 인 경우 이고, 그렇지 않으면 입니다.

hyper_v

Hyper-V 컨테이너 앱 서비스 계획 <code>true</code><code>false</code> 인 경우 이고, 그렇지 않으면 입니다.

target_worker_count
int

작업자 수 크기 조정.

target_worker_size_id
int

작업자 크기 ID 크기 조정

provisioning_state

App Service Environment 프로비전 상태입니다. 알려진 값은 "Succeeded", "Failed", "Canceled", "InProgress" 및 "Deleting"입니다.