Compartilhar via


ArmMachineLearningModelFactory.ApiKeyAuthWorkspaceConnectionProperties Method

Definition

Initializes a new instance of ApiKeyAuthWorkspaceConnectionProperties.

public static Azure.ResourceManager.MachineLearning.Models.ApiKeyAuthWorkspaceConnectionProperties ApiKeyAuthWorkspaceConnectionProperties (Azure.ResourceManager.MachineLearning.Models.MachineLearningConnectionCategory? category = default, Azure.Core.ResourceIdentifier createdByWorkspaceArmId = default, DateTimeOffset? expiryOn = default, Azure.ResourceManager.MachineLearning.Models.WorkspaceConnectionGroup? group = default, bool? isSharedToAll = default, string target = default, System.Collections.Generic.IDictionary<string,string> metadata = default, System.Collections.Generic.IEnumerable<string> sharedUserList = default, string value = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningValueFormat? valueFormat = default, string credentialsKey = default);
static member ApiKeyAuthWorkspaceConnectionProperties : Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningConnectionCategory> * Azure.Core.ResourceIdentifier * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.MachineLearning.Models.WorkspaceConnectionGroup> * Nullable<bool> * string * System.Collections.Generic.IDictionary<string, string> * seq<string> * string * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningValueFormat> * string -> Azure.ResourceManager.MachineLearning.Models.ApiKeyAuthWorkspaceConnectionProperties
Public Shared Function ApiKeyAuthWorkspaceConnectionProperties (Optional category As Nullable(Of MachineLearningConnectionCategory) = Nothing, Optional createdByWorkspaceArmId As ResourceIdentifier = Nothing, Optional expiryOn As Nullable(Of DateTimeOffset) = Nothing, Optional group As Nullable(Of WorkspaceConnectionGroup) = Nothing, Optional isSharedToAll As Nullable(Of Boolean) = Nothing, Optional target As String = Nothing, Optional metadata As IDictionary(Of String, String) = Nothing, Optional sharedUserList As IEnumerable(Of String) = Nothing, Optional value As String = Nothing, Optional valueFormat As Nullable(Of MachineLearningValueFormat) = Nothing, Optional credentialsKey As String = Nothing) As ApiKeyAuthWorkspaceConnectionProperties

Parameters

category
Nullable<MachineLearningConnectionCategory>

Category of the connection.

createdByWorkspaceArmId
ResourceIdentifier
group
Nullable<WorkspaceConnectionGroup>

Group based on connection category.

isSharedToAll
Nullable<Boolean>
target
String
metadata
IDictionary<String,String>

Store user metadata for this connection.

sharedUserList
IEnumerable<String>
value
String

Value details of the workspace connection.

valueFormat
Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningValueFormat>

format for the workspace connection value.

credentialsKey
String

Api key object for workspace connection credential.

Returns

A new ApiKeyAuthWorkspaceConnectionProperties instance for mocking.

Applies to