ArmQuantumModelFactory.WorkspaceApiKey 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 WorkspaceApiKey.
public static Azure.ResourceManager.Quantum.Models.WorkspaceApiKey WorkspaceApiKey (DateTimeOffset? createdOn = default, string key = default);
static member WorkspaceApiKey : Nullable<DateTimeOffset> * string -> Azure.ResourceManager.Quantum.Models.WorkspaceApiKey
Public Shared Function WorkspaceApiKey (Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional key As String = Nothing) As WorkspaceApiKey
Parameters
- createdOn
- Nullable<DateTimeOffset>
The creation time of the api key.
- key
- String
The Api key.
Returns
A new WorkspaceApiKey instance for mocking.