billingrequest

package
v0.20240627.1143641 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/billing/2024-04-01/billingrequest Documentation

The billingrequest SDK allows for interaction with the Azure Resource Manager Service billing (API Version 2024-04-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/billing/2024-04-01/billingrequest"

Client Initialization

client := billingrequest.NewBillingRequestClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: BillingRequestClient.CreateOrUpdate

ctx := context.TODO()
id := billingrequest.NewBillingRequestID("billingRequestValue")

payload := billingrequest.BillingRequest{
	// ...
}


if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: BillingRequestClient.Get

ctx := context.TODO()
id := billingrequest.NewBillingRequestID("billingRequestValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BillingRequestClient.ListByBillingAccount

ctx := context.TODO()
id := billingrequest.NewBillingAccountID("billingAccountValue")

// alternatively `client.ListByBillingAccount(ctx, id, billingrequest.DefaultListByBillingAccountOperationOptions())` can be used to do batched pagination
items, err := client.ListByBillingAccountComplete(ctx, id, billingrequest.DefaultListByBillingAccountOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: BillingRequestClient.ListByBillingProfile

ctx := context.TODO()
id := billingrequest.NewBillingProfileID("billingAccountValue", "billingProfileValue")

// alternatively `client.ListByBillingProfile(ctx, id, billingrequest.DefaultListByBillingProfileOperationOptions())` can be used to do batched pagination
items, err := client.ListByBillingProfileComplete(ctx, id, billingrequest.DefaultListByBillingProfileOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: BillingRequestClient.ListByCustomer

ctx := context.TODO()
id := billingrequest.NewBillingProfileCustomerID("billingAccountValue", "billingProfileValue", "customerValue")

// alternatively `client.ListByCustomer(ctx, id, billingrequest.DefaultListByCustomerOperationOptions())` can be used to do batched pagination
items, err := client.ListByCustomerComplete(ctx, id, billingrequest.DefaultListByCustomerOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: BillingRequestClient.ListByInvoiceSection

ctx := context.TODO()
id := billingrequest.NewInvoiceSectionID("billingAccountValue", "billingProfileValue", "invoiceSectionValue")

// alternatively `client.ListByInvoiceSection(ctx, id, billingrequest.DefaultListByInvoiceSectionOperationOptions())` can be used to do batched pagination
items, err := client.ListByInvoiceSectionComplete(ctx, id, billingrequest.DefaultListByInvoiceSectionOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: BillingRequestClient.ListByUser

ctx := context.TODO()


// alternatively `client.ListByUser(ctx, billingrequest.DefaultListByUserOperationOptions())` can be used to do batched pagination
items, err := client.ListByUserComplete(ctx, billingrequest.DefaultListByUserOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForBillingRequestStatus

func PossibleValuesForBillingRequestStatus() []string

func PossibleValuesForBillingRequestType

func PossibleValuesForBillingRequestType() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func ValidateBillingAccountID

func ValidateBillingAccountID(input interface{}, key string) (warnings []string, errors []error)

ValidateBillingAccountID checks that 'input' can be parsed as a Billing Account ID

func ValidateBillingProfileCustomerID

func ValidateBillingProfileCustomerID(input interface{}, key string) (warnings []string, errors []error)

ValidateBillingProfileCustomerID checks that 'input' can be parsed as a Billing Profile Customer ID

func ValidateBillingProfileID

func ValidateBillingProfileID(input interface{}, key string) (warnings []string, errors []error)

ValidateBillingProfileID checks that 'input' can be parsed as a Billing Profile ID

func ValidateBillingRequestID

func ValidateBillingRequestID(input interface{}, key string) (warnings []string, errors []error)

ValidateBillingRequestID checks that 'input' can be parsed as a Billing Request ID

func ValidateInvoiceSectionID

func ValidateInvoiceSectionID(input interface{}, key string) (warnings []string, errors []error)

ValidateInvoiceSectionID checks that 'input' can be parsed as a Invoice Section 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 BillingProfileCustomerId

type BillingProfileCustomerId struct {
	BillingAccountName string
	BillingProfileName string
	CustomerName       string
}

BillingProfileCustomerId is a struct representing the Resource ID for a Billing Profile Customer

func NewBillingProfileCustomerID

func NewBillingProfileCustomerID(billingAccountName string, billingProfileName string, customerName string) BillingProfileCustomerId

NewBillingProfileCustomerID returns a new BillingProfileCustomerId struct

func ParseBillingProfileCustomerID

func ParseBillingProfileCustomerID(input string) (*BillingProfileCustomerId, error)

ParseBillingProfileCustomerID parses 'input' into a BillingProfileCustomerId

func ParseBillingProfileCustomerIDInsensitively

func ParseBillingProfileCustomerIDInsensitively(input string) (*BillingProfileCustomerId, error)

ParseBillingProfileCustomerIDInsensitively parses 'input' case-insensitively into a BillingProfileCustomerId note: this method should only be used for API response data and not user input

func (*BillingProfileCustomerId) FromParseResult

func (id *BillingProfileCustomerId) FromParseResult(input resourceids.ParseResult) error

func (BillingProfileCustomerId) ID

ID returns the formatted Billing Profile Customer ID

func (BillingProfileCustomerId) Segments

Segments returns a slice of Resource ID Segments which comprise this Billing Profile Customer ID

func (BillingProfileCustomerId) String

func (id BillingProfileCustomerId) String() string

String returns a human-readable description of this Billing Profile Customer ID

type BillingProfileId

type BillingProfileId struct {
	BillingAccountName string
	BillingProfileName string
}

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 BillingRequest

type BillingRequest struct {
	Id         *string                   `json:"id,omitempty"`
	Name       *string                   `json:"name,omitempty"`
	Properties *BillingRequestProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData    `json:"systemData,omitempty"`
	Tags       *map[string]string        `json:"tags,omitempty"`
	Type       *string                   `json:"type,omitempty"`
}

type BillingRequestClient

type BillingRequestClient struct {
	Client *resourcemanager.Client
}

func NewBillingRequestClientWithBaseURI

func NewBillingRequestClientWithBaseURI(sdkApi sdkEnv.Api) (*BillingRequestClient, error)

func (BillingRequestClient) CreateOrUpdate

CreateOrUpdate ...

func (BillingRequestClient) CreateOrUpdateThenPoll

func (c BillingRequestClient) CreateOrUpdateThenPoll(ctx context.Context, id BillingRequestId, input BillingRequest) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (BillingRequestClient) Get

Get ...

func (BillingRequestClient) ListByBillingAccount

ListByBillingAccount ...

func (BillingRequestClient) ListByBillingAccountComplete

ListByBillingAccountComplete retrieves all the results into a single object

func (BillingRequestClient) ListByBillingAccountCompleteMatchingPredicate

func (c BillingRequestClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, options ListByBillingAccountOperationOptions, predicate BillingRequestOperationPredicate) (result ListByBillingAccountCompleteResult, err error)

ListByBillingAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BillingRequestClient) ListByBillingProfile

ListByBillingProfile ...

func (BillingRequestClient) ListByBillingProfileComplete

ListByBillingProfileComplete retrieves all the results into a single object

func (BillingRequestClient) ListByBillingProfileCompleteMatchingPredicate

func (c BillingRequestClient) ListByBillingProfileCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, options ListByBillingProfileOperationOptions, predicate BillingRequestOperationPredicate) (result ListByBillingProfileCompleteResult, err error)

ListByBillingProfileCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BillingRequestClient) ListByCustomer

ListByCustomer ...

func (BillingRequestClient) ListByCustomerComplete

ListByCustomerComplete retrieves all the results into a single object

func (BillingRequestClient) ListByCustomerCompleteMatchingPredicate

ListByCustomerCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BillingRequestClient) ListByInvoiceSection

ListByInvoiceSection ...

func (BillingRequestClient) ListByInvoiceSectionComplete

ListByInvoiceSectionComplete retrieves all the results into a single object

func (BillingRequestClient) ListByInvoiceSectionCompleteMatchingPredicate

func (c BillingRequestClient) ListByInvoiceSectionCompleteMatchingPredicate(ctx context.Context, id InvoiceSectionId, options ListByInvoiceSectionOperationOptions, predicate BillingRequestOperationPredicate) (result ListByInvoiceSectionCompleteResult, err error)

ListByInvoiceSectionCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BillingRequestClient) ListByUser

ListByUser ...

func (BillingRequestClient) ListByUserComplete

ListByUserComplete retrieves all the results into a single object

func (BillingRequestClient) ListByUserCompleteMatchingPredicate

func (c BillingRequestClient) ListByUserCompleteMatchingPredicate(ctx context.Context, options ListByUserOperationOptions, predicate BillingRequestOperationPredicate) (result ListByUserCompleteResult, err error)

ListByUserCompleteMatchingPredicate retrieves all the results and then applies the predicate

type BillingRequestId

type BillingRequestId struct {
	BillingRequestName string
}

BillingRequestId is a struct representing the Resource ID for a Billing Request

func NewBillingRequestID

func NewBillingRequestID(billingRequestName string) BillingRequestId

NewBillingRequestID returns a new BillingRequestId struct

func ParseBillingRequestID

func ParseBillingRequestID(input string) (*BillingRequestId, error)

ParseBillingRequestID parses 'input' into a BillingRequestId

func ParseBillingRequestIDInsensitively

func ParseBillingRequestIDInsensitively(input string) (*BillingRequestId, error)

ParseBillingRequestIDInsensitively parses 'input' case-insensitively into a BillingRequestId note: this method should only be used for API response data and not user input

func (*BillingRequestId) FromParseResult

func (id *BillingRequestId) FromParseResult(input resourceids.ParseResult) error

func (BillingRequestId) ID

func (id BillingRequestId) ID() string

ID returns the formatted Billing Request ID

func (BillingRequestId) Segments

func (id BillingRequestId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Billing Request ID

func (BillingRequestId) String

func (id BillingRequestId) String() string

String returns a human-readable description of this Billing Request ID

type BillingRequestOperationPredicate

type BillingRequestOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (BillingRequestOperationPredicate) Matches

type BillingRequestProperties

type BillingRequestProperties struct {
	AdditionalInformation                *map[string]string    `json:"additionalInformation,omitempty"`
	BillingAccountDisplayName            *string               `json:"billingAccountDisplayName,omitempty"`
	BillingAccountId                     *string               `json:"billingAccountId,omitempty"`
	BillingAccountName                   *string               `json:"billingAccountName,omitempty"`
	BillingAccountPrimaryBillingTenantId *string               `json:"billingAccountPrimaryBillingTenantId,omitempty"`
	BillingProfileDisplayName            *string               `json:"billingProfileDisplayName,omitempty"`
	BillingProfileId                     *string               `json:"billingProfileId,omitempty"`
	BillingProfileName                   *string               `json:"billingProfileName,omitempty"`
	BillingScope                         *string               `json:"billingScope,omitempty"`
	CreatedBy                            *Principal            `json:"createdBy,omitempty"`
	CreationDate                         *string               `json:"creationDate,omitempty"`
	CustomerDisplayName                  *string               `json:"customerDisplayName,omitempty"`
	CustomerId                           *string               `json:"customerId,omitempty"`
	CustomerName                         *string               `json:"customerName,omitempty"`
	DecisionReason                       *string               `json:"decisionReason,omitempty"`
	ExpirationDate                       *string               `json:"expirationDate,omitempty"`
	InvoiceSectionDisplayName            *string               `json:"invoiceSectionDisplayName,omitempty"`
	InvoiceSectionId                     *string               `json:"invoiceSectionId,omitempty"`
	InvoiceSectionName                   *string               `json:"invoiceSectionName,omitempty"`
	Justification                        *string               `json:"justification,omitempty"`
	LastUpdatedBy                        *Principal            `json:"lastUpdatedBy,omitempty"`
	LastUpdatedDate                      *string               `json:"lastUpdatedDate,omitempty"`
	ProvisioningState                    *ProvisioningState    `json:"provisioningState,omitempty"`
	Recipients                           *[]Principal          `json:"recipients,omitempty"`
	RequestScope                         *string               `json:"requestScope,omitempty"`
	ReviewalDate                         *string               `json:"reviewalDate,omitempty"`
	ReviewedBy                           *Principal            `json:"reviewedBy,omitempty"`
	Status                               *BillingRequestStatus `json:"status,omitempty"`
	SubscriptionDisplayName              *string               `json:"subscriptionDisplayName,omitempty"`
	SubscriptionId                       *string               `json:"subscriptionId,omitempty"`
	SubscriptionName                     *string               `json:"subscriptionName,omitempty"`
	Type                                 *BillingRequestType   `json:"type,omitempty"`
}

func (*BillingRequestProperties) GetCreationDateAsTime

func (o *BillingRequestProperties) GetCreationDateAsTime() (*time.Time, error)

func (*BillingRequestProperties) GetExpirationDateAsTime

func (o *BillingRequestProperties) GetExpirationDateAsTime() (*time.Time, error)

func (*BillingRequestProperties) GetLastUpdatedDateAsTime

func (o *BillingRequestProperties) GetLastUpdatedDateAsTime() (*time.Time, error)

func (*BillingRequestProperties) GetReviewalDateAsTime

func (o *BillingRequestProperties) GetReviewalDateAsTime() (*time.Time, error)

func (*BillingRequestProperties) SetCreationDateAsTime

func (o *BillingRequestProperties) SetCreationDateAsTime(input time.Time)

func (*BillingRequestProperties) SetExpirationDateAsTime

func (o *BillingRequestProperties) SetExpirationDateAsTime(input time.Time)

func (*BillingRequestProperties) SetLastUpdatedDateAsTime

func (o *BillingRequestProperties) SetLastUpdatedDateAsTime(input time.Time)

func (*BillingRequestProperties) SetReviewalDateAsTime

func (o *BillingRequestProperties) SetReviewalDateAsTime(input time.Time)

type BillingRequestStatus

type BillingRequestStatus string
const (
	BillingRequestStatusApproved  BillingRequestStatus = "Approved"
	BillingRequestStatusCancelled BillingRequestStatus = "Cancelled"
	BillingRequestStatusCompleted BillingRequestStatus = "Completed"
	BillingRequestStatusDeclined  BillingRequestStatus = "Declined"
	BillingRequestStatusExpired   BillingRequestStatus = "Expired"
	BillingRequestStatusOther     BillingRequestStatus = "Other"
	BillingRequestStatusPending   BillingRequestStatus = "Pending"
)

func (*BillingRequestStatus) UnmarshalJSON

func (s *BillingRequestStatus) UnmarshalJSON(bytes []byte) error

type BillingRequestType

type BillingRequestType string
const (
	BillingRequestTypeInvoiceAccess       BillingRequestType = "InvoiceAccess"
	BillingRequestTypeOther               BillingRequestType = "Other"
	BillingRequestTypeProvisioningAccess  BillingRequestType = "ProvisioningAccess"
	BillingRequestTypeRoleAssignment      BillingRequestType = "RoleAssignment"
	BillingRequestTypeUpdateBillingPolicy BillingRequestType = "UpdateBillingPolicy"
)

func (*BillingRequestType) UnmarshalJSON

func (s *BillingRequestType) UnmarshalJSON(bytes []byte) error

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRequest
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRequest
}

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 ListByBillingAccountCompleteResult

type ListByBillingAccountCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []BillingRequest
}

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 (ListByBillingAccountOperationOptions) ToOData

func (ListByBillingAccountOperationOptions) ToQuery

type ListByBillingAccountOperationResponse

type ListByBillingAccountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]BillingRequest
}

type ListByBillingProfileCompleteResult

type ListByBillingProfileCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []BillingRequest
}

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 (ListByBillingProfileOperationOptions) ToOData

func (ListByBillingProfileOperationOptions) ToQuery

type ListByBillingProfileOperationResponse

type ListByBillingProfileOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]BillingRequest
}

type ListByCustomerCompleteResult

type ListByCustomerCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []BillingRequest
}

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 (ListByCustomerOperationOptions) ToOData

func (ListByCustomerOperationOptions) ToQuery

type ListByCustomerOperationResponse

type ListByCustomerOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]BillingRequest
}

type ListByInvoiceSectionCompleteResult

type ListByInvoiceSectionCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []BillingRequest
}

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 (ListByInvoiceSectionOperationOptions) ToOData

func (ListByInvoiceSectionOperationOptions) ToQuery

type ListByInvoiceSectionOperationResponse

type ListByInvoiceSectionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]BillingRequest
}

type ListByUserCompleteResult

type ListByUserCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []BillingRequest
}

type ListByUserOperationOptions

type ListByUserOperationOptions struct {
	Count   *bool
	Filter  *string
	OrderBy *string
	Search  *string
	Skip    *int64
	Top     *int64
}

func DefaultListByUserOperationOptions

func DefaultListByUserOperationOptions() ListByUserOperationOptions

func (ListByUserOperationOptions) ToHeaders

func (o ListByUserOperationOptions) ToHeaders() *client.Headers

func (ListByUserOperationOptions) ToOData

func (o ListByUserOperationOptions) ToOData() *odata.Query

func (ListByUserOperationOptions) ToQuery

type ListByUserOperationResponse

type ListByUserOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]BillingRequest
}

type Principal

type Principal struct {
	ObjectId *string `json:"objectId,omitempty"`
	TenantId *string `json:"tenantId,omitempty"`
	Upn      *string `json:"upn,omitempty"`
}

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateCanceled     ProvisioningState = "Canceled"
	ProvisioningStateFailed       ProvisioningState = "Failed"
	ProvisioningStateNew          ProvisioningState = "New"
	ProvisioningStatePending      ProvisioningState = "Pending"
	ProvisioningStateProvisioning ProvisioningState = "Provisioning"
	ProvisioningStateSucceeded    ProvisioningState = "Succeeded"
)

func (*ProvisioningState) UnmarshalJSON

func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL