Documentation ¶
Index ¶
- func PossibleValuesForOperationStatusType() []string
- func ValidateBillingPeriodID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBillingProfileID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateInvoiceID(input interface{}, key string) (warnings []string, errors []error)
- type BillingPeriodId
- type BillingProfileId
- type DownloadUrl
- type EAPriceSheetProperties
- func (o *EAPriceSheetProperties) GetEffectiveEndDateAsTime() (*time.Time, error)
- func (o *EAPriceSheetProperties) GetEffectiveStartDateAsTime() (*time.Time, error)
- func (o *EAPriceSheetProperties) SetEffectiveEndDateAsTime(input time.Time)
- func (o *EAPriceSheetProperties) SetEffectiveStartDateAsTime(input time.Time)
- type EAPricesheetDownloadProperties
- type InvoiceId
- type MCAPriceSheetProperties
- func (o *MCAPriceSheetProperties) GetEffectiveEndDateAsTime() (*time.Time, error)
- func (o *MCAPriceSheetProperties) GetEffectiveStartDateAsTime() (*time.Time, error)
- func (o *MCAPriceSheetProperties) SetEffectiveEndDateAsTime(input time.Time)
- func (o *MCAPriceSheetProperties) SetEffectiveStartDateAsTime(input time.Time)
- type OperationStatus
- type OperationStatusType
- type PriceSheetDownloadByBillingAccountOperationResponse
- type PriceSheetDownloadByBillingProfileOperationResponse
- type PriceSheetDownloadByInvoiceOperationResponse
- type PriceSheetsClient
- func (c PriceSheetsClient) PriceSheetDownloadByBillingAccount(ctx context.Context, id BillingPeriodId) (result PriceSheetDownloadByBillingAccountOperationResponse, err error)
- func (c PriceSheetsClient) PriceSheetDownloadByBillingAccountThenPoll(ctx context.Context, id BillingPeriodId) error
- func (c PriceSheetsClient) PriceSheetDownloadByBillingProfile(ctx context.Context, id BillingProfileId) (result PriceSheetDownloadByBillingProfileOperationResponse, err error)
- func (c PriceSheetsClient) PriceSheetDownloadByBillingProfileThenPoll(ctx context.Context, id BillingProfileId) error
- func (c PriceSheetsClient) PriceSheetDownloadByInvoice(ctx context.Context, id InvoiceId) (result PriceSheetDownloadByInvoiceOperationResponse, err error)
- func (c PriceSheetsClient) PriceSheetDownloadByInvoiceThenPoll(ctx context.Context, id InvoiceId) error
- type PricesheetDownloadProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForOperationStatusType ¶ added in v0.20231216.1000125
func PossibleValuesForOperationStatusType() []string
func ValidateBillingPeriodID ¶ added in v0.20231216.1000125
ValidateBillingPeriodID checks that 'input' can be parsed as a Billing Period ID
func ValidateBillingProfileID ¶
ValidateBillingProfileID checks that 'input' can be parsed as a Billing Profile ID
func ValidateInvoiceID ¶
ValidateInvoiceID checks that 'input' can be parsed as a Invoice ID
Types ¶
type BillingPeriodId ¶ added in v0.20231216.1000125
BillingPeriodId is a struct representing the Resource ID for a Billing Period
func NewBillingPeriodID ¶ added in v0.20231216.1000125
func NewBillingPeriodID(billingAccountId string, billingPeriodName string) BillingPeriodId
NewBillingPeriodID returns a new BillingPeriodId struct
func ParseBillingPeriodID ¶ added in v0.20231216.1000125
func ParseBillingPeriodID(input string) (*BillingPeriodId, error)
ParseBillingPeriodID parses 'input' into a BillingPeriodId
func ParseBillingPeriodIDInsensitively ¶ added in v0.20231216.1000125
func ParseBillingPeriodIDInsensitively(input string) (*BillingPeriodId, error)
ParseBillingPeriodIDInsensitively parses 'input' case-insensitively into a BillingPeriodId note: this method should only be used for API response data and not user input
func (*BillingPeriodId) FromParseResult ¶ added in v0.20231216.1000125
func (id *BillingPeriodId) FromParseResult(input resourceids.ParseResult) error
func (BillingPeriodId) ID ¶ added in v0.20231216.1000125
func (id BillingPeriodId) ID() string
ID returns the formatted Billing Period ID
func (BillingPeriodId) Segments ¶ added in v0.20231216.1000125
func (id BillingPeriodId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Period ID
func (BillingPeriodId) String ¶ added in v0.20231216.1000125
func (id BillingPeriodId) String() string
String returns a human-readable description of this Billing Period ID
type BillingProfileId ¶
BillingProfileId is a struct representing the Resource ID for a Billing Profile
func NewBillingProfileID ¶
func NewBillingProfileID(billingAccountId string, billingProfileId string) BillingProfileId
NewBillingProfileID returns a new BillingProfileId struct
func ParseBillingProfileID ¶
func ParseBillingProfileID(input string) (*BillingProfileId, error)
ParseBillingProfileID parses 'input' into a BillingProfileId
func ParseBillingProfileIDInsensitively ¶
func ParseBillingProfileIDInsensitively(input string) (*BillingProfileId, error)
ParseBillingProfileIDInsensitively parses 'input' case-insensitively into a BillingProfileId note: this method should only be used for API response data and not user input
func (*BillingProfileId) FromParseResult ¶
func (id *BillingProfileId) FromParseResult(input resourceids.ParseResult) error
func (BillingProfileId) ID ¶
func (id BillingProfileId) ID() string
ID returns the formatted Billing Profile ID
func (BillingProfileId) Segments ¶
func (id BillingProfileId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Profile ID
func (BillingProfileId) String ¶
func (id BillingProfileId) String() string
String returns a human-readable description of this Billing Profile ID
type DownloadUrl ¶
type DownloadUrl struct { DownloadUrl *string `json:"downloadUrl,omitempty"` ExpiryTime *string `json:"expiryTime,omitempty"` ValidTill *string `json:"validTill,omitempty"` }
func (*DownloadUrl) GetExpiryTimeAsTime ¶
func (o *DownloadUrl) GetExpiryTimeAsTime() (*time.Time, error)
func (*DownloadUrl) GetValidTillAsTime ¶
func (o *DownloadUrl) GetValidTillAsTime() (*time.Time, error)
func (*DownloadUrl) SetExpiryTimeAsTime ¶
func (o *DownloadUrl) SetExpiryTimeAsTime(input time.Time)
func (*DownloadUrl) SetValidTillAsTime ¶
func (o *DownloadUrl) SetValidTillAsTime(input time.Time)
type EAPriceSheetProperties ¶ added in v0.20231216.1000125
type EAPriceSheetProperties struct { BasePrice *string `json:"basePrice,omitempty"` CurrencyCode *string `json:"currencyCode,omitempty"` EffectiveEndDate *string `json:"effectiveEndDate,omitempty"` EffectiveStartDate *string `json:"effectiveStartDate,omitempty"` EnrollmentNumber *string `json:"enrollmentNumber,omitempty"` IncludedQuantity *string `json:"includedQuantity,omitempty"` MarketPrice *string `json:"marketPrice,omitempty"` MeterCategory *string `json:"meterCategory,omitempty"` MeterId *string `json:"meterId,omitempty"` MeterName *string `json:"meterName,omitempty"` MeterRegion *string `json:"meterRegion,omitempty"` MeterSubCategory *string `json:"meterSubCategory,omitempty"` MeterType *string `json:"meterType,omitempty"` PartNumber *string `json:"partNumber,omitempty"` PriceType *string `json:"priceType,omitempty"` Product *string `json:"product,omitempty"` ProductId *string `json:"productId,omitempty"` ServiceFamily *float64 `json:"serviceFamily,omitempty"` SkuId *string `json:"skuId,omitempty"` Term *string `json:"term,omitempty"` UnitOfMeasure *string `json:"unitOfMeasure,omitempty"` UnitPrice *string `json:"unitPrice,omitempty"` }
func (*EAPriceSheetProperties) GetEffectiveEndDateAsTime ¶ added in v0.20231216.1000125
func (o *EAPriceSheetProperties) GetEffectiveEndDateAsTime() (*time.Time, error)
func (*EAPriceSheetProperties) GetEffectiveStartDateAsTime ¶ added in v0.20231216.1000125
func (o *EAPriceSheetProperties) GetEffectiveStartDateAsTime() (*time.Time, error)
func (*EAPriceSheetProperties) SetEffectiveEndDateAsTime ¶ added in v0.20231216.1000125
func (o *EAPriceSheetProperties) SetEffectiveEndDateAsTime(input time.Time)
func (*EAPriceSheetProperties) SetEffectiveStartDateAsTime ¶ added in v0.20231216.1000125
func (o *EAPriceSheetProperties) SetEffectiveStartDateAsTime(input time.Time)
type EAPricesheetDownloadProperties ¶ added in v0.20231216.1000125
type EAPricesheetDownloadProperties struct { DownloadFileProperties *EAPriceSheetProperties `json:"downloadFileProperties,omitempty"` DownloadUrl *string `json:"downloadUrl,omitempty"` ValidTill *string `json:"validTill,omitempty"` }
func (*EAPricesheetDownloadProperties) GetValidTillAsTime ¶ added in v0.20231216.1000125
func (o *EAPricesheetDownloadProperties) GetValidTillAsTime() (*time.Time, error)
func (*EAPricesheetDownloadProperties) SetValidTillAsTime ¶ added in v0.20231216.1000125
func (o *EAPricesheetDownloadProperties) SetValidTillAsTime(input time.Time)
type InvoiceId ¶
InvoiceId is a struct representing the Resource ID for a Invoice
func NewInvoiceID ¶
func NewInvoiceID(billingAccountName string, billingProfileName string, invoiceName string) InvoiceId
NewInvoiceID returns a new InvoiceId struct
func ParseInvoiceID ¶
ParseInvoiceID parses 'input' into a InvoiceId
func ParseInvoiceIDInsensitively ¶
ParseInvoiceIDInsensitively parses 'input' case-insensitively into a InvoiceId note: this method should only be used for API response data and not user input
func (*InvoiceId) FromParseResult ¶
func (id *InvoiceId) FromParseResult(input resourceids.ParseResult) error
func (InvoiceId) Segments ¶
func (id InvoiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Invoice ID
type MCAPriceSheetProperties ¶ added in v0.20231216.1000125
type MCAPriceSheetProperties struct { BasePrice *string `json:"basePrice,omitempty"` BillingAccountID *string `json:"billingAccountID,omitempty"` BillingAccountName *string `json:"billingAccountName,omitempty"` BillingCurrency *string `json:"billingCurrency,omitempty"` BillingProfileId *string `json:"billingProfileId,omitempty"` BillingProfileName *string `json:"billingProfileName,omitempty"` Currency *string `json:"currency,omitempty"` EffectiveEndDate *string `json:"effectiveEndDate,omitempty"` EffectiveStartDate *string `json:"effectiveStartDate,omitempty"` MarketPrice *string `json:"marketPrice,omitempty"` MeterCategory *string `json:"meterCategory,omitempty"` MeterName *string `json:"meterName,omitempty"` MeterRegion *string `json:"meterRegion,omitempty"` MeterSubCategory *string `json:"meterSubCategory,omitempty"` MeterType *string `json:"meterType,omitempty"` PriceType *string `json:"priceType,omitempty"` Product *string `json:"product,omitempty"` ProductId *string `json:"productId,omitempty"` ServiceFamily *float64 `json:"serviceFamily,omitempty"` SkuId *string `json:"skuId,omitempty"` Term *string `json:"term,omitempty"` TierMinimumUnits *string `json:"tierMinimumUnits,omitempty"` UnitOfMeasure *string `json:"unitOfMeasure,omitempty"` UnitPrice *string `json:"unitPrice,omitempty"` }
func (*MCAPriceSheetProperties) GetEffectiveEndDateAsTime ¶ added in v0.20231216.1000125
func (o *MCAPriceSheetProperties) GetEffectiveEndDateAsTime() (*time.Time, error)
func (*MCAPriceSheetProperties) GetEffectiveStartDateAsTime ¶ added in v0.20231216.1000125
func (o *MCAPriceSheetProperties) GetEffectiveStartDateAsTime() (*time.Time, error)
func (*MCAPriceSheetProperties) SetEffectiveEndDateAsTime ¶ added in v0.20231216.1000125
func (o *MCAPriceSheetProperties) SetEffectiveEndDateAsTime(input time.Time)
func (*MCAPriceSheetProperties) SetEffectiveStartDateAsTime ¶ added in v0.20231216.1000125
func (o *MCAPriceSheetProperties) SetEffectiveStartDateAsTime(input time.Time)
type OperationStatus ¶ added in v0.20231216.1000125
type OperationStatus struct { Properties *EAPricesheetDownloadProperties `json:"properties,omitempty"` Status *OperationStatusType `json:"status,omitempty"` }
type OperationStatusType ¶ added in v0.20231216.1000125
type OperationStatusType string
const ( OperationStatusTypeCompleted OperationStatusType = "Completed" OperationStatusTypeFailed OperationStatusType = "Failed" OperationStatusTypeRunning OperationStatusType = "Running" )
func (*OperationStatusType) UnmarshalJSON ¶ added in v0.20231216.1000125
func (s *OperationStatusType) UnmarshalJSON(bytes []byte) error
type PriceSheetDownloadByBillingAccountOperationResponse ¶ added in v0.20231216.1000125
type PriceSheetDownloadByInvoiceOperationResponse ¶ added in v0.20231216.1000125
type PriceSheetsClient ¶
type PriceSheetsClient struct {
Client *resourcemanager.Client
}
func NewPriceSheetsClientWithBaseURI ¶
func NewPriceSheetsClientWithBaseURI(sdkApi sdkEnv.Api) (*PriceSheetsClient, error)
func (PriceSheetsClient) PriceSheetDownloadByBillingAccount ¶ added in v0.20231216.1000125
func (c PriceSheetsClient) PriceSheetDownloadByBillingAccount(ctx context.Context, id BillingPeriodId) (result PriceSheetDownloadByBillingAccountOperationResponse, err error)
PriceSheetDownloadByBillingAccount ...
func (PriceSheetsClient) PriceSheetDownloadByBillingAccountThenPoll ¶ added in v0.20231216.1000125
func (c PriceSheetsClient) PriceSheetDownloadByBillingAccountThenPoll(ctx context.Context, id BillingPeriodId) error
PriceSheetDownloadByBillingAccountThenPoll performs PriceSheetDownloadByBillingAccount then polls until it's completed
func (PriceSheetsClient) PriceSheetDownloadByBillingProfile ¶
func (c PriceSheetsClient) PriceSheetDownloadByBillingProfile(ctx context.Context, id BillingProfileId) (result PriceSheetDownloadByBillingProfileOperationResponse, err error)
PriceSheetDownloadByBillingProfile ...
func (PriceSheetsClient) PriceSheetDownloadByBillingProfileThenPoll ¶
func (c PriceSheetsClient) PriceSheetDownloadByBillingProfileThenPoll(ctx context.Context, id BillingProfileId) error
PriceSheetDownloadByBillingProfileThenPoll performs PriceSheetDownloadByBillingProfile then polls until it's completed
func (PriceSheetsClient) PriceSheetDownloadByInvoice ¶ added in v0.20231216.1000125
func (c PriceSheetsClient) PriceSheetDownloadByInvoice(ctx context.Context, id InvoiceId) (result PriceSheetDownloadByInvoiceOperationResponse, err error)
PriceSheetDownloadByInvoice ...
func (PriceSheetsClient) PriceSheetDownloadByInvoiceThenPoll ¶ added in v0.20231216.1000125
func (c PriceSheetsClient) PriceSheetDownloadByInvoiceThenPoll(ctx context.Context, id InvoiceId) error
PriceSheetDownloadByInvoiceThenPoll performs PriceSheetDownloadByInvoice then polls until it's completed
type PricesheetDownloadProperties ¶ added in v0.20231216.1000125
type PricesheetDownloadProperties struct { DownloadFileProperties *MCAPriceSheetProperties `json:"downloadFileProperties,omitempty"` DownloadUrl *string `json:"downloadUrl,omitempty"` ExpiryTime *string `json:"expiryTime,omitempty"` }
func (*PricesheetDownloadProperties) GetExpiryTimeAsTime ¶ added in v0.20231216.1000125
func (o *PricesheetDownloadProperties) GetExpiryTimeAsTime() (*time.Time, error)
func (*PricesheetDownloadProperties) SetExpiryTimeAsTime ¶ added in v0.20231216.1000125
func (o *PricesheetDownloadProperties) SetExpiryTimeAsTime(input time.Time)
Source Files ¶
- client.go
- constants.go
- id_billingperiod.go
- id_billingprofile.go
- id_invoice.go
- method_pricesheetdownloadbybillingaccount.go
- method_pricesheetdownloadbybillingprofile.go
- method_pricesheetdownloadbyinvoice.go
- model_downloadurl.go
- model_eapricesheetdownloadproperties.go
- model_eapricesheetproperties.go
- model_mcapricesheetproperties.go
- model_operationstatus.go
- model_pricesheetdownloadproperties.go
- version.go