Fix eject media request object
This commit is contained in:
parent
332d1a830a
commit
0cebb54909
@ -32,7 +32,7 @@ All URIs are relative to *http://localhost*
|
||||
|
||||
Class | Method | HTTP request | Description
|
||||
------------ | ------------- | ------------- | -------------
|
||||
*DefaultApi* | [**EjctVirtualMedia**](docs/DefaultApi.md#ejctvirtualmedia) | **Post** /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId}/Actions/VirtualMedia.EjectMedia |
|
||||
*DefaultApi* | [**EjectVirtualMedia**](docs/DefaultApi.md#ejectvirtualmedia) | **Post** /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId}/Actions/VirtualMedia.EjectMedia |
|
||||
*DefaultApi* | [**GetManager**](docs/DefaultApi.md#getmanager) | **Get** /redfish/v1/Managers/{managerId} |
|
||||
*DefaultApi* | [**GetManagerVirtualMedia**](docs/DefaultApi.md#getmanagervirtualmedia) | **Get** /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId} |
|
||||
*DefaultApi* | [**GetRoot**](docs/DefaultApi.md#getroot) | **Get** /redfish/v1 |
|
||||
|
@ -249,7 +249,7 @@ paths:
|
||||
description: Error condition
|
||||
/redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId}/Actions/VirtualMedia.EjectMedia:
|
||||
post:
|
||||
operationId: ejct_virtual_media
|
||||
operationId: eject_virtual_media
|
||||
parameters:
|
||||
- description: ID of resource
|
||||
explode: false
|
||||
@ -271,8 +271,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
properties: {}
|
||||
type: object
|
||||
$ref: '#/components/schemas/EjectMediaRequestBody'
|
||||
required: true
|
||||
responses:
|
||||
200:
|
||||
@ -1104,6 +1103,10 @@ components:
|
||||
required:
|
||||
- Image
|
||||
type: object
|
||||
EjectMediaRequestBody:
|
||||
additionalProperties: false
|
||||
properties: {}
|
||||
type: object
|
||||
RedfishError_error:
|
||||
example:
|
||||
'@Message.ExtendedInfo':
|
||||
|
@ -33,7 +33,7 @@ DefaultApiService
|
||||
* @param body
|
||||
@return RedfishError
|
||||
*/
|
||||
func (a *DefaultApiService) EjctVirtualMedia(ctx _context.Context, managerId string, virtualMediaId string, body map[string]interface{}) (RedfishError, *_nethttp.Response, error) {
|
||||
func (a *DefaultApiService) EjectVirtualMedia(ctx _context.Context, managerId string, virtualMediaId string, body map[string]interface{}) (RedfishError, *_nethttp.Response, error) {
|
||||
var (
|
||||
localVarHttpMethod = _nethttp.MethodPost
|
||||
localVarPostBody interface{}
|
||||
|
@ -4,7 +4,7 @@ All URIs are relative to *http://localhost*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**EjctVirtualMedia**](DefaultApi.md#EjctVirtualMedia) | **Post** /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId}/Actions/VirtualMedia.EjectMedia |
|
||||
[**EjectVirtualMedia**](DefaultApi.md#EjectVirtualMedia) | **Post** /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId}/Actions/VirtualMedia.EjectMedia |
|
||||
[**GetManager**](DefaultApi.md#GetManager) | **Get** /redfish/v1/Managers/{managerId} |
|
||||
[**GetManagerVirtualMedia**](DefaultApi.md#GetManagerVirtualMedia) | **Get** /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId} |
|
||||
[**GetRoot**](DefaultApi.md#GetRoot) | **Get** /redfish/v1 |
|
||||
@ -18,9 +18,9 @@ Method | HTTP request | Description
|
||||
|
||||
|
||||
|
||||
## EjctVirtualMedia
|
||||
## EjectVirtualMedia
|
||||
|
||||
> RedfishError EjctVirtualMedia(ctx, managerId, virtualMediaId, body)
|
||||
> RedfishError EjectVirtualMedia(ctx, managerId, virtualMediaId, body)
|
||||
|
||||
|
||||
### Required Parameters
|
||||
|
@ -599,6 +599,10 @@ components:
|
||||
required:
|
||||
- Image
|
||||
type: object
|
||||
EjectMediaRequestBody:
|
||||
additionalProperties: false
|
||||
properties: {}
|
||||
type: object
|
||||
paths:
|
||||
/redfish/v1:
|
||||
get:
|
||||
@ -821,13 +825,12 @@ paths:
|
||||
type: string
|
||||
/redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId}/Actions/VirtualMedia.EjectMedia:
|
||||
post:
|
||||
operationId: ejct_virtual_media
|
||||
operationId: eject_virtual_media
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties: {}
|
||||
$ref: '#/components/schemas/EjectMediaRequestBody'
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
|
Loading…
Reference in New Issue
Block a user