Documentation ¶
Index ¶
- func PossibleValuesForLotSource() []string
- type Amount
- type AmountWithExchangeRate
- type ListCompleteResult
- type ListOperationResponse
- type LotProperties
- type LotSource
- type LotSummary
- type LotSummaryOperationPredicate
- type LotsClient
- func (c LotsClient) List(ctx context.Context, id commonids.ScopeId) (result ListOperationResponse, err error)
- func (c LotsClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
- func (c LotsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListCompleteResult, err error)
- type Reseller
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForLotSource ¶
func PossibleValuesForLotSource() []string
Types ¶
type AmountWithExchangeRate ¶
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []LotSummary }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]LotSummary }
type LotProperties ¶
type LotProperties struct { BillingCurrency *string `json:"billingCurrency,omitempty"` ClosedBalance *Amount `json:"closedBalance,omitempty"` ClosedBalanceInBillingCurrency *AmountWithExchangeRate `json:"closedBalanceInBillingCurrency,omitempty"` CreditCurrency *string `json:"creditCurrency,omitempty"` ExpirationDate *string `json:"expirationDate,omitempty"` OriginalAmount *Amount `json:"originalAmount,omitempty"` OriginalAmountInBillingCurrency *AmountWithExchangeRate `json:"originalAmountInBillingCurrency,omitempty"` PoNumber *string `json:"poNumber,omitempty"` Reseller *Reseller `json:"reseller,omitempty"` Source *LotSource `json:"source,omitempty"` StartDate *string `json:"startDate,omitempty"` }
func (*LotProperties) GetExpirationDateAsTime ¶
func (o *LotProperties) GetExpirationDateAsTime() (*time.Time, error)
func (*LotProperties) GetStartDateAsTime ¶
func (o *LotProperties) GetStartDateAsTime() (*time.Time, error)
func (*LotProperties) SetExpirationDateAsTime ¶
func (o *LotProperties) SetExpirationDateAsTime(input time.Time)
func (*LotProperties) SetStartDateAsTime ¶
func (o *LotProperties) SetStartDateAsTime(input time.Time)
type LotSummary ¶
type LotSummary struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *LotProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type LotSummaryOperationPredicate ¶
func (LotSummaryOperationPredicate) Matches ¶
func (p LotSummaryOperationPredicate) Matches(input LotSummary) bool
type LotsClient ¶
type LotsClient struct {
Client *resourcemanager.Client
}
func NewLotsClientWithBaseURI ¶
func NewLotsClientWithBaseURI(sdkApi sdkEnv.Api) (*LotsClient, error)
func (LotsClient) List ¶
func (c LotsClient) List(ctx context.Context, id commonids.ScopeId) (result ListOperationResponse, err error)
List ...
func (LotsClient) ListComplete ¶
func (c LotsClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (LotsClient) ListCompleteMatchingPredicate ¶
func (c LotsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate LotSummaryOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
Click to show internal directories.
Click to hide internal directories.