Share via


AzureMLUpdateResourceActivity Class

public final class AzureMLUpdateResourceActivity
extends ExecutionActivity

Azure ML Update Resource management activity.

Constructor Summary

Constructor Description
AzureMLUpdateResourceActivity()

Creates an instance of AzureMLUpdateResourceActivity class.

Method Summary

Modifier and Type Method and Description
static AzureMLUpdateResourceActivity fromJson(JsonReader jsonReader)

Reads an instance of AzureMLUpdateResourceActivity from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
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.

String type()

Get the type property: Type of activity.

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 withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)

Set the onInactiveMarkAs property: Status result of the activity when the state is set to Inactive.

AzureMLUpdateResourceActivity withPolicy(ActivityPolicy policy)

Set the policy property: Activity policy.

AzureMLUpdateResourceActivity withState(ActivityState state)

Set the state property: Activity state.

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 Activity

Methods inherited from ExecutionActivity

Methods inherited from java.lang.Object

Constructor Details

AzureMLUpdateResourceActivity

public AzureMLUpdateResourceActivity()

Creates an instance of AzureMLUpdateResourceActivity class.

Method Details

fromJson

public static AzureMLUpdateResourceActivity fromJson(JsonReader jsonReader)

Reads an instance of AzureMLUpdateResourceActivity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AzureMLUpdateResourceActivity if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AzureMLUpdateResourceActivity.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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.

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.

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.

type

public String type()

Get the type property: Type of activity.

Overrides:

AzureMLUpdateResourceActivity.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

AzureMLUpdateResourceActivity.validate()

withDependsOn

public AzureMLUpdateResourceActivity withDependsOn(List<ActivityDependency> dependsOn)

Set the dependsOn property: Activity depends on condition.

Overrides:

AzureMLUpdateResourceActivity.withDependsOn(List<ActivityDependency> dependsOn)

Parameters:

dependsOn

withDescription

public AzureMLUpdateResourceActivity withDescription(String description)

Set the description property: Activity description.

Overrides:

AzureMLUpdateResourceActivity.withDescription(String description)

Parameters:

description

withLinkedServiceName

public AzureMLUpdateResourceActivity withLinkedServiceName(LinkedServiceReference linkedServiceName)

Set the linkedServiceName property: Linked service reference.

Overrides:

AzureMLUpdateResourceActivity.withLinkedServiceName(LinkedServiceReference linkedServiceName)

Parameters:

linkedServiceName

withName

public AzureMLUpdateResourceActivity withName(String name)

Set the name property: Activity name.

Overrides:

AzureMLUpdateResourceActivity.withName(String name)

Parameters:

name

withOnInactiveMarkAs

public AzureMLUpdateResourceActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)

Set the onInactiveMarkAs property: Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.

Overrides:

AzureMLUpdateResourceActivity.withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)

Parameters:

onInactiveMarkAs

withPolicy

public AzureMLUpdateResourceActivity withPolicy(ActivityPolicy policy)

Set the policy property: Activity policy.

Overrides:

AzureMLUpdateResourceActivity.withPolicy(ActivityPolicy policy)

Parameters:

policy

withState

public AzureMLUpdateResourceActivity withState(ActivityState state)

Set the state property: Activity state. This is an optional property and if not provided, the state will be Active by default.

Overrides:

AzureMLUpdateResourceActivity.withState(ActivityState state)

Parameters:

state

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.

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.

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.

withUserProperties

public AzureMLUpdateResourceActivity withUserProperties(List<UserProperty> userProperties)

Set the userProperties property: Activity user properties.

Overrides:

AzureMLUpdateResourceActivity.withUserProperties(List<UserProperty> userProperties)

Parameters:

userProperties

Applies to