From a4ee16bfd19c867077fa6547f1e65cf7abef5a6c Mon Sep 17 00:00:00 2001 From: chaitra-mylarappachar <65302544+chaitra-mylarappachar@users.noreply.github.com> Date: Wed, 1 Mar 2023 22:15:20 -0600 Subject: [PATCH] Addressed outstanding review comments in https://github.com/HewlettPackard/hpegl-metal-client/pull/72 (#74) * Address review comments * [auto generated] Checking in generated offline HTML doc --------- Co-authored-by: chaitra-mylarappachar --- .../components/schemas/AvailableNetwork.yaml | 2 ++ v1/html/index.html | 4 ++-- v1/pkg/client/api/openapi.yaml | 20 ++++++++++--------- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/v1/api/swagger/components/schemas/AvailableNetwork.yaml b/v1/api/swagger/components/schemas/AvailableNetwork.yaml index 7c31de5e..c258f7ff 100644 --- a/v1/api/swagger/components/schemas/AvailableNetwork.yaml +++ b/v1/api/swagger/components/schemas/AvailableNetwork.yaml @@ -23,6 +23,8 @@ properties: VLAN: type: integer description: VLAN ID of the network + example: 200 VNI: type: integer description: VNI ID of the network + example: 15006 diff --git a/v1/html/index.html b/v1/html/index.html index dfc18aa0..e48a89cf 100644 --- a/v1/html/index.html +++ b/v1/html/index.html @@ -2815,7 +2815,7 @@

Option 2: Getting the token directly from UI

Response samples

Content type
application/json
{
  • "Images": [
    ],
  • "Locations": [
    ],
  • "Networks": [
    ],
  • "MachineSizes": [
    ],
  • "VolumeFlavors": [
    ],
  • "Volumes": [
    ],
  • "MachineInventory": [
    ],
  • "StorageInventory": [
    ],
  • "SSHKeys": [
    ]
}

usage-reports

Operations related to retrieving information about resource usage within the project.

+
https://client.greenlake.hpe.com{basePath}/available-resources

Response samples

Content type
application/json
{
  • "Images": [
    ],
  • "Locations": [
    ],
  • "Networks": [
    ],
  • "MachineSizes": [
    ],
  • "VolumeFlavors": [
    ],
  • "Volumes": [
    ],
  • "MachineInventory": [
    ],
  • "StorageInventory": [
    ],
  • "SSHKeys": [
    ]
}

usage-reports

Operations related to retrieving information about resource usage within the project.

Get a usage report

Creates and returns a usage report based on the parameters passed in the request body

Authorizations:
(BearerAuthProject) (BearerAuthMembership)
query Parameters
start
required
string

Start of the billing period

end
string

End of the billing period, default to now if omitted

@@ -2912,7 +2912,7 @@

Option 2: Getting the token directly from UI

Response samples

Content type
application/json
[
  • {
    }
]