Share via


DeploymentConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.batch.models.DeploymentConfiguration

Implements

public final class DeploymentConfiguration
implements JsonSerializable<DeploymentConfiguration>

Deployment configuration properties.

Constructor Summary

Constructor Description
DeploymentConfiguration()

Creates an instance of DeploymentConfiguration class.

Method Summary

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

Reads an instance of DeploymentConfiguration from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VirtualMachineConfiguration virtualMachineConfiguration()

Get the virtualMachineConfiguration property: The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure.

DeploymentConfiguration withVirtualMachineConfiguration(VirtualMachineConfiguration virtualMachineConfiguration)

Set the virtualMachineConfiguration property: The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure.

Methods inherited from java.lang.Object

Constructor Details

DeploymentConfiguration

public DeploymentConfiguration()

Creates an instance of DeploymentConfiguration class.

Method Details

fromJson

public static DeploymentConfiguration fromJson(JsonReader jsonReader)

Reads an instance of DeploymentConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

virtualMachineConfiguration

public VirtualMachineConfiguration virtualMachineConfiguration()

Get the virtualMachineConfiguration property: The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure.

Returns:

the virtualMachineConfiguration value.

withVirtualMachineConfiguration

public DeploymentConfiguration withVirtualMachineConfiguration(VirtualMachineConfiguration virtualMachineConfiguration)

Set the virtualMachineConfiguration property: The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure.

Parameters:

virtualMachineConfiguration - the virtualMachineConfiguration value to set.

Returns:

the DeploymentConfiguration object itself.

Applies to