你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmAppPlatformModelFactory.AppPlatformGatewayOperatorResourceRequirements 方法

定义

初始化 AppPlatformGatewayOperatorResourceRequirements 的新实例。

public static Azure.ResourceManager.AppPlatform.Models.AppPlatformGatewayOperatorResourceRequirements AppPlatformGatewayOperatorResourceRequirements (string cpu = default, string memory = default, int? instanceCount = default);
static member AppPlatformGatewayOperatorResourceRequirements : string * string * Nullable<int> -> Azure.ResourceManager.AppPlatform.Models.AppPlatformGatewayOperatorResourceRequirements
Public Shared Function AppPlatformGatewayOperatorResourceRequirements (Optional cpu As String = Nothing, Optional memory As String = Nothing, Optional instanceCount As Nullable(Of Integer) = Nothing) As AppPlatformGatewayOperatorResourceRequirements

参数

cpu
String

分配给每个 Spring Cloud 网关操作员实例的 Cpu。

memory
String

分配给每个 Spring Cloud 网关操作员实例的内存。

instanceCount
Nullable<Int32>

Spring Cloud Gateway 操作员的实例计数。

返回

用于模拟的新 AppPlatformGatewayOperatorResourceRequirements 实例。

适用于