Deployment Class
- java.
lang. Object - com.
azure. ai. projects. models. Deployment
- com.
Implements
public class Deployment
implements JsonSerializable<Deployment>
Model Deployment Definition.
Constructor Summary
| Modifier | Constructor | Description |
|---|---|---|
| protected | Deployment() |
Creates an instance of Deployment class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Deployment |
fromJson(JsonReader jsonReader)
Reads an instance of Deployment from the Json |
| String |
getName()
Get the name property: Name of the deployment. |
|
Deployment |
getType()
Get the type property: The type of the deployment. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
Deployment
protected Deployment()
Creates an instance of Deployment class.
Method Details
fromJson
public static Deployment fromJson(JsonReader jsonReader)
Reads an instance of Deployment from the JsonReader.
Parameters:
Returns:
Throws:
getName
public String getName()
Get the name property: Name of the deployment.
Returns:
getType
public DeploymentType getType()
Get the type property: The type of the deployment.
Returns: