你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmSignalRModelFactory.SignalRKeys(String, String, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SignalRKeys.
public static Azure.ResourceManager.SignalR.Models.SignalRKeys SignalRKeys (string primaryKey = default, string secondaryKey = default, string primaryConnectionString = default, string secondaryConnectionString = default);
static member SignalRKeys : string * string * string * string -> Azure.ResourceManager.SignalR.Models.SignalRKeys
Public Shared Function SignalRKeys (Optional primaryKey As String = Nothing, Optional secondaryKey As String = Nothing, Optional primaryConnectionString As String = Nothing, Optional secondaryConnectionString As String = Nothing) As SignalRKeys
Parameters
- primaryKey
- String
The primary access key.
- secondaryKey
- String
The secondary access key.
- primaryConnectionString
- String
Connection string constructed via the primaryKey.
- secondaryConnectionString
- String
Connection string constructed via the secondaryKey.
Returns
A new SignalRKeys instance for mocking.