Compartilhar via


ArmMachineLearningModelFactory.MachineLearningAzureFileDatastore Method

Definition

Overloads

MachineLearningAzureFileDatastore(String, IDictionary<String, String>, IDictionary<String,String>, Nullable<Boolean>, MachineLearningDatastoreCredentials, String, String, String, String, Nullable<MachineLearningServiceDataAccessAuthIdentity>, String, String)

Initializes a new instance of MachineLearningAzureFileDatastore.

MachineLearningAzureFileDatastore(String, IDictionary<String, String>, IDictionary<String,String>, MachineLearningDatastoreCredentials, IntellectualProperty, Nullable<Boolean>, String, String, String, String, Nullable<MachineLearningServiceDataAccessAuthIdentity>, String, String)

Initializes a new instance of MachineLearningAzureFileDatastore.

MachineLearningAzureFileDatastore(String, IDictionary<String, String>, IDictionary<String,String>, Nullable<Boolean>, MachineLearningDatastoreCredentials, String, String, String, String, Nullable<MachineLearningServiceDataAccessAuthIdentity>, String, String)

Source:
ArmMachineLearningModelFactory.cs

Initializes a new instance of MachineLearningAzureFileDatastore.

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningAzureFileDatastore MachineLearningAzureFileDatastore (string description = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IDictionary<string,string> properties = default, bool? isDefault = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningDatastoreCredentials credentials = default, string accountName = default, string fileShareName = default, string endpoint = default, string protocol = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningServiceDataAccessAuthIdentity? serviceDataAccessAuthIdentity = default, string subscriptionId = default, string resourceGroup = default);
static member MachineLearningAzureFileDatastore : string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * Nullable<bool> * Azure.ResourceManager.MachineLearning.Models.MachineLearningDatastoreCredentials * string * string * string * string * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningServiceDataAccessAuthIdentity> * string * string -> Azure.ResourceManager.MachineLearning.Models.MachineLearningAzureFileDatastore
Public Shared Function MachineLearningAzureFileDatastore (Optional description As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional properties As IDictionary(Of String, String) = Nothing, Optional isDefault As Nullable(Of Boolean) = Nothing, Optional credentials As MachineLearningDatastoreCredentials = Nothing, Optional accountName As String = Nothing, Optional fileShareName As String = Nothing, Optional endpoint As String = Nothing, Optional protocol As String = Nothing, Optional serviceDataAccessAuthIdentity As Nullable(Of MachineLearningServiceDataAccessAuthIdentity) = Nothing, Optional subscriptionId As String = Nothing, Optional resourceGroup As String = Nothing) As MachineLearningAzureFileDatastore

Parameters

description
String

The asset description text.

tags
IDictionary<String,String>

Tag dictionary. Tags can be added, removed, and updated.

properties
IDictionary<String,String>

The asset property dictionary.

isDefault
Nullable<Boolean>

Readonly property to indicate if datastore is the workspace default datastore.

credentials
MachineLearningDatastoreCredentials

[Required] Account credentials. Please note MachineLearningDatastoreCredentials is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MachineLearningAccountKeyDatastoreCredentials, MachineLearningCertificateDatastoreCredentials, MachineLearningNoneDatastoreCredentials, MachineLearningSasDatastoreCredentials and MachineLearningServicePrincipalDatastoreCredentials.

accountName
String

[Required] Storage account name.

fileShareName
String

[Required] The name of the Azure file share that the datastore points to.

endpoint
String

Azure cloud endpoint for the storage account.

protocol
String

Protocol used to communicate with the storage account.

serviceDataAccessAuthIdentity
Nullable<MachineLearningServiceDataAccessAuthIdentity>

Indicates which identity to use to authenticate service data access to customer's storage.

subscriptionId
String

Azure Subscription Id.

resourceGroup
String

Azure Resource Group name.

Returns

A new MachineLearningAzureFileDatastore instance for mocking.

Applies to

MachineLearningAzureFileDatastore(String, IDictionary<String, String>, IDictionary<String,String>, MachineLearningDatastoreCredentials, IntellectualProperty, Nullable<Boolean>, String, String, String, String, Nullable<MachineLearningServiceDataAccessAuthIdentity>, String, String)

Source:
ArmMachineLearningModelFactory.cs

Initializes a new instance of MachineLearningAzureFileDatastore.

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningAzureFileDatastore MachineLearningAzureFileDatastore (string description = default, System.Collections.Generic.IDictionary<string,string> properties = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningDatastoreCredentials credentials = default, Azure.ResourceManager.MachineLearning.Models.IntellectualProperty intellectualProperty = default, bool? isDefault = default, string accountName = default, string endpoint = default, string fileShareName = default, string protocol = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningServiceDataAccessAuthIdentity? serviceDataAccessAuthIdentity = default, string resourceGroup = default, string subscriptionId = default);
static member MachineLearningAzureFileDatastore : string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.MachineLearning.Models.MachineLearningDatastoreCredentials * Azure.ResourceManager.MachineLearning.Models.IntellectualProperty * Nullable<bool> * string * string * string * string * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningServiceDataAccessAuthIdentity> * string * string -> Azure.ResourceManager.MachineLearning.Models.MachineLearningAzureFileDatastore
Public Shared Function MachineLearningAzureFileDatastore (Optional description As String = Nothing, Optional properties As IDictionary(Of String, String) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional credentials As MachineLearningDatastoreCredentials = Nothing, Optional intellectualProperty As IntellectualProperty = Nothing, Optional isDefault As Nullable(Of Boolean) = Nothing, Optional accountName As String = Nothing, Optional endpoint As String = Nothing, Optional fileShareName As String = Nothing, Optional protocol As String = Nothing, Optional serviceDataAccessAuthIdentity As Nullable(Of MachineLearningServiceDataAccessAuthIdentity) = Nothing, Optional resourceGroup As String = Nothing, Optional subscriptionId As String = Nothing) As MachineLearningAzureFileDatastore

Parameters

description
String

The asset description text.

properties
IDictionary<String,String>

The asset property dictionary.

tags
IDictionary<String,String>

Tag dictionary. Tags can be added, removed, and updated.

credentials
MachineLearningDatastoreCredentials

[Required] Account credentials. Please note MachineLearningDatastoreCredentials is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MachineLearningAccountKeyDatastoreCredentials, MachineLearningCertificateDatastoreCredentials, KerberosKeytabCredentials, KerberosPasswordCredentials, MachineLearningNoneDatastoreCredentials, MachineLearningSasDatastoreCredentials and MachineLearningServicePrincipalDatastoreCredentials.

intellectualProperty
IntellectualProperty

Intellectual Property details.

isDefault
Nullable<Boolean>

Readonly property to indicate if datastore is the workspace default datastore.

accountName
String

[Required] Storage account name.

endpoint
String

Azure cloud endpoint for the storage account.

fileShareName
String

[Required] The name of the Azure file share that the datastore points to.

protocol
String

Protocol used to communicate with the storage account.

serviceDataAccessAuthIdentity
Nullable<MachineLearningServiceDataAccessAuthIdentity>

Indicates which identity to use to authenticate service data access to customer's storage.

resourceGroup
String

Azure Resource Group name.

subscriptionId
String

Azure Subscription Id.

Returns

A new MachineLearningAzureFileDatastore instance for mocking.

Applies to