Documentation ¶
Index ¶
- func PossibleValuesForInvoiceSectionState() []string
- func PossibleValuesForTargetCloud() []string
- func ValidateBillingProfileID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateInvoiceSectionID(input interface{}, key string) (warnings []string, errors []error)
- type BillingProfileId
- type CreateOperationResponse
- type ElevateToBillingProfileOperationResponse
- type GetOperationResponse
- type InvoiceSection
- type InvoiceSectionCreationRequest
- type InvoiceSectionId
- type InvoiceSectionOperationPredicate
- type InvoiceSectionProperties
- type InvoiceSectionState
- type InvoiceSectionsClient
- func (c InvoiceSectionsClient) Create(ctx context.Context, id InvoiceSectionId, input InvoiceSectionCreationRequest) (result CreateOperationResponse, err error)
- func (c InvoiceSectionsClient) CreateThenPoll(ctx context.Context, id InvoiceSectionId, input InvoiceSectionCreationRequest) error
- func (c InvoiceSectionsClient) ElevateToBillingProfile(ctx context.Context, id InvoiceSectionId) (result ElevateToBillingProfileOperationResponse, err error)
- func (c InvoiceSectionsClient) Get(ctx context.Context, id InvoiceSectionId) (result GetOperationResponse, err error)
- func (c InvoiceSectionsClient) ListByBillingProfile(ctx context.Context, id BillingProfileId) (result ListByBillingProfileOperationResponse, err error)
- func (c InvoiceSectionsClient) ListByBillingProfileComplete(ctx context.Context, id BillingProfileId) (ListByBillingProfileCompleteResult, error)
- func (c InvoiceSectionsClient) ListByBillingProfileCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, ...) (result ListByBillingProfileCompleteResult, err error)
- func (c InvoiceSectionsClient) Update(ctx context.Context, id InvoiceSectionId, input InvoiceSection) (result UpdateOperationResponse, err error)
- func (c InvoiceSectionsClient) UpdateThenPoll(ctx context.Context, id InvoiceSectionId, input InvoiceSection) error
- type ListByBillingProfileCompleteResult
- type ListByBillingProfileCustomPager
- type ListByBillingProfileOperationResponse
- type TargetCloud
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForInvoiceSectionState ¶
func PossibleValuesForInvoiceSectionState() []string
func PossibleValuesForTargetCloud ¶
func PossibleValuesForTargetCloud() []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 CreateOperationResponse ¶
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"` Type *string `json:"type,omitempty"` }
type InvoiceSectionCreationRequest ¶
type InvoiceSectionCreationRequest struct {
DisplayName *string `json:"displayName,omitempty"`
}
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"` State *InvoiceSectionState `json:"state,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 InvoiceSectionsClient ¶
type InvoiceSectionsClient struct {
Client *resourcemanager.Client
}
func NewInvoiceSectionsClientWithBaseURI ¶
func NewInvoiceSectionsClientWithBaseURI(sdkApi sdkEnv.Api) (*InvoiceSectionsClient, error)
func (InvoiceSectionsClient) Create ¶
func (c InvoiceSectionsClient) Create(ctx context.Context, id InvoiceSectionId, input InvoiceSectionCreationRequest) (result CreateOperationResponse, err error)
Create ...
func (InvoiceSectionsClient) CreateThenPoll ¶
func (c InvoiceSectionsClient) CreateThenPoll(ctx context.Context, id InvoiceSectionId, input InvoiceSectionCreationRequest) error
CreateThenPoll performs Create then polls until it's completed
func (InvoiceSectionsClient) ElevateToBillingProfile ¶
func (c InvoiceSectionsClient) ElevateToBillingProfile(ctx context.Context, id InvoiceSectionId) (result ElevateToBillingProfileOperationResponse, err error)
ElevateToBillingProfile ...
func (InvoiceSectionsClient) Get ¶
func (c InvoiceSectionsClient) Get(ctx context.Context, id InvoiceSectionId) (result GetOperationResponse, err error)
Get ...
func (InvoiceSectionsClient) ListByBillingProfile ¶
func (c InvoiceSectionsClient) ListByBillingProfile(ctx context.Context, id BillingProfileId) (result ListByBillingProfileOperationResponse, err error)
ListByBillingProfile ...
func (InvoiceSectionsClient) ListByBillingProfileComplete ¶
func (c InvoiceSectionsClient) ListByBillingProfileComplete(ctx context.Context, id BillingProfileId) (ListByBillingProfileCompleteResult, error)
ListByBillingProfileComplete retrieves all the results into a single object
func (InvoiceSectionsClient) ListByBillingProfileCompleteMatchingPredicate ¶
func (c InvoiceSectionsClient) ListByBillingProfileCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, predicate InvoiceSectionOperationPredicate) (result ListByBillingProfileCompleteResult, err error)
ListByBillingProfileCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (InvoiceSectionsClient) Update ¶
func (c InvoiceSectionsClient) Update(ctx context.Context, id InvoiceSectionId, input InvoiceSection) (result UpdateOperationResponse, err error)
Update ...
func (InvoiceSectionsClient) UpdateThenPoll ¶
func (c InvoiceSectionsClient) UpdateThenPoll(ctx context.Context, id InvoiceSectionId, input InvoiceSection) error
UpdateThenPoll performs Update then polls until it's completed
type ListByBillingProfileCompleteResult ¶
type ListByBillingProfileCompleteResult struct { LatestHttpResponse *http.Response Items []InvoiceSection }
type ListByBillingProfileCustomPager ¶
func (*ListByBillingProfileCustomPager) NextPageLink ¶
func (p *ListByBillingProfileCustomPager) NextPageLink() *odata.Link
type ListByBillingProfileOperationResponse ¶
type ListByBillingProfileOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]InvoiceSection }
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