ArmWebPubSubModelFactory.WebPubSubKeys(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 WebPubSubKeys.
public static Azure.ResourceManager.WebPubSub.Models.WebPubSubKeys WebPubSubKeys (string primaryKey = default, string secondaryKey = default, string primaryConnectionString = default, string secondaryConnectionString = default);
static member WebPubSubKeys : string * string * string * string -> Azure.ResourceManager.WebPubSub.Models.WebPubSubKeys
Public Shared Function WebPubSubKeys (Optional primaryKey As String = Nothing, Optional secondaryKey As String = Nothing, Optional primaryConnectionString As String = Nothing, Optional secondaryConnectionString As String = Nothing) As WebPubSubKeys
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 WebPubSubKeys instance for mocking.