ModelVersionProperties Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. ResourceBase - com.
azure. resourcemanager. machinelearning. models. AssetBase - com.
azure. resourcemanager. machinelearning. models. ModelVersionProperties
- com.
- com.
- com.
public final class ModelVersionProperties
extends AssetBase
Model asset version details.
Constructor Summary
| Constructor | Description |
|---|---|
| ModelVersionProperties() |
Creates an instance of Model |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Map<String,Flavor |
flavors()
Get the flavors property: Mapping of model flavors to their properties. |
|
static
Model |
fromJson(JsonReader jsonReader)
Reads an instance of Model |
| String |
jobName()
Get the job |
| String |
modelType()
Get the model |
| String |
modelUri()
Get the model |
|
Asset |
provisioningState()
Get the provisioning |
| String |
stage()
Get the stage property: Stage in the model lifecycle assigned to this model. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Model |
withDescription(String description)
Set the description property: The asset description text. |
|
Model |
withFlavors(Map<String,FlavorData> flavors)
Set the flavors property: Mapping of model flavors to their properties. |
|
Model |
withIsAnonymous(Boolean isAnonymous)
Set the is |
|
Model |
withIsArchived(Boolean isArchived)
Set the is |
|
Model |
withJobName(String jobName)
Set the job |
|
Model |
withModelType(String modelType)
Set the model |
|
Model |
withModelUri(String modelUri)
Set the model |
|
Model |
withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary. |
|
Model |
withStage(String stage)
Set the stage property: Stage in the model lifecycle assigned to this model. |
|
Model |
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
ModelVersionProperties
public ModelVersionProperties()
Creates an instance of ModelVersionProperties class.
Method Details
flavors
public Map<String,FlavorData> flavors()
Get the flavors property: Mapping of model flavors to their properties.
Returns:
fromJson
public static ModelVersionProperties fromJson(JsonReader jsonReader)
Reads an instance of ModelVersionProperties from the JsonReader.
Parameters:
Returns:
Throws:
jobName
public String jobName()
Get the jobName property: Name of the training job which produced this model.
Returns:
modelType
public String modelType()
Get the modelType property: The storage format for this entity. Used for NCD.
Returns:
modelUri
public String modelUri()
Get the modelUri property: The URI path to the model contents.
Returns:
provisioningState
public AssetProvisioningState provisioningState()
Get the provisioningState property: Provisioning state for the model version.
Returns:
stage
public String stage()
Get the stage property: Stage in the model lifecycle assigned to this model.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ModelVersionProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
ModelVersionProperties.validate()withDescription
public ModelVersionProperties withDescription(String description)
Set the description property: The asset description text.
Overrides:
ModelVersionProperties.withDescription(String description)Parameters:
withFlavors
public ModelVersionProperties withFlavors(Map<String,FlavorData> flavors)
Set the flavors property: Mapping of model flavors to their properties.
Parameters:
Returns:
withIsAnonymous
public ModelVersionProperties withIsAnonymous(Boolean isAnonymous)
Set the isAnonymous property: If the name version are system generated (anonymous registration).
Overrides:
ModelVersionProperties.withIsAnonymous(Boolean isAnonymous)Parameters:
withIsArchived
public ModelVersionProperties withIsArchived(Boolean isArchived)
Set the isArchived property: Is the asset archived?.
Overrides:
ModelVersionProperties.withIsArchived(Boolean isArchived)Parameters:
withJobName
public ModelVersionProperties withJobName(String jobName)
Set the jobName property: Name of the training job which produced this model.
Parameters:
Returns:
withModelType
public ModelVersionProperties withModelType(String modelType)
Set the modelType property: The storage format for this entity. Used for NCD.
Parameters:
Returns:
withModelUri
public ModelVersionProperties withModelUri(String modelUri)
Set the modelUri property: The URI path to the model contents.
Parameters:
Returns:
withProperties
public ModelVersionProperties withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary.
Overrides:
ModelVersionProperties.withProperties(Map<String,String> properties)Parameters:
withStage
public ModelVersionProperties withStage(String stage)
Set the stage property: Stage in the model lifecycle assigned to this model.
Parameters:
Returns:
withTags
public ModelVersionProperties withTags(Map<String,String> tags)
Set the tags property: Tag dictionary. Tags can be added, removed, and updated.
Overrides:
ModelVersionProperties.withTags(Map<String,String> tags)Parameters: