Language

AIManagerNamespaceAccessInfo Class

Definition

Access information for an AI Manager namespace, including the OpenAI-compatible gateway endpoint and the API keys used to authenticate against it.

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

Properties

Name Description
Endpoint

OpenAI-compatible inference gateway base URL (for example, https://team-alpha.&lt;cluster&gt;.&lt;region&gt;.aksapp.io/v1).

LastRotatedOn

UTC time the keys were last rotated by rotateKeys. Absent until the first rotation. Clients can use this to detect rotation and refresh cached credentials.

PrimaryKey

Primary API key. Send as Authorization: Bearer &lt;key&gt; or api-key: &lt;key&gt;. Treat as secret; do not log or persist in plaintext.

SecondaryKey

Secondary API key, accepted by the gateway in the same headers as primaryKey. Generated independently when the namespace is created, then overwritten by the previous primaryKey on each rotateKeys call so clients can roll over without downtime. Treat as secret; do not log or persist in plaintext.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<AIManagerNamespaceAccessInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<AIManagerNamespaceAccessInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<AIManagerNamespaceAccessInfo>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<AIManagerNamespaceAccessInfo>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<AIManagerNamespaceAccessInfo>.Write(ModelReaderWriterOptions)

Applies to