Documentation ¶
Index ¶
- func PossibleValuesForAccountStatus() []string
- func PossibleValuesForAccountType() []string
- func PossibleValuesForAgreementType() []string
- func PossibleValuesForBillingProfileStatus() []string
- func PossibleValuesForBillingRelationshipType() []string
- func PossibleValuesForInvoiceSectionState() []string
- func PossibleValuesForSpendingLimit() []string
- func PossibleValuesForSpendingLimitForBillingProfile() []string
- func PossibleValuesForStatusReasonCode() []string
- func PossibleValuesForStatusReasonCodeForBillingProfile() []string
- func PossibleValuesForTargetCloud() []string
- func ValidateBillingAccountID(input interface{}, key string) (warnings []string, errors []error)
- type AccountStatus
- type AccountType
- type AddressDetails
- type AgreementType
- type AzurePlan
- type BillingAccount
- type BillingAccountId
- type BillingAccountOperationPredicate
- type BillingAccountProperties
- type BillingAccountUpdateRequest
- type BillingAccountsClient
- 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
- type BillingProfileProperties
- type BillingProfileStatus
- type BillingProfilesOnExpand
- type BillingRelationshipType
- type Department
- type DepartmentProperties
- type Enrollment
- type EnrollmentAccount
- type EnrollmentAccountProperties
- 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
- type GetOperationOptions
- type GetOperationResponse
- type IndirectRelationshipInfo
- type InvoiceSection
- type InvoiceSectionProperties
- type InvoiceSectionState
- type InvoiceSectionWithCreateSubPermission
- type InvoiceSectionWithCreateSubPermissionOperationPredicate
- type InvoiceSectionsOnExpand
- type ListCompleteResult
- type ListCustomPager
- type ListInvoiceSectionsByCreateSubscriptionPermissionCompleteResult
- type ListInvoiceSectionsByCreateSubscriptionPermissionCustomPager
- type ListInvoiceSectionsByCreateSubscriptionPermissionOperationResponse
- type ListOperationOptions
- type ListOperationResponse
- type SpendingLimit
- type SpendingLimitForBillingProfile
- type StatusReasonCode
- type StatusReasonCodeForBillingProfile
- type TargetCloud
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAccountStatus ¶
func PossibleValuesForAccountStatus() []string
func PossibleValuesForAccountType ¶
func PossibleValuesForAccountType() []string
func PossibleValuesForAgreementType ¶
func PossibleValuesForAgreementType() []string
func PossibleValuesForBillingProfileStatus ¶
func PossibleValuesForBillingProfileStatus() []string
func PossibleValuesForBillingRelationshipType ¶
func PossibleValuesForBillingRelationshipType() []string
func PossibleValuesForInvoiceSectionState ¶
func PossibleValuesForInvoiceSectionState() []string
func PossibleValuesForSpendingLimit ¶
func PossibleValuesForSpendingLimit() []string
func PossibleValuesForSpendingLimitForBillingProfile ¶
func PossibleValuesForSpendingLimitForBillingProfile() []string
func PossibleValuesForStatusReasonCode ¶
func PossibleValuesForStatusReasonCode() []string
func PossibleValuesForStatusReasonCodeForBillingProfile ¶
func PossibleValuesForStatusReasonCodeForBillingProfile() []string
func PossibleValuesForTargetCloud ¶
func PossibleValuesForTargetCloud() []string
func ValidateBillingAccountID ¶
ValidateBillingAccountID checks that 'input' can be parsed as a Billing Account ID
Types ¶
type AccountStatus ¶
type AccountStatus string
const ( AccountStatusActive AccountStatus = "Active" AccountStatusDeleted AccountStatus = "Deleted" AccountStatusDisabled AccountStatus = "Disabled" AccountStatusExpired AccountStatus = "Expired" AccountStatusExtended AccountStatus = "Extended" AccountStatusTerminated AccountStatus = "Terminated" AccountStatusTransferred AccountStatus = "Transferred" )
func (*AccountStatus) UnmarshalJSON ¶
func (s *AccountStatus) UnmarshalJSON(bytes []byte) error
type AccountType ¶
type AccountType string
const ( AccountTypeEnterprise AccountType = "Enterprise" AccountTypeIndividual AccountType = "Individual" AccountTypePartner AccountType = "Partner" )
func (*AccountType) UnmarshalJSON ¶
func (s *AccountType) UnmarshalJSON(bytes []byte) error
type AddressDetails ¶
type AddressDetails struct { AddressLine1 string `json:"addressLine1"` AddressLine2 *string `json:"addressLine2,omitempty"` AddressLine3 *string `json:"addressLine3,omitempty"` City *string `json:"city,omitempty"` CompanyName *string `json:"companyName,omitempty"` Country string `json:"country"` District *string `json:"district,omitempty"` Email *string `json:"email,omitempty"` FirstName *string `json:"firstName,omitempty"` LastName *string `json:"lastName,omitempty"` MiddleName *string `json:"middleName,omitempty"` PhoneNumber *string `json:"phoneNumber,omitempty"` PostalCode *string `json:"postalCode,omitempty"` Region *string `json:"region,omitempty"` }
type AgreementType ¶
type AgreementType string
const ( AgreementTypeEnterpriseAgreement AgreementType = "EnterpriseAgreement" AgreementTypeMicrosoftCustomerAgreement AgreementType = "MicrosoftCustomerAgreement" AgreementTypeMicrosoftOnlineServicesProgram AgreementType = "MicrosoftOnlineServicesProgram" AgreementTypeMicrosoftPartnerAgreement AgreementType = "MicrosoftPartnerAgreement" )
func (*AgreementType) UnmarshalJSON ¶
func (s *AgreementType) UnmarshalJSON(bytes []byte) error
type BillingAccount ¶
type BillingAccount struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *BillingAccountProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type BillingAccountId ¶
type BillingAccountId struct {
BillingAccountName string
}
BillingAccountId is a struct representing the Resource ID for a Billing Account
func NewBillingAccountID ¶
func NewBillingAccountID(billingAccountName string) BillingAccountId
NewBillingAccountID returns a new BillingAccountId struct
func ParseBillingAccountID ¶
func ParseBillingAccountID(input string) (*BillingAccountId, error)
ParseBillingAccountID parses 'input' into a BillingAccountId
func ParseBillingAccountIDInsensitively ¶
func ParseBillingAccountIDInsensitively(input string) (*BillingAccountId, error)
ParseBillingAccountIDInsensitively parses 'input' case-insensitively into a BillingAccountId note: this method should only be used for API response data and not user input
func (*BillingAccountId) FromParseResult ¶
func (id *BillingAccountId) FromParseResult(input resourceids.ParseResult) error
func (BillingAccountId) ID ¶
func (id BillingAccountId) ID() string
ID returns the formatted Billing Account ID
func (BillingAccountId) Segments ¶
func (id BillingAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Account ID
func (BillingAccountId) String ¶
func (id BillingAccountId) String() string
String returns a human-readable description of this Billing Account ID
type BillingAccountOperationPredicate ¶
func (BillingAccountOperationPredicate) Matches ¶
func (p BillingAccountOperationPredicate) Matches(input BillingAccount) bool
type BillingAccountProperties ¶
type BillingAccountProperties struct { AccountStatus *AccountStatus `json:"accountStatus,omitempty"` AccountType *AccountType `json:"accountType,omitempty"` AgreementType *AgreementType `json:"agreementType,omitempty"` BillingProfiles *BillingProfilesOnExpand `json:"billingProfiles,omitempty"` Departments *[]Department `json:"departments,omitempty"` DisplayName *string `json:"displayName,omitempty"` EnrollmentAccounts *[]EnrollmentAccount `json:"enrollmentAccounts,omitempty"` EnrollmentDetails *Enrollment `json:"enrollmentDetails,omitempty"` HasReadAccess *bool `json:"hasReadAccess,omitempty"` NotificationEmailAddress *string `json:"notificationEmailAddress,omitempty"` SoldTo *AddressDetails `json:"soldTo,omitempty"` }
type BillingAccountUpdateRequest ¶
type BillingAccountUpdateRequest struct {
Properties *BillingAccountProperties `json:"properties,omitempty"`
}
type BillingAccountsClient ¶
type BillingAccountsClient struct {
Client *resourcemanager.Client
}
func NewBillingAccountsClientWithBaseURI ¶
func NewBillingAccountsClientWithBaseURI(sdkApi sdkEnv.Api) (*BillingAccountsClient, error)
func (BillingAccountsClient) Get ¶
func (c BillingAccountsClient) Get(ctx context.Context, id BillingAccountId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (BillingAccountsClient) List ¶
func (c BillingAccountsClient) List(ctx context.Context, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (BillingAccountsClient) ListComplete ¶
func (c BillingAccountsClient) ListComplete(ctx context.Context, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (BillingAccountsClient) ListCompleteMatchingPredicate ¶
func (c BillingAccountsClient) ListCompleteMatchingPredicate(ctx context.Context, options ListOperationOptions, predicate BillingAccountOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BillingAccountsClient) ListInvoiceSectionsByCreateSubscriptionPermission ¶
func (c BillingAccountsClient) ListInvoiceSectionsByCreateSubscriptionPermission(ctx context.Context, id BillingAccountId) (result ListInvoiceSectionsByCreateSubscriptionPermissionOperationResponse, err error)
ListInvoiceSectionsByCreateSubscriptionPermission ...
func (BillingAccountsClient) ListInvoiceSectionsByCreateSubscriptionPermissionComplete ¶
func (c BillingAccountsClient) ListInvoiceSectionsByCreateSubscriptionPermissionComplete(ctx context.Context, id BillingAccountId) (ListInvoiceSectionsByCreateSubscriptionPermissionCompleteResult, error)
ListInvoiceSectionsByCreateSubscriptionPermissionComplete retrieves all the results into a single object
func (BillingAccountsClient) ListInvoiceSectionsByCreateSubscriptionPermissionCompleteMatchingPredicate ¶
func (c BillingAccountsClient) ListInvoiceSectionsByCreateSubscriptionPermissionCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, predicate InvoiceSectionWithCreateSubPermissionOperationPredicate) (result ListInvoiceSectionsByCreateSubscriptionPermissionCompleteResult, err error)
ListInvoiceSectionsByCreateSubscriptionPermissionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BillingAccountsClient) Update ¶
func (c BillingAccountsClient) Update(ctx context.Context, id BillingAccountId, input BillingAccountUpdateRequest) (result UpdateOperationResponse, err error)
Update ...
func (BillingAccountsClient) UpdateThenPoll ¶
func (c BillingAccountsClient) UpdateThenPoll(ctx context.Context, id BillingAccountId, input BillingAccountUpdateRequest) error
UpdateThenPoll performs Update then polls until it's completed
type BillingProfile ¶
type BillingProfile struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *BillingProfileProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type BillingProfileProperties ¶
type BillingProfileProperties struct { BillTo *AddressDetails `json:"billTo,omitempty"` BillingRelationshipType *BillingRelationshipType `json:"billingRelationshipType,omitempty"` Currency *string `json:"currency,omitempty"` DisplayName *string `json:"displayName,omitempty"` EnabledAzurePlans *[]AzurePlan `json:"enabledAzurePlans,omitempty"` HasReadAccess *bool `json:"hasReadAccess,omitempty"` IndirectRelationshipInfo *IndirectRelationshipInfo `json:"indirectRelationshipInfo,omitempty"` InvoiceDay *int64 `json:"invoiceDay,omitempty"` InvoiceEmailOptIn *bool `json:"invoiceEmailOptIn,omitempty"` InvoiceSections *InvoiceSectionsOnExpand `json:"invoiceSections,omitempty"` PoNumber *string `json:"poNumber,omitempty"` SpendingLimit *SpendingLimit `json:"spendingLimit,omitempty"` Status *BillingProfileStatus `json:"status,omitempty"` StatusReasonCode *StatusReasonCode `json:"statusReasonCode,omitempty"` SystemId *string `json:"systemId,omitempty"` Tags *map[string]string `json:"tags,omitempty"` TargetClouds *[]TargetCloud `json:"targetClouds,omitempty"` }
type BillingProfileStatus ¶
type BillingProfileStatus string
const ( BillingProfileStatusActive BillingProfileStatus = "Active" BillingProfileStatusDisabled BillingProfileStatus = "Disabled" BillingProfileStatusWarned BillingProfileStatus = "Warned" )
func (*BillingProfileStatus) UnmarshalJSON ¶
func (s *BillingProfileStatus) UnmarshalJSON(bytes []byte) error
type BillingProfilesOnExpand ¶
type BillingProfilesOnExpand struct { HasMoreResults *bool `json:"hasMoreResults,omitempty"` Value *[]BillingProfile `json:"value,omitempty"` }
type BillingRelationshipType ¶
type BillingRelationshipType string
const ( BillingRelationshipTypeCSPPartner BillingRelationshipType = "CSPPartner" BillingRelationshipTypeDirect BillingRelationshipType = "Direct" BillingRelationshipTypeIndirectCustomer BillingRelationshipType = "IndirectCustomer" BillingRelationshipTypeIndirectPartner BillingRelationshipType = "IndirectPartner" )
func (*BillingRelationshipType) UnmarshalJSON ¶
func (s *BillingRelationshipType) UnmarshalJSON(bytes []byte) error
type Department ¶
type Department struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DepartmentProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type DepartmentProperties ¶
type DepartmentProperties struct { CostCenter *string `json:"costCenter,omitempty"` DepartmentName *string `json:"departmentName,omitempty"` EnrollmentAccounts *[]EnrollmentAccount `json:"enrollmentAccounts,omitempty"` Status *string `json:"status,omitempty"` }
type Enrollment ¶
type Enrollment struct { BillingCycle *string `json:"billingCycle,omitempty"` Channel *string `json:"channel,omitempty"` CountryCode *string `json:"countryCode,omitempty"` Currency *string `json:"currency,omitempty"` EndDate *string `json:"endDate,omitempty"` Language *string `json:"language,omitempty"` Policies *EnrollmentPolicies `json:"policies,omitempty"` StartDate *string `json:"startDate,omitempty"` Status *string `json:"status,omitempty"` }
func (*Enrollment) GetEndDateAsTime ¶
func (o *Enrollment) GetEndDateAsTime() (*time.Time, error)
func (*Enrollment) GetStartDateAsTime ¶
func (o *Enrollment) GetStartDateAsTime() (*time.Time, error)
func (*Enrollment) SetEndDateAsTime ¶
func (o *Enrollment) SetEndDateAsTime(input time.Time)
func (*Enrollment) SetStartDateAsTime ¶
func (o *Enrollment) SetStartDateAsTime(input time.Time)
type EnrollmentAccount ¶
type EnrollmentAccount struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *EnrollmentAccountProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type EnrollmentAccountProperties ¶
type EnrollmentAccountProperties struct { AccountName *string `json:"accountName,omitempty"` AccountOwner *string `json:"accountOwner,omitempty"` AccountOwnerEmail *string `json:"accountOwnerEmail,omitempty"` CostCenter *string `json:"costCenter,omitempty"` Department *Department `json:"department,omitempty"` EndDate *string `json:"endDate,omitempty"` StartDate *string `json:"startDate,omitempty"` Status *string `json:"status,omitempty"` }
func (*EnrollmentAccountProperties) GetEndDateAsTime ¶
func (o *EnrollmentAccountProperties) GetEndDateAsTime() (*time.Time, error)
func (*EnrollmentAccountProperties) GetStartDateAsTime ¶
func (o *EnrollmentAccountProperties) GetStartDateAsTime() (*time.Time, error)
func (*EnrollmentAccountProperties) SetEndDateAsTime ¶
func (o *EnrollmentAccountProperties) SetEndDateAsTime(input time.Time)
func (*EnrollmentAccountProperties) SetStartDateAsTime ¶
func (o *EnrollmentAccountProperties) SetStartDateAsTime(input time.Time)
type EnrollmentPolicies ¶
type EnrollmentPolicies struct { AccountOwnerViewCharges *bool `json:"accountOwnerViewCharges,omitempty"` DepartmentAdminViewCharges *bool `json:"departmentAdminViewCharges,omitempty"` MarketplaceEnabled *bool `json:"marketplaceEnabled,omitempty"` ReservedInstancesEnabled *bool `json:"reservedInstancesEnabled,omitempty"` }
type GetOperationOptions ¶
type GetOperationOptions struct {
Expand *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BillingAccount }
type InvoiceSection ¶
type InvoiceSection struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *InvoiceSectionProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type InvoiceSectionProperties ¶
type InvoiceSectionProperties struct { DisplayName *string `json:"displayName,omitempty"` Labels *map[string]string `json:"labels,omitempty"` State *InvoiceSectionState `json:"state,omitempty"` SystemId *string `json:"systemId,omitempty"` Tags *map[string]string `json:"tags,omitempty"` TargetCloud *TargetCloud `json:"targetCloud,omitempty"` }
type InvoiceSectionState ¶
type InvoiceSectionState string
const ( InvoiceSectionStateActive InvoiceSectionState = "Active" InvoiceSectionStateRestricted InvoiceSectionState = "Restricted" )
func (*InvoiceSectionState) UnmarshalJSON ¶
func (s *InvoiceSectionState) UnmarshalJSON(bytes []byte) error
type InvoiceSectionWithCreateSubPermission ¶
type InvoiceSectionWithCreateSubPermission struct { BillingProfileDisplayName *string `json:"billingProfileDisplayName,omitempty"` BillingProfileId *string `json:"billingProfileId,omitempty"` BillingProfileSpendingLimit *SpendingLimitForBillingProfile `json:"billingProfileSpendingLimit,omitempty"` BillingProfileStatus *BillingProfileStatus `json:"billingProfileStatus,omitempty"` BillingProfileStatusReasonCode *StatusReasonCodeForBillingProfile `json:"billingProfileStatusReasonCode,omitempty"` BillingProfileSystemId *string `json:"billingProfileSystemId,omitempty"` EnabledAzurePlans *[]AzurePlan `json:"enabledAzurePlans,omitempty"` InvoiceSectionDisplayName *string `json:"invoiceSectionDisplayName,omitempty"` InvoiceSectionId *string `json:"invoiceSectionId,omitempty"` InvoiceSectionSystemId *string `json:"invoiceSectionSystemId,omitempty"` }
type InvoiceSectionWithCreateSubPermissionOperationPredicate ¶
type InvoiceSectionWithCreateSubPermissionOperationPredicate struct { BillingProfileDisplayName *string BillingProfileId *string BillingProfileSystemId *string InvoiceSectionDisplayName *string InvoiceSectionId *string InvoiceSectionSystemId *string }
func (InvoiceSectionWithCreateSubPermissionOperationPredicate) Matches ¶
func (p InvoiceSectionWithCreateSubPermissionOperationPredicate) Matches(input InvoiceSectionWithCreateSubPermission) bool
type InvoiceSectionsOnExpand ¶
type InvoiceSectionsOnExpand struct { HasMoreResults *bool `json:"hasMoreResults,omitempty"` Value *[]InvoiceSection `json:"value,omitempty"` }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []BillingAccount }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListInvoiceSectionsByCreateSubscriptionPermissionCompleteResult ¶
type ListInvoiceSectionsByCreateSubscriptionPermissionCompleteResult struct { LatestHttpResponse *http.Response Items []InvoiceSectionWithCreateSubPermission }
type ListInvoiceSectionsByCreateSubscriptionPermissionCustomPager ¶ added in v0.20240628.1153531
type ListInvoiceSectionsByCreateSubscriptionPermissionCustomPager struct {
NextLink *odata.Link `json:"nextLink"`
}
func (*ListInvoiceSectionsByCreateSubscriptionPermissionCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListInvoiceSectionsByCreateSubscriptionPermissionCustomPager) NextPageLink() *odata.Link
type ListInvoiceSectionsByCreateSubscriptionPermissionOperationResponse ¶
type ListInvoiceSectionsByCreateSubscriptionPermissionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]InvoiceSectionWithCreateSubPermission }
type ListOperationOptions ¶
type ListOperationOptions struct {
Expand *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BillingAccount }
type SpendingLimit ¶
type SpendingLimit string
const ( SpendingLimitOff SpendingLimit = "Off" SpendingLimitOn SpendingLimit = "On" )
func (*SpendingLimit) UnmarshalJSON ¶
func (s *SpendingLimit) UnmarshalJSON(bytes []byte) error
type SpendingLimitForBillingProfile ¶
type SpendingLimitForBillingProfile string
const ( SpendingLimitForBillingProfileOff SpendingLimitForBillingProfile = "Off" SpendingLimitForBillingProfileOn SpendingLimitForBillingProfile = "On" )
func (*SpendingLimitForBillingProfile) UnmarshalJSON ¶
func (s *SpendingLimitForBillingProfile) UnmarshalJSON(bytes []byte) error
type StatusReasonCode ¶
type StatusReasonCode string
const ( StatusReasonCodePastDue StatusReasonCode = "PastDue" StatusReasonCodeSpendingLimitExpired StatusReasonCode = "SpendingLimitExpired" StatusReasonCodeSpendingLimitReached StatusReasonCode = "SpendingLimitReached" )
func (*StatusReasonCode) UnmarshalJSON ¶
func (s *StatusReasonCode) UnmarshalJSON(bytes []byte) error
type StatusReasonCodeForBillingProfile ¶
type StatusReasonCodeForBillingProfile string
const ( StatusReasonCodeForBillingProfilePastDue StatusReasonCodeForBillingProfile = "PastDue" StatusReasonCodeForBillingProfileSpendingLimitExpired StatusReasonCodeForBillingProfile = "SpendingLimitExpired" StatusReasonCodeForBillingProfileSpendingLimitReached StatusReasonCodeForBillingProfile = "SpendingLimitReached" )
func (*StatusReasonCodeForBillingProfile) UnmarshalJSON ¶
func (s *StatusReasonCodeForBillingProfile) UnmarshalJSON(bytes []byte) error
type TargetCloud ¶
type TargetCloud string
const ( TargetCloudUSGov TargetCloud = "USGov" TargetCloudUSNat TargetCloud = "USNat" TargetCloudUSSec TargetCloud = "USSec" )
func (*TargetCloud) UnmarshalJSON ¶
func (s *TargetCloud) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_billingaccount.go
- method_get.go
- method_list.go
- method_listinvoicesectionsbycreatesubscriptionpermission.go
- method_update.go
- model_addressdetails.go
- model_azureplan.go
- model_billingaccount.go
- model_billingaccountproperties.go
- model_billingaccountupdaterequest.go
- model_billingprofile.go
- model_billingprofileproperties.go
- model_billingprofilesonexpand.go
- model_department.go
- model_departmentproperties.go
- model_enrollment.go
- model_enrollmentaccount.go
- model_enrollmentaccountproperties.go
- model_enrollmentpolicies.go
- model_indirectrelationshipinfo.go
- model_invoicesection.go
- model_invoicesectionproperties.go
- model_invoicesectionsonexpand.go
- model_invoicesectionwithcreatesubpermission.go
- predicates.go
- version.go