ComponentVersionProperties Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. ResourceBase - com.
azure. resourcemanager. machinelearning. models. AssetBase - com.
azure. resourcemanager. machinelearning. models. ComponentVersionProperties
- com.
- com.
- com.
public final class ComponentVersionProperties
extends AssetBase
Definition of a component version: defines resources that span component types.
Constructor Summary
| Constructor | Description |
|---|---|
| ComponentVersionProperties() |
Creates an instance of Component |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Object |
componentSpec()
Get the component |
|
static
Component |
fromJson(JsonReader jsonReader)
Reads an instance of Component |
|
Asset |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Component |
withComponentSpec(Object componentSpec)
Set the component |
|
Component |
withDescription(String description)
Set the description property: The asset description text. |
|
Component |
withIsAnonymous(Boolean isAnonymous)
Set the is |
|
Component |
withIsArchived(Boolean isArchived)
Set the is |
|
Component |
withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary. |
|
Component |
withTags(Map<String,String> tags)
Set the tags property: Tag dictionary. |
Methods inherited from AssetBase
Methods inherited from ResourceBase
Methods inherited from java.lang.Object
Constructor Details
ComponentVersionProperties
public ComponentVersionProperties()
Creates an instance of ComponentVersionProperties class.
Method Details
componentSpec
public Object componentSpec()
Get the componentSpec property: Defines Component definition details. <see href="https://docs.microsoft.com/en-us/azure/machine-learning/reference-yaml-component-command" />.
Returns:
fromJson
public static ComponentVersionProperties fromJson(JsonReader jsonReader)
Reads an instance of ComponentVersionProperties from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public AssetProvisioningState provisioningState()
Get the provisioningState property: Provisioning state for the component version.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ComponentVersionProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
ComponentVersionProperties.validate()withComponentSpec
public ComponentVersionProperties withComponentSpec(Object componentSpec)
Set the componentSpec property: Defines Component definition details. <see href="https://docs.microsoft.com/en-us/azure/machine-learning/reference-yaml-component-command" />.
Parameters:
Returns:
withDescription
public ComponentVersionProperties withDescription(String description)
Set the description property: The asset description text.
Overrides:
ComponentVersionProperties.withDescription(String description)Parameters:
withIsAnonymous
public ComponentVersionProperties withIsAnonymous(Boolean isAnonymous)
Set the isAnonymous property: If the name version are system generated (anonymous registration).
Overrides:
ComponentVersionProperties.withIsAnonymous(Boolean isAnonymous)Parameters:
withIsArchived
public ComponentVersionProperties withIsArchived(Boolean isArchived)
Set the isArchived property: Is the asset archived?.
Overrides:
ComponentVersionProperties.withIsArchived(Boolean isArchived)Parameters:
withProperties
public ComponentVersionProperties withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary.
Overrides:
ComponentVersionProperties.withProperties(Map<String,String> properties)Parameters:
withTags
public ComponentVersionProperties withTags(Map<String,String> tags)
Set the tags property: Tag dictionary. Tags can be added, removed, and updated.
Overrides:
ComponentVersionProperties.withTags(Map<String,String> tags)Parameters: