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 PossibleValuesForBillingProfileStatus() []string + func PossibleValuesForBillingRelationshipType() []string + func PossibleValuesForDetachPaymentMethodEligibilityErrorCode() []string + func PossibleValuesForInvoiceSectionState() []string + func PossibleValuesForSpendingLimit() []string + func PossibleValuesForStatusReasonCode() []string + func PossibleValuesForTargetCloud() []string + func ValidateBillingAccountID(input interface{}, key string) (warnings []string, errors []error) + func ValidateBillingProfileID(input interface{}, key string) (warnings []string, errors []error) + type AddressDetails struct + AddressLine1 *string + AddressLine2 *string + AddressLine3 *string + City *string + CompanyName *string + Country *string + FirstName *string + LastName *string + PostalCode *string + Region *string + type AzurePlan struct + SkuDescription *string + SkuId *string + 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 BillingProfile struct + Id *string + Name *string + Properties *BillingProfileProperties + Type *string + type BillingProfileCreationRequest struct + Address *AddressDetails + DisplayName *string + EnabledAzurePlans *[]AzurePlan + InvoiceEmailOptIn *bool + PoNumber *string + 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 BillingProfileOperationPredicate struct + Id *string + Name *string + Type *string + func (p BillingProfileOperationPredicate) Matches(input BillingProfile) bool + type BillingProfileProperties struct + Address *AddressDetails + BillingRelationshipType *BillingRelationshipType + Currency *string + DisplayName *string + EnabledAzurePlans *[]AzurePlan + IndirectRelationshipInfo *IndirectRelationshipInfo + InvoiceDay *int64 + InvoiceEmailOptIn *bool + InvoiceSections *[]InvoiceSection + PoNumber *string + SpendingLimit *SpendingLimit + Status *BillingProfileStatus + StatusReasonCode *StatusReasonCode + TargetClouds *[]TargetCloud + type BillingProfileStatus string + const BillingProfileStatusActive + const BillingProfileStatusDisabled + const BillingProfileStatusWarned + func (s *BillingProfileStatus) UnmarshalJSON(bytes []byte) error + type BillingProfilesClient struct + Client *resourcemanager.Client + func NewBillingProfilesClientWithBaseURI(sdkApi sdkEnv.Api) (*BillingProfilesClient, error) + func (c BillingProfilesClient) Create(ctx context.Context, id BillingProfileId, input BillingProfileCreationRequest) (result CreateOperationResponse, err error) + func (c BillingProfilesClient) CreateThenPoll(ctx context.Context, id BillingProfileId, input BillingProfileCreationRequest) error + func (c BillingProfilesClient) Get(ctx context.Context, id BillingProfileId, options GetOperationOptions) (result GetOperationResponse, err error) + func (c BillingProfilesClient) GetEligibilityToDetachPaymentMethod(ctx context.Context, id BillingProfileId) (result GetEligibilityToDetachPaymentMethodOperationResponse, err error) + func (c BillingProfilesClient) ListByBillingAccount(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountOperationResponse, err error) + func (c BillingProfilesClient) ListByBillingAccountComplete(ctx context.Context, id BillingAccountId, ...) (ListByBillingAccountCompleteResult, error) + func (c BillingProfilesClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountCompleteResult, err error) + func (c BillingProfilesClient) Update(ctx context.Context, id BillingProfileId, input BillingProfile) (result UpdateOperationResponse, err error) + func (c BillingProfilesClient) UpdateThenPoll(ctx context.Context, id BillingProfileId, input BillingProfile) error + type BillingRelationshipType string + const BillingRelationshipTypeCSPPartner + const BillingRelationshipTypeDirect + const BillingRelationshipTypeIndirectCustomer + const BillingRelationshipTypeIndirectPartner + func (s *BillingRelationshipType) UnmarshalJSON(bytes []byte) error + type CreateOperationResponse struct + HttpResponse *http.Response + Model *BillingProfile + OData *odata.OData + Poller pollers.Poller + type DetachPaymentMethodEligibilityErrorCode string + const DetachPaymentMethodEligibilityErrorCodeAzureSubscriptions + const DetachPaymentMethodEligibilityErrorCodeOutstandingCharges + const DetachPaymentMethodEligibilityErrorCodePendingCharges + const DetachPaymentMethodEligibilityErrorCodeRecurringCharges + const DetachPaymentMethodEligibilityErrorCodeReservedInstances + func (s *DetachPaymentMethodEligibilityErrorCode) UnmarshalJSON(bytes []byte) error + type DetachPaymentMethodEligibilityResult struct + ErrorDetails *[]DetachPaymentMethodErrorDetails + IsEligible *bool + type DetachPaymentMethodErrorDetails struct + Code *DetachPaymentMethodEligibilityErrorCode + Message *string + type GetEligibilityToDetachPaymentMethodOperationResponse struct + HttpResponse *http.Response + Model *DetachPaymentMethodEligibilityResult + OData *odata.OData + type GetOperationOptions struct + Expand *string + func DefaultGetOperationOptions() GetOperationOptions + func (o GetOperationOptions) ToHeaders() *client.Headers + func (o GetOperationOptions) ToOData() *odata.Query + func (o GetOperationOptions) ToQuery() *client.QueryParams + type GetOperationResponse struct + HttpResponse *http.Response + Model *BillingProfile + OData *odata.OData + type IndirectRelationshipInfo struct + BillingAccountName *string + BillingProfileName *string + DisplayName *string + type InvoiceSection struct + Id *string + Name *string + Properties *InvoiceSectionProperties + Type *string + type InvoiceSectionProperties struct + DisplayName *string + State *InvoiceSectionState + TargetCloud *TargetCloud + type InvoiceSectionState string + const InvoiceSectionStateActive + const InvoiceSectionStateRestricted + func (s *InvoiceSectionState) UnmarshalJSON(bytes []byte) error + type ListByBillingAccountCompleteResult struct + Items []BillingProfile + LatestHttpResponse *http.Response + type ListByBillingAccountCustomPager struct + NextLink *odata.Link + func (p *ListByBillingAccountCustomPager) NextPageLink() *odata.Link + type ListByBillingAccountOperationOptions struct + Expand *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 *[]BillingProfile + OData *odata.OData + type SpendingLimit string + const SpendingLimitOff + const SpendingLimitOn + func (s *SpendingLimit) UnmarshalJSON(bytes []byte) error + type StatusReasonCode string + const StatusReasonCodePastDue + const StatusReasonCodeSpendingLimitExpired + const StatusReasonCodeSpendingLimitReached + func (s *StatusReasonCode) UnmarshalJSON(bytes []byte) error + type TargetCloud string + const TargetCloudUSGov + const TargetCloudUSNat + const TargetCloudUSSec + func (s *TargetCloud) UnmarshalJSON(bytes []byte) error + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *BillingProfile + OData *odata.OData + Poller pollers.Poller