Share via


DataConnectorCredentials Class

Definition

The properties related to an AgriService data connector.

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

Constructors

DataConnectorCredentials()

Initializes a new instance of DataConnectorCredentials.

Properties

ClientId

Client Id associated with the provider, if type of credentials is OAuthClientCredentials.

KeyName

Name of the key vault key.

KeyVaultUri

Uri of the key vault.

KeyVersion

Version of the key vault key.

Kind

Type of credential.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataConnectorCredentials>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataConnectorCredentials>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataConnectorCredentials>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataConnectorCredentials>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataConnectorCredentials>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to