aws

package
v0.32.2 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2021 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_aws_account_proto protoreflect.FileDescriptor
View Source
var File_api_aws_adjustment_proto protoreflect.FileDescriptor
View Source
var File_api_aws_cost_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Account

type Account struct {

	// The AWS account id.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The account name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The attributes (key/value pair) of the account. If hierarchy is supported, it will be
	// separated by '/', such as 'metakey/subkey=value'. Supported attributes include 'createTime'.
	// If the account is a master (or payer) account, additional attributes include 'bucketName',
	// 'lastModified' (last timestamp AWS updated CUR), 'prefix', 'reportName', 'roleArn', and
	// 'lastImported' (last timestamp CUR is imported to Alphaus).
	Metadata map[string]string `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Account) Descriptor deprecated

func (*Account) Descriptor() ([]byte, []int)

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetId

func (x *Account) GetId() string

func (*Account) GetMetadata

func (x *Account) GetMetadata() map[string]string

func (*Account) GetName

func (x *Account) GetName() string

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

func (x *Account) ProtoReflect() protoreflect.Message

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

type Adjustment added in v0.9.0

type Adjustment struct {
	Account        string                 `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	BillingGroupId string                 `protobuf:"bytes,2,opt,name=billingGroupId,proto3" json:"billingGroupId,omitempty"`
	Date           *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"`
	Type           string                 `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	ProductCode    string                 `protobuf:"bytes,5,opt,name=productCode,proto3" json:"productCode,omitempty"`
	Description    string                 `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	Cost           float64                `protobuf:"fixed64,7,opt,name=cost,proto3" json:"cost,omitempty"`
	// contains filtered or unexported fields
}

func (*Adjustment) Descriptor deprecated added in v0.9.0

func (*Adjustment) Descriptor() ([]byte, []int)

Deprecated: Use Adjustment.ProtoReflect.Descriptor instead.

func (*Adjustment) GetAccount added in v0.9.0

func (x *Adjustment) GetAccount() string

func (*Adjustment) GetBillingGroupId added in v0.9.0

func (x *Adjustment) GetBillingGroupId() string

func (*Adjustment) GetCost added in v0.9.0

func (x *Adjustment) GetCost() float64

func (*Adjustment) GetDate added in v0.9.0

func (x *Adjustment) GetDate() *timestamppb.Timestamp

func (*Adjustment) GetDescription added in v0.9.0

func (x *Adjustment) GetDescription() string

func (*Adjustment) GetProductCode added in v0.9.0

func (x *Adjustment) GetProductCode() string

func (*Adjustment) GetType added in v0.9.0

func (x *Adjustment) GetType() string

func (*Adjustment) ProtoMessage added in v0.9.0

func (*Adjustment) ProtoMessage()

func (*Adjustment) ProtoReflect added in v0.9.0

func (x *Adjustment) ProtoReflect() protoreflect.Message

func (*Adjustment) Reset added in v0.9.0

func (x *Adjustment) Reset()

func (*Adjustment) String added in v0.9.0

func (x *Adjustment) String() string

type Cost added in v0.9.0

type Cost struct {
	Account        string                 `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	BillingGroupId string                 `protobuf:"bytes,2,opt,name=billingGroupId,proto3" json:"billingGroupId,omitempty"`
	Date           *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"`
	ProductCode    string                 `protobuf:"bytes,4,opt,name=productCode,proto3" json:"productCode,omitempty"`
	ServiceCode    string                 `protobuf:"bytes,5,opt,name=serviceCode,proto3" json:"serviceCode,omitempty"`
	Region         string                 `protobuf:"bytes,6,opt,name=region,proto3" json:"region,omitempty"`
	Zone           string                 `protobuf:"bytes,7,opt,name=zone,proto3" json:"zone,omitempty"`
	UsageType      string                 `protobuf:"bytes,8,opt,name=usageType,proto3" json:"usageType,omitempty"`
	InstanceType   string                 `protobuf:"bytes,9,opt,name=instanceType,proto3" json:"instanceType,omitempty"`
	Operation      string                 `protobuf:"bytes,10,opt,name=operation,proto3" json:"operation,omitempty"`
	InvoiceId      string                 `protobuf:"bytes,11,opt,name=invoiceId,proto3" json:"invoiceId,omitempty"`
	Description    string                 `protobuf:"bytes,12,opt,name=description,proto3" json:"description,omitempty"`
	ResourceId     string                 `protobuf:"bytes,13,opt,name=resourceId,proto3" json:"resourceId,omitempty"`
	Tags           map[string]string      `` /* 150-byte string literal not displayed */
	CostCategories map[string]string      `` /* 170-byte string literal not displayed */
	Usage          float64                `protobuf:"fixed64,16,opt,name=usage,proto3" json:"usage,omitempty"`
	Cost           float64                `protobuf:"fixed64,17,opt,name=cost,proto3" json:"cost,omitempty"`
	TagId          string                 `protobuf:"bytes,18,opt,name=tagId,proto3" json:"tagId,omitempty"`
	// contains filtered or unexported fields
}

func (*Cost) Descriptor deprecated added in v0.9.0

func (*Cost) Descriptor() ([]byte, []int)

Deprecated: Use Cost.ProtoReflect.Descriptor instead.

func (*Cost) GetAccount added in v0.9.0

func (x *Cost) GetAccount() string

func (*Cost) GetBillingGroupId added in v0.9.0

func (x *Cost) GetBillingGroupId() string

func (*Cost) GetCost added in v0.9.0

func (x *Cost) GetCost() float64

func (*Cost) GetCostCategories added in v0.9.0

func (x *Cost) GetCostCategories() map[string]string

func (*Cost) GetDate added in v0.9.0

func (x *Cost) GetDate() *timestamppb.Timestamp

func (*Cost) GetDescription added in v0.9.0

func (x *Cost) GetDescription() string

func (*Cost) GetInstanceType added in v0.9.0

func (x *Cost) GetInstanceType() string

func (*Cost) GetInvoiceId added in v0.9.0

func (x *Cost) GetInvoiceId() string

func (*Cost) GetOperation added in v0.9.0

func (x *Cost) GetOperation() string

func (*Cost) GetProductCode added in v0.9.0

func (x *Cost) GetProductCode() string

func (*Cost) GetRegion added in v0.9.0

func (x *Cost) GetRegion() string

func (*Cost) GetResourceId added in v0.10.1

func (x *Cost) GetResourceId() string

func (*Cost) GetServiceCode added in v0.9.0

func (x *Cost) GetServiceCode() string

func (*Cost) GetTagId added in v0.10.1

func (x *Cost) GetTagId() string

func (*Cost) GetTags added in v0.9.0

func (x *Cost) GetTags() map[string]string

func (*Cost) GetUsage added in v0.9.0

func (x *Cost) GetUsage() float64

func (*Cost) GetUsageType added in v0.9.0

func (x *Cost) GetUsageType() string

func (*Cost) GetZone added in v0.9.0

func (x *Cost) GetZone() string

func (*Cost) ProtoMessage added in v0.9.0

func (*Cost) ProtoMessage()

func (*Cost) ProtoReflect added in v0.9.0

func (x *Cost) ProtoReflect() protoreflect.Message

func (*Cost) Reset added in v0.9.0

func (x *Cost) Reset()

func (*Cost) String added in v0.9.0

func (x *Cost) String() string

Jump to

Keyboard shortcuts

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