Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForAutoRenew() []string + func PossibleValuesForBillingFrequency() []string + func PossibleValuesForProductStatusType() []string + func ValidateBillingAccountID(input interface{}, key string) (warnings []string, errors []error) + func ValidateBillingProfileID(input interface{}, key string) (warnings []string, errors []error) + func ValidateCustomerID(input interface{}, key string) (warnings []string, errors []error) + func ValidateInvoiceSectionID(input interface{}, key string) (warnings []string, errors []error) + func ValidateProductID(input interface{}, key string) (warnings []string, errors []error) + type Amount struct + Currency *string + Value *float64 + type AutoRenew string + const AutoRenewOff + const AutoRenewOn + func (s *AutoRenew) UnmarshalJSON(bytes []byte) error + type BillingAccountId struct + BillingAccountName string + func NewBillingAccountID(billingAccountName string) BillingAccountId + func ParseBillingAccountID(input string) (*BillingAccountId, error) + func ParseBillingAccountIDInsensitively(input string) (*BillingAccountId, error) + func (id *BillingAccountId) FromParseResult(input resourceids.ParseResult) error + func (id BillingAccountId) ID() string + func (id BillingAccountId) Segments() []resourceids.Segment + func (id BillingAccountId) String() string + type BillingFrequency string + const BillingFrequencyMonthly + const BillingFrequencyOneTime + const BillingFrequencyUsageBased + func (s *BillingFrequency) UnmarshalJSON(bytes []byte) error + type BillingProfileId struct + BillingAccountName string + BillingProfileName string + func NewBillingProfileID(billingAccountName string, billingProfileName string) BillingProfileId + func ParseBillingProfileID(input string) (*BillingProfileId, error) + func ParseBillingProfileIDInsensitively(input string) (*BillingProfileId, error) + func (id *BillingProfileId) FromParseResult(input resourceids.ParseResult) error + func (id BillingProfileId) ID() string + func (id BillingProfileId) Segments() []resourceids.Segment + func (id BillingProfileId) String() string + type CustomerId struct + BillingAccountName string + CustomerName string + func NewCustomerID(billingAccountName string, customerName string) CustomerId + func ParseCustomerID(input string) (*CustomerId, error) + func ParseCustomerIDInsensitively(input string) (*CustomerId, error) + func (id *CustomerId) FromParseResult(input resourceids.ParseResult) error + func (id CustomerId) ID() string + func (id CustomerId) Segments() []resourceids.Segment + func (id CustomerId) String() string + type GetOperationResponse struct + HttpResponse *http.Response + Model *Product + OData *odata.OData + type InvoiceSectionId struct + BillingAccountName string + BillingProfileName string + InvoiceSectionName string + func NewInvoiceSectionID(billingAccountName string, billingProfileName string, ...) InvoiceSectionId + func ParseInvoiceSectionID(input string) (*InvoiceSectionId, error) + func ParseInvoiceSectionIDInsensitively(input string) (*InvoiceSectionId, error) + func (id *InvoiceSectionId) FromParseResult(input resourceids.ParseResult) error + func (id InvoiceSectionId) ID() string + func (id InvoiceSectionId) Segments() []resourceids.Segment + func (id InvoiceSectionId) String() string + type ListByBillingAccountCompleteResult struct + Items []Product + LatestHttpResponse *http.Response + type ListByBillingAccountCustomPager struct + NextLink *odata.Link + func (p *ListByBillingAccountCustomPager) NextPageLink() *odata.Link + type ListByBillingAccountOperationOptions struct + Filter *string + func DefaultListByBillingAccountOperationOptions() ListByBillingAccountOperationOptions + func (o ListByBillingAccountOperationOptions) ToHeaders() *client.Headers + func (o ListByBillingAccountOperationOptions) ToOData() *odata.Query + func (o ListByBillingAccountOperationOptions) ToQuery() *client.QueryParams + type ListByBillingAccountOperationResponse struct + HttpResponse *http.Response + Model *[]Product + OData *odata.OData + type ListByBillingProfileCompleteResult struct + Items []Product + LatestHttpResponse *http.Response + type ListByBillingProfileCustomPager struct + NextLink *odata.Link + func (p *ListByBillingProfileCustomPager) NextPageLink() *odata.Link + type ListByBillingProfileOperationOptions struct + Filter *string + func DefaultListByBillingProfileOperationOptions() ListByBillingProfileOperationOptions + func (o ListByBillingProfileOperationOptions) ToHeaders() *client.Headers + func (o ListByBillingProfileOperationOptions) ToOData() *odata.Query + func (o ListByBillingProfileOperationOptions) ToQuery() *client.QueryParams + type ListByBillingProfileOperationResponse struct + HttpResponse *http.Response + Model *[]Product + OData *odata.OData + type ListByCustomerCompleteResult struct + Items []Product + LatestHttpResponse *http.Response + type ListByCustomerCustomPager struct + NextLink *odata.Link + func (p *ListByCustomerCustomPager) NextPageLink() *odata.Link + type ListByCustomerOperationResponse struct + HttpResponse *http.Response + Model *[]Product + OData *odata.OData + type ListByInvoiceSectionCompleteResult struct + Items []Product + LatestHttpResponse *http.Response + type ListByInvoiceSectionCustomPager struct + NextLink *odata.Link + func (p *ListByInvoiceSectionCustomPager) NextPageLink() *odata.Link + type ListByInvoiceSectionOperationOptions struct + Filter *string + func DefaultListByInvoiceSectionOperationOptions() ListByInvoiceSectionOperationOptions + func (o ListByInvoiceSectionOperationOptions) ToHeaders() *client.Headers + func (o ListByInvoiceSectionOperationOptions) ToOData() *odata.Query + func (o ListByInvoiceSectionOperationOptions) ToQuery() *client.QueryParams + type ListByInvoiceSectionOperationResponse struct + HttpResponse *http.Response + Model *[]Product + OData *odata.OData + type MoveOperationResponse struct + HttpResponse *http.Response + Model *Product + OData *odata.OData + type Product struct + Id *string + Name *string + Properties *ProductProperties + Type *string + type ProductId struct + BillingAccountName string + ProductName string + func NewProductID(billingAccountName string, productName string) ProductId + func ParseProductID(input string) (*ProductId, error) + func ParseProductIDInsensitively(input string) (*ProductId, error) + func (id *ProductId) FromParseResult(input resourceids.ParseResult) error + func (id ProductId) ID() string + func (id ProductId) Segments() []resourceids.Segment + func (id ProductId) String() string + type ProductOperationPredicate struct + Id *string + Name *string + Type *string + func (p ProductOperationPredicate) Matches(input Product) bool + type ProductProperties struct + AutoRenew *AutoRenew + AvailabilityId *string + BillingFrequency *BillingFrequency + BillingProfileDisplayName *string + BillingProfileId *string + CustomerDisplayName *string + CustomerId *string + DisplayName *string + EndDate *string + InvoiceSectionDisplayName *string + InvoiceSectionId *string + LastCharge *Amount + LastChargeDate *string + ProductType *string + ProductTypeId *string + PurchaseDate *string + Quantity *float64 + Reseller *Reseller + SkuDescription *string + SkuId *string + Status *ProductStatusType + TenantId *string + func (o *ProductProperties) GetEndDateAsTime() (*time.Time, error) + func (o *ProductProperties) GetLastChargeDateAsTime() (*time.Time, error) + func (o *ProductProperties) GetPurchaseDateAsTime() (*time.Time, error) + func (o *ProductProperties) SetEndDateAsTime(input time.Time) + func (o *ProductProperties) SetLastChargeDateAsTime(input time.Time) + func (o *ProductProperties) SetPurchaseDateAsTime(input time.Time) + type ProductStatusType string + const ProductStatusTypeActive + const ProductStatusTypeAutoRenew + const ProductStatusTypeCancelled + const ProductStatusTypeDisabled + const ProductStatusTypeExpired + const ProductStatusTypeExpiring + const ProductStatusTypeInactive + const ProductStatusTypePastDue + func (s *ProductStatusType) UnmarshalJSON(bytes []byte) error + type ProductsClient struct + Client *resourcemanager.Client + func NewProductsClientWithBaseURI(sdkApi sdkEnv.Api) (*ProductsClient, error) + func (c ProductsClient) Get(ctx context.Context, id ProductId) (result GetOperationResponse, err error) + func (c ProductsClient) ListByBillingAccount(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountOperationResponse, err error) + func (c ProductsClient) ListByBillingAccountComplete(ctx context.Context, id BillingAccountId, ...) (ListByBillingAccountCompleteResult, error) + func (c ProductsClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountCompleteResult, err error) + func (c ProductsClient) ListByBillingProfile(ctx context.Context, id BillingProfileId, ...) (result ListByBillingProfileOperationResponse, err error) + func (c ProductsClient) ListByBillingProfileComplete(ctx context.Context, id BillingProfileId, ...) (ListByBillingProfileCompleteResult, error) + func (c ProductsClient) ListByBillingProfileCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, ...) (result ListByBillingProfileCompleteResult, err error) + func (c ProductsClient) ListByCustomer(ctx context.Context, id CustomerId) (result ListByCustomerOperationResponse, err error) + func (c ProductsClient) ListByCustomerComplete(ctx context.Context, id CustomerId) (ListByCustomerCompleteResult, error) + func (c ProductsClient) ListByCustomerCompleteMatchingPredicate(ctx context.Context, id CustomerId, predicate ProductOperationPredicate) (result ListByCustomerCompleteResult, err error) + func (c ProductsClient) ListByInvoiceSection(ctx context.Context, id InvoiceSectionId, ...) (result ListByInvoiceSectionOperationResponse, err error) + func (c ProductsClient) ListByInvoiceSectionComplete(ctx context.Context, id InvoiceSectionId, ...) (ListByInvoiceSectionCompleteResult, error) + func (c ProductsClient) ListByInvoiceSectionCompleteMatchingPredicate(ctx context.Context, id InvoiceSectionId, ...) (result ListByInvoiceSectionCompleteResult, err error) + func (c ProductsClient) Move(ctx context.Context, id ProductId, input TransferProductRequestProperties) (result MoveOperationResponse, err error) + func (c ProductsClient) Update(ctx context.Context, id ProductId, input Product) (result UpdateOperationResponse, err error) + type Reseller struct + Description *string + ResellerId *string + type TransferProductRequestProperties struct + DestinationInvoiceSectionId *string + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *Product + OData *odata.OData