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 CreateOrUpdateOperationResponse
- type GetOperationResponse
- type InvoiceSection
- type InvoiceSectionId
- type InvoiceSectionOperationPredicate
- type InvoiceSectionProperties
- type InvoiceSectionState
- type InvoiceSectionsClient
- func (c InvoiceSectionsClient) CreateOrUpdate(ctx context.Context, id InvoiceSectionId, input InvoiceSection) (result CreateOrUpdateOperationResponse, err error)
- func (c InvoiceSectionsClient) CreateOrUpdateThenPoll(ctx context.Context, id InvoiceSectionId, input InvoiceSection) 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)
- type ListByBillingProfileCompleteResult
- type ListByBillingProfileOperationResponse
- type TargetCloud
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 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 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"` 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 InvoiceSectionsClient ¶
type InvoiceSectionsClient struct {
Client *resourcemanager.Client
}
func NewInvoiceSectionsClientWithBaseURI ¶
func NewInvoiceSectionsClientWithBaseURI(sdkApi sdkEnv.Api) (*InvoiceSectionsClient, error)
func (InvoiceSectionsClient) CreateOrUpdate ¶
func (c InvoiceSectionsClient) CreateOrUpdate(ctx context.Context, id InvoiceSectionId, input InvoiceSection) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (InvoiceSectionsClient) CreateOrUpdateThenPoll ¶
func (c InvoiceSectionsClient) CreateOrUpdateThenPoll(ctx context.Context, id InvoiceSectionId, input InvoiceSection) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
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
type ListByBillingProfileCompleteResult ¶
type ListByBillingProfileCompleteResult struct { LatestHttpResponse *http.Response Items []InvoiceSection }
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