From 479e6d360949c76916d8852e55d38361e1453c49 Mon Sep 17 00:00:00 2001 From: patricia-dibenedetto Date: Mon, 6 Jan 2025 19:23:49 +0000 Subject: [PATCH] [auto generated] Checking in generated offline HTML doc --- v1/html/index.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/v1/html/index.html b/v1/html/index.html index 9cd33fb..83cf315 100644 --- a/v1/html/index.html +++ b/v1/html/index.html @@ -2413,7 +2413,8 @@

Option 2: Getting the token directly from UI

ID
required
string <uuid>

Unique ID for the resource instance as generated by the Metal service

ETag
required
string <uuid>

Used to determine whether the DB entry has changed since it was last read. This value is updated each time the resource is updated. Client must send this value unchanged for any update operation.

Name
required
string

Common name for the resource instance. Must be 128 or fewer printable characters

-
required
object (UpdateProfile)
required
object (UpdateLimits)
PermittedOSImages
required
Array of strings <uuid>

Array listing the permitted OS service images.

+
required
object (UpdateProfile)
required
object (UpdateLimits)
PermittedOSImages
required
Array of strings <uuid>

Array listing the permitted OS service images.

+
PermittedSites
Array of strings <uuid>

Array listing the permitted site IDs

Responses

Request samples

Content type
application/json
{
  • "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
  • "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394",
  • "Name": "My Object Name",
  • "Profile": {
    },
  • "Limits": {
    },
  • "PermittedOSImages": [
    ]
}

Response samples

Content type
application/json
{
  • "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
  • "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394",
  • "Name": "My Object Name",
  • "Created": "2019-06-27T22:59:01.661Z",
  • "Modified": "2020-02-27T18:28:02.863Z",
  • "Profile": {
    },
  • "Limits": {
    },
  • "Resources": {
    },
  • "PermittedSites": [
    ],
  • "PermittedOSImages": [
    ],
  • "VolumeReplicationEnabled": true,
  • "ParentID": "string"
}

Delete a Project

Deletes the Project with the matching ID. Note that a Hoster or BMaaS Access Owner (under GreenLake Cloud Services), or BMaaS Tenant Owner or Service Platform Owner role (under GreenLake Platform) is required for this operation. If GreenLake Platform IAM issued token is used for authentication, then it is required to pass 'X-Role' and 'X-Workspaceid' headers.

+
https://client.greenlake.hpe.com{basePath}/projects/{projectId}

Request samples

Content type
application/json
{
  • "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
  • "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394",
  • "Name": "My Object Name",
  • "Profile": {
    },
  • "Limits": {
    },
  • "PermittedOSImages": [
    ],
  • "PermittedSites": [
    ]
}

Response samples

Content type
application/json
{
  • "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
  • "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394",
  • "Name": "My Object Name",
  • "Created": "2019-06-27T22:59:01.661Z",
  • "Modified": "2020-02-27T18:28:02.863Z",
  • "Profile": {
    },
  • "Limits": {
    },
  • "Resources": {
    },
  • "PermittedSites": [
    ],
  • "PermittedOSImages": [
    ],
  • "VolumeReplicationEnabled": true,
  • "ParentID": "string"
}

Delete a Project

Deletes the Project with the matching ID. Note that a Hoster or BMaaS Access Owner (under GreenLake Cloud Services), or BMaaS Tenant Owner or Service Platform Owner role (under GreenLake Platform) is required for this operation. If GreenLake Platform IAM issued token is used for authentication, then it is required to pass 'X-Role' and 'X-Workspaceid' headers.

Authorizations:
(BearerAuthMembership) (BearerAuthProject)
path Parameters
projectId
required
string

ID of project to delete

header Parameters
X-Role
string
Example: metal-infra-admin

GreenLake Platform role name

X-Workspaceid
string
Example: 1a2ba81600dd11efa47076a3447ec4eb

GreenLake Platform workspace ID

@@ -2892,7 +2893,7 @@

Option 2: Getting the token directly from UI

List of all projects info within an organization or cluster for which user is authorized.

Returns an object with information on projects, machine sizes, and volume flavors. The 'Projects' list includes projects authorized for a user, and the 'MachineSizes' and 'VolumeFlavors' list include only those machine sizes and volume flavors permitted for projects. When GreenLake Cloud Services IAM issued token is used for authentication, it is required to pass either 'Space' or 'spaceid' header. When both are set, 'Space' header is ignored. If GreenLake Platform IAM issued token is used for authentication, then it is required to pass 'X-Role' and 'X-Workspaceid' headers.

-
Authorizations:
(BearerAuthMembership) BearerAuth
query Parameters
siteid
string
Example: siteid=95688cf9-82ff-4e32-80fc-2b0b41648dab

GreenLake site ID

+
Authorizations:
(BearerAuthMembership) BearerAuth
query Parameters
siteid
Array of strings
Example: siteid=95688cf9-82ff-4e32-80fc-2b0b41648dab

GreenLake site ID

header Parameters
Space
string
Example: Default

GreenLake Cloud Services space name

spaceid
string
Example: 95688cf9-82ff-4e32-80fc-2b0b41648dab

GreenLake Cloud Services space ID

X-Role
string
Example: metal-infra-admin

GreenLake Platform role name

@@ -3057,7 +3058,7 @@

Option 2: Getting the token directly from UI

Response samples

Content type
application/json
{
  • "message": "string",
  • "details": "string"
}