Share via


OAuth2AuthTypeConnectionProperties Class

Definition

The OAuth2AuthTypeConnectionProperties.

public class OAuth2AuthTypeConnectionProperties : Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesConnectionProperties, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CognitiveServices.Models.OAuth2AuthTypeConnectionProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CognitiveServices.Models.OAuth2AuthTypeConnectionProperties>
type OAuth2AuthTypeConnectionProperties = class
    inherit CognitiveServicesConnectionProperties
    interface IJsonModel<OAuth2AuthTypeConnectionProperties>
    interface IPersistableModel<OAuth2AuthTypeConnectionProperties>
Public Class OAuth2AuthTypeConnectionProperties
Inherits CognitiveServicesConnectionProperties
Implements IJsonModel(Of OAuth2AuthTypeConnectionProperties), IPersistableModel(Of OAuth2AuthTypeConnectionProperties)
Inheritance
OAuth2AuthTypeConnectionProperties
Implements

Constructors

OAuth2AuthTypeConnectionProperties()

Initializes a new instance of OAuth2AuthTypeConnectionProperties.

Properties

Category

Category of the connection.

(Inherited from CognitiveServicesConnectionProperties)
CreatedByWorkspaceArmId

Gets the created by workspace arm id.

(Inherited from CognitiveServicesConnectionProperties)
Credentials

ClientId and ClientSecret are required. Other properties are optional depending on each OAuth2 provider's implementation.

Error

Provides the error message if the connection fails.

(Inherited from CognitiveServicesConnectionProperties)
ExpiryOn

Gets or sets the expiry on.

(Inherited from CognitiveServicesConnectionProperties)
Group

Group based on connection category.

(Inherited from CognitiveServicesConnectionProperties)
IsSharedToAll

Gets or sets the is shared to all.

(Inherited from CognitiveServicesConnectionProperties)
Metadata

Store user metadata for this connection.

(Inherited from CognitiveServicesConnectionProperties)
PeRequirement

Specifies how private endpoints are used with this connection: 'Required', 'NotRequired', or 'NotApplicable'.

(Inherited from CognitiveServicesConnectionProperties)
PeStatus

Specifies the status of private endpoints for this connection: 'Inactive', 'Active', or 'NotApplicable'.

(Inherited from CognitiveServicesConnectionProperties)
SharedUserList

Gets the shared user list.

(Inherited from CognitiveServicesConnectionProperties)
Target

The connection URL to be used.

(Inherited from CognitiveServicesConnectionProperties)
UseWorkspaceManagedIdentity

Gets or sets the use workspace managed identity.

(Inherited from CognitiveServicesConnectionProperties)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CognitiveServicesConnectionProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from CognitiveServicesConnectionProperties)
IJsonModel<CognitiveServicesConnectionProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from CognitiveServicesConnectionProperties)
IJsonModel<OAuth2AuthTypeConnectionProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<OAuth2AuthTypeConnectionProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CognitiveServicesConnectionProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from CognitiveServicesConnectionProperties)
IPersistableModel<CognitiveServicesConnectionProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from CognitiveServicesConnectionProperties)
IPersistableModel<CognitiveServicesConnectionProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from CognitiveServicesConnectionProperties)
IPersistableModel<OAuth2AuthTypeConnectionProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<OAuth2AuthTypeConnectionProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<OAuth2AuthTypeConnectionProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to