Create A manifest operation

Create A manifest operation

Add an arbitrary job to the BOSH Director VM. For example, this could be used to run your favorite anti-virus software on the Director VM, assuming that the anti-virus software has already been packaged as a BOSH release.

Note that if you delete the BOSH Director tile, and then install the BOSH Director tile again, your manifest operations which were bound to the original BOSH Director tile will no longer apply. However, you can use this endpoint to add them again.

Request
URI
POST
https://{opsmanager-installation}//api/v0/staged/director/manifest_operations/add_job_to_instance_group
COPY
Request Body
PostManifestOperation of type(s) application/json
Required
{
    "instance_group": "string",
    "release_name": "string",
    "release_url": "string",
    "release_sha1": "string",
    "job_name": "string",
    "job_properties": {}
}
string
instance_group
Required

The name of the instance group (VMs) on which you would like to add a job. For now, this must be "bosh".

string
release_name
Required

The name of the BOSH release that you would like to use on the Director VM.

string
release_url
Required

An http or https URL, which must be reachable by the OpsManager VM, used to download your BOSH release file during Apply Changes.

string
release_sha1
Required

The SHA1 checksum of the release file. Required when the release_url is http or https (so, for now, always required).

string
job_name
Required

The name of the job from the reference BOSH release that you would like to add to the Director VM.

object
job_properties
Required

The properties of your job, used to configure the software which you are installing on the Director VM. This must be a hash, but can be an empty hash if you have no configuration for your job.

Responses
200

0K

Returns GetManifestOperation of type(s) application/json
{
    "guid": "string",
    "instance_group": "string",
    "release_name": "string",
    "release_url": "string",
    "release_sha1": "string",
    "job_name": "string",
    "job_properties": {}
}
string
guid
Optional

The identifier for the manifest operation.

string
instance_group
Optional

The name of the instance group (VMs) on which you would like to add a job. For now, this must be "bosh".

string
release_name
Optional

The name of the BOSH release that you would like to use on the Director VM.

string
release_url
Optional

An http or https URL, which must be reachable by the OpsManager VM, used to download your BOSH release file during Apply Changes.

string
release_sha1
Optional

The SHA1 checksum of the release file. Required when the release_url is http or https (so, for now, always required).

string
job_name
Optional

The name of the job from the reference BOSH release that you would like to add to the Director VM.

object
job_properties
Optional

The properties of your job, used to configure the software which you are installing on the Director VM. This must be a hash, but can be an empty hash if you have no configuration for your job.