Skip to content

Latest commit

 

History

History
124 lines (77 loc) · 4.75 KB

MachineBlueprintsApi.md

File metadata and controls

124 lines (77 loc) · 4.75 KB

{{classname}}

All URIs are relative to https://mcaas.us1.greenlake-hpe.com/mcaas

Method HTTP request Description
V1MachineblueprintsGet Get /v1/machineblueprints Gets all Machine Blueprints
V1MachineblueprintsIdDelete Delete /v1/machineblueprints/{id} Deletes a Machine Blueprint
V1MachineblueprintsIdGet Get /v1/machineblueprints/{id} Gets a specific Machine Blueprint
V1MachineblueprintsPost Post /v1/machineblueprints Create a Machine Blueprint

V1MachineblueprintsGet

MachineBlueprints V1MachineblueprintsGet(ctx, field) Gets all Machine Blueprints

Retrieves all machine blueprints available for the current tenant Required Permissions to access the API: - caas.cluster.create Default Roles which can access the API: - Private Cloud Cluster Owner

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
field string field for all query parameters

Return type

MachineBlueprints

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

V1MachineblueprintsIdDelete

V1MachineblueprintsIdDelete(ctx, id) Deletes a Machine Blueprint

Delete the specified machine blueprint for the current tenant Required Permissions to access the API: - caas.cluster.create Default Roles which can access the API: - Private Cloud Cluster Owner

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
id string machine blueprint id

Return type

(empty response body)

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

V1MachineblueprintsIdGet

MachineBlueprint V1MachineblueprintsIdGet(ctx, id, field) Gets a specific Machine Blueprint

Retrieve the specified machine blueprint for the current tenant Required Permissions to access the API: - caas.cluster.create Default Roles which can access the API: - Private Cloud Cluster Owner

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
id string machine blueprint id
field string field for all query parameters

Return type

MachineBlueprint

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

V1MachineblueprintsPost

MachineBlueprint V1MachineblueprintsPost(ctx, body) Create a Machine Blueprint

Creates a new machine blueprint for the current tenant Required Permissions to access the API: - caas.cluster.create Default Roles which can access the API: - Private Cloud Cluster Owner

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
body MachineBlueprint machine blueprint to create

Return type

MachineBlueprint

Authorization

BearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]