OpenApiAuthType Struct

Definition

Authentication type for OpenApi endpoint. Allowed types are:

  • Anonymous (no authentication required)
  • Project Connection (requires project_connection_id to endpoint, as setup in AI Foundry)
  • Managed_Identity (requires audience for identity based auth)
public readonly struct OpenApiAuthType : IEquatable<Azure.AI.AgentServer.Responses.Models.OpenApiAuthType>
type OpenApiAuthType = struct
Public Structure OpenApiAuthType
Implements IEquatable(Of OpenApiAuthType)
Inheritance
OpenApiAuthType
Implements

Constructors

Name Description
OpenApiAuthType(String)

Initializes a new instance of OpenApiAuthType.

Properties

Name Description
Anonymous

Gets the Anonymous.

ManagedIdentity

Gets the ManagedIdentity.

ProjectConnection

Gets the ProjectConnection.

Methods

Name Description
Equals(OpenApiAuthType)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Name Description
Equality(OpenApiAuthType, OpenApiAuthType)

Determines if two OpenApiAuthType values are the same.

Implicit(String to Nullable<OpenApiAuthType>)
Implicit(String to OpenApiAuthType)

Converts a string to a OpenApiAuthType.

Inequality(OpenApiAuthType, OpenApiAuthType)

Determines if two OpenApiAuthType values are not the same.

Applies to