ComputeInstanceContainer Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. ComputeInstanceContainer
- com.
Implements
public final class ComputeInstanceContainer
implements JsonSerializable<ComputeInstanceContainer>
Defines an Aml Instance container.
Constructor Summary
| Constructor | Description |
|---|---|
| ComputeInstanceContainer() |
Creates an instance of Compute |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Autosave |
autosave()
Get the autosave property: Auto save settings. |
|
Compute |
environment()
Get the environment property: Environment information of this container. |
|
static
Compute |
fromJson(JsonReader jsonReader)
Reads an instance of Compute |
| String |
gpu()
Get the gpu property: Information of GPU. |
| String |
name()
Get the name property: Name of the Compute |
| Network |
network()
Get the network property: network of this container. |
| List<Object> |
services()
Get the services property: services of this containers. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Compute |
withAutosave(Autosave autosave)
Set the autosave property: Auto save settings. |
|
Compute |
withEnvironment(ComputeInstanceEnvironmentInfo environment)
Set the environment property: Environment information of this container. |
|
Compute |
withGpu(String gpu)
Set the gpu property: Information of GPU. |
|
Compute |
withName(String name)
Set the name property: Name of the Compute |
|
Compute |
withNetwork(Network network)
Set the network property: network of this container. |
Methods inherited from java.lang.Object
Constructor Details
ComputeInstanceContainer
public ComputeInstanceContainer()
Creates an instance of ComputeInstanceContainer class.
Method Details
autosave
public Autosave autosave()
Get the autosave property: Auto save settings.
Returns:
environment
public ComputeInstanceEnvironmentInfo environment()
Get the environment property: Environment information of this container.
Returns:
fromJson
public static ComputeInstanceContainer fromJson(JsonReader jsonReader)
Reads an instance of ComputeInstanceContainer from the JsonReader.
Parameters:
Returns:
Throws:
gpu
public String gpu()
Get the gpu property: Information of GPU.
Returns:
name
public String name()
Get the name property: Name of the ComputeInstance container.
Returns:
network
public Network network()
Get the network property: network of this container.
Returns:
services
public List<Object> services()
Get the services property: services of this containers.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAutosave
public ComputeInstanceContainer withAutosave(Autosave autosave)
Set the autosave property: Auto save settings.
Parameters:
Returns:
withEnvironment
public ComputeInstanceContainer withEnvironment(ComputeInstanceEnvironmentInfo environment)
Set the environment property: Environment information of this container.
Parameters:
Returns:
withGpu
public ComputeInstanceContainer withGpu(String gpu)
Set the gpu property: Information of GPU.
Parameters:
Returns:
withName
public ComputeInstanceContainer withName(String name)
Set the name property: Name of the ComputeInstance container.
Parameters:
Returns:
withNetwork
public ComputeInstanceContainer withNetwork(Network network)
Set the network property: network of this container.
Parameters:
Returns: