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
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
Click to show internal directories.
Click to hide internal directories.