API Guide
Table Of Contents
- OpenManage Integration for VMware vCenter Version 5.3 API Guide
- Overview
- Get started
- Security
- Use cases
- Session management
- License management
- Console management
- Repository profile management
- Cluster profile management
- Firmware repository inventory management
- Firmware inventory management
- Firmware update management
- System profile management
- Host management
- Get subsystem health report (OMIVV Host Health)
- Host management
- Request body
- Response body
- OMIVV-Specific error codes
Create a new repository profile
Description: Creates a new repository profile
Command or URL: /Services/PluginProfileService/RepositoryProfiles
Method: POST
Request Body:
{
"name": "{profile name}",
"description": "{profile description}",
"globalDefault":{Dell default repository profile(false), currently not supported},
"repoType": "{repository type}",
"protocolType": "{protocol type}",
"uri": "{Catalog location}",
"credential": {
"username": "{share username}",
"domain": "{domain}",
"password": "{share password}"
},
"synchronizeRepository": {Synchronize with current repository location (false)}
}
For more information about request body parameters, see Request body on page 92.
For NFS, credential is not required.
For CIFS credentials are required. domain parameter is not mandatory.
Parameters: None
vCenter privileges required: Dell.Inventory.Configure Inventory
HTTP response code:
Table 21. HTTP response code
Code Description or response object
200 Repository Profile Data
400 Operational Context not set
401 Authorization failure
403 vCenter permission denied
429 Too many requests
500 Internal Server error / timeout
For OMIVV-Specific error codes, see OMIVV-Specific error codes on page 112.
Example Response:
{
"id": "{repository profile ID}",
"href": "https://{OMIVVIP}/Spectre/api/rest/v1/Services/PluginProfileService/
RepositoryProfiles/{repository profile ID}",
"objectType": "RepositoryProfile",
"data": {
"name": "{Repository profile name}",
"description": "{Repository profile description}",
"globalDefault": {Dell default repository profile (true or false)},
"repoType": "{Repository Type}",
"protocolType": "{Protocol type}",
"uri": "{Repository location}",
"credential": {
"username": "{share username}",
"domain": "{domain}",
"password": "{}"
},
Repository profile management
51