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

ArmAppPlatformModelFactory.AppPlatformServiceTestKeys 方法

定义

初始化 AppPlatformServiceTestKeys 的新实例。

public static Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceTestKeys AppPlatformServiceTestKeys (string primaryKey = default, string secondaryKey = default, string primaryTestEndpoint = default, string secondaryTestEndpoint = default, bool? isEnabled = default);
static member AppPlatformServiceTestKeys : string * string * string * string * Nullable<bool> -> Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceTestKeys
Public Shared Function AppPlatformServiceTestKeys (Optional primaryKey As String = Nothing, Optional secondaryKey As String = Nothing, Optional primaryTestEndpoint As String = Nothing, Optional secondaryTestEndpoint As String = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing) As AppPlatformServiceTestKeys

参数

primaryKey
String

主密钥。

secondaryKey
String

辅助密钥。

primaryTestEndpoint
String

主测试终结点。

secondaryTestEndpoint
String

辅助测试终结点。

isEnabled
Nullable<Boolean>

指示是否启用测试终结点功能。

返回

用于模拟的新 AppPlatformServiceTestKeys 实例。

适用于