Sdílet prostřednictvím


ArmAppPlatformModelFactory.AppPlatformServiceTestKeys Method

Definition

Initializes a new instance of 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

Parameters

primaryKey
String

Primary key.

secondaryKey
String

Secondary key.

primaryTestEndpoint
String

Primary test endpoint.

secondaryTestEndpoint
String

Secondary test endpoint.

isEnabled
Nullable<Boolean>

Indicates whether the test endpoint feature enabled or not.

Returns

A new AppPlatformServiceTestKeys instance for mocking.

Applies to