billing

package
v1.59.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAzureUsageFromDiscriminatorValue

CreateAzureUsageFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateBilledReconciliationFromDiscriminatorValue added in v1.37.0

CreateBilledReconciliationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateBilledUsageFromDiscriminatorValue

CreateBilledUsageFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateBillingFromDiscriminatorValue

CreateBillingFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateBillingReconciliationFromDiscriminatorValue added in v1.37.0

CreateBillingReconciliationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateBlobFromDiscriminatorValue

CreateBlobFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateExportSuccessOperationFromDiscriminatorValue

CreateExportSuccessOperationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateFailedOperationFromDiscriminatorValue

CreateFailedOperationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateManifestCollectionResponseFromDiscriminatorValue

CreateManifestCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateManifestFromDiscriminatorValue

CreateManifestFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateOperationCollectionResponseFromDiscriminatorValue

CreateOperationCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateOperationFromDiscriminatorValue

CreateOperationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateRunningOperationFromDiscriminatorValue

CreateRunningOperationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateUnbilledUsageFromDiscriminatorValue

CreateUnbilledUsageFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func ParseAttributeSet

func ParseAttributeSet(v string) (any, error)

func ParseBillingPeriod

func ParseBillingPeriod(v string) (any, error)

func SerializeAttributeSet

func SerializeAttributeSet(values []AttributeSet) []string

func SerializeBillingPeriod

func SerializeBillingPeriod(values []BillingPeriod) []string

Types

type AttributeSet

type AttributeSet int
const (
	FULL_ATTRIBUTESET AttributeSet = iota
	BASIC_ATTRIBUTESET
	UNKNOWNFUTUREVALUE_ATTRIBUTESET
)

func (AttributeSet) String

func (i AttributeSet) String() string

type AzureUsage

func NewAzureUsage

func NewAzureUsage() *AzureUsage

NewAzureUsage instantiates a new AzureUsage and sets the default values.

func (*AzureUsage) GetBilled

func (m *AzureUsage) GetBilled() BilledUsageable

GetBilled gets the billed property value. The billed property returns a BilledUsageable when successful

func (*AzureUsage) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*AzureUsage) GetUnbilled

func (m *AzureUsage) GetUnbilled() UnbilledUsageable

GetUnbilled gets the unbilled property value. The unbilled property returns a UnbilledUsageable when successful

func (*AzureUsage) Serialize

Serialize serializes information the current object

func (*AzureUsage) SetBilled

func (m *AzureUsage) SetBilled(value BilledUsageable)

SetBilled sets the billed property value. The billed property

func (*AzureUsage) SetUnbilled

func (m *AzureUsage) SetUnbilled(value UnbilledUsageable)

SetUnbilled sets the unbilled property value. The unbilled property

type BilledReconciliation added in v1.37.0

func NewBilledReconciliation added in v1.37.0

func NewBilledReconciliation() *BilledReconciliation

NewBilledReconciliation instantiates a new BilledReconciliation and sets the default values.

func (*BilledReconciliation) GetFieldDeserializers added in v1.37.0

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*BilledReconciliation) Serialize added in v1.37.0

Serialize serializes information the current object

type BilledUsage

func NewBilledUsage

func NewBilledUsage() *BilledUsage

NewBilledUsage instantiates a new BilledUsage and sets the default values.

func (*BilledUsage) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*BilledUsage) Serialize

Serialize serializes information the current object

type Billing

func NewBilling

func NewBilling() *Billing

NewBilling instantiates a new Billing and sets the default values.

func (*Billing) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*Billing) GetManifests

func (m *Billing) GetManifests() []Manifestable

GetManifests gets the manifests property value. Represents metadata for the exported data. returns a []Manifestable when successful

func (*Billing) GetOperations

func (m *Billing) GetOperations() []Operationable

GetOperations gets the operations property value. Represents an operation to export the billing data of a partner. returns a []Operationable when successful

func (*Billing) GetReconciliation added in v1.37.0

func (m *Billing) GetReconciliation() BillingReconciliationable

GetReconciliation gets the reconciliation property value. The reconciliation property returns a BillingReconciliationable when successful

func (*Billing) GetUsage

func (m *Billing) GetUsage() AzureUsageable

GetUsage gets the usage property value. The usage property returns a AzureUsageable when successful

func (*Billing) Serialize

Serialize serializes information the current object

func (*Billing) SetManifests

func (m *Billing) SetManifests(value []Manifestable)

SetManifests sets the manifests property value. Represents metadata for the exported data.

func (*Billing) SetOperations

func (m *Billing) SetOperations(value []Operationable)

SetOperations sets the operations property value. Represents an operation to export the billing data of a partner.

func (*Billing) SetReconciliation added in v1.37.0

func (m *Billing) SetReconciliation(value BillingReconciliationable)

SetReconciliation sets the reconciliation property value. The reconciliation property

func (*Billing) SetUsage

func (m *Billing) SetUsage(value AzureUsageable)

SetUsage sets the usage property value. The usage property

type BillingPeriod

type BillingPeriod int
const (
	CURRENT_BILLINGPERIOD BillingPeriod = iota
	LAST_BILLINGPERIOD
	UNKNOWNFUTUREVALUE_BILLINGPERIOD
)

func (BillingPeriod) String

func (i BillingPeriod) String() string

type BillingReconciliation added in v1.37.0

func NewBillingReconciliation added in v1.37.0

func NewBillingReconciliation() *BillingReconciliation

NewBillingReconciliation instantiates a new BillingReconciliation and sets the default values.

func (*BillingReconciliation) GetBilled added in v1.37.0

GetBilled gets the billed property value. The billed property returns a BilledReconciliationable when successful

func (*BillingReconciliation) GetFieldDeserializers added in v1.37.0

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*BillingReconciliation) Serialize added in v1.37.0

Serialize serializes information the current object

func (*BillingReconciliation) SetBilled added in v1.37.0

func (m *BillingReconciliation) SetBilled(value BilledReconciliationable)

SetBilled sets the billed property value. The billed property

type Billingable

type Billingable interface {
	iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetManifests() []Manifestable
	GetOperations() []Operationable
	GetReconciliation() BillingReconciliationable
	GetUsage() AzureUsageable
	SetManifests(value []Manifestable)
	SetOperations(value []Operationable)
	SetReconciliation(value BillingReconciliationable)
	SetUsage(value AzureUsageable)
}

type Blob

type Blob struct {
	// contains filtered or unexported fields
}

func NewBlob

func NewBlob() *Blob

NewBlob instantiates a new Blob and sets the default values.

func (*Blob) GetAdditionalData

func (m *Blob) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*Blob) GetBackingStore

GetBackingStore gets the BackingStore property value. Stores model information. returns a BackingStore when successful

func (*Blob) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*Blob) GetName

func (m *Blob) GetName() *string

GetName gets the name property value. The blob name. returns a *string when successful

func (*Blob) GetOdataType

func (m *Blob) GetOdataType() *string

GetOdataType gets the @odata.type property value. The OdataType property returns a *string when successful

func (*Blob) GetPartitionValue

func (m *Blob) GetPartitionValue() *string

GetPartitionValue gets the partitionValue property value. The partition that contains the file. A large partition is split into multiple files, each with the same partitionValue. returns a *string when successful

func (*Blob) Serialize

Serialize serializes information the current object

func (*Blob) SetAdditionalData

func (m *Blob) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*Blob) SetBackingStore

SetBackingStore sets the BackingStore property value. Stores model information.

func (*Blob) SetName

func (m *Blob) SetName(value *string)

SetName sets the name property value. The blob name.

func (*Blob) SetOdataType

func (m *Blob) SetOdataType(value *string)

SetOdataType sets the @odata.type property value. The OdataType property

func (*Blob) SetPartitionValue

func (m *Blob) SetPartitionValue(value *string)

SetPartitionValue sets the partitionValue property value. The partition that contains the file. A large partition is split into multiple files, each with the same partitionValue.

type ExportSuccessOperation

type ExportSuccessOperation struct {
	Operation
}

func NewExportSuccessOperation

func NewExportSuccessOperation() *ExportSuccessOperation

NewExportSuccessOperation instantiates a new ExportSuccessOperation and sets the default values.

func (*ExportSuccessOperation) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ExportSuccessOperation) GetResourceLocation

func (m *ExportSuccessOperation) GetResourceLocation() Manifestable

GetResourceLocation gets the resourceLocation property value. The resourceLocation property returns a Manifestable when successful

func (*ExportSuccessOperation) Serialize

Serialize serializes information the current object

func (*ExportSuccessOperation) SetResourceLocation

func (m *ExportSuccessOperation) SetResourceLocation(value Manifestable)

SetResourceLocation sets the resourceLocation property value. The resourceLocation property

type ExportSuccessOperationable

type ExportSuccessOperationable interface {
	Operationable
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetResourceLocation() Manifestable
	SetResourceLocation(value Manifestable)
}

type FailedOperation

type FailedOperation struct {
	Operation
}

func NewFailedOperation

func NewFailedOperation() *FailedOperation

NewFailedOperation instantiates a new FailedOperation and sets the default values.

func (*FailedOperation) GetError

GetError gets the error property value. The error property returns a PublicErrorable when successful

func (*FailedOperation) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*FailedOperation) Serialize

Serialize serializes information the current object

func (*FailedOperation) SetError

SetError sets the error property value. The error property

type Manifest

func NewManifest

func NewManifest() *Manifest

NewManifest instantiates a new Manifest and sets the default values.

func (*Manifest) GetBlobCount

func (m *Manifest) GetBlobCount() *int32

GetBlobCount gets the blobCount property value. The total file count for this partner tenant ID. returns a *int32 when successful

func (*Manifest) GetBlobs

func (m *Manifest) GetBlobs() []Blobable

GetBlobs gets the blobs property value. A collection of blob objects that contain details of all the files for the partner tenant ID. returns a []Blobable when successful

func (*Manifest) GetCreatedDateTime

GetCreatedDateTime gets the createdDateTime property value. The date and time when a manifest resource was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. returns a *Time when successful

func (*Manifest) GetDataFormat

func (m *Manifest) GetDataFormat() *string

GetDataFormat gets the dataFormat property value. The billing data file format. The possible value is: compressedJSONLines. Each blob is a compressed file and data in the file is in JSON lines format. Decompress the file to access the data. returns a *string when successful

func (*Manifest) GetETag

func (m *Manifest) GetETag() *string

GetETag gets the eTag property value. Version of data represented by the manifest. Any change in eTag indicates a new data version. returns a *string when successful

func (*Manifest) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*Manifest) GetPartitionType

func (m *Manifest) GetPartitionType() *string

GetPartitionType gets the partitionType property value. Indicates the division of data. If a given partition has more than the supported number, the data is split into multiple files, each file representing a specific partitionValue. By default, the data in the file is partitioned by the number of line items. returns a *string when successful

func (*Manifest) GetPartnerTenantId

func (m *Manifest) GetPartnerTenantId() *string

GetPartnerTenantId gets the partnerTenantId property value. The Microsoft Entra tenant ID of the partner. returns a *string when successful

func (*Manifest) GetRootDirectory

func (m *Manifest) GetRootDirectory() *string

GetRootDirectory gets the rootDirectory property value. The root directory that contains all the files. returns a *string when successful

func (*Manifest) GetSasToken

func (m *Manifest) GetSasToken() *string

GetSasToken gets the sasToken property value. The SAS token for accessing the directory or an individual file in the directory. returns a *string when successful

func (*Manifest) GetSchemaVersion

func (m *Manifest) GetSchemaVersion() *string

GetSchemaVersion gets the schemaVersion property value. The version of the manifest schema. returns a *string when successful

func (*Manifest) Serialize

Serialize serializes information the current object

func (*Manifest) SetBlobCount

func (m *Manifest) SetBlobCount(value *int32)

SetBlobCount sets the blobCount property value. The total file count for this partner tenant ID.

func (*Manifest) SetBlobs

func (m *Manifest) SetBlobs(value []Blobable)

SetBlobs sets the blobs property value. A collection of blob objects that contain details of all the files for the partner tenant ID.

func (*Manifest) SetCreatedDateTime

SetCreatedDateTime sets the createdDateTime property value. The date and time when a manifest resource was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.

func (*Manifest) SetDataFormat

func (m *Manifest) SetDataFormat(value *string)

SetDataFormat sets the dataFormat property value. The billing data file format. The possible value is: compressedJSONLines. Each blob is a compressed file and data in the file is in JSON lines format. Decompress the file to access the data.

func (*Manifest) SetETag

func (m *Manifest) SetETag(value *string)

SetETag sets the eTag property value. Version of data represented by the manifest. Any change in eTag indicates a new data version.

func (*Manifest) SetPartitionType

func (m *Manifest) SetPartitionType(value *string)

SetPartitionType sets the partitionType property value. Indicates the division of data. If a given partition has more than the supported number, the data is split into multiple files, each file representing a specific partitionValue. By default, the data in the file is partitioned by the number of line items.

func (*Manifest) SetPartnerTenantId

func (m *Manifest) SetPartnerTenantId(value *string)

SetPartnerTenantId sets the partnerTenantId property value. The Microsoft Entra tenant ID of the partner.

func (*Manifest) SetRootDirectory

func (m *Manifest) SetRootDirectory(value *string)

SetRootDirectory sets the rootDirectory property value. The root directory that contains all the files.

func (*Manifest) SetSasToken

func (m *Manifest) SetSasToken(value *string)

SetSasToken sets the sasToken property value. The SAS token for accessing the directory or an individual file in the directory.

func (*Manifest) SetSchemaVersion

func (m *Manifest) SetSchemaVersion(value *string)

SetSchemaVersion sets the schemaVersion property value. The version of the manifest schema.

type ManifestCollectionResponse

func NewManifestCollectionResponse

func NewManifestCollectionResponse() *ManifestCollectionResponse

NewManifestCollectionResponse instantiates a new ManifestCollectionResponse and sets the default values.

func (*ManifestCollectionResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ManifestCollectionResponse) GetValue

func (m *ManifestCollectionResponse) GetValue() []Manifestable

GetValue gets the value property value. The value property returns a []Manifestable when successful

func (*ManifestCollectionResponse) Serialize

Serialize serializes information the current object

func (*ManifestCollectionResponse) SetValue

func (m *ManifestCollectionResponse) SetValue(value []Manifestable)

SetValue sets the value property value. The value property

type Manifestable

type Manifestable interface {
	iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetBlobCount() *int32
	GetBlobs() []Blobable
	GetCreatedDateTime() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
	GetDataFormat() *string
	GetETag() *string
	GetPartitionType() *string
	GetPartnerTenantId() *string
	GetRootDirectory() *string
	GetSasToken() *string
	GetSchemaVersion() *string
	SetBlobCount(value *int32)
	SetBlobs(value []Blobable)
	SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
	SetDataFormat(value *string)
	SetETag(value *string)
	SetPartitionType(value *string)
	SetPartnerTenantId(value *string)
	SetRootDirectory(value *string)
	SetSasToken(value *string)
	SetSchemaVersion(value *string)
}

type Operation

func NewOperation

func NewOperation() *Operation

NewOperation instantiates a new Operation and sets the default values.

func (*Operation) GetCreatedDateTime

GetCreatedDateTime gets the createdDateTime property value. The start time of the operation. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. returns a *Time when successful

func (*Operation) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*Operation) GetLastActionDateTime

GetLastActionDateTime gets the lastActionDateTime property value. The time of the last action of the operation. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. returns a *Time when successful

func (*Operation) GetStatus

GetStatus gets the status property value. The status of the operation. Possible values are: notStarted, running, completed, failed, unknownFutureValue. returns a *LongRunningOperationStatus when successful

func (*Operation) Serialize

Serialize serializes information the current object

func (*Operation) SetCreatedDateTime

SetCreatedDateTime sets the createdDateTime property value. The start time of the operation. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.

func (*Operation) SetLastActionDateTime

SetLastActionDateTime sets the lastActionDateTime property value. The time of the last action of the operation. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.

func (*Operation) SetStatus

SetStatus sets the status property value. The status of the operation. Possible values are: notStarted, running, completed, failed, unknownFutureValue.

type OperationCollectionResponse

func NewOperationCollectionResponse

func NewOperationCollectionResponse() *OperationCollectionResponse

NewOperationCollectionResponse instantiates a new OperationCollectionResponse and sets the default values.

func (*OperationCollectionResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*OperationCollectionResponse) GetValue

GetValue gets the value property value. The value property returns a []Operationable when successful

func (*OperationCollectionResponse) Serialize

Serialize serializes information the current object

func (*OperationCollectionResponse) SetValue

func (m *OperationCollectionResponse) SetValue(value []Operationable)

SetValue sets the value property value. The value property

type RunningOperation

type RunningOperation struct {
	Operation
}

func NewRunningOperation

func NewRunningOperation() *RunningOperation

NewRunningOperation instantiates a new RunningOperation and sets the default values.

func (*RunningOperation) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*RunningOperation) Serialize

Serialize serializes information the current object

type UnbilledUsage

func NewUnbilledUsage

func NewUnbilledUsage() *UnbilledUsage

NewUnbilledUsage instantiates a new UnbilledUsage and sets the default values.

func (*UnbilledUsage) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*UnbilledUsage) Serialize

Serialize serializes information the current object

Jump to

Keyboard shortcuts

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