### YamlMime:JavaType uid: "com.microsoft.azure.management.batch.TaskSchedulingPolicy" fullName: "com.microsoft.azure.management.batch.TaskSchedulingPolicy" name: "TaskSchedulingPolicy" nameWithType: "TaskSchedulingPolicy" summary: "Specifies how tasks should be distributed across compute nodes." inheritances: - "" inheritedClassMethods: - classRef: "" methodsRef: - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" syntax: "public class **TaskSchedulingPolicy**" constructors: - uid: "com.microsoft.azure.management.batch.TaskSchedulingPolicy.TaskSchedulingPolicy()" fullName: "com.microsoft.azure.management.batch.TaskSchedulingPolicy.TaskSchedulingPolicy()" name: "TaskSchedulingPolicy()" nameWithType: "TaskSchedulingPolicy.TaskSchedulingPolicy()" syntax: "public TaskSchedulingPolicy()" methods: - uid: "com.microsoft.azure.management.batch.TaskSchedulingPolicy.nodeFillType()" fullName: "com.microsoft.azure.management.batch.TaskSchedulingPolicy.nodeFillType()" name: "nodeFillType()" nameWithType: "TaskSchedulingPolicy.nodeFillType()" summary: "Get possible values include: 'Spread', 'Pack'." syntax: "public ComputeNodeFillType nodeFillType()" desc: "Get possible values include: 'Spread', 'Pack'." returns: description: "the nodeFillType value" type: "" - uid: "com.microsoft.azure.management.batch.TaskSchedulingPolicy.withNodeFillType(com.microsoft.azure.management.batch.ComputeNodeFillType)" fullName: "com.microsoft.azure.management.batch.TaskSchedulingPolicy.withNodeFillType(ComputeNodeFillType nodeFillType)" name: "withNodeFillType(ComputeNodeFillType nodeFillType)" nameWithType: "TaskSchedulingPolicy.withNodeFillType(ComputeNodeFillType nodeFillType)" summary: "Set possible values include: 'Spread', 'Pack'." parameters: - description: "the nodeFillType value to set" name: "nodeFillType" type: "" syntax: "public TaskSchedulingPolicy withNodeFillType(ComputeNodeFillType nodeFillType)" desc: "Set possible values include: 'Spread', 'Pack'." returns: description: "the TaskSchedulingPolicy object itself." type: "" type: "class" desc: "Specifies how tasks should be distributed across compute nodes." metadata: {} package: "com.microsoft.azure.management.batch" artifact: com.microsoft.azure:azure-mgmt-batch:1.41.4