DeploymentSettings Class

Deployment settings payload.

Inheritance
DeploymentSettings

Constructor

DeploymentSettings(*, cpu: Optional[int] = 1, memory_in_gb: Optional[int] = 1, resource_requests: Optional[azure.mgmt.appplatform.v2021_06_01_preview.models._models_py3.ResourceRequests] = None, jvm_options: Optional[str] = None, net_core_main_entry_path: Optional[str] = None, environment_variables: Optional[Dict[str, str]] = None, runtime_version: Optional[Union[str, azure.mgmt.appplatform.v2021_06_01_preview.models._app_platform_management_client_enums.RuntimeVersion]] = 'Java_8', **kwargs)

Variables

cpu
int

Required CPU. This should be 1 for Basic tier, and in range [1, 4] for Standard tier. This is deprecated starting from API version 2021-06-01-preview. Please use the resourceRequests field to set the CPU size.

memory_in_gb
int

Required Memory size in GB. This should be in range [1, 2] for Basic tier, and in range [1, 8] for Standard tier. This is deprecated starting from API version 2021-06-01-preview. Please use the resourceRequests field to set the the memory size.

resource_requests
ResourceRequests

The requested resource quantity for required CPU and Memory. It is recommended that using this field to represent the required CPU and Memory, the old field cpu and memoryInGB will be deprecated later.

jvm_options
str

JVM parameter.

net_core_main_entry_path
str

The path to the .NET executable relative to zip root.

environment_variables
dict[str, str]

Collection of environment variables.

runtime_version
str or RuntimeVersion

Runtime version. Possible values include: "Java_8", "Java_11", "NetCore_31". Default value: "Java_8".