DeploymentConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. batch. models. DeploymentConfiguration
- com.
public final class DeploymentConfiguration
Deployment configuration properties.
Constructor Summary
Constructor | Description | |
---|---|---|
DeploymentConfiguration() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Cloud |
cloudServiceConfiguration()
Get the cloud |
void |
validate()
Validates the instance. |
Virtual |
virtualMachineConfiguration()
Get the virtual |
Deployment |
withCloudServiceConfiguration(CloudServiceConfiguration cloudServiceConfiguration)
Set the cloud |
Deployment |
withVirtualMachineConfiguration(VirtualMachineConfiguration virtualMachineConfiguration)
Set the virtual |
Methods inherited from java.lang.Object
Constructor Details
DeploymentConfiguration
public DeploymentConfiguration()
Method Details
cloudServiceConfiguration
public CloudServiceConfiguration cloudServiceConfiguration()
Get the cloudServiceConfiguration property: The configuration for nodes in a pool based on the Azure Cloud Services platform. 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:
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. This property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified.
Returns:
withCloudServiceConfiguration
public DeploymentConfiguration withCloudServiceConfiguration(CloudServiceConfiguration cloudServiceConfiguration)
Set the cloudServiceConfiguration property: The configuration for nodes in a pool based on the Azure Cloud Services platform. 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 the virtualMachineConfiguration property: The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure. This property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for