ArmMachineLearningModelFactory.MachineLearningEndpointAuthToken Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
MachineLearningEndpointAuthToken(String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String)
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>)
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
Azure SDK for .NET