Documentation ¶
Index ¶
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type Marketplace
- type MarketplaceOperationPredicate
- type MarketplaceProperties
- type MarketplacesClient
- func (c MarketplacesClient) List(ctx context.Context, id commonids.ScopeId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c MarketplacesClient) ListComplete(ctx context.Context, id commonids.ScopeId, options ListOperationOptions) (ListCompleteResult, error)
- func (c MarketplacesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Marketplace
}
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Marketplace // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type Marketplace ¶
type MarketplaceOperationPredicate ¶
func (MarketplaceOperationPredicate) Matches ¶
func (p MarketplaceOperationPredicate) Matches(input Marketplace) bool
type MarketplaceProperties ¶
type MarketplaceProperties struct { AccountName *string `json:"accountName,omitempty"` AdditionalInfo *string `json:"additionalInfo,omitempty"` AdditionalProperties *string `json:"additionalProperties,omitempty"` BillingPeriodId *string `json:"billingPeriodId,omitempty"` ConsumedQuantity *float64 `json:"consumedQuantity,omitempty"` ConsumedService *string `json:"consumedService,omitempty"` CostCenter *string `json:"costCenter,omitempty"` Currency *string `json:"currency,omitempty"` DepartmentName *string `json:"departmentName,omitempty"` InstanceId *string `json:"instanceId,omitempty"` InstanceName *string `json:"instanceName,omitempty"` IsEstimated *bool `json:"isEstimated,omitempty"` IsRecurringCharge *bool `json:"isRecurringCharge,omitempty"` MeterId *string `json:"meterId,omitempty"` OfferName *string `json:"offerName,omitempty"` OrderNumber *string `json:"orderNumber,omitempty"` PlanName *string `json:"planName,omitempty"` PretaxCost *float64 `json:"pretaxCost,omitempty"` PublisherName *string `json:"publisherName,omitempty"` ResourceGroup *string `json:"resourceGroup,omitempty"` ResourceRate *float64 `json:"resourceRate,omitempty"` SubscriptionGuid *string `json:"subscriptionGuid,omitempty"` SubscriptionName *string `json:"subscriptionName,omitempty"` UnitOfMeasure *string `json:"unitOfMeasure,omitempty"` UsageEnd *string `json:"usageEnd,omitempty"` UsageStart *string `json:"usageStart,omitempty"` }
func (*MarketplaceProperties) GetUsageEndAsTime ¶
func (o *MarketplaceProperties) GetUsageEndAsTime() (*time.Time, error)
func (*MarketplaceProperties) GetUsageStartAsTime ¶
func (o *MarketplaceProperties) GetUsageStartAsTime() (*time.Time, error)
func (*MarketplaceProperties) SetUsageEndAsTime ¶
func (o *MarketplaceProperties) SetUsageEndAsTime(input time.Time)
func (*MarketplaceProperties) SetUsageStartAsTime ¶
func (o *MarketplaceProperties) SetUsageStartAsTime(input time.Time)
type MarketplacesClient ¶
func NewMarketplacesClientWithBaseURI ¶
func NewMarketplacesClientWithBaseURI(endpoint string) MarketplacesClient
func (MarketplacesClient) List ¶
func (c MarketplacesClient) List(ctx context.Context, id commonids.ScopeId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (MarketplacesClient) ListComplete ¶
func (c MarketplacesClient) ListComplete(ctx context.Context, id commonids.ScopeId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (MarketplacesClient) ListCompleteMatchingPredicate ¶
func (c MarketplacesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListOperationOptions, predicate MarketplaceOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
Click to show internal directories.
Click to hide internal directories.