Documentation
¶
Overview ¶
Module catalogCommon.v1.config of Nutanix Virtual Machine Management APIs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CategoriesFilter ¶
type CategoriesFilter struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
Filter to match entities based on the provided categories.
*/
CategoryExtIds []string `json:"categoryExtIds"`
Type *CategoriesMatchType `json:"type"`
}
Category-based entity filter.
func NewCategoriesFilter ¶
func NewCategoriesFilter() *CategoriesFilter
func (*CategoriesFilter) MarshalJSON ¶
func (p *CategoriesFilter) MarshalJSON() ([]byte, error)
func (*CategoriesFilter) UnmarshalJSON ¶
func (p *CategoriesFilter) UnmarshalJSON(b []byte) error
type CategoriesMatchType ¶
type CategoriesMatchType int
Filter matching type.
const ( CATEGORIESMATCHTYPE_UNKNOWN CategoriesMatchType = 0 CATEGORIESMATCHTYPE_REDACTED CategoriesMatchType = 1 CATEGORIESMATCHTYPE_CATEGORIES_MATCH_ALL CategoriesMatchType = 2 CATEGORIESMATCHTYPE_CATEGORIES_MATCH_ANY CategoriesMatchType = 3 )
func (CategoriesMatchType) GetName ¶
func (e CategoriesMatchType) GetName() string
Returns the name of the enum
func (*CategoriesMatchType) MarshalJSON ¶
func (e *CategoriesMatchType) MarshalJSON() ([]byte, error)
func (CategoriesMatchType) Ref ¶
func (e CategoriesMatchType) Ref() *CategoriesMatchType
func (*CategoriesMatchType) UnmarshalJSON ¶
func (e *CategoriesMatchType) UnmarshalJSON(b []byte) error
type CommonPlacementPolicy ¶
type CommonPlacementPolicy struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
ClusterFilter *CategoriesFilter `json:"clusterFilter,omitempty"`
ContentFilter *CategoriesFilter `json:"contentFilter,omitempty"`
/*
The time when the placement policy was created.
*/
CreateTime *time.Time `json:"createTime,omitempty"`
/*
External identifier of the user who created the placement policy.
*/
CreatedBy *string `json:"createdBy,omitempty"`
/*
Description of the placement policy.
*/
Description *string `json:"description,omitempty"`
/*
A globally unique identifier of an instance that is suitable for external consumption.
*/
ExtId *string `json:"extId,omitempty"`
/*
A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
*/
Links []import1.ApiLink `json:"links,omitempty"`
/*
Name of the placement policy.
*/
Name *string `json:"name,omitempty"`
PlacementType *ContentPlacementType `json:"placementType,omitempty"`
/*
A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this ID to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
*/
TenantId *string `json:"tenantId,omitempty"`
/*
The time when the placement policy was last updated.
*/
UpdateTime *time.Time `json:"updateTime,omitempty"`
/*
External identifier of the user who updated the placement policy.
*/
UpdatedBy *string `json:"updatedBy,omitempty"`
}
Placement policy model.
func NewCommonPlacementPolicy ¶
func NewCommonPlacementPolicy() *CommonPlacementPolicy
func (*CommonPlacementPolicy) MarshalJSON ¶
func (p *CommonPlacementPolicy) MarshalJSON() ([]byte, error)
func (*CommonPlacementPolicy) UnmarshalJSON ¶
func (p *CommonPlacementPolicy) UnmarshalJSON(b []byte) error
type ContentPlacementType ¶
type ContentPlacementType int
Type of placement policy.
const ( CONTENTPLACEMENTTYPE_UNKNOWN ContentPlacementType = 0 CONTENTPLACEMENTTYPE_REDACTED ContentPlacementType = 1 CONTENTPLACEMENTTYPE_SOFT ContentPlacementType = 2 )
func (ContentPlacementType) GetName ¶
func (e ContentPlacementType) GetName() string
Returns the name of the enum
func (*ContentPlacementType) MarshalJSON ¶
func (e *ContentPlacementType) MarshalJSON() ([]byte, error)
func (ContentPlacementType) Ref ¶
func (e ContentPlacementType) Ref() *ContentPlacementType
func (*ContentPlacementType) UnmarshalJSON ¶
func (e *ContentPlacementType) UnmarshalJSON(b []byte) error
type FileDetail ¶
func NewFileDetail ¶
func NewFileDetail() *FileDetail
Click to show internal directories.
Click to hide internal directories.