# Patchjobfleet

The PatchJobFleet element describes a Fleet whose ApplicationInstances will be patched (in combination with other selectors).

This element is one of the [PatchJob](https://docs.i3d.net/game-hosting/elements/patchjob) properties that define the selection of ApplicationInstances to patch.

The other PatchJob properties that create the selection of ApplicationInstances are:

* DeploymentEnvironment ID (`PatchJob.deploymentEnvironmentId` property)
* Application ID (`PatchJob.applicationId` property)
* One or more old ApplicationBuild IDs (`PatchJob.applicationBuild` property)

## Element structure

| Property | Value type | Required  | Description                             |
| -------- | ---------- | --------- | --------------------------------------- |
| id       | string     | Read-only | Unique identifier of this element       |
| fleetId  | string     | Yes       | The Fleet ID to include in the PatchJob |

Table 1: PatchJobFleet element structure

## API example

This element is not created individually, but is included in, and created with the [PatchJob](https://docs.i3d.net/game-hosting/elements/patchjob) element.
