Documentation ¶
Index ¶
- func ValidateBillingProfileID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateInvoiceID(input interface{}, key string) (warnings []string, errors []error)
- type BillingProfileId
- type DownloadUrl
- type InvoiceId
- type PriceSheetDownloadByBillingProfileOperationResponse
- type PriceSheetDownloadOperationResponse
- type PriceSheetsClient
- func (c PriceSheetsClient) PriceSheetDownload(ctx context.Context, id InvoiceId) (result PriceSheetDownloadOperationResponse, err 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) PriceSheetDownloadThenPoll(ctx context.Context, id InvoiceId) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 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 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 PriceSheetsClient ¶
type PriceSheetsClient struct {
Client *resourcemanager.Client
}
func NewPriceSheetsClientWithBaseURI ¶
func NewPriceSheetsClientWithBaseURI(sdkApi sdkEnv.Api) (*PriceSheetsClient, error)
func (PriceSheetsClient) PriceSheetDownload ¶
func (c PriceSheetsClient) PriceSheetDownload(ctx context.Context, id InvoiceId) (result PriceSheetDownloadOperationResponse, err error)
PriceSheetDownload ...
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) PriceSheetDownloadThenPoll ¶
func (c PriceSheetsClient) PriceSheetDownloadThenPoll(ctx context.Context, id InvoiceId) error
PriceSheetDownloadThenPoll performs PriceSheetDownload then polls until it's completed