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 PossibleValuesForAccountType() []string + func PossibleValuesForAgreementType() []string + func PossibleValuesForBillingProfileSpendingLimit() []string + func PossibleValuesForBillingProfileStatus() []string + func PossibleValuesForBillingProfileStatusReasonCode() []string + func PossibleValuesForBillingRelationshipType() []string + func PossibleValuesForCustomerType() []string + func PossibleValuesForInvoiceSectionState() []string + func PossibleValuesForSpendingLimit() []string + func PossibleValuesForStatusReasonCode() []string + func PossibleValuesForTargetCloud() []string + func ValidateBillingAccountID(input interface{}, key string) (warnings []string, errors []error) + type AccountType string + const AccountTypeEnterprise + const AccountTypeIndividual + const AccountTypePartner + func (s *AccountType) UnmarshalJSON(bytes []byte) 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 AgreementType string + const AgreementTypeEnterpriseAgreement + const AgreementTypeMicrosoftCustomerAgreement + const AgreementTypeMicrosoftOnlineServicesProgram + const AgreementTypeMicrosoftPartnerAgreement + func (s *AgreementType) UnmarshalJSON(bytes []byte) error + type AzurePlan struct + SkuDescription *string + SkuId *string + type BillingAccount struct + Id *string + Name *string + Properties *BillingAccountProperties + Type *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 BillingAccountOperationPredicate struct + Id *string + Name *string + Type *string + func (p BillingAccountOperationPredicate) Matches(input BillingAccount) bool + type BillingAccountProperties struct + AccountType *AccountType + Address *AddressDetails + AgreementType *AgreementType + BillingProfiles *[]BillingProfile + CustomerType *CustomerType + Departments *[]Department + DisplayName *string + EnrollmentAccounts *[]EnrollmentAccount + EnrollmentDetails *Enrollment + OrganizationId *string + type BillingAccountUpdateRequest struct + Properties *BillingAccountProperties + type BillingAccountsClient struct + Client *resourcemanager.Client + func NewBillingAccountsClientWithBaseURI(sdkApi sdkEnv.Api) (*BillingAccountsClient, error) + func (c BillingAccountsClient) Get(ctx context.Context, id BillingAccountId, options GetOperationOptions) (result GetOperationResponse, err error) + func (c BillingAccountsClient) List(ctx context.Context, options ListOperationOptions) (result ListOperationResponse, err error) + func (c BillingAccountsClient) ListComplete(ctx context.Context, options ListOperationOptions) (ListCompleteResult, error) + func (c BillingAccountsClient) ListCompleteMatchingPredicate(ctx context.Context, options ListOperationOptions, ...) (result ListCompleteResult, err error) + func (c BillingAccountsClient) ListInvoiceSectionsByCreateSubscriptionPermission(ctx context.Context, id BillingAccountId) (result ListInvoiceSectionsByCreateSubscriptionPermissionOperationResponse, ...) + func (c BillingAccountsClient) ListInvoiceSectionsByCreateSubscriptionPermissionComplete(ctx context.Context, id BillingAccountId) (ListInvoiceSectionsByCreateSubscriptionPermissionCompleteResult, error) + func (c BillingAccountsClient) ListInvoiceSectionsByCreateSubscriptionPermissionCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, ...) (result ListInvoiceSectionsByCreateSubscriptionPermissionCompleteResult, ...) + func (c BillingAccountsClient) Update(ctx context.Context, id BillingAccountId, input BillingAccountUpdateRequest) (result UpdateOperationResponse, err error) + func (c BillingAccountsClient) UpdateThenPoll(ctx context.Context, id BillingAccountId, input BillingAccountUpdateRequest) error + type BillingProfile struct + Id *string + Name *string + Properties *BillingProfileProperties + Type *string + 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 BillingProfileSpendingLimit string + const BillingProfileSpendingLimitOff + const BillingProfileSpendingLimitOn + func (s *BillingProfileSpendingLimit) UnmarshalJSON(bytes []byte) error + type BillingProfileStatus string + const BillingProfileStatusActive + const BillingProfileStatusDisabled + const BillingProfileStatusWarned + func (s *BillingProfileStatus) UnmarshalJSON(bytes []byte) error + type BillingProfileStatusReasonCode string + const BillingProfileStatusReasonCodePastDue + const BillingProfileStatusReasonCodeSpendingLimitExpired + const BillingProfileStatusReasonCodeSpendingLimitReached + func (s *BillingProfileStatusReasonCode) UnmarshalJSON(bytes []byte) error + type BillingRelationshipType string + const BillingRelationshipTypeCSPPartner + const BillingRelationshipTypeDirect + const BillingRelationshipTypeIndirectCustomer + const BillingRelationshipTypeIndirectPartner + func (s *BillingRelationshipType) UnmarshalJSON(bytes []byte) error + type CustomerType string + const CustomerTypeEnterprise + const CustomerTypeIndividual + const CustomerTypePartner + func (s *CustomerType) UnmarshalJSON(bytes []byte) error + type Department struct + Id *string + Name *string + Properties *DepartmentProperties + Type *string + type DepartmentProperties struct + CostCenter *string + DepartmentName *string + EnrollmentAccounts *[]EnrollmentAccount + Status *string + type Enrollment struct + BillingCycle *string + Channel *string + CountryCode *string + Currency *string + EndDate *string + Language *string + Policies *EnrollmentPolicies + StartDate *string + Status *string + func (o *Enrollment) GetEndDateAsTime() (*time.Time, error) + func (o *Enrollment) GetStartDateAsTime() (*time.Time, error) + func (o *Enrollment) SetEndDateAsTime(input time.Time) + func (o *Enrollment) SetStartDateAsTime(input time.Time) + type EnrollmentAccount struct + Id *string + Name *string + Properties *EnrollmentAccountProperties + Type *string + type EnrollmentAccountProperties struct + AccountName *string + AccountOwner *string + CostCenter *string + Department *Department + EndDate *string + StartDate *string + Status *string + func (o *EnrollmentAccountProperties) GetEndDateAsTime() (*time.Time, error) + func (o *EnrollmentAccountProperties) GetStartDateAsTime() (*time.Time, error) + func (o *EnrollmentAccountProperties) SetEndDateAsTime(input time.Time) + func (o *EnrollmentAccountProperties) SetStartDateAsTime(input time.Time) + type EnrollmentPolicies struct + AccountOwnerViewCharges *bool + DepartmentAdminViewCharges *bool + MarketplacesEnabled *bool + ReservedInstancesEnabled *bool + 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 *BillingAccount + 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 InvoiceSectionWithCreateSubPermission struct + BillingProfileDisplayName *string + BillingProfileId *string + BillingProfileSpendingLimit *BillingProfileSpendingLimit + BillingProfileStatus *BillingProfileStatus + BillingProfileStatusReasonCode *BillingProfileStatusReasonCode + EnabledAzurePlans *[]AzurePlan + InvoiceSectionDisplayName *string + InvoiceSectionId *string + type InvoiceSectionWithCreateSubPermissionOperationPredicate struct + BillingProfileDisplayName *string + BillingProfileId *string + InvoiceSectionDisplayName *string + InvoiceSectionId *string + func (p InvoiceSectionWithCreateSubPermissionOperationPredicate) Matches(input InvoiceSectionWithCreateSubPermission) bool + type ListCompleteResult struct + Items []BillingAccount + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListInvoiceSectionsByCreateSubscriptionPermissionCompleteResult struct + Items []InvoiceSectionWithCreateSubPermission + LatestHttpResponse *http.Response + type ListInvoiceSectionsByCreateSubscriptionPermissionCustomPager struct + NextLink *odata.Link + func (p *ListInvoiceSectionsByCreateSubscriptionPermissionCustomPager) NextPageLink() *odata.Link + type ListInvoiceSectionsByCreateSubscriptionPermissionOperationResponse struct + HttpResponse *http.Response + Model *[]InvoiceSectionWithCreateSubPermission + OData *odata.OData + type ListOperationOptions struct + Expand *string + func DefaultListOperationOptions() ListOperationOptions + func (o ListOperationOptions) ToHeaders() *client.Headers + func (o ListOperationOptions) ToOData() *odata.Query + func (o ListOperationOptions) ToQuery() *client.QueryParams + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]BillingAccount + 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 *BillingAccount + OData *odata.OData + Poller pollers.Poller