licensing

package
v0.0.0-...-d31b8a1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2023 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CapacityUsage

type CapacityUsage struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// type of the capacity field
	CapacityType string `json:"capacity_type,omitempty"`

	// count of number of items of capacity_type
	UsageCount int64 `json:"usage_count,omitempty"`
}

type EulaAcceptance

type EulaAcceptance struct {

	// End User License Agreement acceptance status
	Acceptance bool `json:"acceptance"`
}

Indicate the status of End User License Agreement acceptance

type EulaContent

type EulaContent struct {

	// End User License Agreement content
	Content string `json:"content"`
}

End User License Agreement content

type FeatureUsage

type FeatureUsage struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Capacity Usage List
	CapacityUsage []CapacityUsage `json:"capacity_usage,omitempty"`

	// name of the feature
	Feature string `json:"feature,omitempty"`
}

type FeatureUsageCsvRecord

type FeatureUsageCsvRecord struct {

	// count of number of cpu sockets used by this feature
	CpuUsageCount int64 `json:"cpu_usage_count,omitempty"`

	// name of the feature
	Feature string `json:"feature,omitempty"`

	// count of number of vms used by this feature
	VmUsageCount int64 `json:"vm_usage_count,omitempty"`
}

type FeatureUsageList

type FeatureUsageList struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Feature Usage List
	FeatureUsageInfo []FeatureUsage `json:"feature_usage_info,omitempty"`
}

type FeatureUsageListInCsvFormat

type FeatureUsageListInCsvFormat struct {

	// File name set by HTTP server if API  returns CSV result as a file.
	FileName string `json:"file_name,omitempty"`

	// Timestamp when the data was last updated; unset if data source has never updated the data.
	LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"`

	Results []FeatureUsageCsvRecord `json:"results,omitempty"`
}

type License

type License struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// license metric
	CapacityType string `json:"capacity_type,omitempty"`

	// license edition
	Description string `json:"description,omitempty"`

	// date that license expires
	Expiry int64 `json:"expiry,omitempty"`

	// semicolon delimited feature list
	Features string `json:"features,omitempty"`

	// true for evalution license
	IsEval bool `json:"is_eval,omitempty"`

	// whether the license has expired
	IsExpired bool `json:"is_expired,omitempty"`

	// multi-hypervisor support
	IsMh bool `json:"is_mh,omitempty"`

	// license key
	LicenseKey string `json:"license_key"`

	// product name
	ProductName string `json:"product_name,omitempty"`

	// product version
	ProductVersion string `json:"product_version,omitempty"`

	// license capacity; 0 for unlimited
	Quantity int64 `json:"quantity,omitempty"`
}

type LicensesListResult

type LicensesListResult struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Opaque cursor to be used for getting next page of records (supplied by current result page)
	Cursor string `json:"cursor,omitempty"`

	// Count of results found (across all pages), set only on first page
	ResultCount int64 `json:"result_count,omitempty"`

	SortAscending bool `json:"sort_ascending,omitempty"`

	// Field by which records are sorted
	SortBy string `json:"sort_by,omitempty"`

	// Licenses Results
	Results []License `json:"results,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL