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
|
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* | [**GetManager**](docs/DefaultApi.md#getmanager) | **Get** /redfish/v1/Managers/{managerId} |
|
||||||
*DefaultApi* | [**GetManagerVirtualMedia**](docs/DefaultApi.md#getmanagervirtualmedia) | **Get** /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId} |
|
*DefaultApi* | [**GetManagerVirtualMedia**](docs/DefaultApi.md#getmanagervirtualmedia) | **Get** /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId} |
|
||||||
*DefaultApi* | [**GetRoot**](docs/DefaultApi.md#getroot) | **Get** /redfish/v1 |
|
*DefaultApi* | [**GetRoot**](docs/DefaultApi.md#getroot) | **Get** /redfish/v1 |
|
||||||
|
@ -249,7 +249,7 @@ paths:
|
|||||||
description: Error condition
|
description: Error condition
|
||||||
/redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId}/Actions/VirtualMedia.EjectMedia:
|
/redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId}/Actions/VirtualMedia.EjectMedia:
|
||||||
post:
|
post:
|
||||||
operationId: ejct_virtual_media
|
operationId: eject_virtual_media
|
||||||
parameters:
|
parameters:
|
||||||
- description: ID of resource
|
- description: ID of resource
|
||||||
explode: false
|
explode: false
|
||||||
@ -271,8 +271,7 @@ paths:
|
|||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
properties: {}
|
$ref: '#/components/schemas/EjectMediaRequestBody'
|
||||||
type: object
|
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
@ -1104,6 +1103,10 @@ components:
|
|||||||
required:
|
required:
|
||||||
- Image
|
- Image
|
||||||
type: object
|
type: object
|
||||||
|
EjectMediaRequestBody:
|
||||||
|
additionalProperties: false
|
||||||
|
properties: {}
|
||||||
|
type: object
|
||||||
RedfishError_error:
|
RedfishError_error:
|
||||||
example:
|
example:
|
||||||
'@Message.ExtendedInfo':
|
'@Message.ExtendedInfo':
|
||||||
|
@ -33,7 +33,7 @@ DefaultApiService
|
|||||||
* @param body
|
* @param body
|
||||||
@return RedfishError
|
@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 (
|
var (
|
||||||
localVarHttpMethod = _nethttp.MethodPost
|
localVarHttpMethod = _nethttp.MethodPost
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
|
@ -4,7 +4,7 @@ All URIs are relative to *http://localhost*
|
|||||||
|
|
||||||
Method | HTTP request | Description
|
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} |
|
[**GetManager**](DefaultApi.md#GetManager) | **Get** /redfish/v1/Managers/{managerId} |
|
||||||
[**GetManagerVirtualMedia**](DefaultApi.md#GetManagerVirtualMedia) | **Get** /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId} |
|
[**GetManagerVirtualMedia**](DefaultApi.md#GetManagerVirtualMedia) | **Get** /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId} |
|
||||||
[**GetRoot**](DefaultApi.md#GetRoot) | **Get** /redfish/v1 |
|
[**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
|
### Required Parameters
|
||||||
|
@ -599,6 +599,10 @@ components:
|
|||||||
required:
|
required:
|
||||||
- Image
|
- Image
|
||||||
type: object
|
type: object
|
||||||
|
EjectMediaRequestBody:
|
||||||
|
additionalProperties: false
|
||||||
|
properties: {}
|
||||||
|
type: object
|
||||||
paths:
|
paths:
|
||||||
/redfish/v1:
|
/redfish/v1:
|
||||||
get:
|
get:
|
||||||
@ -821,13 +825,12 @@ paths:
|
|||||||
type: string
|
type: string
|
||||||
/redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId}/Actions/VirtualMedia.EjectMedia:
|
/redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId}/Actions/VirtualMedia.EjectMedia:
|
||||||
post:
|
post:
|
||||||
operationId: ejct_virtual_media
|
operationId: eject_virtual_media
|
||||||
requestBody:
|
requestBody:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
type: object
|
$ref: '#/components/schemas/EjectMediaRequestBody'
|
||||||
properties: {}
|
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
Loading…
Reference in New Issue
Block a user