Share via


ArmQuantumModelFactory.WorkspaceKeyListResult Method

Definition

Initializes a new instance of WorkspaceKeyListResult.

public static Azure.ResourceManager.Quantum.Models.WorkspaceKeyListResult WorkspaceKeyListResult (bool? isApiKeyEnabled = default, Azure.ResourceManager.Quantum.Models.WorkspaceApiKey primaryKey = default, Azure.ResourceManager.Quantum.Models.WorkspaceApiKey secondaryKey = default, string primaryConnectionString = default, string secondaryConnectionString = default);
static member WorkspaceKeyListResult : Nullable<bool> * Azure.ResourceManager.Quantum.Models.WorkspaceApiKey * Azure.ResourceManager.Quantum.Models.WorkspaceApiKey * string * string -> Azure.ResourceManager.Quantum.Models.WorkspaceKeyListResult
Public Shared Function WorkspaceKeyListResult (Optional isApiKeyEnabled As Nullable(Of Boolean) = Nothing, Optional primaryKey As WorkspaceApiKey = Nothing, Optional secondaryKey As WorkspaceApiKey = Nothing, Optional primaryConnectionString As String = Nothing, Optional secondaryConnectionString As String = Nothing) As WorkspaceKeyListResult

Parameters

isApiKeyEnabled
Nullable<Boolean>

Indicator of enablement of the Quantum workspace Api keys.

primaryKey
WorkspaceApiKey

The quantum workspace primary api key.

secondaryKey
WorkspaceApiKey

The quantum workspace secondary api key.

primaryConnectionString
String

The connection string of the primary api key.

secondaryConnectionString
String

The connection string of the secondary api key.

Returns

A new WorkspaceKeyListResult instance for mocking.

Applies to