Documentation ¶
Index ¶
- func PossibleValuesForDeleteInvoiceSectionEligibilityCode() []string
- func PossibleValuesForDeleteInvoiceSectionEligibilityStatus() []string
- func PossibleValuesForInvoiceSectionState() []string
- func PossibleValuesForInvoiceSectionStateReasonCode() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateBillingProfileID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateInvoiceSectionID(input interface{}, key string) (warnings []string, errors []error)
- type BillingProfileId
- type CreateOrUpdateOperationResponse
- type DeleteInvoiceSectionEligibilityCode
- type DeleteInvoiceSectionEligibilityDetail
- type DeleteInvoiceSectionEligibilityResult
- type DeleteInvoiceSectionEligibilityStatus
- type DeleteOperationResponse
- type GetOperationResponse
- type InvoiceSection
- type InvoiceSectionClient
- func (c InvoiceSectionClient) CreateOrUpdate(ctx context.Context, id InvoiceSectionId, input InvoiceSection) (result CreateOrUpdateOperationResponse, err error)
- func (c InvoiceSectionClient) CreateOrUpdateThenPoll(ctx context.Context, id InvoiceSectionId, input InvoiceSection) error
- func (c InvoiceSectionClient) Delete(ctx context.Context, id InvoiceSectionId) (result DeleteOperationResponse, err error)
- func (c InvoiceSectionClient) DeleteThenPoll(ctx context.Context, id InvoiceSectionId) error
- func (c InvoiceSectionClient) Get(ctx context.Context, id InvoiceSectionId) (result GetOperationResponse, err error)
- func (c InvoiceSectionClient) ListByBillingProfile(ctx context.Context, id BillingProfileId, ...) (result ListByBillingProfileOperationResponse, err error)
- func (c InvoiceSectionClient) ListByBillingProfileComplete(ctx context.Context, id BillingProfileId, ...) (ListByBillingProfileCompleteResult, error)
- func (c InvoiceSectionClient) ListByBillingProfileCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, ...) (result ListByBillingProfileCompleteResult, err error)
- func (c InvoiceSectionClient) ValidateDeleteEligibility(ctx context.Context, id InvoiceSectionId) (result ValidateDeleteEligibilityOperationResponse, err error)
- type InvoiceSectionId
- type InvoiceSectionOperationPredicate
- type InvoiceSectionProperties
- type InvoiceSectionState
- type InvoiceSectionStateReasonCode
- type ListByBillingProfileCompleteResult
- type ListByBillingProfileCustomPager
- type ListByBillingProfileOperationOptions
- type ListByBillingProfileOperationResponse
- type ProvisioningState
- type ValidateDeleteEligibilityOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDeleteInvoiceSectionEligibilityCode ¶
func PossibleValuesForDeleteInvoiceSectionEligibilityCode() []string
func PossibleValuesForDeleteInvoiceSectionEligibilityStatus ¶
func PossibleValuesForDeleteInvoiceSectionEligibilityStatus() []string
func PossibleValuesForInvoiceSectionState ¶
func PossibleValuesForInvoiceSectionState() []string
func PossibleValuesForInvoiceSectionStateReasonCode ¶
func PossibleValuesForInvoiceSectionStateReasonCode() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateBillingProfileID ¶
ValidateBillingProfileID checks that 'input' can be parsed as a Billing Profile ID
func ValidateInvoiceSectionID ¶
ValidateInvoiceSectionID checks that 'input' can be parsed as a Invoice Section ID
Types ¶
type BillingProfileId ¶
BillingProfileId is a struct representing the Resource ID for a Billing Profile
func NewBillingProfileID ¶
func NewBillingProfileID(billingAccountName string, billingProfileName string) BillingProfileId
NewBillingProfileID returns a new BillingProfileId struct
func ParseBillingProfileID ¶
func ParseBillingProfileID(input string) (*BillingProfileId, error)
ParseBillingProfileID parses 'input' into a BillingProfileId
func ParseBillingProfileIDInsensitively ¶
func ParseBillingProfileIDInsensitively(input string) (*BillingProfileId, error)
ParseBillingProfileIDInsensitively parses 'input' case-insensitively into a BillingProfileId note: this method should only be used for API response data and not user input
func (*BillingProfileId) FromParseResult ¶
func (id *BillingProfileId) FromParseResult(input resourceids.ParseResult) error
func (BillingProfileId) ID ¶
func (id BillingProfileId) ID() string
ID returns the formatted Billing Profile ID
func (BillingProfileId) Segments ¶
func (id BillingProfileId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Profile ID
func (BillingProfileId) String ¶
func (id BillingProfileId) String() string
String returns a human-readable description of this Billing Profile ID
type DeleteInvoiceSectionEligibilityCode ¶
type DeleteInvoiceSectionEligibilityCode string
const ( DeleteInvoiceSectionEligibilityCodeActiveAzurePlans DeleteInvoiceSectionEligibilityCode = "ActiveAzurePlans" DeleteInvoiceSectionEligibilityCodeActiveBillingSubscriptions DeleteInvoiceSectionEligibilityCode = "ActiveBillingSubscriptions" DeleteInvoiceSectionEligibilityCodeLastInvoiceSection DeleteInvoiceSectionEligibilityCode = "LastInvoiceSection" DeleteInvoiceSectionEligibilityCodeOther DeleteInvoiceSectionEligibilityCode = "Other" DeleteInvoiceSectionEligibilityCodeReservedInstances DeleteInvoiceSectionEligibilityCode = "ReservedInstances" )
func (*DeleteInvoiceSectionEligibilityCode) UnmarshalJSON ¶
func (s *DeleteInvoiceSectionEligibilityCode) UnmarshalJSON(bytes []byte) error
type DeleteInvoiceSectionEligibilityDetail ¶
type DeleteInvoiceSectionEligibilityDetail struct { Code *DeleteInvoiceSectionEligibilityCode `json:"code,omitempty"` Message *string `json:"message,omitempty"` }
type DeleteInvoiceSectionEligibilityResult ¶
type DeleteInvoiceSectionEligibilityResult struct { EligibilityDetails *[]DeleteInvoiceSectionEligibilityDetail `json:"eligibilityDetails,omitempty"` EligibilityStatus *DeleteInvoiceSectionEligibilityStatus `json:"eligibilityStatus,omitempty"` }
type DeleteInvoiceSectionEligibilityStatus ¶
type DeleteInvoiceSectionEligibilityStatus string
const ( DeleteInvoiceSectionEligibilityStatusAllowed DeleteInvoiceSectionEligibilityStatus = "Allowed" DeleteInvoiceSectionEligibilityStatusNotAllowed DeleteInvoiceSectionEligibilityStatus = "NotAllowed" )
func (*DeleteInvoiceSectionEligibilityStatus) UnmarshalJSON ¶
func (s *DeleteInvoiceSectionEligibilityStatus) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *InvoiceSection }
type InvoiceSection ¶
type InvoiceSection struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *InvoiceSectionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type InvoiceSectionClient ¶
type InvoiceSectionClient struct {
Client *resourcemanager.Client
}
func NewInvoiceSectionClientWithBaseURI ¶
func NewInvoiceSectionClientWithBaseURI(sdkApi sdkEnv.Api) (*InvoiceSectionClient, error)
func (InvoiceSectionClient) CreateOrUpdate ¶
func (c InvoiceSectionClient) CreateOrUpdate(ctx context.Context, id InvoiceSectionId, input InvoiceSection) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (InvoiceSectionClient) CreateOrUpdateThenPoll ¶
func (c InvoiceSectionClient) CreateOrUpdateThenPoll(ctx context.Context, id InvoiceSectionId, input InvoiceSection) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (InvoiceSectionClient) Delete ¶
func (c InvoiceSectionClient) Delete(ctx context.Context, id InvoiceSectionId) (result DeleteOperationResponse, err error)
Delete ...
func (InvoiceSectionClient) DeleteThenPoll ¶
func (c InvoiceSectionClient) DeleteThenPoll(ctx context.Context, id InvoiceSectionId) error
DeleteThenPoll performs Delete then polls until it's completed
func (InvoiceSectionClient) Get ¶
func (c InvoiceSectionClient) Get(ctx context.Context, id InvoiceSectionId) (result GetOperationResponse, err error)
Get ...
func (InvoiceSectionClient) ListByBillingProfile ¶
func (c InvoiceSectionClient) ListByBillingProfile(ctx context.Context, id BillingProfileId, options ListByBillingProfileOperationOptions) (result ListByBillingProfileOperationResponse, err error)
ListByBillingProfile ...
func (InvoiceSectionClient) ListByBillingProfileComplete ¶
func (c InvoiceSectionClient) ListByBillingProfileComplete(ctx context.Context, id BillingProfileId, options ListByBillingProfileOperationOptions) (ListByBillingProfileCompleteResult, error)
ListByBillingProfileComplete retrieves all the results into a single object
func (InvoiceSectionClient) ListByBillingProfileCompleteMatchingPredicate ¶
func (c InvoiceSectionClient) ListByBillingProfileCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, options ListByBillingProfileOperationOptions, predicate InvoiceSectionOperationPredicate) (result ListByBillingProfileCompleteResult, err error)
ListByBillingProfileCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (InvoiceSectionClient) ValidateDeleteEligibility ¶
func (c InvoiceSectionClient) ValidateDeleteEligibility(ctx context.Context, id InvoiceSectionId) (result ValidateDeleteEligibilityOperationResponse, err error)
ValidateDeleteEligibility ...
type InvoiceSectionId ¶
type InvoiceSectionId struct { BillingAccountName string BillingProfileName string InvoiceSectionName string }
InvoiceSectionId is a struct representing the Resource ID for a Invoice Section
func NewInvoiceSectionID ¶
func NewInvoiceSectionID(billingAccountName string, billingProfileName string, invoiceSectionName string) InvoiceSectionId
NewInvoiceSectionID returns a new InvoiceSectionId struct
func ParseInvoiceSectionID ¶
func ParseInvoiceSectionID(input string) (*InvoiceSectionId, error)
ParseInvoiceSectionID parses 'input' into a InvoiceSectionId
func ParseInvoiceSectionIDInsensitively ¶
func ParseInvoiceSectionIDInsensitively(input string) (*InvoiceSectionId, error)
ParseInvoiceSectionIDInsensitively parses 'input' case-insensitively into a InvoiceSectionId note: this method should only be used for API response data and not user input
func (*InvoiceSectionId) FromParseResult ¶
func (id *InvoiceSectionId) FromParseResult(input resourceids.ParseResult) error
func (InvoiceSectionId) ID ¶
func (id InvoiceSectionId) ID() string
ID returns the formatted Invoice Section ID
func (InvoiceSectionId) Segments ¶
func (id InvoiceSectionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Invoice Section ID
func (InvoiceSectionId) String ¶
func (id InvoiceSectionId) String() string
String returns a human-readable description of this Invoice Section ID
type InvoiceSectionOperationPredicate ¶
func (InvoiceSectionOperationPredicate) Matches ¶
func (p InvoiceSectionOperationPredicate) Matches(input InvoiceSection) bool
type InvoiceSectionProperties ¶
type InvoiceSectionProperties struct { DisplayName *string `json:"displayName,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ReasonCode *InvoiceSectionStateReasonCode `json:"reasonCode,omitempty"` State *InvoiceSectionState `json:"state,omitempty"` SystemId *string `json:"systemId,omitempty"` Tags *map[string]string `json:"tags,omitempty"` TargetCloud *string `json:"targetCloud,omitempty"` }
type InvoiceSectionState ¶
type InvoiceSectionState string
const ( InvoiceSectionStateActive InvoiceSectionState = "Active" InvoiceSectionStateDeleted InvoiceSectionState = "Deleted" InvoiceSectionStateDisabled InvoiceSectionState = "Disabled" InvoiceSectionStateOther InvoiceSectionState = "Other" InvoiceSectionStateRestricted InvoiceSectionState = "Restricted" InvoiceSectionStateUnderReview InvoiceSectionState = "UnderReview" InvoiceSectionStateWarned InvoiceSectionState = "Warned" )
func (*InvoiceSectionState) UnmarshalJSON ¶
func (s *InvoiceSectionState) UnmarshalJSON(bytes []byte) error
type InvoiceSectionStateReasonCode ¶
type InvoiceSectionStateReasonCode string
const ( InvoiceSectionStateReasonCodeOther InvoiceSectionStateReasonCode = "Other" InvoiceSectionStateReasonCodePastDue InvoiceSectionStateReasonCode = "PastDue" InvoiceSectionStateReasonCodeSpendingLimitExpired InvoiceSectionStateReasonCode = "SpendingLimitExpired" InvoiceSectionStateReasonCodeSpendingLimitReached InvoiceSectionStateReasonCode = "SpendingLimitReached" InvoiceSectionStateReasonCodeUnusualActivity InvoiceSectionStateReasonCode = "UnusualActivity" )
func (*InvoiceSectionStateReasonCode) UnmarshalJSON ¶
func (s *InvoiceSectionStateReasonCode) UnmarshalJSON(bytes []byte) error
type ListByBillingProfileCompleteResult ¶
type ListByBillingProfileCompleteResult struct { LatestHttpResponse *http.Response Items []InvoiceSection }
type ListByBillingProfileCustomPager ¶
func (*ListByBillingProfileCustomPager) NextPageLink ¶
func (p *ListByBillingProfileCustomPager) NextPageLink() *odata.Link
type ListByBillingProfileOperationOptions ¶
type ListByBillingProfileOperationOptions struct { Count *bool Filter *string IncludeDeleted *bool OrderBy *string Search *string Skip *int64 Top *int64 }
func DefaultListByBillingProfileOperationOptions ¶
func DefaultListByBillingProfileOperationOptions() ListByBillingProfileOperationOptions
func (ListByBillingProfileOperationOptions) ToHeaders ¶
func (o ListByBillingProfileOperationOptions) ToHeaders() *client.Headers
func (ListByBillingProfileOperationOptions) ToOData ¶
func (o ListByBillingProfileOperationOptions) ToOData() *odata.Query
func (ListByBillingProfileOperationOptions) ToQuery ¶
func (o ListByBillingProfileOperationOptions) ToQuery() *client.QueryParams
type ListByBillingProfileOperationResponse ¶
type ListByBillingProfileOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]InvoiceSection }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateNew ProvisioningState = "New" ProvisioningStatePending ProvisioningState = "Pending" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type ValidateDeleteEligibilityOperationResponse ¶
type ValidateDeleteEligibilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DeleteInvoiceSectionEligibilityResult }
Source Files ¶
- client.go
- constants.go
- id_billingprofile.go
- id_invoicesection.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbybillingprofile.go
- method_validatedeleteeligibility.go
- model_deleteinvoicesectioneligibilitydetail.go
- model_deleteinvoicesectioneligibilityresult.go
- model_invoicesection.go
- model_invoicesectionproperties.go
- predicates.go
- version.go