Documentation ¶
Index ¶
- func PossibleValuesForAutoRenew() []string
- func PossibleValuesForMoveValidationErrorCode() []string
- func PossibleValuesForProductStatus() []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
- type AutoRenew
- type BillingAccountId
- type BillingProfileId
- type CustomerId
- type GetOperationResponse
- type InvoiceSectionId
- type ListByBillingAccountCompleteResult
- type ListByBillingAccountCustomPager
- type ListByBillingAccountOperationOptions
- type ListByBillingAccountOperationResponse
- type ListByBillingProfileCompleteResult
- type ListByBillingProfileCustomPager
- type ListByBillingProfileOperationOptions
- type ListByBillingProfileOperationResponse
- type ListByCustomerCompleteResult
- type ListByCustomerCustomPager
- type ListByCustomerOperationOptions
- type ListByCustomerOperationResponse
- type ListByInvoiceSectionCompleteResult
- type ListByInvoiceSectionCustomPager
- type ListByInvoiceSectionOperationOptions
- type ListByInvoiceSectionOperationResponse
- type MoveOperationResponse
- type MoveProductEligibilityResult
- type MoveProductErrorDetails
- type MoveProductRequest
- type MoveValidationErrorCode
- type Product
- type ProductClient
- func (c ProductClient) Get(ctx context.Context, id ProductId) (result GetOperationResponse, err error)
- func (c ProductClient) ListByBillingAccount(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountOperationResponse, err error)
- func (c ProductClient) ListByBillingAccountComplete(ctx context.Context, id BillingAccountId, ...) (ListByBillingAccountCompleteResult, error)
- func (c ProductClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountCompleteResult, err error)
- func (c ProductClient) ListByBillingProfile(ctx context.Context, id BillingProfileId, ...) (result ListByBillingProfileOperationResponse, err error)
- func (c ProductClient) ListByBillingProfileComplete(ctx context.Context, id BillingProfileId, ...) (ListByBillingProfileCompleteResult, error)
- func (c ProductClient) ListByBillingProfileCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, ...) (result ListByBillingProfileCompleteResult, err error)
- func (c ProductClient) ListByCustomer(ctx context.Context, id CustomerId, options ListByCustomerOperationOptions) (result ListByCustomerOperationResponse, err error)
- func (c ProductClient) ListByCustomerComplete(ctx context.Context, id CustomerId, options ListByCustomerOperationOptions) (ListByCustomerCompleteResult, error)
- func (c ProductClient) ListByCustomerCompleteMatchingPredicate(ctx context.Context, id CustomerId, options ListByCustomerOperationOptions, ...) (result ListByCustomerCompleteResult, err error)
- func (c ProductClient) ListByInvoiceSection(ctx context.Context, id InvoiceSectionId, ...) (result ListByInvoiceSectionOperationResponse, err error)
- func (c ProductClient) ListByInvoiceSectionComplete(ctx context.Context, id InvoiceSectionId, ...) (ListByInvoiceSectionCompleteResult, error)
- func (c ProductClient) ListByInvoiceSectionCompleteMatchingPredicate(ctx context.Context, id InvoiceSectionId, ...) (result ListByInvoiceSectionCompleteResult, err error)
- func (c ProductClient) Move(ctx context.Context, id ProductId, input MoveProductRequest) (result MoveOperationResponse, err error)
- func (c ProductClient) MoveThenPoll(ctx context.Context, id ProductId, input MoveProductRequest) error
- func (c ProductClient) Update(ctx context.Context, id ProductId, input ProductPatch) (result UpdateOperationResponse, err error)
- func (c ProductClient) ValidateMoveEligibility(ctx context.Context, id ProductId, input MoveProductRequest) (result ValidateMoveEligibilityOperationResponse, err error)
- type ProductId
- type ProductOperationPredicate
- type ProductPatch
- type ProductProperties
- type ProductStatus
- type Reseller
- type UpdateOperationResponse
- type ValidateMoveEligibilityOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAutoRenew ¶
func PossibleValuesForAutoRenew() []string
func PossibleValuesForMoveValidationErrorCode ¶
func PossibleValuesForMoveValidationErrorCode() []string
func PossibleValuesForProductStatus ¶
func PossibleValuesForProductStatus() []string
func ValidateBillingAccountID ¶
ValidateBillingAccountID checks that 'input' can be parsed as a Billing Account ID
func ValidateBillingProfileID ¶
ValidateBillingProfileID checks that 'input' can be parsed as a Billing Profile ID
func ValidateCustomerID ¶
ValidateCustomerID checks that 'input' can be parsed as a Customer ID
func ValidateInvoiceSectionID ¶
ValidateInvoiceSectionID checks that 'input' can be parsed as a Invoice Section ID
func ValidateProductID ¶
ValidateProductID checks that 'input' can be parsed as a Product ID
Types ¶
type BillingAccountId ¶
type BillingAccountId struct {
BillingAccountName string
}
BillingAccountId is a struct representing the Resource ID for a Billing Account
func NewBillingAccountID ¶
func NewBillingAccountID(billingAccountName string) BillingAccountId
NewBillingAccountID returns a new BillingAccountId struct
func ParseBillingAccountID ¶
func ParseBillingAccountID(input string) (*BillingAccountId, error)
ParseBillingAccountID parses 'input' into a BillingAccountId
func ParseBillingAccountIDInsensitively ¶
func ParseBillingAccountIDInsensitively(input string) (*BillingAccountId, error)
ParseBillingAccountIDInsensitively parses 'input' case-insensitively into a BillingAccountId note: this method should only be used for API response data and not user input
func (*BillingAccountId) FromParseResult ¶
func (id *BillingAccountId) FromParseResult(input resourceids.ParseResult) error
func (BillingAccountId) ID ¶
func (id BillingAccountId) ID() string
ID returns the formatted Billing Account ID
func (BillingAccountId) Segments ¶
func (id BillingAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Account ID
func (BillingAccountId) String ¶
func (id BillingAccountId) String() string
String returns a human-readable description of this Billing Account ID
type BillingProfileId ¶
BillingProfileId is a struct representing the Resource ID for a Billing Profile
func NewBillingProfileID ¶
func NewBillingProfileID(billingAccountName string, billingProfileName 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 CustomerId ¶
CustomerId is a struct representing the Resource ID for a Customer
func NewCustomerID ¶
func NewCustomerID(billingAccountName string, customerName string) CustomerId
NewCustomerID returns a new CustomerId struct
func ParseCustomerID ¶
func ParseCustomerID(input string) (*CustomerId, error)
ParseCustomerID parses 'input' into a CustomerId
func ParseCustomerIDInsensitively ¶
func ParseCustomerIDInsensitively(input string) (*CustomerId, error)
ParseCustomerIDInsensitively parses 'input' case-insensitively into a CustomerId note: this method should only be used for API response data and not user input
func (*CustomerId) FromParseResult ¶
func (id *CustomerId) FromParseResult(input resourceids.ParseResult) error
func (CustomerId) Segments ¶
func (id CustomerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Customer ID
func (CustomerId) String ¶
func (id CustomerId) String() string
String returns a human-readable description of this Customer ID
type GetOperationResponse ¶
type InvoiceSectionId ¶
type InvoiceSectionId struct { BillingAccountName string BillingProfileName string InvoiceSectionName string }
InvoiceSectionId is a struct representing the Resource ID for a Invoice Section
func NewInvoiceSectionID ¶
func NewInvoiceSectionID(billingAccountName string, billingProfileName string, invoiceSectionName string) InvoiceSectionId
NewInvoiceSectionID returns a new InvoiceSectionId struct
func ParseInvoiceSectionID ¶
func ParseInvoiceSectionID(input string) (*InvoiceSectionId, error)
ParseInvoiceSectionID parses 'input' into a InvoiceSectionId
func ParseInvoiceSectionIDInsensitively ¶
func ParseInvoiceSectionIDInsensitively(input string) (*InvoiceSectionId, error)
ParseInvoiceSectionIDInsensitively parses 'input' case-insensitively into a InvoiceSectionId note: this method should only be used for API response data and not user input
func (*InvoiceSectionId) FromParseResult ¶
func (id *InvoiceSectionId) FromParseResult(input resourceids.ParseResult) error
func (InvoiceSectionId) ID ¶
func (id InvoiceSectionId) ID() string
ID returns the formatted Invoice Section ID
func (InvoiceSectionId) Segments ¶
func (id InvoiceSectionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Invoice Section ID
func (InvoiceSectionId) String ¶
func (id InvoiceSectionId) String() string
String returns a human-readable description of this Invoice Section ID
type ListByBillingAccountCustomPager ¶ added in v0.20240628.1153531
func (*ListByBillingAccountCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByBillingAccountCustomPager) NextPageLink() *odata.Link
type ListByBillingAccountOperationOptions ¶
type ListByBillingAccountOperationOptions struct { Count *bool Filter *string OrderBy *string Search *string Skip *int64 Top *int64 }
func DefaultListByBillingAccountOperationOptions ¶
func DefaultListByBillingAccountOperationOptions() ListByBillingAccountOperationOptions
func (ListByBillingAccountOperationOptions) ToHeaders ¶
func (o ListByBillingAccountOperationOptions) ToHeaders() *client.Headers
func (ListByBillingAccountOperationOptions) ToOData ¶
func (o ListByBillingAccountOperationOptions) ToOData() *odata.Query
func (ListByBillingAccountOperationOptions) ToQuery ¶
func (o ListByBillingAccountOperationOptions) ToQuery() *client.QueryParams
type ListByBillingProfileCustomPager ¶ added in v0.20240628.1153531
func (*ListByBillingProfileCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByBillingProfileCustomPager) NextPageLink() *odata.Link
type ListByBillingProfileOperationOptions ¶
type ListByBillingProfileOperationOptions struct { Count *bool Filter *string OrderBy *string Search *string Skip *int64 Top *int64 }
func DefaultListByBillingProfileOperationOptions ¶
func DefaultListByBillingProfileOperationOptions() ListByBillingProfileOperationOptions
func (ListByBillingProfileOperationOptions) ToHeaders ¶
func (o ListByBillingProfileOperationOptions) ToHeaders() *client.Headers
func (ListByBillingProfileOperationOptions) ToOData ¶
func (o ListByBillingProfileOperationOptions) ToOData() *odata.Query
func (ListByBillingProfileOperationOptions) ToQuery ¶
func (o ListByBillingProfileOperationOptions) ToQuery() *client.QueryParams
type ListByCustomerCustomPager ¶ added in v0.20240628.1153531
func (*ListByCustomerCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByCustomerCustomPager) NextPageLink() *odata.Link
type ListByCustomerOperationOptions ¶
type ListByCustomerOperationOptions struct { Count *bool Filter *string OrderBy *string Search *string Skip *int64 Top *int64 }
func DefaultListByCustomerOperationOptions ¶
func DefaultListByCustomerOperationOptions() ListByCustomerOperationOptions
func (ListByCustomerOperationOptions) ToHeaders ¶
func (o ListByCustomerOperationOptions) ToHeaders() *client.Headers
func (ListByCustomerOperationOptions) ToOData ¶
func (o ListByCustomerOperationOptions) ToOData() *odata.Query
func (ListByCustomerOperationOptions) ToQuery ¶
func (o ListByCustomerOperationOptions) ToQuery() *client.QueryParams
type ListByInvoiceSectionCustomPager ¶ added in v0.20240628.1153531
func (*ListByInvoiceSectionCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByInvoiceSectionCustomPager) NextPageLink() *odata.Link
type ListByInvoiceSectionOperationOptions ¶
type ListByInvoiceSectionOperationOptions struct { Count *bool Filter *string OrderBy *string Search *string Skip *int64 Top *int64 }
func DefaultListByInvoiceSectionOperationOptions ¶
func DefaultListByInvoiceSectionOperationOptions() ListByInvoiceSectionOperationOptions
func (ListByInvoiceSectionOperationOptions) ToHeaders ¶
func (o ListByInvoiceSectionOperationOptions) ToHeaders() *client.Headers
func (ListByInvoiceSectionOperationOptions) ToOData ¶
func (o ListByInvoiceSectionOperationOptions) ToOData() *odata.Query
func (ListByInvoiceSectionOperationOptions) ToQuery ¶
func (o ListByInvoiceSectionOperationOptions) ToQuery() *client.QueryParams
type MoveOperationResponse ¶
type MoveProductEligibilityResult ¶
type MoveProductEligibilityResult struct { ErrorDetails *MoveProductErrorDetails `json:"errorDetails,omitempty"` IsMoveEligible *bool `json:"isMoveEligible,omitempty"` }
type MoveProductErrorDetails ¶
type MoveProductErrorDetails struct { Code *MoveValidationErrorCode `json:"code,omitempty"` Details *string `json:"details,omitempty"` Message *string `json:"message,omitempty"` }
type MoveProductRequest ¶
type MoveProductRequest struct {
DestinationInvoiceSectionId string `json:"destinationInvoiceSectionId"`
}
type MoveValidationErrorCode ¶
type MoveValidationErrorCode string
const ( MoveValidationErrorCodeBillingAccountInactive MoveValidationErrorCode = "BillingAccountInactive" MoveValidationErrorCodeDestinationBillingProfileInactive MoveValidationErrorCode = "DestinationBillingProfileInactive" MoveValidationErrorCodeDestinationBillingProfileNotFound MoveValidationErrorCode = "DestinationBillingProfileNotFound" MoveValidationErrorCodeDestinationBillingProfilePastDue MoveValidationErrorCode = "DestinationBillingProfilePastDue" MoveValidationErrorCodeDestinationInvoiceSectionInactive MoveValidationErrorCode = "DestinationInvoiceSectionInactive" MoveValidationErrorCodeDestinationInvoiceSectionNotFound MoveValidationErrorCode = "DestinationInvoiceSectionNotFound" MoveValidationErrorCodeInsufficientPermissionOnDestination MoveValidationErrorCode = "InsufficientPermissionOnDestination" MoveValidationErrorCodeInsufficientPermissionOnSource MoveValidationErrorCode = "InsufficientPermissionOnSource" MoveValidationErrorCodeInvalidDestination MoveValidationErrorCode = "InvalidDestination" MoveValidationErrorCodeInvalidSource MoveValidationErrorCode = "InvalidSource" MoveValidationErrorCodeMarketplaceNotEnabledOnDestination MoveValidationErrorCode = "MarketplaceNotEnabledOnDestination" MoveValidationErrorCodeOther MoveValidationErrorCode = "Other" MoveValidationErrorCodeProductInactive MoveValidationErrorCode = "ProductInactive" MoveValidationErrorCodeProductNotFound MoveValidationErrorCode = "ProductNotFound" MoveValidationErrorCodeProductTypeNotSupported MoveValidationErrorCode = "ProductTypeNotSupported" MoveValidationErrorCodeSourceBillingProfilePastDue MoveValidationErrorCode = "SourceBillingProfilePastDue" MoveValidationErrorCodeSourceInvoiceSectionInactive MoveValidationErrorCode = "SourceInvoiceSectionInactive" )
func (*MoveValidationErrorCode) UnmarshalJSON ¶
func (s *MoveValidationErrorCode) UnmarshalJSON(bytes []byte) error
type Product ¶
type Product struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ProductProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ProductClient ¶
type ProductClient struct {
Client *resourcemanager.Client
}
func NewProductClientWithBaseURI ¶
func NewProductClientWithBaseURI(sdkApi sdkEnv.Api) (*ProductClient, error)
func (ProductClient) Get ¶
func (c ProductClient) Get(ctx context.Context, id ProductId) (result GetOperationResponse, err error)
Get ...
func (ProductClient) ListByBillingAccount ¶
func (c ProductClient) ListByBillingAccount(ctx context.Context, id BillingAccountId, options ListByBillingAccountOperationOptions) (result ListByBillingAccountOperationResponse, err error)
ListByBillingAccount ...
func (ProductClient) ListByBillingAccountComplete ¶
func (c ProductClient) ListByBillingAccountComplete(ctx context.Context, id BillingAccountId, options ListByBillingAccountOperationOptions) (ListByBillingAccountCompleteResult, error)
ListByBillingAccountComplete retrieves all the results into a single object
func (ProductClient) ListByBillingAccountCompleteMatchingPredicate ¶
func (c ProductClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, options ListByBillingAccountOperationOptions, predicate ProductOperationPredicate) (result ListByBillingAccountCompleteResult, err error)
ListByBillingAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ProductClient) ListByBillingProfile ¶
func (c ProductClient) ListByBillingProfile(ctx context.Context, id BillingProfileId, options ListByBillingProfileOperationOptions) (result ListByBillingProfileOperationResponse, err error)
ListByBillingProfile ...
func (ProductClient) ListByBillingProfileComplete ¶
func (c ProductClient) ListByBillingProfileComplete(ctx context.Context, id BillingProfileId, options ListByBillingProfileOperationOptions) (ListByBillingProfileCompleteResult, error)
ListByBillingProfileComplete retrieves all the results into a single object
func (ProductClient) ListByBillingProfileCompleteMatchingPredicate ¶
func (c ProductClient) ListByBillingProfileCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, options ListByBillingProfileOperationOptions, predicate ProductOperationPredicate) (result ListByBillingProfileCompleteResult, err error)
ListByBillingProfileCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ProductClient) ListByCustomer ¶
func (c ProductClient) ListByCustomer(ctx context.Context, id CustomerId, options ListByCustomerOperationOptions) (result ListByCustomerOperationResponse, err error)
ListByCustomer ...
func (ProductClient) ListByCustomerComplete ¶
func (c ProductClient) ListByCustomerComplete(ctx context.Context, id CustomerId, options ListByCustomerOperationOptions) (ListByCustomerCompleteResult, error)
ListByCustomerComplete retrieves all the results into a single object
func (ProductClient) ListByCustomerCompleteMatchingPredicate ¶
func (c ProductClient) ListByCustomerCompleteMatchingPredicate(ctx context.Context, id CustomerId, options ListByCustomerOperationOptions, predicate ProductOperationPredicate) (result ListByCustomerCompleteResult, err error)
ListByCustomerCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ProductClient) ListByInvoiceSection ¶
func (c ProductClient) ListByInvoiceSection(ctx context.Context, id InvoiceSectionId, options ListByInvoiceSectionOperationOptions) (result ListByInvoiceSectionOperationResponse, err error)
ListByInvoiceSection ...
func (ProductClient) ListByInvoiceSectionComplete ¶
func (c ProductClient) ListByInvoiceSectionComplete(ctx context.Context, id InvoiceSectionId, options ListByInvoiceSectionOperationOptions) (ListByInvoiceSectionCompleteResult, error)
ListByInvoiceSectionComplete retrieves all the results into a single object
func (ProductClient) ListByInvoiceSectionCompleteMatchingPredicate ¶
func (c ProductClient) ListByInvoiceSectionCompleteMatchingPredicate(ctx context.Context, id InvoiceSectionId, options ListByInvoiceSectionOperationOptions, predicate ProductOperationPredicate) (result ListByInvoiceSectionCompleteResult, err error)
ListByInvoiceSectionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ProductClient) Move ¶
func (c ProductClient) Move(ctx context.Context, id ProductId, input MoveProductRequest) (result MoveOperationResponse, err error)
Move ...
func (ProductClient) MoveThenPoll ¶
func (c ProductClient) MoveThenPoll(ctx context.Context, id ProductId, input MoveProductRequest) error
MoveThenPoll performs Move then polls until it's completed
func (ProductClient) Update ¶
func (c ProductClient) Update(ctx context.Context, id ProductId, input ProductPatch) (result UpdateOperationResponse, err error)
Update ...
func (ProductClient) ValidateMoveEligibility ¶
func (c ProductClient) ValidateMoveEligibility(ctx context.Context, id ProductId, input MoveProductRequest) (result ValidateMoveEligibilityOperationResponse, err error)
ValidateMoveEligibility ...
type ProductId ¶
ProductId is a struct representing the Resource ID for a Product
func NewProductID ¶
NewProductID returns a new ProductId struct
func ParseProductID ¶
ParseProductID parses 'input' into a ProductId
func ParseProductIDInsensitively ¶
ParseProductIDInsensitively parses 'input' case-insensitively into a ProductId note: this method should only be used for API response data and not user input
func (*ProductId) FromParseResult ¶
func (id *ProductId) FromParseResult(input resourceids.ParseResult) error
func (ProductId) Segments ¶
func (id ProductId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Product ID
type ProductOperationPredicate ¶
func (ProductOperationPredicate) Matches ¶
func (p ProductOperationPredicate) Matches(input Product) bool
type ProductPatch ¶
type ProductPatch struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ProductProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ProductProperties ¶
type ProductProperties struct { AutoRenew *AutoRenew `json:"autoRenew,omitempty"` AvailabilityId *string `json:"availabilityId,omitempty"` BillingFrequency *string `json:"billingFrequency,omitempty"` BillingProfileDisplayName *string `json:"billingProfileDisplayName,omitempty"` BillingProfileId *string `json:"billingProfileId,omitempty"` CustomerDisplayName *string `json:"customerDisplayName,omitempty"` CustomerId *string `json:"customerId,omitempty"` DisplayName *string `json:"displayName,omitempty"` EndDate *string `json:"endDate,omitempty"` InvoiceSectionDisplayName *string `json:"invoiceSectionDisplayName,omitempty"` InvoiceSectionId *string `json:"invoiceSectionId,omitempty"` LastCharge *Amount `json:"lastCharge,omitempty"` LastChargeDate *string `json:"lastChargeDate,omitempty"` ProductType *string `json:"productType,omitempty"` ProductTypeId *string `json:"productTypeId,omitempty"` PurchaseDate *string `json:"purchaseDate,omitempty"` Quantity *int64 `json:"quantity,omitempty"` Reseller *Reseller `json:"reseller,omitempty"` SkuDescription *string `json:"skuDescription,omitempty"` SkuId *string `json:"skuId,omitempty"` Status *ProductStatus `json:"status,omitempty"` TenantId *string `json:"tenantId,omitempty"` }
type ProductStatus ¶
type ProductStatus string
const ( ProductStatusActive ProductStatus = "Active" ProductStatusAutoRenew ProductStatus = "AutoRenew" ProductStatusCanceled ProductStatus = "Canceled" ProductStatusDeleted ProductStatus = "Deleted" ProductStatusDisabled ProductStatus = "Disabled" ProductStatusExpired ProductStatus = "Expired" ProductStatusExpiring ProductStatus = "Expiring" ProductStatusOther ProductStatus = "Other" ProductStatusPastDue ProductStatus = "PastDue" ProductStatusSuspended ProductStatus = "Suspended" )
func (*ProductStatus) UnmarshalJSON ¶
func (s *ProductStatus) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type ValidateMoveEligibilityOperationResponse ¶
type ValidateMoveEligibilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MoveProductEligibilityResult }
Source Files ¶
- client.go
- constants.go
- id_billingaccount.go
- id_billingprofile.go
- id_customer.go
- id_invoicesection.go
- id_product.go
- method_get.go
- method_listbybillingaccount.go
- method_listbybillingprofile.go
- method_listbycustomer.go
- method_listbyinvoicesection.go
- method_move.go
- method_update.go
- method_validatemoveeligibility.go
- model_amount.go
- model_moveproducteligibilityresult.go
- model_moveproducterrordetails.go
- model_moveproductrequest.go
- model_product.go
- model_productpatch.go
- model_productproperties.go
- model_reseller.go
- predicates.go
- version.go