Delen via


PoolSpecification.CloudServiceConfiguration Property

Definition

Gets or sets the cloud service configuration for the Pool.

[Newtonsoft.Json.JsonProperty(PropertyName="cloudServiceConfiguration")]
public Microsoft.Azure.Batch.Protocol.Models.CloudServiceConfiguration CloudServiceConfiguration { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="cloudServiceConfiguration")>]
member this.CloudServiceConfiguration : Microsoft.Azure.Batch.Protocol.Models.CloudServiceConfiguration with get, set
Public Property CloudServiceConfiguration As CloudServiceConfiguration

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

This property must be specified if the Pool needs to be created with Azure PaaS VMs. This property and virtualMachineConfiguration are mutually exclusive and one of the properties must be specified. If neither is specified then the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request). This property cannot be specified if the Batch Account was created with its poolAllocationMode property set to 'UserSubscription'.

Applies to