Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

github.com/metalsoft-io/metal-cloud-sdk2-go

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/metalsoft-io/metal-cloud-sdk2-go


Version published
Created
Source

Go API client for sdk2

MetalSoft REST API documentation

Overview

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

  • API version: 2.0
  • Package version: 6.4.0
  • Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen For more information, please visit https://www.metalsoft.io/contact

Installation

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

import "./sdk2"

Documentation for API Endpoints

All URIs are relative to **

ClassMethodHTTP requestDescription
AIApiGenerateEliResponsePost /api/v2/ai/generateRequest from AI a response for the given input
AccountsApiArchiveAccountPost /api/v2/accounts/{accountId}/actions/archiveArchive account
AccountsApiCreateAccountPost /api/v2/accountsCreate account
AccountsApiGetAccountGet /api/v2/accounts/{accountId}Get account by id
AccountsApiGetAccountLimitsGet /api/v2/accounts/{accountId}/limitsGet account limits
AccountsApiGetAccountUsersGet /api/v2/accounts/{accountId}/usersGet users for account
AccountsApiGetAccountsGet /api/v2/accountsGet all accounts
AccountsApiUnarchiveAccountPost /api/v2/accounts/{accountId}/actions/unarchiveUnarchive account
AccountsApiUpdateAccountPatch /api/v2/accounts/{accountId}Update account
AccountsApiUpdateAccountLimitsPatch /api/v2/accounts/{accountId}/limitsUpdate account limits
BucketApiCreateInfrastructureBucketPost /api/v2/infrastructures/{infrastructureId}/bucketsCreates a Bucket
BucketApiDeleteBucketDelete /api/v2/infrastructures/{infrastructureId}/buckets/{bucketId}Deletes a Bucket
BucketApiGetBucketGet /api/v2/buckets/{bucketId}Get Bucket information
BucketApiGetInfrastructureBucketGet /api/v2/infrastructures/{infrastructureId}/buckets/{bucketId}Get Bucket information
BucketApiGetInfrastructureBucketsGet /api/v2/infrastructures/{infrastructureId}/bucketsGet all Buckets
BucketApiStartBucketPost /api/v2/infrastructures/{infrastructureId}/buckets/{bucketId}/actions/startStarts a Bucket
BucketApiStopBucketPost /api/v2/infrastructures/{infrastructureId}/buckets/{bucketId}/actions/stopStops a Bucket
BucketApiUpdateBucketPatch /api/v2/infrastructures/{infrastructureId}/buckets/{bucketId}Updates Bucket information
ConfigurationApiGetConfigurationGet /api/v2/configGet configuration
ExtensionApiArchiveExtensionPost /api/v2/extensions/{extensionId}/actions/archiveArchive published extension
ExtensionApiCreateExtensionPost /api/v2/extensionsCreate extension
ExtensionApiGetExtensionGet /api/v2/extensions/{extensionId}Get details for an extension
ExtensionApiGetExtensionDefinitionGet /api/v2/extensions/{extensionId}/definitionGet definition for an extension
ExtensionApiGetExtensionsGet /api/v2/extensionsList available extensions
ExtensionApiPublishExtensionPost /api/v2/extensions/{extensionId}/actions/publishPublish draft extension
ExtensionApiUpdateExtensionPatch /api/v2/extensions/{extensionId}Update extension
ExtensionInstanceApiCreateExtensionInstancePost /api/v2/infrastructures/{infrastructureId}/extension-instancesAdd extension instance to an infrastructure
ExtensionInstanceApiDeleteExtensionInstanceDelete /api/v2/extension-instances/{extensionInstanceId}Delete extension instance
ExtensionInstanceApiGetExtensionInstanceGet /api/v2/extension-instances/{extensionInstanceId}Get extension instance details
ExtensionInstanceApiGetExtensionInstancesGet /api/v2/extension-instancesGet extension instances list
ExtensionInstanceApiUpdateExtensionInstancePatch /api/v2/extension-instances/{extensionInstanceId}Update extension instance configuration
FileShareApiCreateInfrastructureFileSharePost /api/v2/infrastructures/{infrastructureId}/file-sharesCreates a File Share
FileShareApiDeleteFileShareDelete /api/v2/infrastructures/{infrastructureId}/file-shares/{fileShareId}Deletes a File Share
FileShareApiGetFileShareGet /api/v2/file-shares/{fileShareId}Get File Share information
FileShareApiGetFileShareHostsGet /api/v2/infrastructures/{infrastructureId}/file-shares/{fileShareId}/hostsGet the Hosts of File Share
FileShareApiGetInfrastructureFileShareGet /api/v2/infrastructures/{infrastructureId}/file-shares/{fileShareId}Get File Share information
FileShareApiGetInfrastructureFileSharesGet /api/v2/infrastructures/{infrastructureId}/file-sharesGet all File Shares
FileShareApiStartFileSharePost /api/v2/infrastructures/{infrastructureId}/file-shares/{fileShareId}/actions/startStarts a File Share
FileShareApiStopFileSharePost /api/v2/infrastructures/{infrastructureId}/file-shares/{fileShareId}/actions/stopStops a File Share
FileShareApiUpdateFileSharePatch /api/v2/infrastructures/{infrastructureId}/file-shares/{fileShareId}Updates File Share information
FileShareApiUpdateFileShareInstanceArrayHostsBulkPost /api/v2/infrastructures/{infrastructureId}/file-shares/{fileShareId}/actions/modify-instance-array-hosts-bulkUpdates Instance Array Hosts on the File Share
InfrastructureApiDeployInfrastructurePost /api/v2/infrastructures/{infrastructureId}/actions/deployDeploys the specified infrastructure
InfrastructureApiGetInfrastructureGet /api/v2/infrastructures/{infrastructureId}Retrieves the specified infrastructure
InfrastructureApiGetInfrastructuresGet /api/v2/infrastructuresGet all infrastructures
InfrastructureApiRevertInfrastructurePost /api/v2/infrastructures/{infrastructureId}/actions/revertReverts the specified infrastructure
NetworkApiCreateInfrastructureNetworkPost /api/v2/infrastructures/{infrastructureId}/networksCreates a new LAN network on the infrastructure
NetworkApiDeleteInfrastructureNetworkDelete /api/v2/infrastructures/{infrastructureId}/networks/{networkId}Deletes a network from the infrastructure
NetworkApiGetInfrastructureNetworkGet /api/v2/infrastructures/{infrastructureId}/networks/{networkId}Gets the specified network from the infrastructure
NetworkApiGetInfrastructureNetworksGet /api/v2/infrastructures/{infrastructureId}/networksRetrieves all networks on the infrastructure
NetworkDevicesApiChangeNetworkDeviceStatusPatch /api/v2/network-devices/{networkDeviceId}/actions/change-statusChange status of a network device
NetworkDevicesApiDiscoverNetworkDevicePost /api/v2/network-devices/{networkDeviceId}/discoverDiscover network device interfaces, hardware and software configuration
NetworkDevicesApiEnableNetworkDeviceSyslogPost /api/v2/network-devices/{networkDeviceId}/actions/syslog-subscribeEnables remote syslog for a network device
NetworkDevicesApiGetNetworkDevicePortsGet /api/v2/network-devices/{networkDeviceId}/portsGet all ports for network device
NetworkDevicesApiResetNetworkDevicePost /api/v2/network-devices/{networkDeviceId}/actions/resetResets a network device to default state
NetworkDevicesApiSetNetworkDevicePortStatusPost /api/v2/network-devices/{networkDeviceId}/actions/set-port-statusSet port status
ResourcePoolsApiAddResourcePoolUserPost /api/v2/resource-pools/user/{userId}/pool/{resourcePoolId}Add a user to a Resource Pool
ResourcePoolsApiAddServerToResourcePoolPut /api/v2/resource-pools/{resourcePoolId}/server/{serverId}Add a server to a Resource Pool
ResourcePoolsApiAddSubnetPoolToResourcePoolPut /api/v2/resource-pools/{resourcePoolId}/subnet-pool/{subnetPoolId}Add a subnet pool to a resource pool
ResourcePoolsApiCreateResourcePoolPost /api/v2/resource-poolsCreates a Resource Pool
ResourcePoolsApiDeleteResourcePoolDelete /api/v2/resource-pools/{resourcePoolId}Deletes a Resource Pool
ResourcePoolsApiGetResourcePoolGet /api/v2/resource-pools/{resourcePoolId}Get Resource Pool information
ResourcePoolsApiGetResourcePoolServersGet /api/v2/resource-pools/{resourcePoolId}/serversGet all servers that are part of a Resource Pool
ResourcePoolsApiGetResourcePoolSubnetPoolsGet /api/v2/resource-pools/{resourcePoolId}/subnet-poolsGet all subnet pools that are part of a resource pool
ResourcePoolsApiGetResourcePoolUsersGet /api/v2/resource-pools/{resourcePoolId}/usersGet all users that have access to a Resource Pool
ResourcePoolsApiGetResourcePoolsGet /api/v2/resource-poolsGet all Resource Pools
ResourcePoolsApiGetUserResourcePoolsGet /api/v2/resource-pools/user/{userId}Get all Resource Pools that a user has access to
ResourcePoolsApiRemoveResourcePoolUserDelete /api/v2/resource-pools/user/{userId}/pool/{resourcePoolId}Remove a user from a Resource Pool
ResourcePoolsApiRemoveServerFromResourcePoolDelete /api/v2/resource-pools/{resourcePoolId}/server/{serverId}Remove a server from a Resource Pool
ResourcePoolsApiRemoveSubnetPoolFromResourcePoolDelete /api/v2/resource-pools/{resourcePoolId}/subnet-pool/{subnetPoolId}Remove a subnet from a resource pool
ResourcePoolsApiUpdateResourcePoolPut /api/v2/resource-pools/{resourcePoolId}Updates Resource Pool information
SecurityApiListProvidersGet /api/v2/authentication/providersGet available authentication providers
SecurityApiUpdateProviderPatch /api/v2/authentication/providers/{name}Updates authentication provider
ServerApiEnableServerSyslogPost /api/v2/servers/{serverId}/actions/syslog-subscribeEnables remote syslog for a server
ServerApiGetServerInfoGet /api/v2/servers/{serverId}Get Server information
ServerApiGetServerPowerStatePost /api/v2/servers/{serverId}/actions/get-powerGets the power state of a server
ServerApiGetServerRemoteConsoleInfoGet /api/v2/servers/{serverId}/remote-console-infoGet Remote Console information
ServerApiGetServerVNCInfoGet /api/v2/servers/{serverId}/vnc-infoGet VNC information
ServerApiInventoryController1ReRegisterServerPost /api/v2/servers/{serverId}/actions/re-registerRe-register a server
ServerApiRegisterServerPost /api/v2/serversInitialize server registration
ServerApiResetServerToFactoryDefaultsPost /api/v2/servers/{serverId}/actions/factory-resetResets a server to factory defaults
ServerApiSetServerPowerStatePost /api/v2/servers/{serverId}/actions/set-powerSets the power state of a server
StorageApiCreateStoragePost /api/v2/storagesCreates a Storage
StorageApiGetStorageGet /api/v2/storages/{storageId}Retrieves a Storage
StorageApiGetStorageBucketsGet /api/v2/storages/{storageId}/bucketsGet all Buckets linked to the specified storage
StorageApiGetStorageFileSharesGet /api/v2/storages/{storageId}/file-sharesGet all File Shares linked to the specified storage
StorageApiUpdateStoragePatch /api/v2/storages/{storageId}Updates a Storage
SystemApiGetVersionGet /api/v2/versionGet MetalSoft system version
UsersApiArchiveUserPost /api/v2/users/{userId}/actions/archiveArchive user
UsersApiChangeUserAccountPost /api/v2/users/{userId}/actions/change-accountChange account for user
UsersApiCreateUserPost /api/v2/usersCreates a user
UsersApiGetUserGet /api/v2/users/{userId}Get user
UsersApiGetUserLimitsGet /api/v2/users/{userId}/limitsGet user limits
UsersApiGetUsersGet /api/v2/usersGet users
UsersApiUnarchiveUserPost /api/v2/users/{userId}/actions/unarchiveUnarchive user
UsersApiUpdateUserPatch /api/v2/users/{userId}Update user
UsersApiUpdateUserLimitsPatch /api/v2/users/{userId}/limitsUpdate user limits
VMInstanceApiApplyVMTypeOnVMInstancePost /api/v2/infrastructures/{infrastructureId}/vm-instances/{vmInstanceId}/actions/apply-type/{vmTypeId}Applies a VM Type to a VM Instance
VMInstanceApiCreateVMInstancePost /api/v2/infrastructures/{infrastructureId}/vm-instancesCreates a VM Instance
VMInstanceApiDeleteVMInstanceDelete /api/v2/infrastructures/{infrastructureId}/vm-instances/{vmInstanceId}Deletes a VM Instance
VMInstanceApiGetVMInstanceGet /api/v2/infrastructures/{infrastructureId}/vm-instances/{vmInstanceId}Get VM Instance information
VMInstanceApiGetVMInstancePowerStatusGet /api/v2/infrastructures/{infrastructureId}/vm-instances/{vmInstanceId}/power-statusRetrieves the power status of the VM Instance
VMInstanceApiRebootVMInstancePost /api/v2/infrastructures/{infrastructureId}/vm-instances/{vmInstanceId}/rebootReboots the VM Instance
VMInstanceApiShutdownVMInstancePost /api/v2/infrastructures/{infrastructureId}/vm-instances/{vmInstanceId}/shutdownShuts down the VM Instance
VMInstanceApiStartVMInstancePost /api/v2/infrastructures/{infrastructureId}/vm-instances/{vmInstanceId}/startStarts the VM Instance
VMInstanceApiUpdateVMInstancePatch /api/v2/infrastructures/{infrastructureId}/vm-instances/{vmInstanceId}Updates VM Instance information
VMInstanceGroupApiApplyVMTypeOnVMInstanceGroupPost /api/v2/infrastructures/{infrastructureId}/vm-instance-groups/{vmInstanceGroupId}/actions/apply-type/{vmTypeId}Applies a VM Type to a VM Instance Group
VMInstanceGroupApiCreateVMInstanceGroupPost /api/v2/infrastructures/{infrastructureId}/vm-instance-groupsCreates a VM Instance Group
VMInstanceGroupApiCreateVMInterfaceOnVMInstanceGroupPost /api/v2/infrastructures/{infrastructureId}/vm-instance-groups/{vmInstanceGroupId}/interfacesCreates a new Virtual Interface for the VM Instance Group
VMInstanceGroupApiDeleteVMInstanceGroupDelete /api/v2/infrastructures/{infrastructureId}/vm-instance-groups/{vmInstanceGroupId}Deletes a VM Instance Group
VMInstanceGroupApiGetVMInstanceGroupGet /api/v2/infrastructures/{infrastructureId}/vm-instance-groups/{vmInstanceGroupId}Get VM Instance Group information
VMInstanceGroupApiGetVMInstanceGroupVMInstancesGet /api/v2/infrastructures/{infrastructureId}/vm-instance-groups/{vmInstanceGroupId}/vm-instancesGet the VM Instances of VM Instance Group
VMInstanceGroupApiGetVMInstanceGroupsGet /api/v2/infrastructures/{infrastructureId}/vm-instance-groupsGet all VM Instance Groups
VMInstanceGroupApiUpdateNetworkProfileOnVMInstanceGroupNetworkPatch /api/v2/infrastructures/{infrastructureId}/vm-instance-groups/{vmInstanceGroupId}/network/{networkId}Applies the given Network Profile to the specified VM Instance Group Network
VMInstanceGroupApiUpdateVMInstanceGroupPatch /api/v2/infrastructures/{infrastructureId}/vm-instance-groups/{vmInstanceGroupId}Updates VM Instance Group information
VMPoolsApiCreateVMPoolPost /api/v2/vm-poolsCreates a VM Pool
VMPoolsApiDeleteVMPoolDelete /api/v2/vm-pools/{vmPoolId}Deletes a VM Pool
VMPoolsApiGetVMPoolGet /api/v2/vm-pools/{vmPoolId}Get VM Pool information
VMPoolsApiGetVMPoolClusterHostGet /api/v2/vm-pools/{vmPoolId}/cluster-hosts/{vmPoolClusterHostId}Retrieves a VM Cluster Host
VMPoolsApiGetVMPoolClusterHostInterfaceGet /api/v2/vm-pools/{vmPoolId}/cluster-hosts/{vmPoolClusterHostId}/interfaces/{vmPoolClusterHostInterfaceId}Retrieves a VM Cluster Host Interface
VMPoolsApiGetVMPoolClusterHostInterfacesGet /api/v2/vm-pools/{vmPoolId}/cluster-hosts/{vmPoolClusterHostId}/interfacesRetrieves a list of VM Cluster Host Interfaces
VMPoolsApiGetVMPoolClusterHostVMsGet /api/v2/vm-pools/{vmPoolId}/cluster-hosts/{vmPoolClusterHostId}/vmsRetrieves a list of VM Cluster Host VMs
VMPoolsApiGetVMPoolClusterHostsGet /api/v2/vm-pools/{vmPoolId}/cluster-hostsGet list of VM Cluster Hosts linked to the VM Pool
VMPoolsApiGetVMPoolVMsGet /api/v2/vm-pools/{vmPoolId}/vmsReturns all VMs linked to the VM Pool
VMPoolsApiGetVMPoolsGet /api/v2/vm-poolsGet all VM Pools
VMPoolsApiUpdateVMPoolPatch /api/v2/vm-pools/{vmPoolId}Updates VM Pool information
VMPoolsApiUpdateVMPoolClusterHostInterfacePatch /api/v2/vm-pools/{vmPoolId}/cluster-hosts/{vmPoolClusterHostId}/interfaces/{vmPoolClusterHostInterfaceId}Updates a VM Cluster Host Interface
VMTypesApiCreateVMTypePost /api/v2/vm-typesCreates a VM Type
VMTypesApiDeleteVMTypeDelete /api/v2/vm-types/{vmTypeId}Deletes a VM Type
VMTypesApiGetVMTypeGet /api/v2/vm-types/{vmTypeId}Get VM Type information
VMTypesApiGetVMTypesGet /api/v2/vm-typesGet all VM Types
VMTypesApiGetVMsByVMTypeGet /api/v2/vm-types/{vmTypeId}/vmsReturns all VMs linked to the VM Type
VMTypesApiUpdateVMTypePatch /api/v2/vm-types/{vmTypeId}Updates VM Type information
VMsApiGetVMGet /api/v2/vms/{vmId}Retrieves the VM information
VMsApiGetVMPowerStatusGet /api/v2/vms/{vmId}/power-statusRetrieves the power status of the VM
VMsApiGetVMRemoteConsoleInfoGet /api/v2/vms/{vmId}/remote-console-infoGet Remote Console information
VMsApiRebootVMPost /api/v2/vms/{vmId}/rebootReboots the VM
VMsApiShutdownVMPost /api/v2/vms/{vmId}/shutdownShuts down the VM
VMsApiStartVMPost /api/v2/vms/{vmId}/startStarts the VM
VMsApiUpdateVMPatch /api/v2/vms/{vmId}Updates VM information

Documentation For Models

Documentation For Authorization

JWT

apiKey

Author

support@metalsoft.io

FAQs

Package last updated on 21 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc