HyperstackApi - JavaScript client for @nexgencloud/hyperstack-sdk-javascript Leverage the Infrahub API and Hyperstack platform to easily create, manage, and scale powerful GPU virtual machines and their associated resources.
Access this SDK to automate the deployment of your workloads and streamline your infrastructure management.
To contribute, please raise an issue with a bug report, feature request, feedback, or general inquiry. This SDK is automatically generated by the OpenAPI Generator project:
- API version: 1.0
- Package version: v1.41.0-alpha
- Generator version: 7.10.0
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
For Node.js
To publish the library as a npm, please follow the procedure in "Publishing npm packages".
Then install it via:
npm install @nexgencloud/hyperstack-sdk-javascript --save
Finally, you need to build the module:
npm run build
To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing package.json
(and this README). Let's call this JAVASCRIPT_CLIENT_DIR
. Then run:
npm install
Next, link it globally in npm with the following, also from JAVASCRIPT_CLIENT_DIR
:
npm link
To use the link you just defined in your project, switch to the directory you want to use your @nexgencloud/hyperstack-sdk-javascript from, and run:
npm link /path/to/<JAVASCRIPT_CLIENT_DIR>
Finally, you need to build the module:
npm run build
If the library is hosted at a git repository, e.g.https://github.com/NexGenCloud/hyperstack-sdk-javascript then install it via:
npm install NexGenCloud/hyperstack-sdk-javascript --save
The library also works in the browser environment via npm and browserify. After following
the above steps with Node.js and installing browserify with npm install -g browserify
,
perform the following (assuming main.js is your entry file):
browserify main.js > bundle.js
Then include bundle.js in the HTML pages.
Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:
module: {
rules: [
{
parser: {
amd: false
}
}
]
}
Please follow the installation instruction and execute the following JS code:
var HyperstackApi = require('@nexgencloud/hyperstack-sdk-javascript');
var defaultClient = HyperstackApi.ApiClient.instance;
// Configure API key authorization: apiKey
var apiKey = defaultClient.authentications['apiKey'];
apiKey.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.apiKeyPrefix['api_key'] = "Token"
var api = new HyperstackApi.AliveApi()
api.getAlive().then(function() {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});
All URIs are relative to https://infrahub-api.nexgencloud.com/v1
Class | Method | HTTP request | Description |
---|---|---|---|
HyperstackApi.AliveApi | getAlive | GET /billing/alive | GET: Alive |
HyperstackApi.AliveApi | getDoc | GET /billing/alive/doc | |
HyperstackApi.ApiKeyApi | deleteAPIKey | DELETE /api-key/{api_key_id} | Delete API Key |
HyperstackApi.ApiKeyApi | generateAPIKey | POST /api-key/generate | Generate API Key |
HyperstackApi.ApiKeyApi | retrieveAPIKey | GET /api-key | Retrieve API Keys |
HyperstackApi.ApiKeyApi | updateAPIKey | PUT /api-key/{api_key_id} | Update API Key |
HyperstackApi.AssigningMemberRoleApi | assignRBACRoleToUser | PUT /auth/users/{user_id}/assign-roles | Assign RBAC Role |
HyperstackApi.AssigningMemberRoleApi | removeRBACRoleFromUser | DELETE /auth/users/{user_id}/roles | Remove RBAC Role From User |
HyperstackApi.AuthApi | changeOrganizationForToken | GET /auth/token/change-org/{org_id} | |
HyperstackApi.AuthApi | disableMFA | GET /auth/me/mfa/disable | |
HyperstackApi.AuthApi | getUserMFAStatus | GET /auth/me/mfa | Get MFA status for authenticated user |
HyperstackApi.AuthApi | getUserOrganizations | GET /auth/me/organizations | Get User Organizations |
HyperstackApi.AuthApi | retrieveAuthenticatedUserDetails | GET /auth/me | Retrieve Authenticated User Details |
HyperstackApi.BetaAccessApi | createABetaAccessRequest | POST /auth/beta-access/requests | Create a new beta access request |
HyperstackApi.BetaAccessApi | getBetaAccessStatus | GET /auth/beta-access/requests | Check the status of all beta access requests |
HyperstackApi.BetaAccessApi | getBetaAccessStatus2 | GET /auth/beta-access/requests/{program} | Check the status of beta access requests |
HyperstackApi.BillingApi | getLastDayCost | GET /billing/billing/last-day-cost | GET: Last Day Cost |
HyperstackApi.BillingApi | getOrganizationThreshold | GET /billing/billing/threshold | GET: All Thresholds for Organization |
HyperstackApi.BillingApi | getUsage2 | GET /billing/billing/usage | GET: Billing usage |
HyperstackApi.BillingApi | getUserBillingBucketDetailsGraph | GET /billing/billing/history/bucket/{bucket_id}/graph | Retrieve hourly cost datapoints of a Specific Bucket for a specific billing cycle |
HyperstackApi.BillingApi | getUserBillingClusterDetailsGraph | GET /billing/billing/history/cluster/{cluster_id}/graph | Retrieve hourly cost datapoints of a specific Cluster for a specific billing cycle |
HyperstackApi.BillingApi | getUserBillingDataSynthesisDetailsGraph | GET /billing/billing/history/data_synthesis/{resource_id}/graph | Retrieve hourly cost datapoints of a Specific Data Synthesis for a specific |
HyperstackApi.BillingApi | getUserBillingFineTuningDetailsGraph | GET /billing/billing/history/fine_tuning/{resource_id}/graph | Retrieve hourly cost datapoints of a Specific Fine Tuning for a specific billing cycle |
HyperstackApi.BillingApi | getUserBillingHistory2 | GET /billing/billing/history | Retrieve Billing History for a specific Billing Cycle |
HyperstackApi.BillingApi | getUserBillingHistoryBucket2 | GET /billing/billing/history/bucket | Retrieve Billing History of Volume for a specific Billing Cycle |
HyperstackApi.BillingApi | getUserBillingHistoryBucketDetails | GET /billing/billing/history/bucket/{bucket_id} | Retrieve Billing History of a Specific Snapshot for a specific Billing Cycle |
HyperstackApi.BillingApi | getUserBillingHistoryCluster | GET /billing/billing/history/cluster | Retrieve Billing History of Clusters for a specific Billing Cycle |
HyperstackApi.BillingApi | getUserBillingHistoryClusterDetails | GET /billing/billing/history/cluster/{cluster_id} | Retrieve Billing History of a Specific Cluster for a specific Billing Cycle |
HyperstackApi.BillingApi | getUserBillingHistoryContract | GET /billing/billing/history/contract | Retrieve Billing History of Contract for a specific Billing Cycle |
HyperstackApi.BillingApi | getUserBillingHistoryDataSynthesis | GET /billing/billing/history/data_synthesis | Retrieve Billing History of data synthesis for a specific Billing Cycle |
HyperstackApi.BillingApi | getUserBillingHistoryDataSynthesisDetails | GET /billing/billing/history/data_synthesis/{resource_id} | |
HyperstackApi.BillingApi | getUserBillingHistoryFineTuning | GET /billing/billing/history/fine_tuning | Retrieve Billing History of model evaluation for a specific Billing Cycle |
HyperstackApi.BillingApi | getUserBillingHistoryFineTuningDetails | GET /billing/billing/history/fine_tuning/{resource_id} | Retrieve Billing History of a Specific Fine Tuning for a specific Billing Cycle |
HyperstackApi.BillingApi | getUserBillingHistoryModelEvaluation | GET /billing/billing/history/model_evaluation | Retrieve Billing History of model evaluation for a specific Billing Cycle |
HyperstackApi.BillingApi | getUserBillingHistoryModelEvaluationDetails | GET /billing/billing/history/model_evaluation/{resource_id} | |
HyperstackApi.BillingApi | getUserBillingHistoryServerlessInference | GET /billing/billing/history/serverless_inference | Retrieve Billing History of serverless inference for a specific Billing Cycle |
HyperstackApi.BillingApi | getUserBillingHistoryServerlessInferenceDetails | GET /billing/billing/history/serverless_inference/{resource_id} | |
HyperstackApi.BillingApi | getUserBillingHistorySnapshot | GET /billing/billing/history/snapshot | Retrieve Billing History of Snapshot for a specific Billing Cycle |
HyperstackApi.BillingApi | getUserBillingHistorySnapshotDetails | GET /billing/billing/history/snapshot/{snapshot_id} | Retrieve Billing History of a Specific Snapshot for a specific Billing Cycle |
HyperstackApi.BillingApi | getUserBillingHistoryVm2 | GET /billing/billing/history/virtual-machine | Retrieve Billing History of Virtual Machine for a specific Billing Cycle |
HyperstackApi.BillingApi | getUserBillingHistoryVmDetails2 | GET /billing/billing/history/virtual-machine/{vm_id} | Retrieve Billing History of a Specific Virtual Machine for a specific Billing Cycle |
HyperstackApi.BillingApi | getUserBillingHistoryVmSubResourceGraph2 | GET /billing/billing/virtual-machine/{vm_id}/sub-resource/graph | Retrieve Sub-Resources Historical Cost datapoints of a Virtual |
HyperstackApi.BillingApi | getUserBillingHistoryVmTotalCosts | GET /billing/billing/virtual-machine/{vm_id}/sub-resource | Retrieve Total Costs and Non Discount Costs for Sub Resources |
HyperstackApi.BillingApi | getUserBillingHistoryVolume2 | GET /billing/billing/history/volume | Retrieve Billing History of Volume for a specific Billing Cycle |
HyperstackApi.BillingApi | getUserBillingHistoryVolumeDetails2 | GET /billing/billing/history/volume/{volume_id} | Retrieve Billing History of a Specific Volume for a specific Billing Cycle |
HyperstackApi.BillingApi | getUserBillingModelEvaluationDetailsGraph | GET /billing/billing/history/model_evaluation/{resource_id}/graph | Retrieve hourly cost datapoints of a Specific Model Evaluation for a specific |
HyperstackApi.BillingApi | getUserBillingServerlessInferenceDetailsGraph | GET /billing/billing/history/serverless_inference/{resource_id}/graph | Retrieve hourly cost datapoints of a Specific Serverless Inference for a specific |
HyperstackApi.BillingApi | getUserBillingSnapshotDetailsGraph | GET /billing/billing/history/snapshot/{snapshot_id}/graph | Retrieve hourly cost datapoints of a Specific Snapshot for a specific billing cycle |
HyperstackApi.BillingApi | getUserBillingVmDetailsGraph2 | GET /billing/billing/history/virtual-machine/{vm_id}/graph | Retrieve hourly cost datapoints of a Specific Virtual Machine for a specific billing cycle |
HyperstackApi.BillingApi | getUserBillingVolumeDetailsGraph | GET /billing/billing/history/volume/{volume_id}/graph | Retrieve hourly cost datapoints of a Specific Volume for a specific billing cycle |
HyperstackApi.BillingApi | getUserVmBillingEvents | GET /billing/billing/virtual-machine/{vm_id}/billing-events | Retrieve VM billing events history |
HyperstackApi.BillingApi | getUserVolumeBillingEvents | GET /billing/billing/volume/{volume_id}/billing-events | Retrieve Volume billing events history |
HyperstackApi.BillingApi | putOrganizationThreshold | PUT /billing/billing/threshold/{threshold_id} | Update: Subscribe or Unsubscribe Notification Threshold |
HyperstackApi.CalculateApi | getCalculate2 | GET /pricebook/calculate/resource/{resource_type}/{id} | Retrieve Billing Rate for Resource |
HyperstackApi.CallbacksApi | attachCallbackToVirtualMachine | POST /core/virtual-machines/{vm_id}/attach-callback | Attach callback to virtual machine |
HyperstackApi.CallbacksApi | attachCallbackToVolume | POST /core/volumes/{volume_id}/attach-callback | Attach callback to volume |
HyperstackApi.CallbacksApi | deleteVirtualMachineCallback | DELETE /core/virtual-machines/{vm_id}/delete-callback | Delete virtual machine callback |
HyperstackApi.CallbacksApi | deleteVolumeCallback | DELETE /core/volumes/{volume_id}/delete-callback | Delete volume callback |
HyperstackApi.CallbacksApi | updateVirtualMachineCallback | PUT /core/virtual-machines/{vm_id}/update-callback | Update virtual machine callback |
HyperstackApi.CallbacksApi | updateVolumeCallback | PUT /core/volumes/{volume_id}/update-callback | Update volume callback |
HyperstackApi.ClusterEventsApi | fetchAllOfAClusterEvents | GET /core/clusters/{cluster_id}/events | Fetch all of a cluster events |
HyperstackApi.ClustersApi | createCluster | POST /core/clusters | Create Cluster |
HyperstackApi.ClustersApi | createNode | POST /core/clusters/{cluster_id}/nodes | Create Node |
HyperstackApi.ClustersApi | createNodeGroup | POST /core/clusters/{cluster_id}/node-groups | Create a node group in a cluster |
HyperstackApi.ClustersApi | deleteACluster | DELETE /core/clusters/{id} | Delete a cluster |
HyperstackApi.ClustersApi | deleteANodeGroup | DELETE /core/clusters/{cluster_id}/node-groups/{node_group_id} | Delete a node group |
HyperstackApi.ClustersApi | deleteClusterNode | DELETE /core/clusters/{cluster_id}/nodes/{node_id} | Delete Cluster Node |
HyperstackApi.ClustersApi | fetchClusterNameAvailability | GET /core/clusters/name-availability/{name} | Fetch cluster name availability |
HyperstackApi.ClustersApi | getClusterMasterFlavors | GET /core/clusters/master-flavors | Get Cluster Master Flavors |
HyperstackApi.ClustersApi | getClusterNodes | GET /core/clusters/{cluster_id}/nodes | Get Cluster Nodes |
HyperstackApi.ClustersApi | getClusterVersions | GET /core/clusters/versions | List Cluster Versions |
HyperstackApi.ClustersApi | gettingClusterDetail | GET /core/clusters/{id} | Getting Cluster Detail |
HyperstackApi.ClustersApi | listClusters | GET /core/clusters | List Clusters |
HyperstackApi.ClustersApi | listNodeGroups | GET /core/clusters/{cluster_id}/node-groups | List node groups for a cluster |
HyperstackApi.ClustersApi | retrieveANodeGroup | GET /core/clusters/{cluster_id}/node-groups/{node_group_id} | Retrieve a node group in a cluster |
HyperstackApi.ComplianceApi | createCompliance | POST /core/compliance | Create compliance |
HyperstackApi.ComplianceApi | deleteACompliance | DELETE /core/compliance/{gpu_model} | Delete a compliance |
HyperstackApi.ComplianceApi | retrieveCompliance | GET /core/compliance | Retrieve GPU compliance |
HyperstackApi.ComplianceApi | updateACompliance | PUT /core/compliance | Update a compliance |
HyperstackApi.CreditApi | getCredit2 | GET /billing/user-credit/credit | GET: View credit and threshold |
HyperstackApi.CustomerContractApi | getCustomerContract | GET /pricebook/contracts | List Contracts |
HyperstackApi.CustomerContractApi | getCustomerContractDetails | GET /pricebook/contracts/{contract_id} | Retrieve Contract Details |
HyperstackApi.CustomerContractApi | getCustomerContractGpuAllocationGraph | GET /pricebook/contracts/{contract_id}/gpu_allocation_graph | Retrieve GPU Allocation Graph for Contract |
HyperstackApi.DashboardApi | retrieveDashboard | GET /core/dashboard | Retrieve Dashboard |
HyperstackApi.DeploymentApi | deleteDeployment | DELETE /core/marketplace/deployments/{id} | Delete Deployment |
HyperstackApi.DeploymentApi | detailsOfDeploymentByID | GET /core/marketplace/deployments/{id} | Details of Deployment by ID |
HyperstackApi.DeploymentApi | listDeployments | GET /core/marketplace/deployments | List Deployments |
HyperstackApi.DeploymentApi | startDeployment | POST /core/marketplace/deployments | Start Deployment |
HyperstackApi.EnvironmentApi | createEnvironment | POST /core/environments | Create environment |
HyperstackApi.EnvironmentApi | deleteEnvironment | DELETE /core/environments/{id} | Delete environment |
HyperstackApi.EnvironmentApi | fetchEnvironmentNameAvailability | GET /core/environments/name-availability/{name} | Fetch environment name availability |
HyperstackApi.EnvironmentApi | listEnvironments | GET /core/environments | List environments |
HyperstackApi.EnvironmentApi | retrieveEnvironment | GET /core/environments/{id} | Retrieve environment |
HyperstackApi.EnvironmentApi | updateEnvironment | PUT /core/environments/{id} | Update environment |
HyperstackApi.FirewallAttachmentApi | postAttachSecurityGroups | POST /core/firewalls/{firewall_id}/update-attachments | Attach Firewalls to VMs |
HyperstackApi.FirewallsApi | deleteSecurityGroupDetails | DELETE /core/firewalls/{id} | Delete firewall |
HyperstackApi.FirewallsApi | deleteSecurityGroupRuleDelete | DELETE /core/firewalls/{firewall_id}/firewall-rules/{firewall_rule_id} | Delete firewall rules from firewall |
HyperstackApi.FirewallsApi | getSecurityGroup | GET /core/firewalls | List firewalls |
HyperstackApi.FirewallsApi | getSecurityGroupDetails | GET /core/firewalls/{id} | Retrieve firewall details |
HyperstackApi.FirewallsApi | postSecurityGroup | POST /core/firewalls | Create firewall |
HyperstackApi.FirewallsApi | postSecurityGroupRules | POST /core/firewalls/{firewall_id}/firewall-rules | Add firewall rule to firewall |
HyperstackApi.FlavorApi | listFlavors | GET /core/flavors | List Flavors |
HyperstackApi.FloatingIpApi | attachPublicIPToVirtualMachine | POST /core/virtual-machines/{vm_id}/attach-floatingip | Attach public IP to virtual machine |
HyperstackApi.FloatingIpApi | detachPublicIPFromVirtualMachine | POST /core/virtual-machines/{vm_id}/detach-floatingip | Detach public IP from virtual machine |
HyperstackApi.GpuApi | listGPUs | GET /core/gpus | List GPUs |
HyperstackApi.ImageApi | deleteImage | DELETE /core/images/{id} | Delete an image |
HyperstackApi.ImageApi | fetchImageNameAvailability | GET /core/image/name-availability/{name} | Fetch name availability for Images |
HyperstackApi.ImageApi | getImageDetails | GET /core/images/{id} | Get Private Image Details |
HyperstackApi.ImageApi | listImages2 | GET /core/images | List Images |
HyperstackApi.InviteApi | acceptInvite | GET /auth/invites/{id}/accept | Accept Invite |
HyperstackApi.InviteApi | deleteInvite | DELETE /auth/invites/{id} | Accept Invite |
HyperstackApi.InviteApi | inviteUserToOrganization | POST /auth/invites | Invite User to Organization |
HyperstackApi.InviteApi | listInvites | GET /auth/invites | List Invites |
HyperstackApi.KeypairApi | deleteKeyPair | DELETE /core/keypair/{id} | Delete key pair |
HyperstackApi.KeypairApi | importKeyPair | POST /core/keypairs | Import key pair |
HyperstackApi.KeypairApi | listKeyPairs | GET /core/keypairs | List key pairs |
HyperstackApi.KeypairApi | updateKeyPairName | PUT /core/keypair/{id} | Update key pair name |
HyperstackApi.OrganizationApi | removeOrganizationMember | POST /auth/organizations/remove-member | Remove Organization Member |
HyperstackApi.OrganizationApi | retrieveOrganizationInformation | GET /auth/organizations | Retrieve Organization Information |
HyperstackApi.OrganizationApi | updateOrganizationInformation | PUT /auth/organizations/update | Update Organization Information |
HyperstackApi.PartnerConfigApi | getPartnerConfig | GET /auth/partner-config | Get partner config |
HyperstackApi.PartnerConfigApi | getPartnerConfigByDomain | GET /auth/partner-config/docs | |
HyperstackApi.PaymentApi | getDetails | GET /billing/payment/payment-details | GET: View payment details |
HyperstackApi.PaymentApi | getPaymentReceipt2 | GET /billing/payment/receipt/{payment_id} | Retrieve Payment Receipt |
HyperstackApi.PaymentApi | postPayment | POST /billing/payment/payment-initiate | POST: Initiate payment |
HyperstackApi.PermissionApi | listPermissions | GET /auth/permissions | List Permissions |
HyperstackApi.PolicyApi | listPolicies | GET /auth/policies | List Policies |
HyperstackApi.PricebookApi | getPricebook | GET /pricebook | |
HyperstackApi.ProfileApi | createProfile | POST /core/profiles | Create profile |
HyperstackApi.ProfileApi | deleteProfile | DELETE /core/profiles/{id} | Delete profile |
HyperstackApi.ProfileApi | listProfiles | GET /core/profiles | List profiles |
HyperstackApi.ProfileApi | retrieveProfileDetails | GET /core/profiles/{id} | Retrieve profile details |
HyperstackApi.RbacRoleApi | createRBACRole | POST /auth/roles | Create RBAC Role |
HyperstackApi.RbacRoleApi | deleteRBACRole | DELETE /auth/roles/{id} | Delete RBAC Role |
HyperstackApi.RbacRoleApi | listRBACRoles | GET /auth/roles | List RBAC Roles |
HyperstackApi.RbacRoleApi | retrieveRBACRoleDetails | GET /auth/roles/{id} | Retrieve RBAC Role Details |
HyperstackApi.RbacRoleApi | updateRBACRole | PUT /auth/roles/{id} | Update RBAC Role |
HyperstackApi.RegionApi | listRegions | GET /core/regions | List Regions |
HyperstackApi.SecurityRulesApi | listFirewallRuleProtocols | GET /core/sg-rules-protocols | List firewall rule protocols |
HyperstackApi.SnapshotEventsApi | fetchAllEventsForASnapshot | GET /core/snapshots/{snapshot_id}/events | Fetch all events for a snapshot |
HyperstackApi.SnapshotsApi | createANewCustomImage | POST /core/snapshots/{snapshot_id}/image | Create an image from a snapshot |
HyperstackApi.SnapshotsApi | deleteSnapshot | DELETE /core/snapshots/{id} | Delete snapshot |
HyperstackApi.SnapshotsApi | fetchSnapshotNameAvailability | GET /core/snapshots/name-availability/{name} | Fetch snapshot name availability |
HyperstackApi.SnapshotsApi | getSnapshot | GET /core/snapshots/{id} | Retrieve a snapshot |
HyperstackApi.SnapshotsApi | getSnapshots | GET /core/snapshots | Retrieve list of snapshots with pagination |
HyperstackApi.SnapshotsApi | postSnapshotRestore | POST /core/snapshots/{id}/restore | Restore a snapshot |
HyperstackApi.StockApi | retrieveGPUStocks | GET /core/stocks | Retrieve GPU stocks |
HyperstackApi.TemplateApi | createTemplate | POST /core/marketplace/templates | Create template |
HyperstackApi.TemplateApi | deleteTemplate | DELETE /core/marketplace/templates/{id} | Delete template |
HyperstackApi.TemplateApi | listTemplates | GET /core/marketplace/templates | List templates |
HyperstackApi.TemplateApi | retrieveTemplateDetails | GET /core/marketplace/templates/{id} | Retrieve template details |
HyperstackApi.TemplateApi | updateTemplate | PUT /core/marketplace/templates/{id} | Update template |
HyperstackApi.UserApi | getUser | GET /billing/user/info | GET: Retrieve billing info |
HyperstackApi.UserApi | postUser | POST /billing/user/info | POST: Insert billing info |
HyperstackApi.UserApi | putUser | PUT /billing/user/info | PUT: Update billing info |
HyperstackApi.UserDetailChoiceApi | retrieveDefaultFlavorsAndImages | GET /core/user/resources/defaults | Retrieve Default Flavors and Images |
HyperstackApi.UserPermissionApi | listMyUserPermissions | GET /auth/users/me/permissions | List My User Permissions |
HyperstackApi.UserPermissionApi | listUserPermissions | GET /auth/users/{id}/permissions | List User Permissions |
HyperstackApi.VirtualMachineApi | deleteInstance | DELETE /core/virtual-machines/{vm_id} | Delete virtual machine |
HyperstackApi.VirtualMachineApi | deleteSecurityRule | DELETE /core/virtual-machines/{vm_id}/sg-rules/{sg_rule_id} | Delete firewall rule from virtual machine |
HyperstackApi.VirtualMachineApi | fetchVirtualMachineNameAvailability | GET /core/virtual-machines/name-availability/{name} | Fetch virtual machine name availability |
HyperstackApi.VirtualMachineApi | getContractInstances | GET /core/virtual-machines/contract/{contract_id}/virtual-machines | Retrieve virtual machines associated with a contract |
HyperstackApi.VirtualMachineApi | getInstance | GET /core/virtual-machines | List virtual machines |
HyperstackApi.VirtualMachineApi | getInstance2 | GET /core/virtual-machines/{vm_id} | Retrieve virtual machine details |
HyperstackApi.VirtualMachineApi | getInstance3 | GET /core/virtual-machines/{vm_id}/hard-reboot | Hard reboot virtual machine |
HyperstackApi.VirtualMachineApi | getInstance4 | GET /core/virtual-machines/{vm_id}/start | Start virtual machine |
HyperstackApi.VirtualMachineApi | getInstance5 | GET /core/virtual-machines/{vm_id}/stop | Stop virtual machine |
HyperstackApi.VirtualMachineApi | getInstanceHibernate | GET /core/virtual-machines/{vm_id}/hibernate | Hibernate virtual machine |
HyperstackApi.VirtualMachineApi | getInstanceHibernateRestore | GET /core/virtual-machines/{vm_id}/hibernate-restore | Restore virtual machine from hibernation |
HyperstackApi.VirtualMachineApi | getInstanceLogs | GET /core/virtual-machines/{vm_id}/logs | Get virtual machine logs |
HyperstackApi.VirtualMachineApi | getInstanceMetrics | GET /core/virtual-machines/{vm_id}/metrics | Retrieve virtual machine performance metrics |
HyperstackApi.VirtualMachineApi | postInstance | POST /core/virtual-machines | Create virtual machines |
HyperstackApi.VirtualMachineApi | postInstanceAttachFirewalls | POST /core/virtual-machines/{vm_id}/attach-firewalls | Attach firewalls to a virtual machine |
HyperstackApi.VirtualMachineApi | postInstanceLogs | POST /core/virtual-machines/{vm_id}/logs | Request virtual machine logs |
HyperstackApi.VirtualMachineApi | postInstanceResize | POST /core/virtual-machines/{vm_id}/resize | Resize virtual machine |
HyperstackApi.VirtualMachineApi | postSecurityRule | POST /core/virtual-machines/{vm_id}/sg-rules | Add firewall rule to virtual machine |
HyperstackApi.VirtualMachineApi | postSnapshots | POST /core/virtual-machines/{vm_id}/snapshots | Create snapshot from a virtual machine |
HyperstackApi.VirtualMachineApi | putLabels | PUT /core/virtual-machines/{vm_id}/label | Edit virtual machine labels |
HyperstackApi.VirtualMachineEventsApi | listVirtualMachineEvents | GET /core/virtual-machines/{vm_id}/events | List virtual machine events |
HyperstackApi.VncUrlApi | getVncUrl | GET /core/virtual-machines/{vm_id}/console/{job_id} | Get VNC Console Link |
HyperstackApi.VncUrlApi | getVncUrl2 | GET /core/virtual-machines/{vm_id}/request-console | Request Instance Console |
HyperstackApi.VolumeApi | createVolume | POST /core/volumes | Create volume |
HyperstackApi.VolumeApi | deleteVolume | DELETE /core/volumes/{volume_id} | Delete volume |
HyperstackApi.VolumeApi | fetchVolumeDetails | GET /core/volumes/{volume_id} | Fetch Volume Details |
HyperstackApi.VolumeApi | fetchVolumeNameAvailability | GET /core/volume/name-availability/{name} | Fetch volume name availability |
HyperstackApi.VolumeApi | listVolumeTypes | GET /core/volume-types | List volume types |
HyperstackApi.VolumeApi | listVolumes | GET /core/volumes | List volumes |
HyperstackApi.VolumeApi | updateVolume | PATCH /core/volumes/{volume_id} | Update volume fields |
HyperstackApi.VolumeAttachmentApi | attachVolumesToVirtualMachine | POST /core/virtual-machines/{vm_id}/attach-volumes | Attach volumes to virtual machine |
HyperstackApi.VolumeAttachmentApi | detachVolumesFromVirtualMachine | POST /core/virtual-machines/{vm_id}/detach-volumes | Detach volumes from virtual machine |
HyperstackApi.VolumeAttachmentApi | updateAVolumeAttachment | PATCH /core/volume-attachments/{volume_attachment_id} | Update a volume attachment |
- HyperstackApi.AccessTokenField
- HyperstackApi.AddUserInfoSuccessResponseModel
- HyperstackApi.AllocatedGPUCountGraph
- HyperstackApi.ApiKeyFields
- HyperstackApi.AssignRbacRolePayload
- HyperstackApi.AttachCallbackPayload
- HyperstackApi.AttachCallbackResponse
- HyperstackApi.AttachFirewallWithVM
- HyperstackApi.AttachFirewallsToVMPayload
- HyperstackApi.AttachVolumeFields
- HyperstackApi.AttachVolumes
- HyperstackApi.AttachVolumesPayload
- HyperstackApi.AttachmentsFieldsForVolume
- HyperstackApi.Attributes
- HyperstackApi.AuthGetTokenResponseModel
- HyperstackApi.AuthUserFields
- HyperstackApi.AuthUserInfoResponseModel
- HyperstackApi.BetaAccessRequestFields
- HyperstackApi.BetaAccessRequestPayload
- HyperstackApi.BetaAccessRequestResponseModel
- HyperstackApi.BetaAccessStatusItem
- HyperstackApi.BetaAccessStatusResponseModel
- HyperstackApi.BillingHistory
- HyperstackApi.BillingHistoryDataSynthesisDetails
- HyperstackApi.BillingHistoryFineTuning
- HyperstackApi.BillingHistoryModelEvalutationDetails
- HyperstackApi.BillingHistoryServerlessInference
- HyperstackApi.BillingHistoryServerlessInferenceDetails
- HyperstackApi.BillingMetricesFields
- HyperstackApi.BillingMetricesResponse
- HyperstackApi.ClusterEvents
- HyperstackApi.ClusterEventsFields
- HyperstackApi.ClusterFields
- HyperstackApi.ClusterFlavorFields
- HyperstackApi.ClusterListResponse
- HyperstackApi.ClusterNodeFields
- HyperstackApi.ClusterNodeGroupFields
- HyperstackApi.ClusterNodeGroupsCreateResponse
- HyperstackApi.ClusterNodeGroupsGetResponse
- HyperstackApi.ClusterNodeGroupsListResponse
- HyperstackApi.ClusterNodeInstanceFields
- HyperstackApi.ClusterNodesListResponse
- HyperstackApi.ClusterResponse
- HyperstackApi.ClusterVersion
- HyperstackApi.ClusterVersions
- HyperstackApi.Colors
- HyperstackApi.CommonResponseModel
- HyperstackApi.ComplianceFields
- HyperstackApi.ComplianceModelFields
- HyperstackApi.CompliancePayload
- HyperstackApi.ComplianceResponse
- HyperstackApi.ContainerOverviewFields
- HyperstackApi.Contract
- HyperstackApi.ContractDiscountPlanFields
- HyperstackApi.ContractGPUAllocationGraphResponse
- HyperstackApi.ContractInstanceFields
- HyperstackApi.ContractInstancesResponse
- HyperstackApi.CreateClusterNodeFields
- HyperstackApi.CreateClusterNodeGroupPayload
- HyperstackApi.CreateClusterPayload
- HyperstackApi.CreateEnvironment
- HyperstackApi.CreateFirewallPayload
- HyperstackApi.CreateFirewallRulePayload
- HyperstackApi.CreateImage
- HyperstackApi.CreateImagePayload
- HyperstackApi.CreateInstancesPayload
- HyperstackApi.CreateInstancesResponse
- HyperstackApi.CreateProfilePayload
- HyperstackApi.CreateProfileResponse
- HyperstackApi.CreateSecurityRulePayload
- HyperstackApi.CreateSnapshotPayload
- HyperstackApi.CreateSnapshotResponse
- HyperstackApi.CreateUpdateComplianceResponse
- HyperstackApi.CreateUpdateRbacRolePayload
- HyperstackApi.CreateVolumePayload
- HyperstackApi.CustomerContractDetailResponseModel
- HyperstackApi.CustomerContractFields
- HyperstackApi.DashboardInfoResponse
- HyperstackApi.DataSynthesisBillingHistoryDetailsResponseSchema
- HyperstackApi.DeploymentFields
- HyperstackApi.DeploymentFieldsForStartDeployments
- HyperstackApi.Deployments
- HyperstackApi.DetachVolumes
- HyperstackApi.DetachVolumesPayload
- HyperstackApi.EditLabelOfAnExistingVMPayload
- HyperstackApi.Environment
- HyperstackApi.EnvironmentFeatures
- HyperstackApi.EnvironmentFields
- HyperstackApi.EnvironmentFieldsForVolume
- HyperstackApi.Environments
- HyperstackApi.ErrorResponseModel
- HyperstackApi.FirewallAttachmentModel
- HyperstackApi.FirewallAttachmentVMModel
- HyperstackApi.FirewallDetailFields
- HyperstackApi.FirewallDetailResponse
- HyperstackApi.FirewallEnvironmentFields
- HyperstackApi.FirewallFields
- HyperstackApi.FirewallResponse
- HyperstackApi.FirewallRule
- HyperstackApi.FirewallsListResponse
- HyperstackApi.FlavorFields
- HyperstackApi.FlavorItemGetResponse
- HyperstackApi.FlavorLabelFields
- HyperstackApi.FlavorListResponse
- HyperstackApi.FlavorObjectFields
- HyperstackApi.GPUFields
- HyperstackApi.GPUList
- HyperstackApi.GPURegionFields
- HyperstackApi.GenerateUpdateApiKeyPayload
- HyperstackApi.GenerateUpdateApiKeyResponseModel
- HyperstackApi.GetApiKeysResponseModel
- HyperstackApi.GetCreditAndThresholdInfo
- HyperstackApi.GetCreditAndThresholdInfoInResponse
- HyperstackApi.GetCustomerContractsListResponseModel
- HyperstackApi.GetInstanceLogsResponse
- HyperstackApi.GetInvitesResponseModel
- HyperstackApi.GetOrganizationResponseModel
- HyperstackApi.GetPermissionsResponseModel
- HyperstackApi.GetPoliciesResponseModel
- HyperstackApi.GetRbacRolesResponseModel
- HyperstackApi.GetUserPermissionsResponseModel
- HyperstackApi.GraphDatetimeValueModel
- HyperstackApi.Image
- HyperstackApi.ImageFields
- HyperstackApi.ImageGetResponse
- HyperstackApi.Images
- HyperstackApi.ImportKeypairPayload
- HyperstackApi.ImportKeypairResponse
- HyperstackApi.InfrahubResourceObjectResponseForCustomer
- HyperstackApi.Instance
- HyperstackApi.InstanceEnvironmentFields
- HyperstackApi.InstanceEvents
- HyperstackApi.InstanceEventsFields
- HyperstackApi.InstanceFields
- HyperstackApi.InstanceFlavorFields
- HyperstackApi.InstanceImageFields
- HyperstackApi.InstanceKeypairFields
- HyperstackApi.InstanceOverviewFields
- HyperstackApi.InstanceResizePayload
- HyperstackApi.Instances
- HyperstackApi.InviteFields
- HyperstackApi.InviteUserPayload
- HyperstackApi.InviteUserResponseModel
- HyperstackApi.KeypairEnvironmentFeatures
- HyperstackApi.KeypairEnvironmentFields
- HyperstackApi.KeypairFields
- HyperstackApi.Keypairs
- HyperstackApi.LableResonse
- HyperstackApi.LastDayCostFields
- HyperstackApi.LastDayCostResponse
- HyperstackApi.Logos
- HyperstackApi.MFAStatusFields
- HyperstackApi.MFAStatusResponse
- HyperstackApi.MasterFlavorsResponse
- HyperstackApi.MetricItemFields
- HyperstackApi.MetricsFields
- HyperstackApi.ModelEvaluationBillingHistoryDetailsResponseSchema
- HyperstackApi.NameAvailableModel
- HyperstackApi.NewConfigurationsResponse
- HyperstackApi.NewModelResponse
- HyperstackApi.NewStockResponse
- HyperstackApi.NewStockRetriveResponse
- HyperstackApi.OrganizationFields
- HyperstackApi.OrganizationLevelBillingHistory
- HyperstackApi.OrganizationLevelBillingHistoryResources
- HyperstackApi.OrganizationLevelBillingHistoryResponseAttributes
- HyperstackApi.OrganizationLevelBillingHistoryResponseMetrics
- HyperstackApi.OrganizationLevelBillingHistoryResponseModel
- HyperstackApi.OrganizationThresholdFields
- HyperstackApi.OrganizationThresholdUpdateResponse
- HyperstackApi.OrganizationThresholdsResponse
- HyperstackApi.OrganizationUserResponseModel
- HyperstackApi.OverviewInfo
- HyperstackApi.Pagination
- HyperstackApi.PaginationData
- HyperstackApi.PartnerConfig
- HyperstackApi.PaymentDetailsFields
- HyperstackApi.PaymentDetailsResponse
- HyperstackApi.PaymentInitiateFields
- HyperstackApi.PaymentInitiatePayload
- HyperstackApi.PaymentInitiateResponse
- HyperstackApi.PermissionFields
- HyperstackApi.PolicyFields
- HyperstackApi.PolicyPermissionFields
- HyperstackApi.PricebookModel
- HyperstackApi.PricebookResourceObjectResponseForCustomer
- HyperstackApi.PrimaryColor
- HyperstackApi.ProfileFields
- HyperstackApi.ProfileListResponse
- HyperstackApi.ProfileObjectFields
- HyperstackApi.RbacRoleDetailResponseModel
- HyperstackApi.RbacRoleDetailResponseModelFixed
- HyperstackApi.RbacRoleField
- HyperstackApi.RbacRoleFields
- HyperstackApi.RegionFields
- HyperstackApi.Regions
- HyperstackApi.RemoveMemberFromOrganizationResponseModel
- HyperstackApi.RemoveMemberPayload
- HyperstackApi.RequestConsole
- HyperstackApi.RequestInstanceLogsPayload
- HyperstackApi.RequestInstanceLogsResponse
- HyperstackApi.ResourceBillingEventsHistoryMetrics
- HyperstackApi.ResourceBillingEventsHistoryResponse
- HyperstackApi.ResourceBillingResponseForCustomer
- HyperstackApi.ResourceLevelBillingBucketDetailsResources
- HyperstackApi.ResourceLevelBillingDetailsAttributes
- HyperstackApi.ResourceLevelBillingDetailsMetrics
- HyperstackApi.ResourceLevelBillingDetailsVM
- HyperstackApi.ResourceLevelBillingDetailsVolume
- HyperstackApi.ResourceLevelBillingDetailsVolumeAttributes
- HyperstackApi.ResourceLevelBillingDetailsVolumeMetrics
- HyperstackApi.ResourceLevelBillingHistory
- HyperstackApi.ResourceLevelBillingHistoryResources
- HyperstackApi.ResourceLevelBillingHistoryResourcesCluster
- HyperstackApi.ResourceLevelBillingHistoryResponseAttributes
- HyperstackApi.ResourceLevelBillingHistoryResponseMetrics
- HyperstackApi.ResourceLevelBillingVMDetailsResources
- HyperstackApi.ResourceLevelBillingVolumeDetailsResources
- HyperstackApi.ResourceLevelBucketBillingDetailsResponseModel
- HyperstackApi.ResourceLevelBucketBillingHistoryResponseModel
- HyperstackApi.ResourceLevelClusterBillingDetailsResponseModel
- HyperstackApi.ResourceLevelClusterBillingHistoryResponseModel
- HyperstackApi.ResourceLevelClusterGraphBillingDetailsResponseModel
- HyperstackApi.ResourceLevelGraphBillingDetailVolume
- HyperstackApi.ResourceLevelGraphBillingDetailsAttributes
- HyperstackApi.ResourceLevelGraphBillingDetailsBucket
- HyperstackApi.ResourceLevelGraphBillingDetailsMetrics
- HyperstackApi.ResourceLevelGraphBillingDetailsVM
- HyperstackApi.ResourceLevelGraphBillingVMDetailsResources
- HyperstackApi.ResourceLevelGraphBillingVolumeDetailsResources
- HyperstackApi.ResourceLevelVMBillingDetailsResponseModel
- HyperstackApi.ResourceLevelVmBillingHistoryResponseModel
- HyperstackApi.ResourceLevelVmGraphBillingDetailsResponseModel
- HyperstackApi.ResourceLevelVolumeBillingDetailsResponseModel
- HyperstackApi.ResourceLevelVolumeBillingHistoryResponseModel
- HyperstackApi.ResourceLevelVolumeGraphBillingDetailsResponseModel
- HyperstackApi.ResourceObjectResponseForCustomer
- HyperstackApi.ResponseModel
- HyperstackApi.RolePermissionFields
- HyperstackApi.RolePolicyFields
- HyperstackApi.SecondaryColor
- HyperstackApi.SecurityGroupRule
- HyperstackApi.SecurityGroupRuleFields
- HyperstackApi.SecurityRulesFieldsForInstance
- HyperstackApi.SecurityRulesProtocolFields
- HyperstackApi.ServerlessInferencedBillingHistoryDetailsResponseSchema
- HyperstackApi.SnapshotFields
- HyperstackApi.SnapshotRestoreRequest
- HyperstackApi.SnapshotRetrieve
- HyperstackApi.SnapshotRetrieveFields
- HyperstackApi.Snapshots
- HyperstackApi.StartDeployment
- HyperstackApi.StartDeploymentPayload
- HyperstackApi.SubResourceGraphBillingDetailsMetrics
- HyperstackApi.SubResourcesCostsResponseModel
- HyperstackApi.SubResourcesGraphBillingHistoryFields
- HyperstackApi.SubResourcesGraphResponseModel
- HyperstackApi.SubscribeOrUnsubscribeUpdatePayload
- HyperstackApi.Template
- HyperstackApi.TemplateFields
- HyperstackApi.Templates
- HyperstackApi.TokenBasedBillingHistoryResponse
- HyperstackApi.URIs
- HyperstackApi.UpdateEnvironment
- HyperstackApi.UpdateKeypairName
- HyperstackApi.UpdateKeypairNameResponse
- HyperstackApi.UpdateOrganizationPayload
- HyperstackApi.UpdateOrganizationResponseModel
- HyperstackApi.UpdateTemplate
- HyperstackApi.UpdateVolumeAttachmentPayload
- HyperstackApi.UpdateVolumePayload
- HyperstackApi.UpdateVolumeResponse
- HyperstackApi.UserDefaultChoiceForUserFields
- HyperstackApi.UserDefaultChoicesForUserResponse
- HyperstackApi.UserInfoPostPayload
- HyperstackApi.UserOrganizationsResponse
- HyperstackApi.UserPermissionFields
- HyperstackApi.UsersInfoFields
- HyperstackApi.UsersInfoListResponse
- HyperstackApi.VNCURL
- HyperstackApi.VNCURLFields
- HyperstackApi.Volume
- HyperstackApi.VolumeAttachmentFields
- HyperstackApi.VolumeFields
- HyperstackApi.VolumeFieldsForInstance
- HyperstackApi.VolumeOverviewFields
- HyperstackApi.VolumeTypes
- HyperstackApi.Volumes
- HyperstackApi.VolumesFields
- HyperstackApi.WorkloadBillingHistoryResponse
Authentication schemes defined for the API:
- Type: API key
- API key parameter name: api_key
- Location: HTTP header