AzureMLLinkedService(Object, SecretBase) Constructor
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.
Initializes a new instance of AzureMLLinkedService.
public AzureMLLinkedService (object mlEndpoint, Azure.Analytics.Synapse.Artifacts.Models.SecretBase apiKey);
new Azure.Analytics.Synapse.Artifacts.Models.AzureMLLinkedService : obj * Azure.Analytics.Synapse.Artifacts.Models.SecretBase -> Azure.Analytics.Synapse.Artifacts.Models.AzureMLLinkedService
Public Sub New (mlEndpoint As Object, apiKey As SecretBase)
Parameters
- mlEndpoint
- Object
The Batch Execution REST URL for an Azure ML Studio Web Service endpoint. Type: string (or Expression with resultType string).
- apiKey
- SecretBase
The API key for accessing the Azure ML model endpoint. Please note SecretBase 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 AzureKeyVaultSecretReference and SecureString.
Exceptions
mlEndpoint
or apiKey
is null.