Group Apply OneView appliance settings job

Overview

This job applies OneView appliance settings to specified appliance group members. The group must have a configured setting with category 'OVE_APPLIANCE_SETTINGS_SYNERGY' or 'OVE_APPLIANCE_SETTINGS_ANY'.

Job Template ID Resource Type Data
a229a162-b43f-45b0-b7bb-692df77b9746 compute-ops-mgmt/group targetApplianceIds*

Data properties marked with a * are required.

Create Job

A job can be created by issuing a POST to the /compute-ops-mgmt/v1beta3/jobs endpoint with the correct payload for the job.

The following properties are used when creating a job:

Property JSON Type Description Required?
jobTemplateUri string (uri) A job-template URI with the durable Template ID of the job Yes
resourceUri string (uri) A resource URI that the job will operate on Yes
data object Any additional data required by the job No

If the job was created successfully, a 201 Created response is returned. The response includes the job resource which has a job resourceUri that you can use to track the progress of the job.

Data

The following table summarizes the supported properties in data.

Property JSON Type Values Required?
targetApplianceIds array List of appliance IDs Yes

Data properties

  • targetApplianceIds : This required field is a list of appliance IDs to include in the group apply setting. If specified, this non-empty list of appliance IDs limits the scope of the operation to the specified appliance group members. If unspecified, an exception will be raised.

Example

Here is an example request payload for creating this job.

Example 1

Apply OneView appliance settings associated with a group to specified appliance group members.

Copy
Copied
{
   "jobTemplateUri": "/compute-ops-mgmt/v1beta2/job-templates/a229a162-b43f-45b0-b7bb-692df77b9746",
   "resourceUri": "/compute-ops-mgmt/v1beta3/groups/213e7c32-3046-4419-95dc-cc816adb95e9",
   "data": {
       "targetApplianceIds": [
           "2ec6bdbf-59e2-4d1c-b59e-8147927321fd",
           "5819ccbc-8be6-4c99-a497-cec22c7a6ca2"
       ]
   }
}