你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DeploymentSettings 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
DeploymentSettings() |
初始化 DeploymentSettings 类的新实例。 |
DeploymentSettings(Nullable<Int32>, Nullable<Int32>, String, IDictionary<String,String>, String) |
初始化 DeploymentSettings 类的新实例。 |
DeploymentSettings()
初始化 DeploymentSettings 类的新实例。
public DeploymentSettings ();
Public Sub New ()
适用于
DeploymentSettings(Nullable<Int32>, Nullable<Int32>, String, IDictionary<String,String>, String)
初始化 DeploymentSettings 类的新实例。
public DeploymentSettings (int? cpu = default, int? memoryInGB = default, string jvmOptions = default, System.Collections.Generic.IDictionary<string,string> environmentVariables = default, string runtimeVersion = default);
new Microsoft.Azure.Management.AppPlatform.Models.DeploymentSettings : Nullable<int> * Nullable<int> * string * System.Collections.Generic.IDictionary<string, string> * string -> Microsoft.Azure.Management.AppPlatform.Models.DeploymentSettings
Public Sub New (Optional cpu As Nullable(Of Integer) = Nothing, Optional memoryInGB As Nullable(Of Integer) = Nothing, Optional jvmOptions As String = Nothing, Optional environmentVariables As IDictionary(Of String, String) = Nothing, Optional runtimeVersion As String = Nothing)
参数
- jvmOptions
- String
JVM 参数
- environmentVariables
- IDictionary<String,String>
环境变量集合
- runtimeVersion
- String
运行时版本。 可能的值包括:“Java_8”、“Java_11”