HP OneView REST API Reference

network-sets
network-sets.html[10/17/2013 10:35:34 AM]
REST API Response Codes
Examples
Get the network set that matches ID f984237c-7450-47a0-820a-
84518b119c06:
GET https://{appl}/rest/network-sets/f984237c-7450-47a0-820a-
84518b119c06
DELETE Deletes a network set. Any connections which reference the network set and are currently
deployed will be placed into a 'Failed' state.
Parameter Attributes Description
Request
Header
Attributes Description
REST API Request Headers NOTE: The X-API-Version header is required for all APIs. For the
current release, this must be set to "X-API-Version:3"
Response Description
TaskResourceV2 An object that can be used to track the progress of
the delete network set operation to completion
Response Codes
REST API Response Codes
Examples
Delete the network set that matches ID f984237c-7450-47a0-820a-
84518b119c06:
DELETE https://{appl}/rest/network-sets/f984237c-7450-47a0-820a-
84518b119c06
PUT Updates a network set.
Parameter Attributes Description
Request
Header
Attributes Description
REST API Request Headers NOTE: The X-API-Version header is required for all APIs. For the
current release, this must be set to "X-API-Version:3"
Request
Body
Attributes Description
NetworkSet Required
Response Description
TaskResourceV2 An object that can be used to track the progress
of the update network set operation to completion
Response Codes
REST API Response Codes
Examples
Update an instance of network set with the a new name, NS2.
Before doing an update, please do a GET of the network set to obtain
the required eTag