Class AzureMLUpdateResourceActivity
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.Activity
-
- com.azure.resourcemanager.datafactory.models.ExecutionActivity
-
- com.azure.resourcemanager.datafactory.models.AzureMLUpdateResourceActivity
-
public final class AzureMLUpdateResourceActivity extends ExecutionActivity
Azure ML Update Resource management activity.
-
-
Constructor Summary
Constructors Constructor Description AzureMLUpdateResourceActivity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
trainedModelFilePath()
Get the trainedModelFilePath property: The relative file path in trainedModelLinkedService to represent the .ilearner file that will be uploaded by the update operation.LinkedServiceReference
trainedModelLinkedServiceName()
Get the trainedModelLinkedServiceName property: Name of Azure Storage linked service holding the .ilearner file that will be uploaded by the update operation.Object
trainedModelName()
Get the trainedModelName property: Name of the Trained Model module in the Web Service experiment to be updated.void
validate()
Validates the instance.AzureMLUpdateResourceActivity
withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.AzureMLUpdateResourceActivity
withDescription(String description)
Set the description property: Activity description.AzureMLUpdateResourceActivity
withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.AzureMLUpdateResourceActivity
withName(String name)
Set the name property: Activity name.AzureMLUpdateResourceActivity
withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.AzureMLUpdateResourceActivity
withTrainedModelFilePath(Object trainedModelFilePath)
Set the trainedModelFilePath property: The relative file path in trainedModelLinkedService to represent the .ilearner file that will be uploaded by the update operation.AzureMLUpdateResourceActivity
withTrainedModelLinkedServiceName(LinkedServiceReference trainedModelLinkedServiceName)
Set the trainedModelLinkedServiceName property: Name of Azure Storage linked service holding the .ilearner file that will be uploaded by the update operation.AzureMLUpdateResourceActivity
withTrainedModelName(Object trainedModelName)
Set the trainedModelName property: Name of the Trained Model module in the Web Service experiment to be updated.AzureMLUpdateResourceActivity
withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.ExecutionActivity
linkedServiceName, policy
-
Methods inherited from class com.azure.resourcemanager.datafactory.models.Activity
additionalProperties, dependsOn, description, name, userProperties, withAdditionalProperties
-
-
-
-
Method Detail
-
withLinkedServiceName
public AzureMLUpdateResourceActivity withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.- Overrides:
withLinkedServiceName
in classExecutionActivity
- Parameters:
linkedServiceName
- the linkedServiceName value to set.- Returns:
- the ExecutionActivity object itself.
-
withPolicy
public AzureMLUpdateResourceActivity withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.- Overrides:
withPolicy
in classExecutionActivity
- Parameters:
policy
- the policy value to set.- Returns:
- the ExecutionActivity object itself.
-
withName
public AzureMLUpdateResourceActivity withName(String name)
Set the name property: Activity name.- Overrides:
withName
in classExecutionActivity
- Parameters:
name
- the name value to set.- Returns:
- the Activity object itself.
-
withDescription
public AzureMLUpdateResourceActivity withDescription(String description)
Set the description property: Activity description.- Overrides:
withDescription
in classExecutionActivity
- Parameters:
description
- the description value to set.- Returns:
- the Activity object itself.
-
withDependsOn
public AzureMLUpdateResourceActivity withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.- Overrides:
withDependsOn
in classExecutionActivity
- Parameters:
dependsOn
- the dependsOn value to set.- Returns:
- the Activity object itself.
-
withUserProperties
public AzureMLUpdateResourceActivity withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.- Overrides:
withUserProperties
in classExecutionActivity
- Parameters:
userProperties
- the userProperties value to set.- Returns:
- the Activity object itself.
-
trainedModelName
public Object trainedModelName()
Get the trainedModelName property: Name of the Trained Model module in the Web Service experiment to be updated. Type: string (or Expression with resultType string).- Returns:
- the trainedModelName value.
-
withTrainedModelName
public AzureMLUpdateResourceActivity withTrainedModelName(Object trainedModelName)
Set the trainedModelName property: Name of the Trained Model module in the Web Service experiment to be updated. Type: string (or Expression with resultType string).- Parameters:
trainedModelName
- the trainedModelName value to set.- Returns:
- the AzureMLUpdateResourceActivity object itself.
-
trainedModelLinkedServiceName
public LinkedServiceReference trainedModelLinkedServiceName()
Get the trainedModelLinkedServiceName property: Name of Azure Storage linked service holding the .ilearner file that will be uploaded by the update operation.- Returns:
- the trainedModelLinkedServiceName value.
-
withTrainedModelLinkedServiceName
public AzureMLUpdateResourceActivity withTrainedModelLinkedServiceName(LinkedServiceReference trainedModelLinkedServiceName)
Set the trainedModelLinkedServiceName property: Name of Azure Storage linked service holding the .ilearner file that will be uploaded by the update operation.- Parameters:
trainedModelLinkedServiceName
- the trainedModelLinkedServiceName value to set.- Returns:
- the AzureMLUpdateResourceActivity object itself.
-
trainedModelFilePath
public Object trainedModelFilePath()
Get the trainedModelFilePath property: The relative file path in trainedModelLinkedService to represent the .ilearner file that will be uploaded by the update operation. Type: string (or Expression with resultType string).- Returns:
- the trainedModelFilePath value.
-
withTrainedModelFilePath
public AzureMLUpdateResourceActivity withTrainedModelFilePath(Object trainedModelFilePath)
Set the trainedModelFilePath property: The relative file path in trainedModelLinkedService to represent the .ilearner file that will be uploaded by the update operation. Type: string (or Expression with resultType string).- Parameters:
trainedModelFilePath
- the trainedModelFilePath value to set.- Returns:
- the AzureMLUpdateResourceActivity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classExecutionActivity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-