Documentation ¶
Index ¶
- func PossibleValuesForBillingStatisticKind() []string
- func ValidateBillingStatisticID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type BaseBillingStatisticImpl
- type BillingStatistic
- type BillingStatisticId
- type BillingStatisticKind
- type BillingStatisticOperationPredicate
- type BillingStatisticsClient
- func (c BillingStatisticsClient) Get(ctx context.Context, id BillingStatisticId) (result GetOperationResponse, err error)
- func (c BillingStatisticsClient) List(ctx context.Context, id WorkspaceId) (result ListOperationResponse, err error)
- func (c BillingStatisticsClient) ListComplete(ctx context.Context, id WorkspaceId) (ListCompleteResult, error)
- func (c BillingStatisticsClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, ...) (result ListCompleteResult, err error)
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type RawBillingStatisticImpl
- type SapSolutionUsageStatistic
- type SapSolutionUsageStatisticProperties
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForBillingStatisticKind ¶
func PossibleValuesForBillingStatisticKind() []string
func ValidateBillingStatisticID ¶
ValidateBillingStatisticID checks that 'input' can be parsed as a Billing Statistic ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type BaseBillingStatisticImpl ¶
type BaseBillingStatisticImpl struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Kind BillingStatisticKind `json:"kind"` Name *string `json:"name,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
func (BaseBillingStatisticImpl) BillingStatistic ¶
func (s BaseBillingStatisticImpl) BillingStatistic() BaseBillingStatisticImpl
type BillingStatistic ¶
type BillingStatistic interface {
BillingStatistic() BaseBillingStatisticImpl
}
func UnmarshalBillingStatisticImplementation ¶
func UnmarshalBillingStatisticImplementation(input []byte) (BillingStatistic, error)
type BillingStatisticId ¶
type BillingStatisticId struct { SubscriptionId string ResourceGroupName string WorkspaceName string BillingStatisticName string }
BillingStatisticId is a struct representing the Resource ID for a Billing Statistic
func NewBillingStatisticID ¶
func NewBillingStatisticID(subscriptionId string, resourceGroupName string, workspaceName string, billingStatisticName string) BillingStatisticId
NewBillingStatisticID returns a new BillingStatisticId struct
func ParseBillingStatisticID ¶
func ParseBillingStatisticID(input string) (*BillingStatisticId, error)
ParseBillingStatisticID parses 'input' into a BillingStatisticId
func ParseBillingStatisticIDInsensitively ¶
func ParseBillingStatisticIDInsensitively(input string) (*BillingStatisticId, error)
ParseBillingStatisticIDInsensitively parses 'input' case-insensitively into a BillingStatisticId note: this method should only be used for API response data and not user input
func (*BillingStatisticId) FromParseResult ¶
func (id *BillingStatisticId) FromParseResult(input resourceids.ParseResult) error
func (BillingStatisticId) ID ¶
func (id BillingStatisticId) ID() string
ID returns the formatted Billing Statistic ID
func (BillingStatisticId) Segments ¶
func (id BillingStatisticId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Statistic ID
func (BillingStatisticId) String ¶
func (id BillingStatisticId) String() string
String returns a human-readable description of this Billing Statistic ID
type BillingStatisticKind ¶
type BillingStatisticKind string
const (
BillingStatisticKindSapSolutionUsage BillingStatisticKind = "SapSolutionUsage"
)
func (*BillingStatisticKind) UnmarshalJSON ¶
func (s *BillingStatisticKind) UnmarshalJSON(bytes []byte) error
type BillingStatisticOperationPredicate ¶
type BillingStatisticOperationPredicate struct { }
func (BillingStatisticOperationPredicate) Matches ¶
func (p BillingStatisticOperationPredicate) Matches(input BillingStatistic) bool
type BillingStatisticsClient ¶
type BillingStatisticsClient struct {
Client *resourcemanager.Client
}
func NewBillingStatisticsClientWithBaseURI ¶
func NewBillingStatisticsClientWithBaseURI(sdkApi sdkEnv.Api) (*BillingStatisticsClient, error)
func (BillingStatisticsClient) Get ¶
func (c BillingStatisticsClient) Get(ctx context.Context, id BillingStatisticId) (result GetOperationResponse, err error)
Get ...
func (BillingStatisticsClient) List ¶
func (c BillingStatisticsClient) List(ctx context.Context, id WorkspaceId) (result ListOperationResponse, err error)
List ...
func (BillingStatisticsClient) ListComplete ¶
func (c BillingStatisticsClient) ListComplete(ctx context.Context, id WorkspaceId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (BillingStatisticsClient) ListCompleteMatchingPredicate ¶
func (c BillingStatisticsClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, predicate BillingStatisticOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model BillingStatistic }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []BillingStatistic }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BillingStatistic }
type RawBillingStatisticImpl ¶
type RawBillingStatisticImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawBillingStatisticImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
func (RawBillingStatisticImpl) BillingStatistic ¶
func (s RawBillingStatisticImpl) BillingStatistic() BaseBillingStatisticImpl
type SapSolutionUsageStatistic ¶
type SapSolutionUsageStatistic struct { Properties *SapSolutionUsageStatisticProperties `json:"properties,omitempty"` Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Kind BillingStatisticKind `json:"kind"` Name *string `json:"name,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
func (SapSolutionUsageStatistic) BillingStatistic ¶
func (s SapSolutionUsageStatistic) BillingStatistic() BaseBillingStatisticImpl
func (SapSolutionUsageStatistic) MarshalJSON ¶
func (s SapSolutionUsageStatistic) MarshalJSON() ([]byte, error)
type SapSolutionUsageStatisticProperties ¶
type SapSolutionUsageStatisticProperties struct {
ActiveSystemIdCount *int64 `json:"activeSystemIdCount,omitempty"`
}
type WorkspaceId ¶
WorkspaceId is a struct representing the Resource ID for a Workspace
func NewWorkspaceID ¶
func NewWorkspaceID(subscriptionId string, resourceGroupName string, workspaceName string) WorkspaceId
NewWorkspaceID returns a new WorkspaceId struct
func ParseWorkspaceID ¶
func ParseWorkspaceID(input string) (*WorkspaceId, error)
ParseWorkspaceID parses 'input' into a WorkspaceId
func ParseWorkspaceIDInsensitively ¶
func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error)
ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId note: this method should only be used for API response data and not user input
func (*WorkspaceId) FromParseResult ¶
func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error
func (WorkspaceId) Segments ¶
func (id WorkspaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace ID
func (WorkspaceId) String ¶
func (id WorkspaceId) String() string
String returns a human-readable description of this Workspace ID