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 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 + District *string + Email *string + FirstName *string + LastName *string + MiddleName *string + PhoneNumber *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 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 + BillTo *AddressDetails + BillingRelationshipType *BillingRelationshipType + Currency *string + DisplayName *string + EnabledAzurePlans *[]AzurePlan + HasReadAccess *bool + IndirectRelationshipInfo *IndirectRelationshipInfo + InvoiceDay *int64 + InvoiceEmailOptIn *bool + InvoiceSections *InvoiceSectionsOnExpand + PoNumber *string + SpendingLimit *SpendingLimit + Status *BillingProfileStatus + StatusReasonCode *StatusReasonCode + SystemId *string + Tags *map[string]string + 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) CreateOrUpdate(ctx context.Context, id BillingProfileId, input BillingProfile) (result CreateOrUpdateOperationResponse, err error) + func (c BillingProfilesClient) CreateOrUpdateThenPoll(ctx context.Context, id BillingProfileId, input BillingProfile) error + func (c BillingProfilesClient) Get(ctx context.Context, id BillingProfileId, options GetOperationOptions) (result GetOperationResponse, 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) + type BillingRelationshipType string + const BillingRelationshipTypeCSPPartner + const BillingRelationshipTypeDirect + const BillingRelationshipTypeIndirectCustomer + const BillingRelationshipTypeIndirectPartner + func (s *BillingRelationshipType) UnmarshalJSON(bytes []byte) error + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *BillingProfile + OData *odata.OData + Poller pollers.Poller + 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 + Labels *map[string]string + State *InvoiceSectionState + SystemId *string + Tags *map[string]string + TargetCloud *TargetCloud + type InvoiceSectionState string + const InvoiceSectionStateActive + const InvoiceSectionStateRestricted + func (s *InvoiceSectionState) UnmarshalJSON(bytes []byte) error + type InvoiceSectionsOnExpand struct + HasMoreResults *bool + Value *[]InvoiceSection + 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