/
model_projects_info.go
19 lines (17 loc) · 1.6 KB
/
model_projects_info.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
/*
* HPE GreenLake for bare metal API
*
* This Metal Client REST API provides access to bare metal as-a-service (BMaaS) within a single project context. Clients are able to create fully-provisioned hosts, storage volumes, and project-specific private networks in an isolated project environment. Project-owned resources that can be accessed via this API include - Host, Volume, VolumeAttachment, Network (project private), and SSH Key. Each API call is done within a single project context. The specific Project identifier must be provided within the header of for each REST call. The server will validate that the provided authentication credentials (JWTs) are valid for the referenced project before any operation is performed. If a single credential is valid for multiple projects, the client must still reference a single project in the header for each API call. Clients can also access information about available services and resources through the AvailableResources object. This object provides detailed information about the OS imaging options, the machine size options, the storage volume options, and data center locations which are needed when creating hosts and volumes.
*
* API version: v1
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package client
// ProjectsInfo struct for ProjectsInfo
type ProjectsInfo struct {
Projects []ProjectInfo `json:"Projects"`
MachineSizes []MachineSizeInfo `json:"MachineSizes"`
VolumeFlavors []VolumeFlavorsInfo `json:"VolumeFlavors"`
Summary SummaryInfo `json:"Summary"`
}