Documentation ¶
Index ¶
- func PossibleValuesForChargeSummaryKind() []string
- type Amount
- type BaseChargeSummaryImpl
- type ChargeSummary
- type ChargeSummaryKind
- type ChargesClient
- type ChargesListResult
- type LegacyChargeSummary
- type LegacyChargeSummaryProperties
- type ListOperationOptions
- type ListOperationResponse
- type ModernChargeSummary
- type ModernChargeSummaryProperties
- type RawChargeSummaryImpl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForChargeSummaryKind ¶
func PossibleValuesForChargeSummaryKind() []string
Types ¶
type BaseChargeSummaryImpl ¶ added in v0.20240920.1135249
type BaseChargeSummaryImpl struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Kind ChargeSummaryKind `json:"kind"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
func (BaseChargeSummaryImpl) ChargeSummary ¶ added in v0.20240920.1135249
func (s BaseChargeSummaryImpl) ChargeSummary() BaseChargeSummaryImpl
type ChargeSummary ¶
type ChargeSummary interface {
ChargeSummary() BaseChargeSummaryImpl
}
func UnmarshalChargeSummaryImplementation ¶ added in v0.20240920.1135249
func UnmarshalChargeSummaryImplementation(input []byte) (ChargeSummary, error)
type ChargeSummaryKind ¶
type ChargeSummaryKind string
const ( ChargeSummaryKindLegacy ChargeSummaryKind = "legacy" ChargeSummaryKindModern ChargeSummaryKind = "modern" )
func (*ChargeSummaryKind) UnmarshalJSON ¶
func (s *ChargeSummaryKind) UnmarshalJSON(bytes []byte) error
type ChargesClient ¶
type ChargesClient struct {
Client *resourcemanager.Client
}
func NewChargesClientWithBaseURI ¶
func NewChargesClientWithBaseURI(sdkApi sdkEnv.Api) (*ChargesClient, error)
func (ChargesClient) List ¶
func (c ChargesClient) List(ctx context.Context, id commonids.ScopeId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
type ChargesListResult ¶
type ChargesListResult struct {
Value *[]ChargeSummary `json:"value,omitempty"`
}
func (*ChargesListResult) UnmarshalJSON ¶
func (s *ChargesListResult) UnmarshalJSON(bytes []byte) error
type LegacyChargeSummary ¶
type LegacyChargeSummary struct { Properties LegacyChargeSummaryProperties `json:"properties"` ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Kind ChargeSummaryKind `json:"kind"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
func (LegacyChargeSummary) ChargeSummary ¶ added in v0.20240920.1135249
func (s LegacyChargeSummary) ChargeSummary() BaseChargeSummaryImpl
func (LegacyChargeSummary) MarshalJSON ¶
func (s LegacyChargeSummary) MarshalJSON() ([]byte, error)
type LegacyChargeSummaryProperties ¶
type LegacyChargeSummaryProperties struct { AzureCharges *float64 `json:"azureCharges,omitempty"` AzureMarketplaceCharges *float64 `json:"azureMarketplaceCharges,omitempty"` BillingPeriodId *string `json:"billingPeriodId,omitempty"` ChargesBilledSeparately *float64 `json:"chargesBilledSeparately,omitempty"` Currency *string `json:"currency,omitempty"` UsageEnd *string `json:"usageEnd,omitempty"` UsageStart *string `json:"usageStart,omitempty"` }
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ChargesListResult }
type ModernChargeSummary ¶
type ModernChargeSummary struct { Properties ModernChargeSummaryProperties `json:"properties"` ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Kind ChargeSummaryKind `json:"kind"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
func (ModernChargeSummary) ChargeSummary ¶ added in v0.20240920.1135249
func (s ModernChargeSummary) ChargeSummary() BaseChargeSummaryImpl
func (ModernChargeSummary) MarshalJSON ¶
func (s ModernChargeSummary) MarshalJSON() ([]byte, error)
type ModernChargeSummaryProperties ¶
type ModernChargeSummaryProperties struct { AzureCharges *Amount `json:"azureCharges,omitempty"` BillingAccountId *string `json:"billingAccountId,omitempty"` BillingPeriodId *string `json:"billingPeriodId,omitempty"` BillingProfileId *string `json:"billingProfileId,omitempty"` ChargesBilledSeparately *Amount `json:"chargesBilledSeparately,omitempty"` CustomerId *string `json:"customerId,omitempty"` InvoiceSectionId *string `json:"invoiceSectionId,omitempty"` IsInvoiced *bool `json:"isInvoiced,omitempty"` MarketplaceCharges *Amount `json:"marketplaceCharges,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` UsageEnd *string `json:"usageEnd,omitempty"` UsageStart *string `json:"usageStart,omitempty"` }
type RawChargeSummaryImpl ¶
type RawChargeSummaryImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawChargeSummaryImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
func (RawChargeSummaryImpl) ChargeSummary ¶ added in v0.20240920.1135249
func (s RawChargeSummaryImpl) ChargeSummary() BaseChargeSummaryImpl
Click to show internal directories.
Click to hide internal directories.