model

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BillingPeriodCost

type BillingPeriodCost struct {
	Period string  `json:"period"`
	Total  float64 `json:"total"`
}

type CollectionSummary added in v0.0.6

type CollectionSummary struct {
	SubscriptionId   string
	SubscriptionName string
	BillingPeriod    time.Time
}

type ResourceGroup added in v0.0.5

type ResourceGroup struct {
	Id       string
	Name     string
	Location string
}

type ResourceGroupCost

type ResourceGroupCost struct {
	SubscriptionId   string
	SubscriptionName string
	Name             string
	BillingPeriod    time.Time
	Cost             float64
	CostUSD          float64
	Currency         string
}

type ResourceGroupSummary

type ResourceGroupSummary struct {
	Name             string              `json:"name"`
	SubscriptionName string              `json:"subscriptionName"`
	Active           bool                `json:"active"`
	Costs            []BillingPeriodCost `json:"costs"`
	TotalCost        float64             `json:"totalCost"`
}

type Subscription added in v0.0.5

type Subscription struct {
	Id       string
	TenantId string
	Name     string
}

Jump to

Keyboard shortcuts

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