ManagedComputeDeploymentRoutes Class

  • java.lang.Object
    • com.azure.resourcemanager.cognitiveservices.models.ManagedComputeDeploymentRoutes

Implements

public final class ManagedComputeDeploymentRoutes
implements JsonSerializable<ManagedComputeDeploymentRoutes>

Inference route paths for a managed compute deployment, relative to the account endpoint. Populated when provisioningState is Succeeded.

Method Summary

Modifier and Type Method and Description
String chatCompletionsScoringPath()

Get the chatCompletionsScoringPath property: Relative path to the chat completions scoring endpoint.

static ManagedComputeDeploymentRoutes fromJson(JsonReader jsonReader)

Reads an instance of ManagedComputeDeploymentRoutes from the JsonReader.

String messagesApiScoringPath()

Get the messagesApiScoringPath property: Relative path to the messages API scoring endpoint.

String swagger()

Get the swagger property: Relative path to the Swagger/OpenAPI endpoint.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

chatCompletionsScoringPath

public String chatCompletionsScoringPath()

Get the chatCompletionsScoringPath property: Relative path to the chat completions scoring endpoint.

Returns:

the chatCompletionsScoringPath value.

fromJson

public static ManagedComputeDeploymentRoutes fromJson(JsonReader jsonReader)

Reads an instance of ManagedComputeDeploymentRoutes from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedComputeDeploymentRoutes 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 ManagedComputeDeploymentRoutes.

messagesApiScoringPath

public String messagesApiScoringPath()

Get the messagesApiScoringPath property: Relative path to the messages API scoring endpoint.

Returns:

the messagesApiScoringPath value.

swagger

public String swagger()

Get the swagger property: Relative path to the Swagger/OpenAPI endpoint.

Returns:

the swagger value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to