Documentation ¶
Overview ¶
Nutanix Standard Configuration
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicAuth ¶
type BasicAuth struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Password required for the basic auth scheme. */ Password *string `json:"password"` /* Username required for the basic auth scheme. As per [RFC 2617](https://datatracker.ietf.org/doc/html/rfc2617) usernames might be case sensitive. */ Username *string `json:"username"` }
An authentication scheme that requires the client to present a username and password. The server will service the request only if it can validate the user-ID and password for the protection space of the Request-URI.
func NewBasicAuth ¶
func NewBasicAuth() *BasicAuth
func (*BasicAuth) MarshalJSON ¶
type FQDN ¶
type FQDN struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* The fully qualified domain name of the host. */ Value *string `json:"value,omitempty"` }
A fully qualified domain name that specifies its exact location in the tree hierarchy of the Domain Name System.
type FileDetail ¶
func NewFileDetail ¶
func NewFileDetail() *FileDetail
type Flag ¶
type Flag struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Name of the flag. */ Name *string `json:"name,omitempty"` /* Value of the flag. */ Value *bool `json:"value,omitempty"` }
Many entities in the Nutanix APIs carry flags. This object captures all the flags associated with that entity through this object. The field that hosts this type of object must have an attribute called x-bounded-map-keys that tells which flags are actually present for that entity.
type IPAddress ¶
type IPAddress struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` Ipv4 *IPv4Address `json:"ipv4,omitempty"` Ipv6 *IPv6Address `json:"ipv6,omitempty"` }
An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.
func NewIPAddress ¶
func NewIPAddress() *IPAddress
type IPAddressOrFQDN ¶
type IPAddressOrFQDN struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` Fqdn *FQDN `json:"fqdn,omitempty"` Ipv4 *IPv4Address `json:"ipv4,omitempty"` Ipv6 *IPv6Address `json:"ipv6,omitempty"` }
An unique address that identifies a device on the internet or a local network in IPv4/IPv6 format or a Fully Qualified Domain Name.
func NewIPAddressOrFQDN ¶
func NewIPAddressOrFQDN() *IPAddressOrFQDN
func (*IPAddressOrFQDN) HasFqdn ¶
func (i *IPAddressOrFQDN) HasFqdn() bool
func (*IPAddressOrFQDN) HasIpv4 ¶
func (i *IPAddressOrFQDN) HasIpv4() bool
func (*IPAddressOrFQDN) HasIpv6 ¶
func (i *IPAddressOrFQDN) HasIpv6() bool
func (*IPAddressOrFQDN) IsValid ¶
func (i *IPAddressOrFQDN) IsValid() bool
type IPv4Address ¶
type IPv4Address struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* The prefix length of the network to which this host IPv4 address belongs. */ PrefixLength *int `json:"prefixLength,omitempty"` /* The IPv4 address of the host. */ Value *string `json:"value"` }
An unique address that identifies a device on the internet or a local network in IPv4 format.
func NewIPv4Address ¶
func NewIPv4Address() *IPv4Address
func (*IPv4Address) MarshalJSON ¶
func (p *IPv4Address) MarshalJSON() ([]byte, error)
type IPv6Address ¶
type IPv6Address struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* The prefix length of the network to which this host IPv6 address belongs. */ PrefixLength *int `json:"prefixLength,omitempty"` /* The IPv6 address of the host. */ Value *string `json:"value"` }
An unique address that identifies a device on the internet or a local network in IPv6 format.
func NewIPv6Address ¶
func NewIPv6Address() *IPv6Address
func (*IPv6Address) MarshalJSON ¶
func (p *IPv6Address) MarshalJSON() ([]byte, error)
type IpRange ¶
type IpRange struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` Begin *IPAddress `json:"begin,omitempty"` End *IPAddress `json:"end,omitempty"` }
Range of consecutive IP addresses that can be assigned to a specific Subnet.The size of the IP range is determined by the subnet mask.
func NewIpRange ¶
func NewIpRange() *IpRange
type KVPair ¶
type KVPair struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* The key of the key-value pair. */ Name *string `json:"name,omitempty"` /* */ ValueItemDiscriminator_ *string `json:"$valueItemDiscriminator,omitempty"` /* The value associated with the key for this key-value pair */ Value *OneOfKVPairValue `json:"value,omitempty"` }
A map describing a set of keys and their corresponding values.
type MapOfStringWrapper ¶
type MapOfStringWrapper struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* A map with string keys and values. */ Map map[string]string `json:"map,omitempty"` }
A wrapper schema containing a map with string keys and values.
func NewMapOfStringWrapper ¶
func NewMapOfStringWrapper() *MapOfStringWrapper
type Message ¶
type Message struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* A code that uniquely identifies a message. */ Code *string `json:"code,omitempty"` /* The locale for the message description. */ Locale *string `json:"locale,omitempty"` /* The description of the message. */ Message *string `json:"message,omitempty"` Severity *MessageSeverity `json:"severity,omitempty"` }
func NewMessage ¶
func NewMessage() *Message
type MessageSeverity ¶
type MessageSeverity int
The message severity.
const ( MESSAGESEVERITY_UNKNOWN MessageSeverity = 0 MESSAGESEVERITY_REDACTED MessageSeverity = 1 MESSAGESEVERITY_INFO MessageSeverity = 2 MESSAGESEVERITY_WARNING MessageSeverity = 3 MESSAGESEVERITY_ERROR MessageSeverity = 4 )
func (MessageSeverity) GetName ¶
func (e MessageSeverity) GetName() string
Returns the name of the enum
func (*MessageSeverity) MarshalJSON ¶
func (e *MessageSeverity) MarshalJSON() ([]byte, error)
func (MessageSeverity) Ref ¶
func (e MessageSeverity) Ref() *MessageSeverity
func (*MessageSeverity) UnmarshalJSON ¶
func (e *MessageSeverity) UnmarshalJSON(b []byte) error
type OneOfKVPairValue ¶
type OneOfKVPairValue struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfKVPairValue ¶
func NewOneOfKVPairValue() *OneOfKVPairValue
func (*OneOfKVPairValue) GetValue ¶
func (p *OneOfKVPairValue) GetValue() interface{}
func (*OneOfKVPairValue) MarshalJSON ¶
func (p *OneOfKVPairValue) MarshalJSON() ([]byte, error)
func (*OneOfKVPairValue) SetValue ¶
func (p *OneOfKVPairValue) SetValue(v interface{}) error
func (*OneOfKVPairValue) UnmarshalJSON ¶
func (p *OneOfKVPairValue) UnmarshalJSON(b []byte) error
type TenantAwareModel ¶
type TenantAwareModel struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,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"` }
A model base class whose instances are bound to a specific tenant. This model adds a tenantId to the base model class that it extends and is automatically set by the server.
func NewTenantAwareModel ¶
func NewTenantAwareModel() *TenantAwareModel