swagger

package
v0.1.47 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes a oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKey takes an APIKey as authentication for the request
	ContextAPIKey = contextKey("apikey")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

Types

type APIClient

type APIClient struct {
	BillingApi *BillingApiService

	CapacitiesApi *CapacitiesApiService

	DiskOperationsApi *DiskOperationsApiService

	DisksApi *DisksApiService

	EntitiesApi *EntitiesApiService

	FeatureFlagsApi *FeatureFlagsApiService

	IBNetworksApi *IBNetworksApiService

	IBPartitionsApi *IBPartitionsApiService

	IdentitiesApi *IdentitiesApiService

	ImagesApi *ImagesApiService

	LocationsApi *LocationsApiService

	ProspectsApi *ProspectsApiService

	RolesApi *RolesApiService

	SSHKeysApi *SSHKeysApiService

	SnapshotOperationsApi *SnapshotOperationsApiService

	SnapshotsApi *SnapshotsApiService

	TokensApi *TokensApiService

	UsageApi *UsageApiService

	VMOperationsApi *VMOperationsApiService

	VMsApi *VMsApiService

	VPCFirewallRuleOperationsApi *VPCFirewallRuleOperationsApiService

	VPCFirewallRulesApi *VPCFirewallRulesApiService

	VPCNetworksApi *VPCNetworksApiService

	VPCSubnetsApi *VPCSubnetsApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Crusoe Cloud API Gateway API vv1alpha4 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) ChangeBasePath

func (c *APIClient) ChangeBasePath(path string)

Change base path to allow switching to mocks

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the swagger operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

type AsyncOperationResponse added in v0.1.35

type AsyncOperationResponse struct {
	Operation *Operation `json:"operation"`
}

type AttachedDiskV1Alpha4 added in v0.1.31

type AttachedDiskV1Alpha4 struct {
	AttachedTo   []VmAttachmentV1Alpha4 `json:"attached_to"`
	BlockSize    int64                  `json:"block_size"`
	CreatedAt    string                 `json:"created_at"`
	Id           string                 `json:"id"`
	IsBootDisk   bool                   `json:"is_boot_disk"`
	Location     string                 `json:"location"`
	Name         string                 `json:"name"`
	SerialNumber string                 `json:"serial_number"`
	Size         string                 `json:"size"`
	Type_        string                 `json:"type"`
	UpdatedAt    string                 `json:"updated_at"`
}

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type Billing

type Billing struct {
	Balance               string `json:"balance"`
	Delinquent            bool   `json:"delinquent"`
	HasValidPaymentMethod bool   `json:"has_valid_payment_method"`
}

type BillingApiService

type BillingApiService service

func (*BillingApiService) GetBillingIntent

func (a *BillingApiService) GetBillingIntent(ctx context.Context, orgId string, intentType string) (BillingIntentGetResponse, *http.Response, error)

BillingApiService Retrieve an intent to facilitate a Stripe action.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param orgId
  • @param intentType

@return BillingIntentGetResponse

type BillingIntentGetResponse

type BillingIntentGetResponse struct {
	Intent string `json:"intent"`
}

type CapacitiesApiListSliceCapacitiesOpts added in v0.1.21

type CapacitiesApiListSliceCapacitiesOpts struct {
	ProductName optional.Interface
	Location    optional.Interface
}

type CapacitiesApiService added in v0.1.21

type CapacitiesApiService service

func (*CapacitiesApiService) ListSliceCapacities added in v0.1.21

type CapacityV1Alpha4 added in v0.1.32

type CapacityV1Alpha4 struct {
	Location    string `json:"location"`
	ProductName string `json:"product_name,omitempty"`
	Quantity    int32  `json:"quantity"`
}

type Configuration

type Configuration struct {
	BasePath      string            `json:"basePath,omitempty"`
	Host          string            `json:"host,omitempty"`
	Scheme        string            `json:"scheme,omitempty"`
	DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
	UserAgent     string            `json:"userAgent,omitempty"`
	HTTPClient    *http.Client
}

func NewConfiguration

func NewConfiguration() *Configuration

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

type CreateSshKeyRequest

type CreateSshKeyRequest struct {
	Name      string `json:"name"`
	PublicKey string `json:"public_key"`
}

type CreateSshKeyResponse

type CreateSshKeyResponse struct {
	SshKey *SshKey `json:"ssh_key"`
}

type CreateTokenRequest

type CreateTokenRequest struct {
	Alias     string `json:"alias,omitempty"`
	ExpiresAt string `json:"expires_at"`
}

type DiskOperationsApiGetStorageDisksOperationsOpts

type DiskOperationsApiGetStorageDisksOperationsOpts struct {
	ResourceId optional.String
	State      optional.Interface
}

type DiskOperationsApiService

type DiskOperationsApiService service

func (*DiskOperationsApiService) GetStorageDisksOperation

func (a *DiskOperationsApiService) GetStorageDisksOperation(ctx context.Context, operationId string) (ListOperationsResponseV1Alpha4, *http.Response, error)

DiskOperationsApiService Get status of a single asynchronous operation This resource retrieves information about the status of an asynchronous operation initiated by the disks resource. Only information about the operation specified in the path will be returned, or an HTTP 403 will be returned if the operation does not exist, was not initiated by the logged in user, or has expired.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param operationId

@return ListOperationsResponseV1Alpha4

func (*DiskOperationsApiService) GetStorageDisksOperations

type DiskSnapshot

type DiskSnapshot struct {
	BlockSize   int64  `json:"block_size"`
	CreatedAt   string `json:"created_at"`
	CreatedFrom string `json:"created_from"`
	Id          string `json:"id"`
	Size        string `json:"size"`
	UpdatedAt   string `json:"updated_at"`
}

type DiskSnapshotGetResponseV1Alpha4 added in v0.1.22

type DiskSnapshotGetResponseV1Alpha4 struct {
	DiskSnapshots []DiskSnapshot `json:"disk_snapshots"`
}

type DiskSnapshotPostRequest

type DiskSnapshotPostRequest struct {
	DiskId string `json:"disk_id"`
	RoleId string `json:"role_id"`
}

type DiskV1Alpha4 added in v0.1.31

type DiskV1Alpha4 struct {
	AttachedTo   []VmAttachmentV1Alpha4 `json:"attached_to"`
	BlockSize    int64                  `json:"block_size"`
	CreatedAt    string                 `json:"created_at"`
	Id           string                 `json:"id"`
	Location     string                 `json:"location"`
	Name         string                 `json:"name"`
	SerialNumber string                 `json:"serial_number"`
	Size         string                 `json:"size"`
	Type_        string                 `json:"type"`
	UpdatedAt    string                 `json:"updated_at"`
}

type DisksApiService

type DisksApiService service

func (*DisksApiService) CreateDisk

DisksApiService Create a new disk owned by the logged in user. Requires either a disk snapshot ID, or size and location, where size of disk should be in gibibytes (GiB) or tebibytes (TiB) in the format [Size][Unit]. E.g. 10GiB. Disk type must be one of: DISK_TYPE_PERSISTENT_SSD. A successful response from this resource will contain the async operation.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body

@return AsyncOperationResponse

func (*DisksApiService) DeleteDisk

DisksApiService Delete a disk owned by the logged in user. A successful response from this resource will contain the async operation.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param diskId

@return AsyncOperationResponse

func (*DisksApiService) GetDisk

DisksApiService Retrieve details for a disk that belongs to the logged in user. Size of disk will be in gibibytes (GiB)

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param diskId

@return DisksGetResponseV1Alpha4

func (*DisksApiService) GetDisks

DisksApiService Retrieve details about all disks that belong to the logged in user. Size of disks will be in gibibytes (GiB)

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return DisksGetResponseV1Alpha4

func (*DisksApiService) ResizeDisk

DisksApiService Resize a disk that the logged in user owns. Size should be in gibibytes (GiB) or tebibytes (TiB) in the format [Size][Unit]. E.g. 10GiB A successful response from this resource will contain the async operation.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body
  • @param diskId

@return AsyncOperationResponse

type DisksGetResponseV1Alpha4 added in v0.1.22

type DisksGetResponseV1Alpha4 struct {
	Disks []DiskV1Alpha4 `json:"disks"`
}

type DisksPatchRequest

type DisksPatchRequest struct {
	Size string `json:"size"`
}

type DisksPostRequest

type DisksPostRequest struct {
	BlockSize  int64  `json:"block_size,omitempty"`
	Location   string `json:"location,omitempty"`
	Name       string `json:"name"`
	RoleId     string `json:"role_id"`
	Size       string `json:"size,omitempty"`
	SnapshotId string `json:"snapshot_id,omitempty"`
	Type_      string `json:"type"`
}

type EntitiesApiService

type EntitiesApiService service

func (*EntitiesApiService) CreateOrganization

EntitiesApiService Create a new organization owned by the logged in user. A successful response from this resource will contain the json encoded organization details.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body

@return EntitiesPutPostResponse

func (*EntitiesApiService) DeleteOrganization

func (a *EntitiesApiService) DeleteOrganization(ctx context.Context, orgId string) (*http.Response, error)

EntitiesApiService Delete an organization owned by the logged in user. Delete operations will cascade to projects and VMs, and all members will be removed from the organization.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param orgId

func (*EntitiesApiService) GetOrganizations

EntitiesApiService Retrieve details about all active organizations the logged in user belongs to.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return EntitiesGetResponseV1Alpha4

func (*EntitiesApiService) UpdateOrganization

EntitiesApiService Update details for an organization that the logged in user owns. A successful response from this resource will contain the updated organization details.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body
  • @param orgId

@return EntitiesPutPostResponse

type EntitiesGetResponseV1Alpha4 added in v0.1.22

type EntitiesGetResponseV1Alpha4 struct {
	Entities []Entity `json:"entities"`
}

type EntitiesPutPostRequest

type EntitiesPutPostRequest struct {
	OrganizationName string `json:"organization_name"`
}

type EntitiesPutPostResponse

type EntitiesPutPostResponse struct {
	Entity *Entity `json:"entity"`
}

type Entity

type Entity struct {
	Billing  *Billing               `json:"billing"`
	Features map[string]interface{} `json:"features"`
	Id       string                 `json:"id"`
	Name     string                 `json:"name"`
	Relation string                 `json:"relation"`
}

type ErrorBody

type ErrorBody struct {
	Code    string `json:"code,omitempty"`
	Message string `json:"message,omitempty"`
}

type FeatureFlagsApiService added in v0.1.21

type FeatureFlagsApiService service

func (*FeatureFlagsApiService) GetFeatureFlags added in v0.1.21

FeatureFlagsApiService Get feature flags for the currently logged in user. A successful response from this resource will contain a map of all feature flags and the value assigned to each of them for the user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return FeatureFlagsGetResponse

type FeatureFlagsGetResponse added in v0.1.21

type FeatureFlagsGetResponse struct {
	FeatureFlags map[string]interface{} `json:"feature_flags"`
}

type Fingerprints

type Fingerprints struct {
	Md5    string `json:"md5"`
	Sha256 string `json:"sha256"`
}

type FirewallRuleObject

type FirewallRuleObject struct {
	Cidr       string `json:"cidr,omitempty"`
	ResourceId string `json:"resource_id,omitempty"`
}

It has two fields: CIDR and ResourceID. The CIDR field may either be a CIDR or an IP address. If an IP, it will be converted to a CIDR. Resource ids of VPC networks, Subnets, and VMs are the only allowed. Only one of the two fields can be non empty.

type GeneratedToken

type GeneratedToken struct {
	AccessKey string `json:"access_key"`
	Alias     string `json:"alias,omitempty"`
	CreatedAt string `json:"created_at"`
	ExpiresAt string `json:"expires_at"`
	SecretKey string `json:"secret_key"`
}

These are the fields returned from a PUT request.

type GenericSwaggerError

type GenericSwaggerError struct {
	// contains filtered or unexported fields
}

GenericSwaggerError Provides access to the body, error and model on returned errors.

func (GenericSwaggerError) Body

func (e GenericSwaggerError) Body() []byte

Body returns the raw bytes of the response

func (GenericSwaggerError) Error

func (e GenericSwaggerError) Error() string

Error returns non-empty string if there was an error.

func (GenericSwaggerError) Model

func (e GenericSwaggerError) Model() interface{}

Model returns the unpacked model of the error

type HostChannelAdapter added in v0.1.19

type HostChannelAdapter struct {
	Guid          string `json:"guid"`
	IbNetworkId   string `json:"ib_network_id"`
	IbPartitionId string `json:"ib_partition_id"`
	Type_         string `json:"type"`
}

type IBNetworksApiService added in v0.1.19

type IBNetworksApiService service

func (*IBNetworksApiService) GetIBNetwork added in v0.1.19

func (a *IBNetworksApiService) GetIBNetwork(ctx context.Context, ibNetworkId string) (IbNetwork, *http.Response, error)

IBNetworksApiService Retrieve details for an Infiniband network.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param ibNetworkId

@return IbNetwork

func (*IBNetworksApiService) GetIBNetworks added in v0.1.19

IBNetworksApiService Retrieve details for all Infiniband networks.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return ListIbNetworksResponseV1Alpha4

type IBPartitionsApiService added in v0.1.19

type IBPartitionsApiService service

func (*IBPartitionsApiService) CreateIBPartition added in v0.1.19

IBPartitionsApiService Create a new Infiniband partition owned by the logged in user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body

@return IbPartition

func (*IBPartitionsApiService) DeleteIBPartition added in v0.1.19

func (a *IBPartitionsApiService) DeleteIBPartition(ctx context.Context, ibPartitionId string) (*http.Response, error)

IBPartitionsApiService Delete an Infiniband partition owned by the logged in user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param ibPartitionId

func (*IBPartitionsApiService) GetIBPartition added in v0.1.19

func (a *IBPartitionsApiService) GetIBPartition(ctx context.Context, ibPartitionId string) (IbPartition, *http.Response, error)

IBPartitionsApiService Retrieve details for an Infiniband partition that belongs to the user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param ibPartitionId

@return IbPartition

func (*IBPartitionsApiService) GetIBPartitions added in v0.1.19

IBPartitionsApiService Retrieve details for all Infiniband partitions that belongs to the user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return ListIbPartitionsResponseV1Alpha4

type IbNetwork added in v0.1.19

type IbNetwork struct {
	Capacities []IbNetworkCapacity `json:"capacities"`
	Id         string              `json:"id"`
	Location   string              `json:"location"`
	Name       string              `json:"name"`
}

type IbNetworkCapacity added in v0.1.19

type IbNetworkCapacity struct {
	Quantity  int32  `json:"quantity"`
	SliceType string `json:"slice_type"`
}

type IbPartition added in v0.1.19

type IbPartition struct {
	IbNetworkId string `json:"ib_network_id"`
	Id          string `json:"id"`
	Name        string `json:"name"`
}

type IbPartitionsPostRequestV1Alpha4 added in v0.1.22

type IbPartitionsPostRequestV1Alpha4 struct {
	IbNetworkId string `json:"ib_network_id"`
	Name        string `json:"name"`
	RoleId      string `json:"role_id"`
}

type IdentitiesApiService

type IdentitiesApiService service

func (*IdentitiesApiService) DeleteUserIdentity

func (a *IdentitiesApiService) DeleteUserIdentity(ctx context.Context) (*http.Response, error)

IdentitiesApiService Delete the account for the logged in user. Delete operations will cascade to all entities the user owns (organizations, roles, vms).

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*IdentitiesApiService) GetUserIdentity

func (a *IdentitiesApiService) GetUserIdentity(ctx context.Context) (UserResponse, *http.Response, error)

IdentitiesApiService Retrieve user details for the logged in user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return UserResponse

func (*IdentitiesApiService) UpdateUserIdentity

func (a *IdentitiesApiService) UpdateUserIdentity(ctx context.Context, body IdentityPutRequest) (UserResponse, *http.Response, error)

IdentitiesApiService Update user details for the logged in user. A successful response from this resource wil contain the updated user details.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body

@return UserResponse

type Identity

type Identity struct {
	Email string `json:"email"`
	Name  string `json:"name"`
	Role  string `json:"role"`
}

Identity contains the Traits Island stores for a User inside of Kratos. These are the fields returned from a GET or PUT request.

type IdentityPutRequest added in v0.1.19

type IdentityPutRequest struct {
	Name string `json:"name"`
	Role string `json:"role,omitempty"`
}

type Image added in v0.1.21

type Image struct {
	CreatedAt   string   `json:"created_at"`
	Description string   `json:"description"`
	Id          string   `json:"id"`
	Locations   []string `json:"locations"`
	Name        string   `json:"name"`
	Tags        []string `json:"tags"`
}

type ImagesApiService added in v0.1.21

type ImagesApiService service

func (*ImagesApiService) GetImage added in v0.1.21

func (a *ImagesApiService) GetImage(ctx context.Context, imageId string) (Image, *http.Response, error)

ImagesApiService Retrieve details about a VM image.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param imageId

@return Image

func (*ImagesApiService) ListImages added in v0.1.21

ImagesApiService Lists all VM images available for use.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return ListImagesResponseV1Alpha4

type InlineResponse400 added in v0.1.39

type InlineResponse400 struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

type InlineResponse401 added in v0.1.39

type InlineResponse401 struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

type InlineResponse403 added in v0.1.39

type InlineResponse403 struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

type InlineResponse404 added in v0.1.39

type InlineResponse404 struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

type InlineResponse500 added in v0.1.39

type InlineResponse500 struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

type InstanceV1Alpha4

type InstanceV1Alpha4 struct {
	CommitmentEnd       string                 `json:"commitment_end"`
	CommitmentPeriod    int64                  `json:"commitment_period"`
	CreatedAt           string                 `json:"created_at"`
	Disks               []AttachedDiskV1Alpha4 `json:"disks"`
	HostChannelAdapters []HostChannelAdapter   `json:"host_channel_adapters"`
	Id                  string                 `json:"id"`
	Location            string                 `json:"location"`
	Name                string                 `json:"name"`
	NetworkInterfaces   []NetworkInterface     `json:"network_interfaces"`
	ProductName         string                 `json:"product_name"`
	RoleId              string                 `json:"role_id"`
	SshDestination      string                 `json:"ssh_destination"`
	State               string                 `json:"state"`
	UpdatedAt           string                 `json:"updated_at"`
}

InstanceV1Alpha4 contains identifying information about a vm instance for vms.instances endpoints.

type InstancesAttachDiskPostRequestV1Alpha4 added in v0.1.22

type InstancesAttachDiskPostRequestV1Alpha4 struct {
	AttachDisks []string `json:"attach_disks"`
}

InstancesAttachDiskPostRequestV1Alpha4 is the request type for POST requests to the vms.instances.attach-disk endpoint.

type InstancesDetachDiskPostRequest

type InstancesDetachDiskPostRequest struct {
	DetachDisks []string `json:"detach_disks"`
}

InstancesDetachDiskPostRequest is the request type for POST requests to the vms.instances.detach-disk endpoint.

type InstancesGetResponseV1Alpha4

type InstancesGetResponseV1Alpha4 struct {
	Instances []InstanceV1Alpha4 `json:"instances"`
}

InstancesGetResponseV1Alpha4 is the response type for GET requests to compute/vms/instances.

type InstancesPatchRequestV1Alpha4 added in v0.1.22

type InstancesPatchRequestV1Alpha4 struct {
	Action            string             `json:"action"`
	CommitmentPeriod  int64              `json:"commitment_period,omitempty"`
	IbPartitionId     string             `json:"ib_partition_id,omitempty"`
	NetworkInterfaces []NetworkInterface `json:"network_interfaces,omitempty"`
	ProductName       string             `json:"product_name,omitempty"`
}

type InstancesPostRequestV1Alpha4 added in v0.1.22

type InstancesPostRequestV1Alpha4 struct {
	CommitmentPeriod  int64              `json:"commitment_period,omitempty"`
	Disks             []string           `json:"disks,omitempty"`
	IbPartitionId     string             `json:"ib_partition_id,omitempty"`
	Image             string             `json:"image,omitempty"`
	ImageChecksum     string             `json:"image_checksum,omitempty"`
	ImageId           string             `json:"image_id,omitempty"`
	Location          string             `json:"location,omitempty"`
	Name              string             `json:"name"`
	NetworkInterfaces []NetworkInterface `json:"network_interfaces,omitempty"`
	ProductName       string             `json:"product_name"`
	RoleId            string             `json:"role_id"`
	ShutdownScript    string             `json:"shutdown_script,omitempty"`
	SshPublicKey      string             `json:"ssh_public_key"`
	StartupScript     string             `json:"startup_script,omitempty"`
	Subnet            string             `json:"subnet,omitempty"`
}

InstancesPostRequestV1Alpha4 is the request type for POST requests to the vms.instances endpoint.

type IpAddresses

type IpAddresses struct {
	PrivateIpv4 *PrivateIpv4Address `json:"private_ipv4"`
	PublicIpv4  *PublicIpv4Address  `json:"public_ipv4"`
}

type ListCapacitiesResponseV1Alpha4 added in v0.1.22

type ListCapacitiesResponseV1Alpha4 struct {
	Capacities []CapacityV1Alpha4 `json:"capacities"`
}

type ListIbNetworksResponseV1Alpha4 added in v0.1.22

type ListIbNetworksResponseV1Alpha4 struct {
	IbNetworks []IbNetwork `json:"ib_networks"`
}

type ListIbPartitionsResponseV1Alpha4 added in v0.1.22

type ListIbPartitionsResponseV1Alpha4 struct {
	IbPartitions []IbPartition `json:"ib_partitions"`
}

type ListImagesResponseV1Alpha4 added in v0.1.22

type ListImagesResponseV1Alpha4 struct {
	Images []Image `json:"images"`
}

type ListLocationsResponseV1Alpha4 added in v0.1.22

type ListLocationsResponseV1Alpha4 struct {
	Locations []string `json:"locations"`
}

type ListOperationsResponseV1Alpha4 added in v0.1.22

type ListOperationsResponseV1Alpha4 struct {
	Operations []Operation `json:"operations"`
}

type ListProjectsResponseV1Alpha4 added in v0.1.22

type ListProjectsResponseV1Alpha4 struct {
	Roles []Project `json:"roles"`
}

type ListSshKeysResponseV1Alpha4 added in v0.1.22

type ListSshKeysResponseV1Alpha4 struct {
	SshKeys []SshKey `json:"ssh_keys"`
}

type LocationsApiService added in v0.1.19

type LocationsApiService service

func (*LocationsApiService) ListLocations added in v0.1.19

LocationsApiService Lists all Crusoe Cloud locations usable for resource hosting.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return ListLocationsResponseV1Alpha4

type ModelType

type ModelType struct {
	CpuCores    int64  `json:"cpu_cores"`
	CpuType     string `json:"cpu_type"`
	Description string `json:"description"`
	DiskGb      int64  `json:"disk_gb"`
	DiskType    string `json:"disk_type"`
	GpuType     string `json:"gpu_type"`
	MemoryGb    int64  `json:"memory_gb"`
	MemoryType  string `json:"memory_type"`
	NumGpu      int64  `json:"num_gpu"`
	ProductName string `json:"product_name"`
}

type NetworkInterface

type NetworkInterface struct {
	Id            string        `json:"id"`
	InterfaceType string        `json:"interface_type"`
	Ips           []IpAddresses `json:"ips"`
	MacAddress    string        `json:"mac_address"`
	Name          string        `json:"name"`
	Network       string        `json:"network"`
	Subnet        string        `json:"subnet"`
}

type Operation

type Operation struct {
	CompletedAt string       `json:"completed_at"`
	Metadata    *interface{} `json:"metadata"`
	OperationId string       `json:"operation_id"`
	Result      *interface{} `json:"result,omitempty"`
	StartedAt   string       `json:"started_at"`
	State       string       `json:"state"`
}

Individual resources that use Operations should populate the `metadata` field with resource-specific information.

type PrivateIpv4Address

type PrivateIpv4Address struct {
	Address string `json:"address"`
}

type Project added in v0.1.22

type Project struct {
	Id             string `json:"id"`
	Name           string `json:"name"`
	OrganizationId string `json:"organization_id"`
	Relation       string `json:"relation"`
}

type ProjectUsageResponse added in v0.1.29

type ProjectUsageResponse struct {
	BillableMetric string  `json:"billable_metric"`
	Date           string  `json:"date"`
	ProjectId      string  `json:"project_id"`
	Quantity       float64 `json:"quantity"`
	Region         string  `json:"region"`
	ResourceType   string  `json:"resource_type"`
}

type ProjectsPostRequest added in v0.1.22

type ProjectsPostRequest struct {
	Name           string `json:"name"`
	OrganizationId string `json:"organization_id"`
}

type ProjectsPutPostResponseV1Alpha4 added in v0.1.22

type ProjectsPutPostResponseV1Alpha4 struct {
	Role *Project `json:"role"`
}

type ProjectsPutRequest added in v0.1.22

type ProjectsPutRequest struct {
	Name string `json:"name"`
}

type ProspectPostRequest

type ProspectPostRequest struct {
	Company            string   `json:"company"`
	Email              string   `json:"email"`
	ExpectedCapacity   string   `json:"expected_capacity"`
	ExpectedCommitment string   `json:"expected_commitment"`
	ExpectedService    []string `json:"expected_service"`
	Name               string   `json:"name"`
	Referral           string   `json:"referral"`
	Source             string   `json:"source"`
	UseCase            string   `json:"use_case"`
}

type ProspectPostResponse

type ProspectPostResponse struct {
	Success bool `json:"success,omitempty"`
}

type ProspectsApiService

type ProspectsApiService service

func (*ProspectsApiService) CreateProspect

ProspectsApiService Create a new prospective customer in Crusoe Cloud.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body

@return ProspectPostResponse

type PublicIpv4Address

type PublicIpv4Address struct {
	Address string `json:"address"`
	Id      string `json:"id"`
	Type_   string `json:"type"`
}

type RolesApiGetRolesOpts

type RolesApiGetRolesOpts struct {
	OrgId optional.String
}

type RolesApiService

type RolesApiService service

func (*RolesApiService) CreateRole

RolesApiService Create a new role that will be owned by the logged in user. The logged in user must have the permission to create roles within the organization. A successful response from this resource contains details of the created role.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body

@return ProjectsPutPostResponseV1Alpha4

func (*RolesApiService) DeleteRole

func (a *RolesApiService) DeleteRole(ctx context.Context, roleId string) (*http.Response, error)

RolesApiService Delete a role that the logged in user owns. Delete operations cascade to VMs created under that role.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param roleId

func (*RolesApiService) GetRoles

func (*RolesApiService) UpdateRole

RolesApiService Update details for a role that the logged in user owns. Requests to this resource must contain the json-encoded representation of the changes they want to make to the role. Currently only the role's name can be changed.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body
  • @param roleId

@return ProjectsPutPostResponseV1Alpha4

type SSHKeysApiService

type SSHKeysApiService service

func (*SSHKeysApiService) CreateSSHKey

SSHKeysApiService Register a new SSH public key to the logged in user. A successful response from this resource wil contain the created SSH key details.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body

@return CreateSshKeyResponse

func (*SSHKeysApiService) DeleteSSHKey

func (a *SSHKeysApiService) DeleteSSHKey(ctx context.Context, id string) (*http.Response, error)

SSHKeysApiService Delete an SSH public key registered to the logged in user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

func (*SSHKeysApiService) GetSSHKeys

SSHKeysApiService Retrieve the list of SSH public keys registered to the logged in user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return ListSshKeysResponseV1Alpha4

type SingleInstanceGetResponseV1Alpha4

type SingleInstanceGetResponseV1Alpha4 struct {
	Instance *InstanceV1Alpha4 `json:"instance"`
}

SingleInstanceGetResponseV1Alpha4 is the response type for GET requests to compute/vms/instances/{vm_id}.

type SnapshotOperationsApiGetStorageSnapshotsOperationsOpts

type SnapshotOperationsApiGetStorageSnapshotsOperationsOpts struct {
	ResourceId optional.String
	State      optional.Interface
}

type SnapshotOperationsApiService

type SnapshotOperationsApiService service

func (*SnapshotOperationsApiService) GetStorageSnapshotsOperation

func (a *SnapshotOperationsApiService) GetStorageSnapshotsOperation(ctx context.Context, operationId string) (ListOperationsResponseV1Alpha4, *http.Response, error)

SnapshotOperationsApiService Get status of a single asynchronous operation This resource retrieves information about the status of an asynchronous operation initiated by the snapshots resource. Only information about the operation specified in the path will be returned, or an HTTP 403 will be returned if the operation does not exist, was not initiated by the logged in user, or has expired.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param operationId

@return ListOperationsResponseV1Alpha4

func (*SnapshotOperationsApiService) GetStorageSnapshotsOperations

type SnapshotsApiService

type SnapshotsApiService service

func (*SnapshotsApiService) CreateDiskSnapshot

SnapshotsApiService Create a new snapshot for a disk owned by the logged in user. A successful response from this resource will contain the async operation.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body

@return AsyncOperationResponse

func (*SnapshotsApiService) DeleteDiskSnapshot

func (a *SnapshotsApiService) DeleteDiskSnapshot(ctx context.Context, snapshotId string) (AsyncOperationResponse, *http.Response, error)

SnapshotsApiService Delete a disk snapshot owned by the logged in user. A successful response from this resource will contain the async operation.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param snapshotId

@return AsyncOperationResponse

func (*SnapshotsApiService) GetDiskSnapshot

SnapshotsApiService Retrieve details about a disk snapshot that belongs to the logged in user. Size of snapshot will be in bytes.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param snapshotId

@return DiskSnapshotGetResponseV1Alpha4

func (*SnapshotsApiService) GetDiskSnapshots

SnapshotsApiService Retrieve details about all disk snapshots that belong to the logged in user. Size of snapshots will be in bytes.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return DiskSnapshotGetResponseV1Alpha4

type SshKey

type SshKey struct {
	CreatedAt    string        `json:"created_at"`
	Fingerprints *Fingerprints `json:"fingerprints"`
	Id           string        `json:"id"`
	Name         string        `json:"name"`
	PublicKey    string        `json:"public_key"`
}

type TokenInfo

type TokenInfo struct {
	AccessKey string `json:"access_key"`
	Alias     string `json:"alias"`
	CreatedAt string `json:"created_at"`
	ExpiresAt string `json:"expires_at"`
	LastUsed  string `json:"last_used"`
}

These are the fields returned from a GET request.

type TokensApiService

type TokensApiService service

func (*TokensApiService) CreateToken

TokensApiService Create a new token owned by the logged in user. A successful response from this resource will contain json-encoded details of API token. This is the only time the customer will be able to view the secret key associated with the token.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body

@return TokensPostResponse

func (*TokensApiService) DeleteToken

func (a *TokensApiService) DeleteToken(ctx context.Context, accessKey string) (*http.Response, error)

TokensApiService Delete an API token owned by the logged in user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param accessKey

func (*TokensApiService) GetTokens

TokensApiService Retrieve all active/expired API tokens for the logged in user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return TokensGetResponseV1Alpha4

type TokensGetResponseV1Alpha4 added in v0.1.22

type TokensGetResponseV1Alpha4 struct {
	Tokens []TokenInfo `json:"tokens"`
}

type TokensPostResponse

type TokensPostResponse struct {
	Token *GeneratedToken `json:"token"`
}

type TypesGetResponseV1Alpha4 added in v0.1.22

type TypesGetResponseV1Alpha4 struct {
	VmTypes []ModelType `json:"vm_types"`
}

type UsageApiService added in v0.1.29

type UsageApiService service

func (*UsageApiService) GetUsage added in v0.1.29

func (a *UsageApiService) GetUsage(ctx context.Context, orgId string, projects []string, resourceTypes []string, regions []string, startDate string, endDate string) (UsageByProjectGetResponse, *http.Response, error)

UsageApiService Get project-level usage for products in Crusoe Cloud.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param orgId
  • @param projects
  • @param resourceTypes
  • @param regions
  • @param startDate
  • @param endDate

@return UsageByProjectGetResponse

func (*UsageApiService) GetUsageExport added in v0.1.29

func (a *UsageApiService) GetUsageExport(ctx context.Context, orgId string, projects []string, resources []string, resourceTypes []string, regions []string, startDate string, endDate string) (*http.Response, error)

UsageApiService Get resource-level usage for products in Crusoe Cloud.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param orgId
  • @param projects
  • @param resources
  • @param resourceTypes
  • @param regions
  • @param startDate
  • @param endDate

func (*UsageApiService) GetUsageOptions added in v0.1.29

func (a *UsageApiService) GetUsageOptions(ctx context.Context, orgId string) (UsageOptions, *http.Response, error)

UsageApiService Get options which exist for filters for /usage and /usage/export routes.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param orgId

@return UsageOptions

type UsageByProjectGetResponse added in v0.1.29

type UsageByProjectGetResponse struct {
	Items []ProjectUsageResponse `json:"items"`
}

type UsageOptions added in v0.1.29

type UsageOptions struct {
	EndDate       string   `json:"end_date"`
	Projects      []string `json:"projects"`
	Regions       []string `json:"regions"`
	ResourceTypes []string `json:"resource_types"`
	StartDate     string   `json:"start_date"`
}

UsageOptions contains the values which exist for the fields which we allow filtering on for the usageByProjectGet endpoint.

type UserResponse

type UserResponse struct {
	Identity *Identity `json:"identity"`
}

The Identity of a user is returned.

type VMOperationsApiGetComputeVMsInstancesOperationsOpts

type VMOperationsApiGetComputeVMsInstancesOperationsOpts struct {
	ResourceId optional.String
	State      optional.Interface
}

type VMOperationsApiService

type VMOperationsApiService service

func (*VMOperationsApiService) GetComputeVMsInstancesOperation

func (a *VMOperationsApiService) GetComputeVMsInstancesOperation(ctx context.Context, operationId string) (ListOperationsResponseV1Alpha4, *http.Response, error)

VMOperationsApiService Get the status of a single asynchronous operation This resource retrieves information about the status of an asynchronous operation initiated by the instances resource. Only information about the operation specified in the path will be returned, or an HTTP 403 will be returned if the operation does not exist, was not initiated by the logged in user, or has expired.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param operationId

@return ListOperationsResponseV1Alpha4

func (*VMOperationsApiService) GetComputeVMsInstancesOperations

type VMsApiService

type VMsApiService service

func (*VMsApiService) CreateInstance

VMsApiService Create a new VM instance owned by the logged in user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body

@return AsyncOperationResponse

func (*VMsApiService) DeleteInstance

func (a *VMsApiService) DeleteInstance(ctx context.Context, vmId string) (AsyncOperationResponse, *http.Response, error)

VMsApiService Delete a VM that the logged in user owns.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param vmId

@return AsyncOperationResponse

func (*VMsApiService) GetInstance

VMsApiService Retrieve details about a particular VM.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param vmId

@return SingleInstanceGetResponseV1Alpha4

func (*VMsApiService) GetInstances

VMsApiService Retrieve details about all VMs that the logged in user owns or has access to.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return InstancesGetResponseV1Alpha4

func (*VMsApiService) GetVMTypes

VMsApiService Retrieve information about the types of VMs that are available to purchase along with their prices.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return TypesGetResponseV1Alpha4

func (*VMsApiService) UpdateInstance

VMsApiService Change the state of a VM the logged in user owns.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body
  • @param vmId

@return AsyncOperationResponse

func (*VMsApiService) UpdateInstanceAttachDisks

VMsApiService Attach disks to a VM the logged in user owns.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body
  • @param vmId

@return AsyncOperationResponse

func (*VMsApiService) UpdateInstanceDetachDisks

func (a *VMsApiService) UpdateInstanceDetachDisks(ctx context.Context, body InstancesDetachDiskPostRequest, vmId string) (AsyncOperationResponse, *http.Response, error)

VMsApiService Detach disks from a VM the logged in user owns.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body
  • @param vmId

@return AsyncOperationResponse

type VPCFirewallRuleOperationsApiGetNetworkingVPCFirewallRulesOperationsOpts

type VPCFirewallRuleOperationsApiGetNetworkingVPCFirewallRulesOperationsOpts struct {
	ResourceId optional.String
	State      optional.Interface
}

type VPCFirewallRuleOperationsApiService

type VPCFirewallRuleOperationsApiService service

func (*VPCFirewallRuleOperationsApiService) GetNetworkingVPCFirewallRulesOperation

func (a *VPCFirewallRuleOperationsApiService) GetNetworkingVPCFirewallRulesOperation(ctx context.Context, operationId string) (ListOperationsResponseV1Alpha4, *http.Response, error)

VPCFirewallRuleOperationsApiService Get status of a single asynchronous operation This resource retrieves information about the status of an asynchronous operation initiated by the snapshots resource. Only information about the operation specified in the path will be returned, or an HTTP 403 will be returned if the operation does not exist, was not initiated by the logged in user, or has expired.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param operationId

@return ListOperationsResponseV1Alpha4

type VPCFirewallRulesApiService

type VPCFirewallRulesApiService service

func (*VPCFirewallRulesApiService) CreateVPCFirewallRule

VPCFirewallRulesApiService Create a new VPC firewall rule owned by the logged in user. A successful response from this resource will contain the async operation.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body

@return AsyncOperationResponse

func (*VPCFirewallRulesApiService) DeleteVPCFirewallRule

func (a *VPCFirewallRulesApiService) DeleteVPCFirewallRule(ctx context.Context, vpcFirewallRuleId string) (AsyncOperationResponse, *http.Response, error)

VPCFirewallRulesApiService Delete a VPC firewall rule owned by the logged in user. A successful response from this resource will contain the async operation.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param vpcFirewallRuleId

@return AsyncOperationResponse

func (*VPCFirewallRulesApiService) GetVPCFirewallRule

func (a *VPCFirewallRulesApiService) GetVPCFirewallRule(ctx context.Context, vpcFirewallRuleId string) (VpcFirewallRulesGetResponseV1Alpha4, *http.Response, error)

VPCFirewallRulesApiService Retrieve details for a VPC firewall rule that belongs to the logged in user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param vpcFirewallRuleId

@return VpcFirewallRulesGetResponseV1Alpha4

func (*VPCFirewallRulesApiService) GetVPCFirewallRules

VPCFirewallRulesApiService Retrieve details about all VPC firewall rules that belong to the logged in user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return VpcFirewallRulesGetResponseV1Alpha4

func (*VPCFirewallRulesApiService) PatchVPCFirewallRule added in v0.1.21

func (a *VPCFirewallRulesApiService) PatchVPCFirewallRule(ctx context.Context, body VpcFirewallRulesPatchRequest, vpcFirewallRuleId string) (AsyncOperationResponse, *http.Response, error)

VPCFirewallRulesApiService Patch (update) a VPC firewall rule owned by the logged in user. A successful response from this resource will contain the async operation.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body
  • @param vpcFirewallRuleId

@return AsyncOperationResponse

type VPCNetworksApiService

type VPCNetworksApiService service

func (*VPCNetworksApiService) GetVPCNetwork

VPCNetworksApiService Retrieve details for a VPC network that belongs to the logged in user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param vpcNetworkId

@return VpcNetworksGetResponseV1Alpha4

func (*VPCNetworksApiService) GetVPCNetworks

VPCNetworksApiService Retrieve details about all VPC networks that belong to the logged in user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return VpcNetworksGetResponseV1Alpha4

type VPCSubnetsApiService

type VPCSubnetsApiService service

func (*VPCSubnetsApiService) GetVPCSubnet

VPCSubnetsApiService Retrieve details for a VPC subnet that belongs to the logged in user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param vpcSubnetId

@return VpcSubnetsGetResponseV1Alpha4

func (*VPCSubnetsApiService) GetVPCSubnets

VPCSubnetsApiService Retrieve details about all VPC subnets that belong to the logged in user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return VpcSubnetsGetResponseV1Alpha4

type VmAttachmentV1Alpha4 added in v0.1.31

type VmAttachmentV1Alpha4 struct {
	AttachmentType string `json:"attachment_type"`
	VmId           string `json:"vm_id"`
}

type VpcFirewallRule

type VpcFirewallRule struct {
	Action           string               `json:"action"`
	DestinationPorts []string             `json:"destination_ports"`
	Destinations     []FirewallRuleObject `json:"destinations"`
	Direction        string               `json:"direction"`
	Id               string               `json:"id"`
	Name             string               `json:"name"`
	Protocols        []string             `json:"protocols"`
	SourcePorts      []string             `json:"source_ports"`
	Sources          []FirewallRuleObject `json:"sources"`
	State            string               `json:"state"`
	VpcNetworkId     string               `json:"vpc_network_id"`
}

type VpcFirewallRulesGetResponseV1Alpha4 added in v0.1.22

type VpcFirewallRulesGetResponseV1Alpha4 struct {
	FirewallRules []VpcFirewallRule `json:"firewall_rules"`
}

type VpcFirewallRulesPatchRequest added in v0.1.21

type VpcFirewallRulesPatchRequest struct {
	DestinationPorts []string             `json:"destination_ports,omitempty"`
	Destinations     []FirewallRuleObject `json:"destinations,omitempty"`
	Name             string               `json:"name,omitempty"`
	Protocols        []string             `json:"protocols,omitempty"`
	SourcePorts      []string             `json:"source_ports,omitempty"`
	Sources          []FirewallRuleObject `json:"sources,omitempty"`
}

type VpcFirewallRulesPostRequestV1Alpha4 added in v0.1.22

type VpcFirewallRulesPostRequestV1Alpha4 struct {
	Action           string               `json:"action"`
	DestinationPorts []string             `json:"destination_ports,omitempty"`
	Destinations     []FirewallRuleObject `json:"destinations"`
	Direction        string               `json:"direction"`
	Name             string               `json:"name"`
	Protocols        []string             `json:"protocols"`
	RoleId           string               `json:"role_id"`
	SourcePorts      []string             `json:"source_ports,omitempty"`
	Sources          []FirewallRuleObject `json:"sources"`
	VpcNetworkId     string               `json:"vpc_network_id"`
}

type VpcNetwork

type VpcNetwork struct {
	Cidr    string   `json:"cidr"`
	Gateway string   `json:"gateway"`
	Id      string   `json:"id"`
	Name    string   `json:"name"`
	Subnets []string `json:"subnets"`
}

type VpcNetworksGetResponseV1Alpha4 added in v0.1.22

type VpcNetworksGetResponseV1Alpha4 struct {
	Networks []VpcNetwork `json:"networks"`
}

type VpcSubnet

type VpcSubnet struct {
	Cidr         string `json:"cidr"`
	Id           string `json:"id"`
	Location     string `json:"location"`
	Name         string `json:"name"`
	VpcNetworkId string `json:"vpc_network_id"`
}

type VpcSubnetsGetResponseV1Alpha4 added in v0.1.22

type VpcSubnetsGetResponseV1Alpha4 struct {
	Subnets []VpcSubnet `json:"subnets"`
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL