azure-docs-sdk-java/archive/docs-ref-autogen/com.microsoft.azure.batch.p...

70 строки
5.2 KiB
YAML

### YamlMime:JavaType
inheritances:
- <xref href="java.lang.Object" data-throw-if-not-resolved="False"/>
methods:
- fullName: com.microsoft.azure.batch.protocol.models.PoolInformation.autoPoolSpecification()
name: autoPoolSpecification()
nameWithType: PoolInformation.autoPoolSpecification()
returns:
description: <p>the autoPoolSpecification value </p>
type: <xref href="com.microsoft.azure.batch.protocol.models.AutoPoolSpecification?alt=com.microsoft.azure.batch.protocol.models.AutoPoolSpecification&text=AutoPoolSpecification" data-throw-if-not-resolved="False"/>
summary: >-
<p>Get if auto pool creation fails, the Batch service moves the job to a completed state, and the pool creation error is set in the job's scheduling error property. The Batch service manages the lifetime (both creation and, unless keepAlive is specified, deletion) of the auto pool. Any user actions that affect the lifetime of the auto pool while the job is active will result in unexpected behavior. You must specify either the pool ID or the auto pool specification, but not both.</p>
<p></p>
syntax: public AutoPoolSpecification autoPoolSpecification()
uid: com.microsoft.azure.batch.protocol.models.PoolInformation.autoPoolSpecification()
- fullName: com.microsoft.azure.batch.protocol.models.PoolInformation.poolId()
name: poolId()
nameWithType: PoolInformation.poolId()
returns:
description: <p>the poolId value </p>
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
summary: >-
<p>Get you must ensure that the pool referenced by this property exists. If the pool does not exist at the time the Batch service tries to schedule a job, no tasks for the job will run until you create a pool with that id. Note that the Batch service will not reject the job request; it will simply not run tasks until the pool exists. You must specify either the pool ID or the auto pool specification, but not both.</p>
<p></p>
syntax: public String poolId()
uid: com.microsoft.azure.batch.protocol.models.PoolInformation.poolId()
- fullName: com.microsoft.azure.batch.protocol.models.PoolInformation.withAutoPoolSpecification(AutoPoolSpecification autoPoolSpecification)
name: withAutoPoolSpecification(AutoPoolSpecification autoPoolSpecification)
nameWithType: PoolInformation.withAutoPoolSpecification(AutoPoolSpecification autoPoolSpecification)
parameters:
- description: <p>the autoPoolSpecification value to set </p>
name: autoPoolSpecification
type: <xref href="com.microsoft.azure.batch.protocol.models.AutoPoolSpecification?alt=com.microsoft.azure.batch.protocol.models.AutoPoolSpecification&text=AutoPoolSpecification" data-throw-if-not-resolved="False"/>
returns:
description: <p>the PoolInformation object itself. </p>
type: <xref href="com.microsoft.azure.batch.protocol.models.PoolInformation?alt=com.microsoft.azure.batch.protocol.models.PoolInformation&text=PoolInformation" data-throw-if-not-resolved="False"/>
summary: >-
<p>Set if auto pool creation fails, the Batch service moves the job to a completed state, and the pool creation error is set in the job's scheduling error property. The Batch service manages the lifetime (both creation and, unless keepAlive is specified, deletion) of the auto pool. Any user actions that affect the lifetime of the auto pool while the job is active will result in unexpected behavior. You must specify either the pool ID or the auto pool specification, but not both.</p>
<p></p>
syntax: public PoolInformation withAutoPoolSpecification(AutoPoolSpecification autoPoolSpecification)
uid: com.microsoft.azure.batch.protocol.models.PoolInformation.withAutoPoolSpecification(AutoPoolSpecification)
- fullName: com.microsoft.azure.batch.protocol.models.PoolInformation.withPoolId(String poolId)
name: withPoolId(String poolId)
nameWithType: PoolInformation.withPoolId(String poolId)
parameters:
- description: <p>the poolId value to set </p>
name: poolId
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
returns:
description: <p>the PoolInformation object itself. </p>
type: <xref href="com.microsoft.azure.batch.protocol.models.PoolInformation?alt=com.microsoft.azure.batch.protocol.models.PoolInformation&text=PoolInformation" data-throw-if-not-resolved="False"/>
summary: >-
<p>Set you must ensure that the pool referenced by this property exists. If the pool does not exist at the time the Batch service tries to schedule a job, no tasks for the job will run until you create a pool with that id. Note that the Batch service will not reject the job request; it will simply not run tasks until the pool exists. You must specify either the pool ID or the auto pool specification, but not both.</p>
<p></p>
syntax: public PoolInformation withPoolId(String poolId)
uid: com.microsoft.azure.batch.protocol.models.PoolInformation.withPoolId(String)
nameWithType: PoolInformation
syntax: public class PoolInformation
type: class
uid: com.microsoft.azure.batch.protocol.models.PoolInformation
fullName: com.microsoft.azure.batch.protocol.models.PoolInformation
name: PoolInformation
package: com.microsoft.azure.batch.protocol.models
summary: <p>Specifies how a job should be assigned to a pool. </p>
metadata: {}