DeploymentConfiguration Class

  • java.lang.Object
    • com.microsoft.azure.management.batch.DeploymentConfiguration

public class DeploymentConfiguration

Deployment configuration properties.

Constructor Summary

Constructor Description
DeploymentConfiguration()

Method Summary

Modifier and Type Method and Description
CloudServiceConfiguration cloudServiceConfiguration()

Get this property and virtualMachineConfiguration are mutually exclusive and one of the properties must be specified.

VirtualMachineConfiguration virtualMachineConfiguration()

Get this property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified.

DeploymentConfiguration withCloudServiceConfiguration(CloudServiceConfiguration cloudServiceConfiguration)

Set this property and virtualMachineConfiguration are mutually exclusive and one of the properties must be specified.

DeploymentConfiguration withVirtualMachineConfiguration(VirtualMachineConfiguration virtualMachineConfiguration)

Set this property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

DeploymentConfiguration

public DeploymentConfiguration()

Method Details

cloudServiceConfiguration

public CloudServiceConfiguration cloudServiceConfiguration()

Get this property and virtualMachineConfiguration are mutually exclusive and one of the properties must be specified. This property cannot be specified if the Batch account was created with its poolAllocationMode property set to 'UserSubscription'.

Returns:

the cloudServiceConfiguration value

virtualMachineConfiguration

public VirtualMachineConfiguration virtualMachineConfiguration()

Get this property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified.

Returns:

the virtualMachineConfiguration value

withCloudServiceConfiguration

public DeploymentConfiguration withCloudServiceConfiguration(CloudServiceConfiguration cloudServiceConfiguration)

Set this property and virtualMachineConfiguration are mutually exclusive and one of the properties must be specified. This property cannot be specified if the Batch account was created with its poolAllocationMode property set to 'UserSubscription'.

Parameters:

cloudServiceConfiguration - the cloudServiceConfiguration value to set

Returns:

the DeploymentConfiguration object itself.

withVirtualMachineConfiguration

public DeploymentConfiguration withVirtualMachineConfiguration(VirtualMachineConfiguration virtualMachineConfiguration)

Set this property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified.

Parameters:

virtualMachineConfiguration - the virtualMachineConfiguration value to set

Returns:

the DeploymentConfiguration object itself.

Applies to