Documentation ¶
Index ¶
- Variables
- type Cost
- func (*Cost) Descriptor() ([]byte, []int)deprecated
- func (x *Cost) GetAccount() string
- func (x *Cost) GetAlternateId() string
- func (x *Cost) GetBaseCurrency() string
- func (x *Cost) GetBillableQuantity() float64
- func (x *Cost) GetBillingType() string
- func (x *Cost) GetCategory() string
- func (x *Cost) GetChargeType() string
- func (x *Cost) GetCost() float64
- func (x *Cost) GetDate() string
- func (x *Cost) GetDescription() string
- func (x *Cost) GetDomainName() string
- func (x *Cost) GetEffectiveUnitPrice() float64
- func (x *Cost) GetEntitlementId() string
- func (x *Cost) GetExchangeRate() float64
- func (x *Cost) GetGroupId() string
- func (x *Cost) GetInstanceType() string
- func (x *Cost) GetOperation() string
- func (x *Cost) GetProductName() string
- func (x *Cost) GetRegion() string
- func (x *Cost) GetServiceName() string
- func (x *Cost) GetSubscriptionId() string
- func (x *Cost) GetTargetCost() float64
- func (x *Cost) GetTargetCurrency() string
- func (x *Cost) GetTimeInterval() string
- func (x *Cost) GetUsageType() string
- func (*Cost) ProtoMessage()
- func (x *Cost) ProtoReflect() protoreflect.Message
- func (x *Cost) Reset()
- func (x *Cost) String() string
- type CostAttribute
- func (*CostAttribute) Descriptor() ([]byte, []int)deprecated
- func (x *CostAttribute) GetCategory() string
- func (x *CostAttribute) GetCustomerId() string
- func (x *CostAttribute) GetDescription() string
- func (x *CostAttribute) GetDomainName() string
- func (x *CostAttribute) GetEntitlementId() string
- func (x *CostAttribute) GetGroupId() string
- func (x *CostAttribute) GetProductId() string
- func (x *CostAttribute) GetProductName() string
- func (x *CostAttribute) GetSkuId() string
- func (x *CostAttribute) GetSkuName() string
- func (x *CostAttribute) GetSubscriptionId() string
- func (*CostAttribute) ProtoMessage()
- func (x *CostAttribute) ProtoReflect() protoreflect.Message
- func (x *CostAttribute) Reset()
- func (x *CostAttribute) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_api_azure_cost_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Cost ¶
type Cost struct { // The account being queried. Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // The group id the account is associated with during the query. GroupId string `protobuf:"bytes,2,opt,name=groupId,proto3" json:"groupId,omitempty"` // For daily data, format is `yyyy-mm-dd`; for monthly, `yyyy-mm`. Date string `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"` // The service name, such as `Software License`, `Cognosys`, `SendGrid`, `New-Commerce ERP Software License`, etc. ServiceName string `protobuf:"bytes,4,opt,name=serviceName,proto3" json:"serviceName,omitempty"` // The product code for an Azure service, such as `Dsv4 Series Windows VM`, `CentOS 7.6`, etc. ProductName string `protobuf:"bytes,5,opt,name=productName,proto3" json:"productName,omitempty"` // The region of lineitem, if applicable. Region string `protobuf:"bytes,6,opt,name=region,proto3" json:"region,omitempty"` // The charge type of lineitem, if applicable. Such as `New`, `CycleCharge`, `Prorate fees when cancel`, etc. ChargeType string `protobuf:"bytes,7,opt,name=chargeType,proto3" json:"chargeType,omitempty"` // The description of lineitem, if applicable. Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"` // The billable quantity of lineitem, if applicable. BillableQuantity float64 `protobuf:"fixed64,9,opt,name=billableQuantity,proto3" json:"billableQuantity,omitempty"` // The effective unit price of lineitem, if applicable. EffectiveUnitPrice float64 `protobuf:"fixed64,10,opt,name=effectiveUnitPrice,proto3" json:"effectiveUnitPrice,omitempty"` // The true cost (calculated) for this lineitem. Cost float64 `protobuf:"fixed64,11,opt,name=cost,proto3" json:"cost,omitempty"` // The base currency for `cost`. BaseCurrency string `protobuf:"bytes,12,opt,name=baseCurrency,proto3" json:"baseCurrency,omitempty"` // The exchange rate used to convert `baseCurrency` to `targetCurrency`. ExchangeRate float64 `protobuf:"fixed64,13,opt,name=exchangeRate,proto3" json:"exchangeRate,omitempty"` // Converted `cost`. TargetCost float64 `protobuf:"fixed64,14,opt,name=targetCost,proto3" json:"targetCost,omitempty"` // The currency set by `toCurrency`. TargetCurrency string `protobuf:"bytes,15,opt,name=targetCurrency,proto3" json:"targetCurrency,omitempty"` // The time interval of lineitem, if applicable. Format is `yyyy-MM-ddThh:MM:ssZ/yyyy-mm-ddTHH:mm:ssZ` (for example 2020-09-16T00:00:00Z/2021-09-24T00:00:00Z). TimeInterval string `protobuf:"bytes,16,opt,name=timeInterval,proto3" json:"timeInterval,omitempty"` // The billing type of lineitem, if applicable. Such as `MARKETPLACE`, `UPFRONT`, `Refund`, `Credit` and `OTHERS`. BillingType string `protobuf:"bytes,17,opt,name=billingType,proto3" json:"billingType,omitempty"` // The alternate ID of lineitem, if applicable. AlternateId string `protobuf:"bytes,18,opt,name=alternateId,proto3" json:"alternateId,omitempty"` // The domain name of lineitem, if applicable. DomainName string `protobuf:"bytes,19,opt,name=domainName,proto3" json:"domainName,omitempty"` // The operation of lineitem, if applicable. Such as `Cool LRS Write Operations`, `Cool LRS Data Write`, `Standard Data Transfer Out`, etc. Operation string `protobuf:"bytes,20,opt,name=operation,proto3" json:"operation,omitempty"` // The usage type of lineitem, if applicable. Such as `Standard HDD Managed Disks`, `Tables`, `Blob Storage`, etc. UsageType string `protobuf:"bytes,21,opt,name=usageType,proto3" json:"usageType,omitempty"` // The instance type of lineitem, if applicable. Such as `Gateway`, `Standard_B2s`, `Standard_D4s_v3`, etc. InstanceType string `protobuf:"bytes,22,opt,name=instanceType,proto3" json:"instanceType,omitempty"` // The category of lineitem, if applicable. Such as `Software License`, `Marketplace`, `RI`, `Other`, etc. Category string `protobuf:"bytes,23,opt,name=category,proto3" json:"category,omitempty"` // The subscription id. SubscriptionId string `protobuf:"bytes,24,opt,name=subscriptionId,proto3" json:"subscriptionId,omitempty"` // The entitlement id. EntitlementId string `protobuf:"bytes,25,opt,name=entitlementId,proto3" json:"entitlementId,omitempty"` // contains filtered or unexported fields }
func (*Cost) Descriptor
deprecated
func (*Cost) GetAccount ¶
func (*Cost) GetAlternateId ¶
func (*Cost) GetBaseCurrency ¶
func (*Cost) GetBillableQuantity ¶
func (*Cost) GetBillingType ¶
func (*Cost) GetCategory ¶ added in v0.70.5
func (*Cost) GetChargeType ¶
func (*Cost) GetDescription ¶
func (*Cost) GetDomainName ¶ added in v0.64.18
func (*Cost) GetEffectiveUnitPrice ¶
func (*Cost) GetEntitlementId ¶ added in v0.70.11
func (*Cost) GetExchangeRate ¶
func (*Cost) GetGroupId ¶
func (*Cost) GetInstanceType ¶ added in v0.68.0
func (*Cost) GetOperation ¶ added in v0.68.0
func (*Cost) GetProductName ¶
func (*Cost) GetServiceName ¶
func (*Cost) GetSubscriptionId ¶ added in v0.70.11
func (*Cost) GetTargetCost ¶
func (*Cost) GetTargetCurrency ¶
func (*Cost) GetTimeInterval ¶
func (*Cost) GetUsageType ¶ added in v0.68.0
func (*Cost) ProtoMessage ¶
func (*Cost) ProtoMessage()
func (*Cost) ProtoReflect ¶
func (x *Cost) ProtoReflect() protoreflect.Message
type CostAttribute ¶ added in v0.71.18
type CostAttribute struct { CustomerId string `protobuf:"bytes,1,opt,name=customerId,proto3" json:"customerId,omitempty"` SubscriptionId string `protobuf:"bytes,2,opt,name=subscriptionId,proto3" json:"subscriptionId,omitempty"` EntitlementId string `protobuf:"bytes,3,opt,name=entitlementId,proto3" json:"entitlementId,omitempty"` GroupId string `protobuf:"bytes,4,opt,name=groupId,proto3" json:"groupId,omitempty"` ProductId string `protobuf:"bytes,5,opt,name=productId,proto3" json:"productId,omitempty"` ProductName string `protobuf:"bytes,6,opt,name=productName,proto3" json:"productName,omitempty"` SkuId string `protobuf:"bytes,7,opt,name=skuId,proto3" json:"skuId,omitempty"` SkuName string `protobuf:"bytes,8,opt,name=skuName,proto3" json:"skuName,omitempty"` Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"` Category string `protobuf:"bytes,10,opt,name=category,proto3" json:"category,omitempty"` DomainName string `protobuf:"bytes,11,opt,name=domainName,proto3" json:"domainName,omitempty"` // contains filtered or unexported fields }
func (*CostAttribute) Descriptor
deprecated
added in
v0.71.18
func (*CostAttribute) Descriptor() ([]byte, []int)
Deprecated: Use CostAttribute.ProtoReflect.Descriptor instead.
func (*CostAttribute) GetCategory ¶ added in v0.71.18
func (x *CostAttribute) GetCategory() string
func (*CostAttribute) GetCustomerId ¶ added in v0.71.18
func (x *CostAttribute) GetCustomerId() string
func (*CostAttribute) GetDescription ¶ added in v0.71.20
func (x *CostAttribute) GetDescription() string
func (*CostAttribute) GetDomainName ¶ added in v0.71.18
func (x *CostAttribute) GetDomainName() string
func (*CostAttribute) GetEntitlementId ¶ added in v0.71.18
func (x *CostAttribute) GetEntitlementId() string
func (*CostAttribute) GetGroupId ¶ added in v0.71.18
func (x *CostAttribute) GetGroupId() string
func (*CostAttribute) GetProductId ¶ added in v0.71.18
func (x *CostAttribute) GetProductId() string
func (*CostAttribute) GetProductName ¶ added in v0.71.18
func (x *CostAttribute) GetProductName() string
func (*CostAttribute) GetSkuId ¶ added in v0.71.18
func (x *CostAttribute) GetSkuId() string
func (*CostAttribute) GetSkuName ¶ added in v0.71.18
func (x *CostAttribute) GetSkuName() string
func (*CostAttribute) GetSubscriptionId ¶ added in v0.71.18
func (x *CostAttribute) GetSubscriptionId() string
func (*CostAttribute) ProtoMessage ¶ added in v0.71.18
func (*CostAttribute) ProtoMessage()
func (*CostAttribute) ProtoReflect ¶ added in v0.71.18
func (x *CostAttribute) ProtoReflect() protoreflect.Message
func (*CostAttribute) Reset ¶ added in v0.71.18
func (x *CostAttribute) Reset()
func (*CostAttribute) String ¶ added in v0.71.18
func (x *CostAttribute) String() string
Click to show internal directories.
Click to hide internal directories.