Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.batch; import com.fasterxml.jackson.annotation.JsonProperty;
Deployment configuration properties.
/** * Deployment configuration properties. */
public class DeploymentConfiguration {
The cloud service configuration for the pool. 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'.
/** * The cloud service configuration for the pool. * 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'. */
@JsonProperty(value = "cloudServiceConfiguration") private CloudServiceConfiguration cloudServiceConfiguration;
The virtual machine configuration for the pool. This property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified.
/** * The virtual machine configuration for the pool. * This property and cloudServiceConfiguration are mutually exclusive and * one of the properties must be specified. */
@JsonProperty(value = "virtualMachineConfiguration") private VirtualMachineConfiguration virtualMachineConfiguration;
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
/** * 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'. * * @return the cloudServiceConfiguration value */
public CloudServiceConfiguration cloudServiceConfiguration() { return this.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'.
Params:
  • cloudServiceConfiguration – the cloudServiceConfiguration value to set
Returns:the DeploymentConfiguration object itself.
/** * 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'. * * @param cloudServiceConfiguration the cloudServiceConfiguration value to set * @return the DeploymentConfiguration object itself. */
public DeploymentConfiguration withCloudServiceConfiguration(CloudServiceConfiguration cloudServiceConfiguration) { this.cloudServiceConfiguration = cloudServiceConfiguration; return this; }
Get this property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified.
Returns:the virtualMachineConfiguration value
/** * Get this property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified. * * @return the virtualMachineConfiguration value */
public VirtualMachineConfiguration virtualMachineConfiguration() { return this.virtualMachineConfiguration; }
Set this property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified.
Params:
  • virtualMachineConfiguration – the virtualMachineConfiguration value to set
Returns:the DeploymentConfiguration object itself.
/** * Set this property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified. * * @param virtualMachineConfiguration the virtualMachineConfiguration value to set * @return the DeploymentConfiguration object itself. */
public DeploymentConfiguration withVirtualMachineConfiguration(VirtualMachineConfiguration virtualMachineConfiguration) { this.virtualMachineConfiguration = virtualMachineConfiguration; return this; } }