# README

Go API client for client

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.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: v1
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context
go get github.com/antihax/optional

Put the package under your project folder and add the following in import:

import "./client"

Documentation for API Endpoints

All URIs are relative to https://client.greenlake.hpe.com/api/metal/rest/v1

ClassMethodHTTP requestDescription
AllocationApiGetBySiteGet /allocation/serversGet servers allocation
AllocationApiStorageGetBySiteGet /allocation/storageGet storage allocation
AvailableResourcesApiListGet /available-resourcesGet lists of available resources for creating hosts and volumes
HostsApiAddPost /hostsCreate a new Host
HostsApiBootHDDPost /hosts/{hostId}/boothddSet HDD boot order on Host by ID
HostsApiBootPXEPost /hosts/{hostId}/bootpxeSet PXE boot order on Host by ID
HostsApiDeleteDelete /hosts/{hostId}Delete a Host
HostsApiGetByIDGet /hosts/{hostId}Retrieve Host by ID
HostsApiListGet /hostsList all Hosts in project
HostsApiMaintenancePost /hosts/{hostId}/maintenanceDo maintenance on a Host by ID
HostsApiPowerOffPost /hosts/{hostId}/poweroffPower off Host by ID
HostsApiPowerOnPost /hosts/{hostId}/poweronPower on Host by ID
HostsApiPowerResetPost /hosts/{hostId}/powerresetReset Host by ID
HostsApiReimagePost /hosts/{hostId}/reimageReimage Host by ID
HostsApiReplacePost /hosts/{hostId}/replaceReplace Host by ID
HostsApiUpdatePut /hosts/{hostId}Update an existing Host
IppoolsApiAllocateIPsPost /ippools/{ippoolId}/allocationAllocate IPs from the pool
IppoolsApiGetByIDGet /ippools/{ippoolId}Retrieve IP pool by ID
IppoolsApiListGet /ippoolsList all ip pools in project
IppoolsApiReturnIPsPost /ippools/{ippoolId}/returnReturn IPs to the pool
IppoolsApiUpdatePut /ippools/{ippoolId}Update IP pool by ID
NetworksApiAddPost /networksAdd a new network
NetworksApiDeleteDelete /networks/{networkId}Delete a network
NetworksApiGetByIDGet /networks/{networkId}Retrieve network by ID.
NetworksApiListGet /networksList all networks in project
NetworksApiUpdatePut /networks/{networkId}Update an existing network by ID.
ProjectsApiAddPost /projectsCreate a new project
ProjectsApiDeleteDelete /projects/{projectId}Delete a Project
ProjectsApiGetByIDGet /projects/{projectId}Retrieve a project by its ID
ProjectsApiListGet /projectsList of all Projects within an GLCS space or GLP workspace.
ProjectsApiUpdatePut /projects/{projectId}Update a project by its ID
ProjectsInfoApiListGet /projects-infoList of all projects info within an organization or cluster for which user is authorized.
ServicesApiAddPost /servicesCreate a new OS service image
ServicesApiDeleteDelete /services/{serviceId}Delete an OS service image
ServicesApiGetByIDGet /services/{serviceId}Retrieve an OS service image
ServicesApiListGet /servicesList of all OS service images within an tenant
ServicesApiUpdatePut /services/{serviceId}Update an OS service image by its ID
SshkeysApiAddPost /sshkeysAdd a new SSH Key
SshkeysApiDeleteDelete /sshkeys/{sshkeyId}Delete an SSH key by ID.
SshkeysApiGetByIDGet /sshkeys/{sshkeyId}Retrieve SSH Key by ID
SshkeysApiListGet /sshkeysList all sshkeys in project
SshkeysApiUpdatePut /sshkeys/{sshkeyId}Update an existing SSH Key by ID.
VersionApiGetGet /versionGet api server build version
VolumeAttachmentsApiAddPost /volume-attachmentsCreate a new VolumeAttachment
VolumeAttachmentsApiDeleteDelete /volume-attachments/{attachmentId}Delete a VolumeAttachment
VolumeAttachmentsApiGetByIDGet /volume-attachments/{attachmentId}Retrieve volume attachment by ID
VolumeAttachmentsApiListGet /volume-attachmentsList all volume attachments in project
VolumesApiAddPost /volumesAdd a new volume
VolumesApiAttachPost /volumes/{volumeId}/attachAttach existing volume to Host
VolumesApiDeleteDelete /volumes/{volumeId}Delete a volume
VolumesApiDetachPost /volumes/{volumeId}/detachDetach existing volume from Host
VolumesApiGetByIDGet /volumes/{volumeId}Retrieve volume by ID
VolumesApiListGet /volumesList all volumes in project
VolumesApiUpdatePut /volumes/{volumeId}Update an existing volume

Documentation For Models

Documentation For Authorization

BearerAuth

  • Type: HTTP basic authentication

Example

auth := context.WithValue(context.Background(), sw.ContextBasicAuth, sw.BasicAuth{
    UserName: "username",
    Password: "password",
})
r, err := client.Service.Operation(auth, args)

Membership

  • Type: API key

Example

auth := context.WithValue(context.Background(), sw.ContextAPIKey, sw.APIKey{
    Key: "APIKEY",
    Prefix: "Bearer", // Omit if not necessary.
})
r, err := client.Service.Operation(auth, args)

Project

  • Type: API key

Example

auth := context.WithValue(context.Background(), sw.ContextAPIKey, sw.APIKey{
    Key: "APIKEY",
    Prefix: "Bearer", // Omit if not necessary.
})
r, err := client.Service.Operation(auth, args)

Author

# Functions

CacheExpires helper function to determine remaining time before repeating a request.
NewAPIClient creates a new API client.
NewAPIResponse returns a new APIResonse object.
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
NewConfiguration returns a new Configuration object.
NewGenericOpenAPIError creates a GenericOpenAPIError from the provided parameters.

# Constants

List of Algorithm.
List of Algorithm.
List of BondMode.
List of BondMode.
List of BondMode.
List of BondMode.
List of BootMethod.
List of BootMethod.
List of BootMethod.
List of BootMethod.
List of ClassifierOperator.
List of ClassifierOperator.
List of ClassifierOperator.
List of ClassifierOperator.
List of ClassifierOperator.
List of ClassifierOperator.
List of ClassifierOperator.
List of ClassifierOperator.
List of ClassifierOperator.
List of ClassifierOperator.
List of ClassifierOperator.
List of ClassifierOperator.
List of ClassifierOperator.
List of ClassifierOperator.
List of ClassifierOperator.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Country.
List of Encoding.
List of Encoding.
List of Encoding.
List of HealthStatus.
List of HealthStatus.
List of HealthStatus.
List of HealthStatus.
List of HostPowerState.
List of HostPowerState.
List of HostPowerState.
List of HostState.
List of HostState.
List of HostState.
List of HostState.
List of HostState.
List of HostState.
List of HostState.
List of HostState.
List of HostState.
List of HostState.
List of HostState.
List of HostState.
List of HostState.
List of HostState.
List of HostState.
List of HostState.
List of HostState.
List of HostState.
List of HostState.
List of HostState.
List of HostState.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
HOSTSUBSTATE_CONFIRM_POST_COMPLETE
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of HostSubstate.
List of IPVer.
List of IPVer.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of Netmask.
List of NetworkHostUse.
List of NetworkHostUse.
List of NetworkHostUse.
List of NetworkPurpose.
List of NetworkPurpose.
List of NetworkPurpose.
List of NetworkPurpose.
List of NetworkPurpose.
List of NetworkPurpose.
List of NetworkPurpose.
List of NetworkPurpose.
List of NetworkPurpose.
List of NetworkPurpose.
List of NetworkPurpose.
List of OpArgType.
List of OpArgType.
List of OpArgType.
List of OpArgType.
List of OSServiceImageApproach.
List of OSServiceImageApproach.
List of OSServiceImageOrigin.
List of OSServiceImageOrigin.
List of PartitionTable.
List of PartitionTable.
List of PartitionTable.
List of PartitionTable.
List of PartitionType.
List of PartitionType.
List of PartitionType.
List of PartitionType.
List of PartitionType.
List of PartitionType.
List of PartitionType.
List of PartitionType.
List of PartitionType.
List of PartitionType.
List of PartitionType.
List of PartitionType.
List of PartitionType.
List of ProtocolKind.
List of ProtocolKind.
List of ProtocolKind.
List of Target.
List of Target.
List of Target.
List of Templating.
List of Templating.
List of TemplatingInfo.
List of TemplatingInfo.
List of UserOpEnum.
List of UserOpEnum.
List of UserOpEnum.
List of UserOpEnum.
List of UserOpEnum.
List of UserOpEnum.
List of UserOpEnum.
List of UserOpEnum.
List of UserOpEnum.
List of UserOpEnum.
List of UserOpEnum.
List of UserOpEnum.
List of UserOpEnum.
List of UserOpEnum.
List of UserOpEnum.
List of UserOpEnum.
List of UserOpEnum.
List of UserOpEnum.
List of UserOpEnum.
List of UserOpEnum.
List of UserOpEnum.
List of UserOpEnum.
List of UserOpEnum.
List of UserOpEnum.
List of VaStateEnum.
List of VaStateEnum.
List of VaStateEnum.
List of VaStateEnum.
List of VaStateEnum.
List of VaStateEnum.
List of VaStateEnum.
List of VaStateEnum.
List of VolumeState.
List of VolumeState.
List of VolumeState.
List of VolumeState.
List of VolumeState.
List of VolumeState.
List of VolumeState.
List of VolumeStatus.
List of VolumeStatus.
List of VolumeStatus.
List of VolumeSubState.
List of VolumeSubState.
List of VolumeSubState.

# Variables

ContextAccessToken takes a string oauth2 access token as authentication for the request.
ContextAPIKey takes an APIKey as authentication for the request.
ContextBasicAuth takes BasicAuth as authentication for the request.
ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.

# Structs

AddVolume struct for AddVolume.
Allocation allocation of servers for each PCE service.
AllocationApiGetBySiteOpts Optional parameters for the method 'GetBySite'.
AllocationApiStorageGetBySiteOpts Optional parameters for the method 'StorageGetBySite'.
AllocationStorage Allocation of storage for each PCE service.
APIClient manages communication with the HPE GreenLake for bare metal API API vv1 In most cases there should be only one, shared, APIClient.
APIKey provides API key based authentication to a request passed via context using ContextAPIKey.
APIResponse stores the API response returned by the server.
AttributeRule Describes a machine classifier attribute rule.
AvailableImage Entry describing an available imaging service.
AvailableNetwork Entry of a network available within a data center location.
AvailableResources struct for AvailableResources.
AvailableResourcesApiListOpts Optional parameters for the method 'List'.
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth.
Configuration stores the configuration of the API client.
DiskPartitions Disk partition to be created on the host.
ErrorResponse struct for ErrorResponse.
FileInfo Information about the file associated with the OS service image.
FlavorDesc Describes the details of machine size or volume flavor.
GenericOpenAPIError Provides access to the body, error and model on returned errors.
Host struct for Host.
HostAlertInfo struct for HostAlertInfo.
HostAllOf struct for HostAllOf.
HostConnection struct for HostConnection.
HostIscsiConfig struct for HostIscsiConfig.
HostNetworkConnection struct for HostNetworkConnection.
HostsApiAddOpts Optional parameters for the method 'Add'.
HostsApiBootHDDOpts Optional parameters for the method 'BootHDD'.
HostsApiBootPXEOpts Optional parameters for the method 'BootPXE'.
HostsApiDeleteOpts Optional parameters for the method 'Delete'.
HostsApiGetByIDOpts Optional parameters for the method 'GetByID'.
HostsApiListOpts Optional parameters for the method 'List'.
HostsApiMaintenanceOpts Optional parameters for the method 'Maintenance'.
HostsApiPowerOffOpts Optional parameters for the method 'PowerOff'.
HostsApiPowerOnOpts Optional parameters for the method 'PowerOn'.
HostsApiPowerResetOpts Optional parameters for the method 'PowerReset'.
HostsApiReimageOpts Optional parameters for the method 'Reimage'.
HostsApiReplaceOpts Optional parameters for the method 'Replace'.
HostsApiUpdateOpts Optional parameters for the method 'Update'.
HostServerPort struct for HostServerPort.
IpAllocation struct for IpAllocation.
IpPool struct for IpPool.
IpPoolAllOf struct for IpPoolAllOf.
IppoolsApiAllocateIPsOpts Optional parameters for the method 'AllocateIPs'.
IppoolsApiGetByIDOpts Optional parameters for the method 'GetByID'.
IppoolsApiListOpts Optional parameters for the method 'List'.
IppoolsApiReturnIPsOpts Optional parameters for the method 'ReturnIPs'.
IppoolsApiUpdateOpts Optional parameters for the method 'Update'.
IpPoolStats struct for IpPoolStats.
IpRange struct for IpRange.
IpSource struct for IpSource.
IscsiParameters struct for IscsiParameters.
Limits struct for Limits.
LocationInfo Entry on data center with its location ID and country, region, and data center description strings.
MachineClassifier Describes a classifier via a list of rules.
MachineClassifierRule Describes a machine classifier rule in form of attribute and subattributes rule.
MachineInventory An entry describing the number of machines of a particular machine size at a specific location.
MachineSize Description of a specific machine size offering.
MachineSizeInfo struct for MachineSizeInfo.
MultiPartFile An machine OS service image file.
Network struct for Network.
NetworkAllOf struct for NetworkAllOf.
NetworksApiAddOpts Optional parameters for the method 'Add'.
NetworksApiDeleteOpts Optional parameters for the method 'Delete'.
NetworksApiGetByIDOpts Optional parameters for the method 'GetByID'.
NetworksApiListOpts Optional parameters for the method 'List'.
NetworksApiUpdateOpts Optional parameters for the method 'Update'.
NewHost struct for NewHost.
NewIpPool struct for NewIpPool.
NewNetwork struct for NewNetwork.
NewProject struct for NewProject.
NewSshKey struct for NewSshKey.
NewVolume struct for NewVolume.
NewVolumeAttachment struct for NewVolumeAttachment.
OpArg User operation argument.
OsServiceImage struct for OsServiceImage.
OsServiceImageAllOf struct for OsServiceImageAllOf.
Partition It describes a disk partition.
PartitionFormula It provide partition size information.
PassedInfo Defines embedded contents to be attached to this OS service image if from files.
Pool struct for Pool.
Profile struct for Profile.
Project struct for Project.
ProjectAllOf struct for ProjectAllOf.
ProjectInfo struct for ProjectInfo.
ProjectResources struct for ProjectResources.
ProjectsApiAddOpts Optional parameters for the method 'Add'.
ProjectsApiDeleteOpts Optional parameters for the method 'Delete'.
ProjectsApiGetByIDOpts Optional parameters for the method 'GetByID'.
ProjectsApiListOpts Optional parameters for the method 'List'.
ProjectsApiUpdateOpts Optional parameters for the method 'Update'.
ProjectsInfo struct for ProjectsInfo.
ProjectsInfoApiListOpts Optional parameters for the method 'List'.
ProtocolParameters struct for ProtocolParameters.
ResourceBase struct for ResourceBase.
ServerConfiguration stores the information about a server.
ServerVariable stores the information about a server variable.
ServicesApiAddOpts Optional parameters for the method 'Add'.
ServicesApiDeleteOpts Optional parameters for the method 'Delete'.
ServicesApiGetByIDOpts Optional parameters for the method 'GetByID'.
ServicesApiListOpts Optional parameters for the method 'List'.
ServicesApiUpdateOpts Optional parameters for the method 'Update'.
ServiceServerInfo Server allocation information for a service type.
ServiceStorageInfo Storage allocation information for service type.
SshKey struct for SshKey.
SshKeyAllOf struct for SshKeyAllOf.
SshKeyEntry An entry listing an SSH key that is available for use when creating HostState.
SshkeysApiAddOpts Optional parameters for the method 'Add'.
SshkeysApiDeleteOpts Optional parameters for the method 'Delete'.
SshkeysApiGetByIDOpts Optional parameters for the method 'GetByID'.
SshkeysApiListOpts Optional parameters for the method 'List'.
SshkeysApiUpdateOpts Optional parameters for the method 'Update'.
StorageInventory An entry describing the amount of storage available to create volumes of a specific flavor.
StoragePool An entry describing a storage pool.
SummaryInfo struct for SummaryInfo.
UpdateHost struct for UpdateHost.
UpdateHostAllOf struct for UpdateHostAllOf.
UpdateHostIscsiConfig struct for UpdateHostIscsiConfig.
UpdateIpPool struct for UpdateIpPool.
UpdateIpPoolAllOf struct for UpdateIpPoolAllOf.
UpdateLimits struct for UpdateLimits.
UpdateNetwork struct for UpdateNetwork.
UpdateNetworkAllOf struct for UpdateNetworkAllOf.
UpdateProfile struct for UpdateProfile.
UpdateProject struct for UpdateProject.
UpdateProjectAllOf struct for UpdateProjectAllOf.
UpdateResourceBase struct for UpdateResourceBase.
UpdateSshKey struct for UpdateSshKey.
UpdateVolume struct for UpdateVolume.
UpdateVolumeAllOf struct for UpdateVolumeAllOf.
UserDefinedSteps Indicates custom operations to be executed within the host life cycle.
UseRecord struct for UseRecord.
UserOp Describes a user operation.
VafsConfig struct for VafsConfig.
Version struct for Version.
Volume struct for Volume.
VolumeAllOf struct for VolumeAllOf.
VolumeAttachHostUuid struct for VolumeAttachHostUuid.
VolumeAttachment struct for VolumeAttachment.
VolumeAttachmentAllOf struct for VolumeAttachmentAllOf.
VolumeAttachmentsApiAddOpts Optional parameters for the method 'Add'.
VolumeAttachmentsApiDeleteOpts Optional parameters for the method 'Delete'.
VolumeAttachmentsApiGetByIDOpts Optional parameters for the method 'GetByID'.
VolumeAttachmentsApiListOpts Optional parameters for the method 'List'.
VolumeCollection Volume collection within a data center location.
VolumeFlavor Description of a specific volume flavor offering.
VolumeFlavorsInfo struct for VolumeFlavorsInfo.
VolumeInfo Description of the details about a pre-existing volume.
VolumesApiAddOpts Optional parameters for the method 'Add'.
VolumesApiAttachOpts Optional parameters for the method 'Attach'.
VolumesApiDeleteOpts Optional parameters for the method 'Delete'.
VolumesApiDetachOpts Optional parameters for the method 'Detach'.
VolumesApiGetByIDOpts Optional parameters for the method 'GetByID'.
VolumesApiListOpts Optional parameters for the method 'List'.
VolumesApiUpdateOpts Optional parameters for the method 'Update'.

# Interfaces

AllocationAPI defines the client functions provided for Allocation.
AvailableResourcesAPI defines the client functions provided for AvailableResources.
HostsAPI defines the client functions provided for Hosts.
IPPoolsAPI defines the client functions provided for Ippools.
NetworksAPI defines the client functions provided for Networks.
ProjectsAPI defines the client functions provided for Projects.
ProjectsInfoAPI defines the client functions provided for ProjectsInfo.
ServicesAPI defines the client functions provided for Services.
SshkeysAPI defines the client functions provided for Sshkeys.
VersionAPI defines the client functions provided for Version.
VolumeAttachmentsAPI defines the client functions provided for VolumeAttachments.
VolumesAPI defines the client functions provided for Volumes.

# Type aliases

Algorithm The algorithm used to generate the Image Signature.
AllocationApiService AllocationApi service.
AvailableResourcesApiService AvailableResourcesApi service.
BondMode Specifies the policy indicating how bonding slaves are used during network transmission.
BootMethod Indicates how the service expects the machine to be booted.
ClassifierOperator The operator used for comparison.
Country the model 'Country'.
Encoding Describes how a file's contents may be encoded.
HealthStatus the model 'HealthStatus'.
HostPowerState Current power status of the underlaying physical server (machine).
HostsApiService HostsApi service.
HostState Overall host state.
HostSubstate Host substate within HostState.
IppoolsApiService IppoolsApi service.
IpVer Describes the IP version .
Netmask the model 'Netmask'.
NetworkHostUse Indicates whether use of the network is required, default, or optional.
NetworkPurpose Indicates the purpose of the network.
NetworksApiService NetworksApi service.
OpArgType Defines allowed types for an operation argument.
OsServiceImageApproach Indicates how the service image is installed.
OsServiceImageOrigin Indicates the origin of the OS service image.
PartitionTable Defines the type of partition table.
PartitionType It defines the available partition types.
ProjectsApiService ProjectsApi service.
ProjectsInfoApiService ProjectsInfoApi service.
ProtocolKind The protocol to be used to attach the volume.
ServicesApiService ServicesApi service.
SshkeysApiService SshkeysApi service.
Target Indicates where the passed info is expected to land once converted to a file when combined with path.
Templating Indicates whether templating is used in contents.
TemplatingInfo It defines the source object and schema used as input to the template.
UserOpEnum Defines user operation for a machine.
VaStateEnum Current volume attachment state expressed as a string enum value (new, exporting, attaching, ready, detaching, unexporting, deleted, failed).
VersionApiService VersionApi service.
VolumeAttachmentsApiService VolumeAttachmentsApi service.
VolumesApiService VolumesApi service.
VolumeState Current volume state expressed as a string enum value (new, allocating, allocated, visible, deleting, deleted, failed).
VolumeStatus Current volume status expressed as a string enum values (ok, error, degraded).
VolumeSubState Current update state of volume expressed as a string enum value (idle, update-requested, updating).