DeploymentConfiguration Class
- java.
lang. Object - com.
microsoft. azure. management. batch. DeploymentConfiguration
- com.
public class DeploymentConfiguration
Deployment configuration properties.
Method Summary
Modifier and Type | Method and Description |
---|---|
Cloud |
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'. |
Virtual |
virtualMachineConfiguration()
Get this property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified. |
Deployment |
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'. |
Deployment |
withVirtualMachineConfiguration(VirtualMachineConfiguration virtualMachineConfiguration)
Set this property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified. |
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:
virtualMachineConfiguration
public VirtualMachineConfiguration virtualMachineConfiguration()
Get this property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified.
Returns:
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:
Returns:
withVirtualMachineConfiguration
public DeploymentConfiguration withVirtualMachineConfiguration(VirtualMachineConfiguration virtualMachineConfiguration)
Set this property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified.
Parameters:
Returns:
Applies to
Azure SDK for Java