ภาษา

ArmMachineLearningModelFactory.MachineLearningEndpointAuthToken Method

Definition

Overloads

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, Nullable<Int64>, Nullable<Int64>, String)

Source:
ArmMachineLearningModelFactory.cs

Service Token.

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

Parameters

accessToken
String

Access token for endpoint authentication.

expiryTimeUtc
Nullable<Int64>

Access token expiry time (UTC).

refreshAfterTimeUtc
Nullable<Int64>

Refresh access token after time (UTC).

tokenType
String

Access token type.

Returns

A new MachineLearningEndpointAuthToken instance for mocking.

Applies to