Compartilhar via


ArmMachineLearningModelFactory.MachineLearningEndpointAuthToken Method

Definition

Overloads

MachineLearningEndpointAuthToken(String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String)

Initializes a new instance of MachineLearningEndpointAuthToken.

MachineLearningEndpointAuthToken(String, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)

Initializes a new instance of MachineLearningEndpointAuthToken.

MachineLearningEndpointAuthToken(String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String)

Source:
ArmMachineLearningModelFactory.cs

Initializes a new instance of MachineLearningEndpointAuthToken.

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointAuthToken MachineLearningEndpointAuthToken (string accessToken = default, DateTimeOffset? expireOn = default, DateTimeOffset? refreshOn = default, string tokenType = default);
static member MachineLearningEndpointAuthToken : string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string -> Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointAuthToken
Public Shared Function MachineLearningEndpointAuthToken (Optional accessToken As String = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional refreshOn As Nullable(Of DateTimeOffset) = Nothing, Optional tokenType As String = Nothing) As MachineLearningEndpointAuthToken

Parameters

accessToken
String

Access token for endpoint authentication.

expireOn
Nullable<DateTimeOffset>

Access token expiry time (UTC).

refreshOn
Nullable<DateTimeOffset>

Refresh access token after time (UTC).

tokenType
String

Access token type.

Returns

A new MachineLearningEndpointAuthToken instance for mocking.

Applies to

MachineLearningEndpointAuthToken(String, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)

Source:
ArmMachineLearningModelFactory.cs

Initializes a new instance of MachineLearningEndpointAuthToken.

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointAuthToken MachineLearningEndpointAuthToken (string accessToken = default, string tokenType = default, DateTimeOffset? expireOn = default, DateTimeOffset? refreshOn = default);
static member MachineLearningEndpointAuthToken : string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointAuthToken
Public Shared Function MachineLearningEndpointAuthToken (Optional accessToken As String = Nothing, Optional tokenType As String = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional refreshOn As Nullable(Of DateTimeOffset) = Nothing) As MachineLearningEndpointAuthToken

Parameters

accessToken
String

Access token for endpoint authentication.

tokenType
String

Access token type.

expireOn
Nullable<DateTimeOffset>

Access token expiry time (UTC).

refreshOn
Nullable<DateTimeOffset>

Refresh access token after time (UTC).

Returns

A new MachineLearningEndpointAuthToken instance for mocking.

Applies to