MachineLearningServicesModelDeployedEventData Class

  • java.lang.Object
    • com.azure.messaging.eventgrid.systemevents.MachineLearningServicesModelDeployedEventData

Implements

public final class MachineLearningServicesModelDeployedEventData
implements JsonSerializable<MachineLearningServicesModelDeployedEventData>

Schema of the Data property of an EventGridEvent for a Microsoft.MachineLearningServices.ModelDeployed event.

Constructor Summary

Constructor Description
MachineLearningServicesModelDeployedEventData()

Creates an instance of MachineLearningServicesModelDeployedEventData class.

Method Summary

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

Reads an instance of MachineLearningServicesModelDeployedEventData from the JsonReader.

String getModelIds()

Get the modelIds property: A common separated list of model IDs.

String getServiceComputeType()

Get the serviceComputeType property: The compute type (e.g.

String getServiceName()

Get the serviceName property: The name of the deployed service.

Object getServiceProperties()

Get the serviceProperties property: The properties of the deployed service.

Object getServiceTags()

Get the serviceTags property: The tags of the deployed service.

MachineLearningServicesModelDeployedEventData setModelIds(String modelIds)

Set the modelIds property: A common separated list of model IDs.

MachineLearningServicesModelDeployedEventData setServiceComputeType(String serviceComputeType)

Set the serviceComputeType property: The compute type (e.g.

MachineLearningServicesModelDeployedEventData setServiceName(String serviceName)

Set the serviceName property: The name of the deployed service.

MachineLearningServicesModelDeployedEventData setServiceProperties(Object serviceProperties)

Set the serviceProperties property: The properties of the deployed service.

MachineLearningServicesModelDeployedEventData setServiceTags(Object serviceTags)

Set the serviceTags property: The tags of the deployed service.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

MachineLearningServicesModelDeployedEventData

public MachineLearningServicesModelDeployedEventData()

Creates an instance of MachineLearningServicesModelDeployedEventData class.

Method Details

fromJson

public static MachineLearningServicesModelDeployedEventData fromJson(JsonReader jsonReader)

Reads an instance of MachineLearningServicesModelDeployedEventData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the MachineLearningServicesModelDeployedEventData.

getModelIds

public String getModelIds()

Get the modelIds property: A common separated list of model IDs. The IDs of the models deployed in the service.

Returns:

the modelIds value.

getServiceComputeType

public String getServiceComputeType()

Get the serviceComputeType property: The compute type (e.g. ACI, AKS) of the deployed service.

Returns:

the serviceComputeType value.

getServiceName

public String getServiceName()

Get the serviceName property: The name of the deployed service.

Returns:

the serviceName value.

getServiceProperties

public Object getServiceProperties()

Get the serviceProperties property: The properties of the deployed service.

Returns:

the serviceProperties value.

getServiceTags

public Object getServiceTags()

Get the serviceTags property: The tags of the deployed service.

Returns:

the serviceTags value.

setModelIds

public MachineLearningServicesModelDeployedEventData setModelIds(String modelIds)

Set the modelIds property: A common separated list of model IDs. The IDs of the models deployed in the service.

Parameters:

modelIds - the modelIds value to set.

Returns:

the MachineLearningServicesModelDeployedEventData object itself.

setServiceComputeType

public MachineLearningServicesModelDeployedEventData setServiceComputeType(String serviceComputeType)

Set the serviceComputeType property: The compute type (e.g. ACI, AKS) of the deployed service.

Parameters:

serviceComputeType - the serviceComputeType value to set.

Returns:

the MachineLearningServicesModelDeployedEventData object itself.

setServiceName

public MachineLearningServicesModelDeployedEventData setServiceName(String serviceName)

Set the serviceName property: The name of the deployed service.

Parameters:

serviceName - the serviceName value to set.

Returns:

the MachineLearningServicesModelDeployedEventData object itself.

setServiceProperties

public MachineLearningServicesModelDeployedEventData setServiceProperties(Object serviceProperties)

Set the serviceProperties property: The properties of the deployed service.

Parameters:

serviceProperties - the serviceProperties value to set.

Returns:

the MachineLearningServicesModelDeployedEventData object itself.

setServiceTags

public MachineLearningServicesModelDeployedEventData setServiceTags(Object serviceTags)

Set the serviceTags property: The tags of the deployed service.

Parameters:

serviceTags - the serviceTags value to set.

Returns:

the MachineLearningServicesModelDeployedEventData object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to