Share via


WorkspaceApiKey Class

Definition

Azure quantum workspace Api key details.

public class WorkspaceApiKey : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Quantum.Models.WorkspaceApiKey>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Quantum.Models.WorkspaceApiKey>
type WorkspaceApiKey = class
    interface IJsonModel<WorkspaceApiKey>
    interface IPersistableModel<WorkspaceApiKey>
Public Class WorkspaceApiKey
Implements IJsonModel(Of WorkspaceApiKey), IPersistableModel(Of WorkspaceApiKey)
Inheritance
WorkspaceApiKey
Implements

Properties

Name Description
CreatedOn

The creation time of the api key.

Key

The Api key.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<WorkspaceApiKey>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<WorkspaceApiKey>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<WorkspaceApiKey>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WorkspaceApiKey>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<WorkspaceApiKey>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to