public_cloud_account

package
v2.61.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PublicCloudAccountDetails

type PublicCloudAccountDetails struct {
	// Internal ID of public cloud account/subscription.
	ID int `json:"id,omitempty"`

	// Account or subscription ID of public cloud account.
	AccountID string `json:"accountId,omitempty"`

	// Public cloud platform (AWS or Azure)
	PlatformID string `json:"platformId,omitempty"`
}

func GetAccountID added in v2.61.0

func GetAccountID(service *services.Service, accountID int) (*PublicCloudAccountDetails, error)

GetAccountID remains the same

func GetAll added in v2.61.0

func GetAll(service *services.Service) ([]PublicCloudAccountDetails, error)

func GetLite added in v2.61.0

func GetLite(service *services.Service) ([]PublicCloudAccountDetails, error)

GetLite returns all available accounts without filtering by ID

type PublicCloudAccountIDStatus

type PublicCloudAccountIDStatus struct {
	// Indicates whether public cloud account is enabled.
	AccountIdEnabled bool `json:"accountIdEnabled,omitempty"`

	// Indicates whether public cloud subscription is enabled.
	SubIDEnabled bool `json:"subIdEnabled,omitempty"`

	// Indicates whether public cloud subscription is enabled.
	ProjectIdEnabled bool `json:"projectIdEnabled,omitempty"`
}

func GetAccountStatus added in v2.61.0

func GetAccountStatus(service *services.Service) (*PublicCloudAccountIDStatus, error)

GetAccountStatus returns a status payload directly

Jump to

Keyboard shortcuts

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