partnerbillingusagebilled

package
v0.20241126.2320 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/reports/beta/partnerbillingusagebilled Documentation

The partnerbillingusagebilled SDK allows for interaction with Microsoft Graph reports (API Version beta).

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/microsoft-graph/reports/beta/partnerbillingusagebilled"

Client Initialization

client := partnerbillingusagebilled.NewPartnerBillingUsageBilledClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: PartnerBillingUsageBilledClient.CreatePartnerBillingUsageBilledExport

ctx := context.TODO()

payload := partnerbillingusagebilled.CreatePartnerBillingUsageBilledExportRequest{
	// ...
}


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

Example Usage: PartnerBillingUsageBilledClient.DeletePartnerBillingUsageBilled

ctx := context.TODO()


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

Example Usage: PartnerBillingUsageBilledClient.GetPartnerBillingUsageBilled

ctx := context.TODO()


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

Example Usage: PartnerBillingUsageBilledClient.UpdatePartnerBillingUsageBilled

ctx := context.TODO()

payload := partnerbillingusagebilled.PartnersBillingBilledUsage{
	// ...
}


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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreatePartnerBillingUsageBilledExportOperationOptions

type CreatePartnerBillingUsageBilledExportOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultCreatePartnerBillingUsageBilledExportOperationOptions

func DefaultCreatePartnerBillingUsageBilledExportOperationOptions() CreatePartnerBillingUsageBilledExportOperationOptions

func (CreatePartnerBillingUsageBilledExportOperationOptions) ToHeaders

func (CreatePartnerBillingUsageBilledExportOperationOptions) ToOData

func (CreatePartnerBillingUsageBilledExportOperationOptions) ToQuery

type CreatePartnerBillingUsageBilledExportOperationResponse

type CreatePartnerBillingUsageBilledExportOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        beta.PartnersBillingOperation
}

type CreatePartnerBillingUsageBilledExportRequest

type CreatePartnerBillingUsageBilledExportRequest struct {
	AttributeSet *beta.PartnersBillingAttributeSet `json:"attributeSet,omitempty"`
	InvoiceId    nullable.Type[string]             `json:"invoiceId,omitempty"`
}

type DeletePartnerBillingUsageBilledOperationOptions

type DeletePartnerBillingUsageBilledOperationOptions struct {
	IfMatch   *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultDeletePartnerBillingUsageBilledOperationOptions

func DefaultDeletePartnerBillingUsageBilledOperationOptions() DeletePartnerBillingUsageBilledOperationOptions

func (DeletePartnerBillingUsageBilledOperationOptions) ToHeaders

func (DeletePartnerBillingUsageBilledOperationOptions) ToOData

func (DeletePartnerBillingUsageBilledOperationOptions) ToQuery

type DeletePartnerBillingUsageBilledOperationResponse

type DeletePartnerBillingUsageBilledOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type GetPartnerBillingUsageBilledOperationOptions

type GetPartnerBillingUsageBilledOperationOptions struct {
	Expand    *odata.Expand
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Select    *[]string
}

func DefaultGetPartnerBillingUsageBilledOperationOptions

func DefaultGetPartnerBillingUsageBilledOperationOptions() GetPartnerBillingUsageBilledOperationOptions

func (GetPartnerBillingUsageBilledOperationOptions) ToHeaders

func (GetPartnerBillingUsageBilledOperationOptions) ToOData

func (GetPartnerBillingUsageBilledOperationOptions) ToQuery

type GetPartnerBillingUsageBilledOperationResponse

type GetPartnerBillingUsageBilledOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.PartnersBillingBilledUsage
}

type PartnerBillingUsageBilledClient

type PartnerBillingUsageBilledClient struct {
	Client *msgraph.Client
}

func NewPartnerBillingUsageBilledClientWithBaseURI

func NewPartnerBillingUsageBilledClientWithBaseURI(sdkApi sdkEnv.Api) (*PartnerBillingUsageBilledClient, error)

func (PartnerBillingUsageBilledClient) CreatePartnerBillingUsageBilledExport

CreatePartnerBillingUsageBilledExport - Invoke action export. Export the billed Azure usage data.

func (PartnerBillingUsageBilledClient) DeletePartnerBillingUsageBilled

DeletePartnerBillingUsageBilled - Delete navigation property billed for reports

func (PartnerBillingUsageBilledClient) GetPartnerBillingUsageBilled

GetPartnerBillingUsageBilled - Get billed from reports. Represents details for billed Azure usage data.

func (PartnerBillingUsageBilledClient) UpdatePartnerBillingUsageBilled

UpdatePartnerBillingUsageBilled - Update the navigation property billed in reports

type UpdatePartnerBillingUsageBilledOperationOptions

type UpdatePartnerBillingUsageBilledOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultUpdatePartnerBillingUsageBilledOperationOptions

func DefaultUpdatePartnerBillingUsageBilledOperationOptions() UpdatePartnerBillingUsageBilledOperationOptions

func (UpdatePartnerBillingUsageBilledOperationOptions) ToHeaders

func (UpdatePartnerBillingUsageBilledOperationOptions) ToOData

func (UpdatePartnerBillingUsageBilledOperationOptions) ToQuery

type UpdatePartnerBillingUsageBilledOperationResponse

type UpdatePartnerBillingUsageBilledOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

Jump to

Keyboard shortcuts

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