Condividi tramite


MachineLearningEndpointAuthToken Class

Definition

Service Token.

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

Properties

AccessToken

Access token for endpoint authentication.

ExpireOn

Access token expiry time (UTC).

RefreshOn

Refresh access token after time (UTC).

TokenType

Access token type.

Explicit Interface Implementations

IJsonModel<MachineLearningEndpointAuthToken>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MachineLearningEndpointAuthToken>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MachineLearningEndpointAuthToken>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MachineLearningEndpointAuthToken>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MachineLearningEndpointAuthToken>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to