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

ArmAppPlatformModelFactory.AppPlatformServiceRegistryProperties 方法

定义

初始化 AppPlatformServiceRegistryProperties 的新实例。

public static Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceRegistryProperties AppPlatformServiceRegistryProperties (Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceRegistryProvisioningState? provisioningState = default, Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceRegistryResourceRequirements resourceRequests = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceRegistryInstance> instances = default);
static member AppPlatformServiceRegistryProperties : Nullable<Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceRegistryProvisioningState> * Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceRegistryResourceRequirements * seq<Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceRegistryInstance> -> Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceRegistryProperties
Public Shared Function AppPlatformServiceRegistryProperties (Optional provisioningState As Nullable(Of AppPlatformServiceRegistryProvisioningState) = Nothing, Optional resourceRequests As AppPlatformServiceRegistryResourceRequirements = Nothing, Optional instances As IEnumerable(Of AppPlatformServiceRegistryInstance) = Nothing) As AppPlatformServiceRegistryProperties

参数

provisioningState
Nullable<AppPlatformServiceRegistryProvisioningState>

服务注册表的状态。

resourceRequests
AppPlatformServiceRegistryResourceRequirements

所需 CPU 和内存的请求资源数量。

instances
IEnumerable<AppPlatformServiceRegistryInstance>

实例集合属于服务注册表。

返回

用于模拟的新 AppPlatformServiceRegistryProperties 实例。

适用于