reserved_resource

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetReservedResources

func GetReservedResources(subscriptionID string, conn *sdk.Connection) ([]*v1.ReservedResource, error)

Types

type ReservedResource

type ReservedResource struct {
	AvailabilityZoneType      string    `json:"availability_zone_type"`
	BillingMarketplaceAccount string    `json:"billing_marketplace_account"`
	BillingModel              string    `json:"billing_model"`
	BYOC                      bool      `json:"byoc"`
	Count                     int       `json:"count"`
	CreatedAt                 time.Time `json:"created_at"`
	ResourceName              string    `json:"resource_name"`
	ResourceType              string    `json:"resource_type"`
	UpdatedAt                 time.Time `json:"updated_at"`
}

type ReservedResourceList

type ReservedResourceList []ReservedResource

func PresentReservedResources

func PresentReservedResources(reservedResources []*v1.ReservedResource) ReservedResourceList

Jump to

Keyboard shortcuts

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