Documentation
¶
Overview ¶
Configure Hosts, Clusters and other Infrastructure
Index ¶
- type AcropolisConnectionState
- type AttributeItem
- type BuildReference
- type ClusterArchReference
- type ClusterConfigReference
- type ClusterEntity
- type ClusterFunctionRef
- type ClusterNetworkReference
- type ClusterReference
- type ComponentFaultTolerance
- type ComponentType
- type ControllerVmReference
- type DiskReference
- type DomainAwarenessLevel
- type DomainFaultTolerance
- type DomainType
- type FaultToleranceState
- type GetClusterHostGpusResponse
- type GetClusterResponse
- type GetClustersResponse
- type GetDomainFaultToleranceResponse
- type GetGpuProfilesResponse
- type GetHostGpuResponse
- type GetHostGpusResponse
- type GetHostResponse
- type GetHostsResponse
- type GetRackableUnitResponse
- type GetRackableUnitsResponse
- type GetRsyslogServersResponse
- type GetSnmpResponse
- type GpuConfig
- type GpuMode
- type GpuProfile
- type GpuType
- type HostEntity
- type HostGpuEntity
- type HostTypeEnum
- type HypervisorReference
- type HypervisorState
- type HypervisorType
- type IpAddresses
- type IpmiReference
- type KeyManagementDeviceToCertStatus
- type ManagementServerRef
- type ManagementServerType
- type NodeListItemReference
- type NodeReference
- type OneOfGetClusterHostGpusResponseData
- type OneOfGetClusterResponseData
- type OneOfGetClustersResponseData
- type OneOfGetDomainFaultToleranceResponseData
- func (p *OneOfGetDomainFaultToleranceResponseData) GetValue() interface{}
- func (p *OneOfGetDomainFaultToleranceResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfGetDomainFaultToleranceResponseData) SetValue(v interface{}) error
- func (p *OneOfGetDomainFaultToleranceResponseData) UnmarshalJSON(b []byte) error
- type OneOfGetGpuProfilesResponseData
- type OneOfGetHostGpuResponseData
- type OneOfGetHostGpusResponseData
- type OneOfGetHostResponseData
- type OneOfGetHostsResponseData
- type OneOfGetRackableUnitResponseData
- type OneOfGetRackableUnitsResponseData
- type OneOfGetRsyslogServersResponseData
- type OneOfGetSnmpResponseData
- type OperationMode
- type PublicKey
- type RackReference
- type RackableUnit
- type RackableUnitModel
- type RackableUnitNode
- type RsyslogModuleItem
- type RsyslogModuleLogSeverityLevel
- type RsyslogModuleName
- type RsyslogNetworkProtocol
- type RsyslogServer
- type SmtpNetwork
- type SmtpServerRef
- type SmtpType
- type SnmpAuthType
- type SnmpConfig
- type SnmpPrivType
- type SnmpProtocol
- type SnmpTransport
- type SnmpTrap
- type SnmpTrapVersion
- type SnmpUser
- type SoftwareMapReference
- type SoftwareTypeRef
- type StorageTierReference
- type ToleranceMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcropolisConnectionState ¶
type AcropolisConnectionState int
* Status of Acropolis connection to hypervisor
const ( ACROPOLISCONNECTIONSTATE_UNKNOWN AcropolisConnectionState = 0 ACROPOLISCONNECTIONSTATE_REDACTED AcropolisConnectionState = 1 ACROPOLISCONNECTIONSTATE_CONNECTED AcropolisConnectionState = 2 ACROPOLISCONNECTIONSTATE_DISCONNECTED AcropolisConnectionState = 3 )
func (*AcropolisConnectionState) MarshalJSON ¶
func (e *AcropolisConnectionState) MarshalJSON() ([]byte, error)
func (AcropolisConnectionState) Ref ¶
func (e AcropolisConnectionState) Ref() *AcropolisConnectionState
func (*AcropolisConnectionState) UnmarshalJSON ¶
func (e *AcropolisConnectionState) UnmarshalJSON(b []byte) error
type AttributeItem ¶
type AttributeItem struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Tolerance message attribute key */ Attribute *string `json:"attribute,omitempty"` /** Tolerance message attribute value */ Value *string `json:"value,omitempty"` }
* Attribute item information
func NewAttributeItem ¶
func NewAttributeItem() *AttributeItem
type BuildReference ¶
type BuildReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Software build type */ BuildType *string `json:"buildType,omitempty"` /** Commit Id used for version */ CommitId *string `json:"commitId,omitempty"` /** Full name of software version */ FullVersion *string `json:"fullVersion,omitempty"` /** Short commit Id used for version */ ShortCommitId *string `json:"shortCommitId,omitempty"` /** Software version */ Version *string `json:"version,omitempty"` }
* Build information details
func NewBuildReference ¶
func NewBuildReference() *BuildReference
type ClusterArchReference ¶
type ClusterArchReference int
* Cluster arch
const ( CLUSTERARCHREFERENCE_UNKNOWN ClusterArchReference = 0 CLUSTERARCHREFERENCE_REDACTED ClusterArchReference = 1 CLUSTERARCHREFERENCE_X86_64 ClusterArchReference = 2 CLUSTERARCHREFERENCE_PPC64LE ClusterArchReference = 3 )
func (*ClusterArchReference) MarshalJSON ¶
func (e *ClusterArchReference) MarshalJSON() ([]byte, error)
func (ClusterArchReference) Ref ¶
func (e ClusterArchReference) Ref() *ClusterArchReference
func (*ClusterArchReference) UnmarshalJSON ¶
func (e *ClusterArchReference) UnmarshalJSON(b []byte) error
type ClusterConfigReference ¶
type ClusterConfigReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Public ssh key details */ AuthorizedPublicKeyList []PublicKey `json:"authorizedPublicKeyList,omitempty"` BuildInfo *BuildReference `json:"buildInfo,omitempty"` ClusterArch *ClusterArchReference `json:"clusterArch,omitempty"` /** Cluster function */ ClusterFunction []ClusterFunctionRef `json:"clusterFunction,omitempty"` /** Cluster software version details */ ClusterSoftwareMap []SoftwareMapReference `json:"clusterSoftwareMap,omitempty"` FaultToleranceState *FaultToleranceState `json:"faultToleranceState,omitempty"` /** Hypervisor type */ HypervisorTypes []HypervisorType `json:"hypervisorTypes,omitempty"` /** Cluster incarnation Id */ IncarnationId *int64 `json:"incarnationId,omitempty"` /** Indicates whether the release is categorized as Long-term or not */ IsLts *bool `json:"isLts,omitempty"` OperationMode *OperationMode `json:"operationMode,omitempty"` /** Password ssh into cluster is enabled or not */ PasswordRemoteLoginEnabled *bool `json:"passwordRemoteLoginEnabled,omitempty"` /** Redundancy factor of a cluster */ RedundancyFactor *int64 `json:"redundancyFactor,omitempty"` /** Remote support status */ RemoteSupport *bool `json:"remoteSupport,omitempty"` /** Time zone on a cluster */ Timezone *string `json:"timezone,omitempty"` }
* Cluster configuration details
func NewClusterConfigReference ¶
func NewClusterConfigReference() *ClusterConfigReference
type ClusterEntity ¶
type ClusterEntity struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` Config *ClusterConfigReference `json:"config,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"` /** Cluster name */ Name *string `json:"name,omitempty"` Network *ClusterNetworkReference `json:"network,omitempty"` Nodes *NodeReference `json:"nodes,omitempty"` /** A globally unique identifier that represents the tenant that owns this entity. It is automatically assigned by the system 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"` }
func NewClusterEntity ¶
func NewClusterEntity() *ClusterEntity
type ClusterFunctionRef ¶
type ClusterFunctionRef int
* Cluster function
const ( CLUSTERFUNCTIONREF_UNKNOWN ClusterFunctionRef = 0 CLUSTERFUNCTIONREF_REDACTED ClusterFunctionRef = 1 CLUSTERFUNCTIONREF_AOS ClusterFunctionRef = 2 CLUSTERFUNCTIONREF_PRISM_CENTRAL ClusterFunctionRef = 3 CLUSTERFUNCTIONREF_CLOUD_DATA_GATEWAY ClusterFunctionRef = 4 CLUSTERFUNCTIONREF_AFS ClusterFunctionRef = 5 CLUSTERFUNCTIONREF_WITNESS ClusterFunctionRef = 6 CLUSTERFUNCTIONREF_XI_PORTAL ClusterFunctionRef = 7 CLUSTERFUNCTIONREF_ONE_NODE ClusterFunctionRef = 8 CLUSTERFUNCTIONREF_TWO_NODE ClusterFunctionRef = 9 )
func (*ClusterFunctionRef) MarshalJSON ¶
func (e *ClusterFunctionRef) MarshalJSON() ([]byte, error)
func (ClusterFunctionRef) Ref ¶
func (e ClusterFunctionRef) Ref() *ClusterFunctionRef
func (*ClusterFunctionRef) UnmarshalJSON ¶
func (e *ClusterFunctionRef) UnmarshalJSON(b []byte) error
type ClusterNetworkReference ¶
type ClusterNetworkReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` ExternalAddress *IpAddresses `json:"externalAddress,omitempty"` /** Cluster external data service IP */ ExternalDataServiceIp *string `json:"externalDataServiceIp,omitempty"` /** Cluster external subnet address */ ExternalSubnet *string `json:"externalSubnet,omitempty"` /** Cluster internal subnet address */ InternalSubnet *string `json:"internalSubnet,omitempty"` ManagementServer *ManagementServerRef `json:"managementServer,omitempty"` /** Cluster NAT or proxy IP that maps to a local IP */ MasqueradingIp *string `json:"masqueradingIp,omitempty"` /** The port to connect to the cluster when using masquerading IP */ MasqueradingPort *int `json:"masqueradingPort,omitempty"` /** Name servers on a cluster */ NameServerIpList []string `json:"nameServerIpList,omitempty"` /** NFS subnet whitelist addresses */ NfsSubnetWhitelist []string `json:"nfsSubnetWhitelist,omitempty"` /** NTP servers on a cluster */ NtpServerIpList []string `json:"ntpServerIpList,omitempty"` SmtpServer *SmtpServerRef `json:"smtpServer,omitempty"` }
* Network details of a cluster
func NewClusterNetworkReference ¶
func NewClusterNetworkReference() *ClusterNetworkReference
type ClusterReference ¶
type ClusterReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Cluster name */ Name *string `json:"name,omitempty"` /** Cluster UUID */ Uuid *string `json:"uuid,omitempty"` }
* Cluster reference of a node
func NewClusterReference ¶
func NewClusterReference() *ClusterReference
type ComponentFaultTolerance ¶
type ComponentFaultTolerance struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` DetailMessage *ToleranceMessage `json:"detailMessage,omitempty"` /** Time of last update */ LastUpdatesSecs *int64 `json:"lastUpdatesSecs,omitempty"` /** Maximum fault tolerance */ MaxFaultsTolerated *int `json:"maxFaultsTolerated,omitempty"` Type *ComponentType `json:"type,omitempty"` /** Indicates whether the tolerance computation is in progress or not */ UnderComputation *bool `json:"underComputation,omitempty"` }
* Fault tolerance information of a component
func NewComponentFaultTolerance ¶
func NewComponentFaultTolerance() *ComponentFaultTolerance
type ComponentType ¶
type ComponentType int
* Type of component
const ( COMPONENTTYPE_UNKNOWN ComponentType = 0 COMPONENTTYPE_REDACTED ComponentType = 1 COMPONENTTYPE_EXTENT_GROUP_REPLICAS ComponentType = 2 COMPONENTTYPE_OPLOG_EPISODES ComponentType = 3 COMPONENTTYPE_CASSANDRA_RING ComponentType = 4 COMPONENTTYPE_ZOOKEPER_INSTANCES ComponentType = 5 COMPONENTTYPE_FREE_SPACE ComponentType = 6 COMPONENTTYPE_STATIC_CONFIG ComponentType = 7 COMPONENTTYPE_ERASURE_CODE_STRIP_SIZE ComponentType = 8 COMPONENTTYPE_STARGATE_HEALTH ComponentType = 9 )
func (*ComponentType) MarshalJSON ¶
func (e *ComponentType) MarshalJSON() ([]byte, error)
func (ComponentType) Ref ¶
func (e ComponentType) Ref() *ComponentType
func (*ComponentType) UnmarshalJSON ¶
func (e *ComponentType) UnmarshalJSON(b []byte) error
type ControllerVmReference ¶
type ControllerVmReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Backplane address */ BackplaneAddress *string `json:"backplaneAddress,omitempty"` ExternalAddress *IpAddresses `json:"externalAddress,omitempty"` /** Controller VM Id */ Id *int64 `json:"id,omitempty"` Ipmi *IpmiReference `json:"ipmi,omitempty"` /** Maintenance mode status */ MaintenanceMode *bool `json:"maintenanceMode,omitempty"` /** NAT IP address */ NatIp *string `json:"natIp,omitempty"` /** NAT port */ NatPort *int `json:"natPort,omitempty"` /** Rackable unit UUID */ RackableUnitUuid *string `json:"rackableUnitUuid,omitempty"` /** RDMA backplane address */ RdmaBackplaneAddress []string `json:"rdmaBackplaneAddress,omitempty"` }
* Host entity with its attributes
func NewControllerVmReference ¶
func NewControllerVmReference() *ControllerVmReference
type DiskReference ¶
type DiskReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Disk Id */ Id *int64 `json:"id,omitempty"` /** Disk mount path */ MountPath *string `json:"mountPath,omitempty"` /** Disk serial Id */ SerialId *string `json:"serialId,omitempty"` /** Disk size */ Size *int64 `json:"size,omitempty"` StorageTier *StorageTierReference `json:"storageTier,omitempty"` /** Disk UUID */ Uuid *string `json:"uuid,omitempty"` }
* Disk details attached to a host
func NewDiskReference ¶
func NewDiskReference() *DiskReference
type DomainAwarenessLevel ¶
type DomainAwarenessLevel int
* Domain awareness level
const ( DOMAINAWARENESSLEVEL_UNKNOWN DomainAwarenessLevel = 0 DOMAINAWARENESSLEVEL_REDACTED DomainAwarenessLevel = 1 DOMAINAWARENESSLEVEL_NODE DomainAwarenessLevel = 2 DOMAINAWARENESSLEVEL_BLOCK DomainAwarenessLevel = 3 DOMAINAWARENESSLEVEL_RACK DomainAwarenessLevel = 4 )
func (*DomainAwarenessLevel) MarshalJSON ¶
func (e *DomainAwarenessLevel) MarshalJSON() ([]byte, error)
func (DomainAwarenessLevel) Ref ¶
func (e DomainAwarenessLevel) Ref() *DomainAwarenessLevel
func (*DomainAwarenessLevel) UnmarshalJSON ¶
func (e *DomainAwarenessLevel) UnmarshalJSON(b []byte) error
type DomainFaultTolerance ¶
type DomainFaultTolerance struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** List of components in a domain */ ComponentStatus []ComponentFaultTolerance `json:"componentStatus,omitempty"` Type *DomainType `json:"type,omitempty"` }
* Domain Fault tolerance configuration
func NewDomainFaultTolerance ¶
func NewDomainFaultTolerance() *DomainFaultTolerance
type DomainType ¶
type DomainType int
* Type of domain
const ( DOMAINTYPE_UNKNOWN DomainType = 0 DOMAINTYPE_REDACTED DomainType = 1 DOMAINTYPE_DEPRECATED_RACKABLE_UNIT DomainType = 2 DOMAINTYPE_DEPRECATED_NODE DomainType = 3 DOMAINTYPE_DEPRECATED_DISK DomainType = 4 DOMAINTYPE_CUSTOM DomainType = 5 DOMAINTYPE_DISK DomainType = 6 DOMAINTYPE_NODE DomainType = 7 DOMAINTYPE_RACKABLE_UNIT DomainType = 8 DOMAINTYPE_RACK DomainType = 9 DOMAINTYPE_CLUSTER DomainType = 10 )
func (*DomainType) MarshalJSON ¶
func (e *DomainType) MarshalJSON() ([]byte, error)
func (DomainType) Ref ¶
func (e DomainType) Ref() *DomainType
func (*DomainType) UnmarshalJSON ¶
func (e *DomainType) UnmarshalJSON(b []byte) error
type FaultToleranceState ¶
type FaultToleranceState struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Maximum fault tolerance that is supported currently */ CurrentMaxFaultTolerance *int `json:"currentMaxFaultTolerance,omitempty"` /** Desired Maximum fault tolerance */ DesiredMaxFaultTolerance *int `json:"desiredMaxFaultTolerance,omitempty"` DomainAwarenessLevel *DomainAwarenessLevel `json:"domainAwarenessLevel,omitempty"` }
* Fault tolerant state of cluster
func NewFaultToleranceState ¶
func NewFaultToleranceState() *FaultToleranceState
type GetClusterHostGpusResponse ¶
type GetClusterHostGpusResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfGetClusterHostGpusResponseData `json:"data,omitempty"` Metadata *import1.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /clustermgmt/v4.0.a1/config/cluster/{clusterExtId}/host-gpus Get operation
func NewGetClusterHostGpusResponse ¶
func NewGetClusterHostGpusResponse() *GetClusterHostGpusResponse
func (*GetClusterHostGpusResponse) GetData ¶
func (p *GetClusterHostGpusResponse) GetData() interface{}
func (*GetClusterHostGpusResponse) SetData ¶
func (p *GetClusterHostGpusResponse) SetData(v interface{}) error
type GetClusterResponse ¶
type GetClusterResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfGetClusterResponseData `json:"data,omitempty"` Metadata *import1.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /clustermgmt/v4.0.a1/config/cluster/{clusterExtId} Get operation
func NewGetClusterResponse ¶
func NewGetClusterResponse() *GetClusterResponse
func (*GetClusterResponse) GetData ¶
func (p *GetClusterResponse) GetData() interface{}
func (*GetClusterResponse) SetData ¶
func (p *GetClusterResponse) SetData(v interface{}) error
type GetClustersResponse ¶
type GetClustersResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfGetClustersResponseData `json:"data,omitempty"` Metadata *import1.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /clustermgmt/v4.0.a1/config/clusters Get operation
func NewGetClustersResponse ¶
func NewGetClustersResponse() *GetClustersResponse
func (*GetClustersResponse) GetData ¶
func (p *GetClustersResponse) GetData() interface{}
func (*GetClustersResponse) SetData ¶
func (p *GetClustersResponse) SetData(v interface{}) error
type GetDomainFaultToleranceResponse ¶
type GetDomainFaultToleranceResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfGetDomainFaultToleranceResponseData `json:"data,omitempty"` Metadata *import1.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /clustermgmt/v4.0.a1/config/cluster/{clusterExtId}/domain-fault-tolerance-status Get operation
func NewGetDomainFaultToleranceResponse ¶
func NewGetDomainFaultToleranceResponse() *GetDomainFaultToleranceResponse
func (*GetDomainFaultToleranceResponse) GetData ¶
func (p *GetDomainFaultToleranceResponse) GetData() interface{}
func (*GetDomainFaultToleranceResponse) SetData ¶
func (p *GetDomainFaultToleranceResponse) SetData(v interface{}) error
type GetGpuProfilesResponse ¶
type GetGpuProfilesResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfGetGpuProfilesResponseData `json:"data,omitempty"` Metadata *import1.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /clustermgmt/v4.0.a1/config/cluster/{clusterExtId}/gpu-profiles Get operation
func NewGetGpuProfilesResponse ¶
func NewGetGpuProfilesResponse() *GetGpuProfilesResponse
func (*GetGpuProfilesResponse) GetData ¶
func (p *GetGpuProfilesResponse) GetData() interface{}
func (*GetGpuProfilesResponse) SetData ¶
func (p *GetGpuProfilesResponse) SetData(v interface{}) error
type GetHostGpuResponse ¶
type GetHostGpuResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfGetHostGpuResponseData `json:"data,omitempty"` Metadata *import1.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /clustermgmt/v4.0.a1/config/cluster/{clusterExtId}/host/{hostExtId}/host-gpu/{hostGpuExtId} Get operation
func NewGetHostGpuResponse ¶
func NewGetHostGpuResponse() *GetHostGpuResponse
func (*GetHostGpuResponse) GetData ¶
func (p *GetHostGpuResponse) GetData() interface{}
func (*GetHostGpuResponse) SetData ¶
func (p *GetHostGpuResponse) SetData(v interface{}) error
type GetHostGpusResponse ¶
type GetHostGpusResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfGetHostGpusResponseData `json:"data,omitempty"` Metadata *import1.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /clustermgmt/v4.0.a1/config/cluster/{clusterExtId}/host/{hostExtId}/host-gpus Get operation
func NewGetHostGpusResponse ¶
func NewGetHostGpusResponse() *GetHostGpusResponse
func (*GetHostGpusResponse) GetData ¶
func (p *GetHostGpusResponse) GetData() interface{}
func (*GetHostGpusResponse) SetData ¶
func (p *GetHostGpusResponse) SetData(v interface{}) error
type GetHostResponse ¶
type GetHostResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfGetHostResponseData `json:"data,omitempty"` Metadata *import1.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /clustermgmt/v4.0.a1/config/cluster/{clusterExtId}/host/{hostExtId} Get operation
func NewGetHostResponse ¶
func NewGetHostResponse() *GetHostResponse
func (*GetHostResponse) GetData ¶
func (p *GetHostResponse) GetData() interface{}
func (*GetHostResponse) SetData ¶
func (p *GetHostResponse) SetData(v interface{}) error
type GetHostsResponse ¶
type GetHostsResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfGetHostsResponseData `json:"data,omitempty"` Metadata *import1.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /clustermgmt/v4.0.a1/config/cluster/{clusterExtId}/hosts Get operation
func NewGetHostsResponse ¶
func NewGetHostsResponse() *GetHostsResponse
func (*GetHostsResponse) GetData ¶
func (p *GetHostsResponse) GetData() interface{}
func (*GetHostsResponse) SetData ¶
func (p *GetHostsResponse) SetData(v interface{}) error
type GetRackableUnitResponse ¶
type GetRackableUnitResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfGetRackableUnitResponseData `json:"data,omitempty"` Metadata *import1.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /clustermgmt/v4.0.a1/config/cluster/{clusterExtId}/rackable-unit/{rackableUnitExtId} Get operation
func NewGetRackableUnitResponse ¶
func NewGetRackableUnitResponse() *GetRackableUnitResponse
func (*GetRackableUnitResponse) GetData ¶
func (p *GetRackableUnitResponse) GetData() interface{}
func (*GetRackableUnitResponse) SetData ¶
func (p *GetRackableUnitResponse) SetData(v interface{}) error
type GetRackableUnitsResponse ¶
type GetRackableUnitsResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfGetRackableUnitsResponseData `json:"data,omitempty"` Metadata *import1.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /clustermgmt/v4.0.a1/config/cluster/{clusterExtId}/rackable-units Get operation
func NewGetRackableUnitsResponse ¶
func NewGetRackableUnitsResponse() *GetRackableUnitsResponse
func (*GetRackableUnitsResponse) GetData ¶
func (p *GetRackableUnitsResponse) GetData() interface{}
func (*GetRackableUnitsResponse) SetData ¶
func (p *GetRackableUnitsResponse) SetData(v interface{}) error
type GetRsyslogServersResponse ¶
type GetRsyslogServersResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfGetRsyslogServersResponseData `json:"data,omitempty"` Metadata *import1.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /clustermgmt/v4.0.a1/config/cluster/{clusterExtId}/rsyslog Get operation
func NewGetRsyslogServersResponse ¶
func NewGetRsyslogServersResponse() *GetRsyslogServersResponse
func (*GetRsyslogServersResponse) GetData ¶
func (p *GetRsyslogServersResponse) GetData() interface{}
func (*GetRsyslogServersResponse) SetData ¶
func (p *GetRsyslogServersResponse) SetData(v interface{}) error
type GetSnmpResponse ¶
type GetSnmpResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfGetSnmpResponseData `json:"data,omitempty"` Metadata *import1.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /clustermgmt/v4.0.a1/config/cluster/{clusterExtId}/snmp Get operation
func NewGetSnmpResponse ¶
func NewGetSnmpResponse() *GetSnmpResponse
func (*GetSnmpResponse) GetData ¶
func (p *GetSnmpResponse) GetData() interface{}
func (*GetSnmpResponse) SetData ¶
func (p *GetSnmpResponse) SetData(v interface{}) error
type GpuConfig ¶
type GpuConfig struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** GPU assignable */ Assignable *int64 `json:"assignable,omitempty"` /** Device Id */ DeviceId *string `json:"deviceId,omitempty"` /** Device name */ DeviceName *string `json:"deviceName,omitempty"` /** GPU fraction */ Fraction *int64 `json:"fraction,omitempty"` /** Frame buffer size in bytes */ FrameBufferSizeBytes *int64 `json:"frameBufferSizeBytes,omitempty"` /** Guest driver version */ GuestDriverVersion *string `json:"guestDriverVersion,omitempty"` /** GPU in use */ InUse *bool `json:"inUse,omitempty"` /** GPU license list */ LicenseList []string `json:"licenseList,omitempty"` /** Maximum resolution */ MaxResolution *string `json:"maxResolution,omitempty"` Mode *GpuMode `json:"mode,omitempty"` /** NUMA node */ NumaNode *string `json:"numaNode,omitempty"` /** Number of virtual display heads */ NumberOfVirtualDisplayHeads *int64 `json:"numberOfVirtualDisplayHeads,omitempty"` /** SBDF address */ Sbdf *string `json:"sbdf,omitempty"` Type *GpuType `json:"type,omitempty"` /** Vendor name */ VendorName *string `json:"vendorName,omitempty"` }
* GPU configuration details
func NewGpuConfig ¶
func NewGpuConfig() *GpuConfig
type GpuMode ¶
type GpuMode int
* GPU mode
func (*GpuMode) MarshalJSON ¶
func (*GpuMode) UnmarshalJSON ¶
type GpuProfile ¶
type GpuProfile struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** List of UUIDs of virtual machines with an allocated GPU belonging to this profile */ AllocatedVmUuids []string `json:"allocatedVmUuids,omitempty"` /** Device Id */ DeviceId *string `json:"deviceId,omitempty"` GpuConfig *GpuConfig `json:"gpuConfig,omitempty"` }
* GPU Profile
func NewGpuProfile ¶
func NewGpuProfile() *GpuProfile
type GpuType ¶
type GpuType int
* GPU type
func (*GpuType) MarshalJSON ¶
func (*GpuType) UnmarshalJSON ¶
type HostEntity ¶
type HostEntity struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Boot time in secs */ BootTimeUsecs *int64 `json:"bootTimeUsecs,omitempty"` Cluster *ClusterReference `json:"cluster,omitempty"` ControllerVm *ControllerVmReference `json:"controllerVm,omitempty"` /** CPU capacity in Hz */ CpuCapacityHz *int64 `json:"cpuCapacityHz,omitempty"` /** CPU frequency in Hz */ CpuFrequencyHz *int64 `json:"cpuFrequencyHz,omitempty"` /** CPU model name */ CpuModel *string `json:"cpuModel,omitempty"` /** Default VHD container Id */ DefaultVhdContainerId *string `json:"defaultVhdContainerId,omitempty"` /** Default VHD container UUID */ DefaultVhdContainerUuid *string `json:"defaultVhdContainerUuid,omitempty"` /** Default VHD location */ DefaultVhdLocation *string `json:"defaultVhdLocation,omitempty"` /** Default VM container Id */ DefaultVmContainerId *string `json:"defaultVmContainerId,omitempty"` /** Default VM container UUID */ DefaultVmContainerUuid *string `json:"defaultVmContainerUuid,omitempty"` /** Default VM location */ DefaultVmLocation *string `json:"defaultVmLocation,omitempty"` /** Disks attached to host */ Disk []DiskReference `json:"disk,omitempty"` /** A globally unique identifier of an instance that is suitable for external consumption. */ ExtId *string `json:"extId,omitempty"` /** Failover cluster FQDN */ FailoverClusterFqdn *string `json:"failoverClusterFqdn,omitempty"` /** Failover cluster node status */ FailoverClusterNodeStatus *string `json:"failoverClusterNodeStatus,omitempty"` /** GPU driver version */ GpuDriverVersion *string `json:"gpuDriverVersion,omitempty"` /** GPU attached list */ GpuList []string `json:"gpuList,omitempty"` /** Certificate signing request status */ HasCsr *bool `json:"hasCsr,omitempty"` /** Name of the host */ HostName *string `json:"hostName,omitempty"` /** Host NICs Id */ HostNicsIdList []string `json:"hostNicsIdList,omitempty"` HostType *HostTypeEnum `json:"hostType,omitempty"` Hypervisor *HypervisorReference `json:"hypervisor,omitempty"` /** Node degraded status */ IsDegraded *bool `json:"isDegraded,omitempty"` /** Indicates whether the hardware is virtualized or not */ IsHardwareVirtualized *bool `json:"isHardwareVirtualized,omitempty"` /** Secure boot status */ IsSecureBooted *bool `json:"isSecureBooted,omitempty"` /** Mapping of key management device to certificate status list */ KeyManagementDeviceToCertStatus []KeyManagementDeviceToCertStatus `json:"keyManagementDeviceToCertStatus,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"` /** Memory size in bytes */ MemorySizeBytes *int64 `json:"memorySizeBytes,omitempty"` /** Number of CPU cores */ NumberOfCpuCores *int64 `json:"numberOfCpuCores,omitempty"` /** Number of CPU sockets */ NumberOfCpuSockets *int64 `json:"numberOfCpuSockets,omitempty"` /** Number of CPU threads */ NumberOfCpuThreads *int64 `json:"numberOfCpuThreads,omitempty"` /** Reboot pending status */ RebootPending *bool `json:"rebootPending,omitempty"` /** A globally unique identifier that represents the tenant that owns this entity. It is automatically assigned by the system 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"` }
* Host entity with its attributes
func NewHostEntity ¶
func NewHostEntity() *HostEntity
type HostGpuEntity ¶
type HostGpuEntity struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Cluster name */ ClusterName *string `json:"clusterName,omitempty"` /** Cluster UUID */ ClusterUuid *string `json:"clusterUuid,omitempty"` Config *GpuConfig `json:"config,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"` /** Controller VM Id */ NodeId *string `json:"nodeId,omitempty"` /** UUID of a node */ NodeUuid *string `json:"nodeUuid,omitempty"` /** Number of vGPUs allocated */ NumberOfVgpusAllocated *int64 `json:"numberOfVgpusAllocated,omitempty"` /** A globally unique identifier that represents the tenant that owns this entity. It is automatically assigned by the system 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"` }
* Host GPU details
func NewHostGpuEntity ¶
func NewHostGpuEntity() *HostGpuEntity
type HostTypeEnum ¶
type HostTypeEnum int
* Type of the host
const ( HOSTTYPEENUM_UNKNOWN HostTypeEnum = 0 HOSTTYPEENUM_REDACTED HostTypeEnum = 1 HOSTTYPEENUM_HYPER_CONVERGED HostTypeEnum = 2 HOSTTYPEENUM_COMPUTE_ONLY HostTypeEnum = 3 )
func (*HostTypeEnum) MarshalJSON ¶
func (e *HostTypeEnum) MarshalJSON() ([]byte, error)
func (HostTypeEnum) Ref ¶
func (e HostTypeEnum) Ref() *HostTypeEnum
func (*HostTypeEnum) UnmarshalJSON ¶
func (e *HostTypeEnum) UnmarshalJSON(b []byte) error
type HypervisorReference ¶
type HypervisorReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` AcropolisConnectionState *AcropolisConnectionState `json:"acropolisConnectionState,omitempty"` ExternalAddress *IpAddresses `json:"externalAddress,omitempty"` /** Hypervisor full name */ FullName *string `json:"fullName,omitempty"` /** Number of VMs */ NumberOfVms *int64 `json:"numberOfVms,omitempty"` State *HypervisorState `json:"state,omitempty"` Type *HypervisorType `json:"type,omitempty"` /** Hypervisor user name */ UserName *string `json:"userName,omitempty"` }
* Hypervisor reference of a node
func NewHypervisorReference ¶
func NewHypervisorReference() *HypervisorReference
type HypervisorState ¶
type HypervisorState int
* Hypervisor state
const ( HYPERVISORSTATE_UNKNOWN HypervisorState = 0 HYPERVISORSTATE_REDACTED HypervisorState = 1 HYPERVISORSTATE_ACROPOLIS_NORMAL HypervisorState = 2 HYPERVISORSTATE_ENTERING_MAINTENANCE_MODE HypervisorState = 3 HYPERVISORSTATE_ENTERED_MAINTENANCE_MODE HypervisorState = 4 HYPERVISORSTATE_RESERVED_FOR_HA_FAILOVER HypervisorState = 5 HYPERVISORSTATE_ENTERING_MAINTENANCE_MODE_FROM_HA_FAILOVER HypervisorState = 6 HYPERVISORSTATE_RESERVING_FOR_HA_FAILOVER HypervisorState = 7 HYPERVISORSTATE_HA_FAILOVER_SOURCE HypervisorState = 8 HYPERVISORSTATE_HA_FAILOVER_TARGET HypervisorState = 9 HYPERVISORSTATE_HA_HEALING_SOURCE HypervisorState = 10 HYPERVISORSTATE_HA_HEALING_TARGET HypervisorState = 11 )
func (*HypervisorState) MarshalJSON ¶
func (e *HypervisorState) MarshalJSON() ([]byte, error)
func (HypervisorState) Ref ¶
func (e HypervisorState) Ref() *HypervisorState
func (*HypervisorState) UnmarshalJSON ¶
func (e *HypervisorState) UnmarshalJSON(b []byte) error
type HypervisorType ¶
type HypervisorType int
* Hypervisor type
const ( HYPERVISORTYPE_UNKNOWN HypervisorType = 0 HYPERVISORTYPE_REDACTED HypervisorType = 1 HYPERVISORTYPE_AHV HypervisorType = 2 HYPERVISORTYPE_ESX HypervisorType = 3 HYPERVISORTYPE_HYPERV HypervisorType = 4 HYPERVISORTYPE_XEN HypervisorType = 5 HYPERVISORTYPE_NULLTYPE HypervisorType = 6 )
func (*HypervisorType) MarshalJSON ¶
func (e *HypervisorType) MarshalJSON() ([]byte, error)
func (HypervisorType) Ref ¶
func (e HypervisorType) Ref() *HypervisorType
func (*HypervisorType) UnmarshalJSON ¶
func (e *HypervisorType) UnmarshalJSON(b []byte) error
type IpAddresses ¶
type IpAddresses struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** IPV4 address */ Ipv4 *string `json:"ipv4,omitempty"` /** IPV6 address */ Ipv6 *string `json:"ipv6,omitempty"` }
* IPV4 and IPV6 details
func NewIpAddresses ¶
func NewIpAddresses() *IpAddresses
type IpmiReference ¶
type IpmiReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** IPMI IP address */ Ip *string `json:"ip,omitempty"` /** IPMI username */ Username *string `json:"username,omitempty"` }
* IPMI reference
func NewIpmiReference ¶
func NewIpmiReference() *IpmiReference
type KeyManagementDeviceToCertStatus ¶
type KeyManagementDeviceToCertStatus struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Key management server name */ KeyManagementServerName *string `json:"keyManagementServerName,omitempty"` /** Certificate status */ Status *bool `json:"status,omitempty"` }
* Mapping of key management device to certificate status list
func NewKeyManagementDeviceToCertStatus ¶
func NewKeyManagementDeviceToCertStatus() *KeyManagementDeviceToCertStatus
type ManagementServerRef ¶
type ManagementServerRef struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Indicates whether it is DRS enabled or not */ DrsEnabled *bool `json:"drsEnabled,omitempty"` /** Indicates whether the host is managed by an entity or not */ InUse *bool `json:"inUse,omitempty"` /** Management server IP address */ Ip *string `json:"ip,omitempty"` /** Indicates whether it is registered or not */ IsRegistered *bool `json:"isRegistered,omitempty"` Type *ManagementServerType `json:"type,omitempty"` }
* Management server information
func NewManagementServerRef ¶
func NewManagementServerRef() *ManagementServerRef
type ManagementServerType ¶
type ManagementServerType int
* Management server type
const ( MANAGEMENTSERVERTYPE_UNKNOWN ManagementServerType = 0 MANAGEMENTSERVERTYPE_REDACTED ManagementServerType = 1 MANAGEMENTSERVERTYPE_VCENTER ManagementServerType = 2 )
func (*ManagementServerType) MarshalJSON ¶
func (e *ManagementServerType) MarshalJSON() ([]byte, error)
func (ManagementServerType) Ref ¶
func (e ManagementServerType) Ref() *ManagementServerType
func (*ManagementServerType) UnmarshalJSON ¶
func (e *ManagementServerType) UnmarshalJSON(b []byte) error
type NodeListItemReference ¶
type NodeListItemReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Controller VM IP */ ControllerVmIp *string `json:"controllerVmIp,omitempty"` /** Host IP address */ HostIp *string `json:"hostIp,omitempty"` /** UUID of a node */ NodeUuid *string `json:"nodeUuid,omitempty"` }
* List of nodes in a cluster
func NewNodeListItemReference ¶
func NewNodeListItemReference() *NodeListItemReference
type NodeReference ¶
type NodeReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** List of nodes in a cluster */ NodeList []NodeListItemReference `json:"nodeList,omitempty"` /** Number of nodes in a cluster */ NumberOfNodes *int `json:"numberOfNodes,omitempty"` }
* Node reference for a cluster
func NewNodeReference ¶
func NewNodeReference() *NodeReference
type OneOfGetClusterHostGpusResponseData ¶
type OneOfGetClusterHostGpusResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetClusterHostGpusResponseData ¶
func NewOneOfGetClusterHostGpusResponseData() *OneOfGetClusterHostGpusResponseData
func (*OneOfGetClusterHostGpusResponseData) GetValue ¶
func (p *OneOfGetClusterHostGpusResponseData) GetValue() interface{}
func (*OneOfGetClusterHostGpusResponseData) MarshalJSON ¶
func (p *OneOfGetClusterHostGpusResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetClusterHostGpusResponseData) SetValue ¶
func (p *OneOfGetClusterHostGpusResponseData) SetValue(v interface{}) error
func (*OneOfGetClusterHostGpusResponseData) UnmarshalJSON ¶
func (p *OneOfGetClusterHostGpusResponseData) UnmarshalJSON(b []byte) error
type OneOfGetClusterResponseData ¶
type OneOfGetClusterResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetClusterResponseData ¶
func NewOneOfGetClusterResponseData() *OneOfGetClusterResponseData
func (*OneOfGetClusterResponseData) GetValue ¶
func (p *OneOfGetClusterResponseData) GetValue() interface{}
func (*OneOfGetClusterResponseData) MarshalJSON ¶
func (p *OneOfGetClusterResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetClusterResponseData) SetValue ¶
func (p *OneOfGetClusterResponseData) SetValue(v interface{}) error
func (*OneOfGetClusterResponseData) UnmarshalJSON ¶
func (p *OneOfGetClusterResponseData) UnmarshalJSON(b []byte) error
type OneOfGetClustersResponseData ¶
type OneOfGetClustersResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetClustersResponseData ¶
func NewOneOfGetClustersResponseData() *OneOfGetClustersResponseData
func (*OneOfGetClustersResponseData) GetValue ¶
func (p *OneOfGetClustersResponseData) GetValue() interface{}
func (*OneOfGetClustersResponseData) MarshalJSON ¶
func (p *OneOfGetClustersResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetClustersResponseData) SetValue ¶
func (p *OneOfGetClustersResponseData) SetValue(v interface{}) error
func (*OneOfGetClustersResponseData) UnmarshalJSON ¶
func (p *OneOfGetClustersResponseData) UnmarshalJSON(b []byte) error
type OneOfGetDomainFaultToleranceResponseData ¶
type OneOfGetDomainFaultToleranceResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetDomainFaultToleranceResponseData ¶
func NewOneOfGetDomainFaultToleranceResponseData() *OneOfGetDomainFaultToleranceResponseData
func (*OneOfGetDomainFaultToleranceResponseData) GetValue ¶
func (p *OneOfGetDomainFaultToleranceResponseData) GetValue() interface{}
func (*OneOfGetDomainFaultToleranceResponseData) MarshalJSON ¶
func (p *OneOfGetDomainFaultToleranceResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetDomainFaultToleranceResponseData) SetValue ¶
func (p *OneOfGetDomainFaultToleranceResponseData) SetValue(v interface{}) error
func (*OneOfGetDomainFaultToleranceResponseData) UnmarshalJSON ¶
func (p *OneOfGetDomainFaultToleranceResponseData) UnmarshalJSON(b []byte) error
type OneOfGetGpuProfilesResponseData ¶
type OneOfGetGpuProfilesResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetGpuProfilesResponseData ¶
func NewOneOfGetGpuProfilesResponseData() *OneOfGetGpuProfilesResponseData
func (*OneOfGetGpuProfilesResponseData) GetValue ¶
func (p *OneOfGetGpuProfilesResponseData) GetValue() interface{}
func (*OneOfGetGpuProfilesResponseData) MarshalJSON ¶
func (p *OneOfGetGpuProfilesResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetGpuProfilesResponseData) SetValue ¶
func (p *OneOfGetGpuProfilesResponseData) SetValue(v interface{}) error
func (*OneOfGetGpuProfilesResponseData) UnmarshalJSON ¶
func (p *OneOfGetGpuProfilesResponseData) UnmarshalJSON(b []byte) error
type OneOfGetHostGpuResponseData ¶
type OneOfGetHostGpuResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetHostGpuResponseData ¶
func NewOneOfGetHostGpuResponseData() *OneOfGetHostGpuResponseData
func (*OneOfGetHostGpuResponseData) GetValue ¶
func (p *OneOfGetHostGpuResponseData) GetValue() interface{}
func (*OneOfGetHostGpuResponseData) MarshalJSON ¶
func (p *OneOfGetHostGpuResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetHostGpuResponseData) SetValue ¶
func (p *OneOfGetHostGpuResponseData) SetValue(v interface{}) error
func (*OneOfGetHostGpuResponseData) UnmarshalJSON ¶
func (p *OneOfGetHostGpuResponseData) UnmarshalJSON(b []byte) error
type OneOfGetHostGpusResponseData ¶
type OneOfGetHostGpusResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetHostGpusResponseData ¶
func NewOneOfGetHostGpusResponseData() *OneOfGetHostGpusResponseData
func (*OneOfGetHostGpusResponseData) GetValue ¶
func (p *OneOfGetHostGpusResponseData) GetValue() interface{}
func (*OneOfGetHostGpusResponseData) MarshalJSON ¶
func (p *OneOfGetHostGpusResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetHostGpusResponseData) SetValue ¶
func (p *OneOfGetHostGpusResponseData) SetValue(v interface{}) error
func (*OneOfGetHostGpusResponseData) UnmarshalJSON ¶
func (p *OneOfGetHostGpusResponseData) UnmarshalJSON(b []byte) error
type OneOfGetHostResponseData ¶
type OneOfGetHostResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetHostResponseData ¶
func NewOneOfGetHostResponseData() *OneOfGetHostResponseData
func (*OneOfGetHostResponseData) GetValue ¶
func (p *OneOfGetHostResponseData) GetValue() interface{}
func (*OneOfGetHostResponseData) MarshalJSON ¶
func (p *OneOfGetHostResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetHostResponseData) SetValue ¶
func (p *OneOfGetHostResponseData) SetValue(v interface{}) error
func (*OneOfGetHostResponseData) UnmarshalJSON ¶
func (p *OneOfGetHostResponseData) UnmarshalJSON(b []byte) error
type OneOfGetHostsResponseData ¶
type OneOfGetHostsResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetHostsResponseData ¶
func NewOneOfGetHostsResponseData() *OneOfGetHostsResponseData
func (*OneOfGetHostsResponseData) GetValue ¶
func (p *OneOfGetHostsResponseData) GetValue() interface{}
func (*OneOfGetHostsResponseData) MarshalJSON ¶
func (p *OneOfGetHostsResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetHostsResponseData) SetValue ¶
func (p *OneOfGetHostsResponseData) SetValue(v interface{}) error
func (*OneOfGetHostsResponseData) UnmarshalJSON ¶
func (p *OneOfGetHostsResponseData) UnmarshalJSON(b []byte) error
type OneOfGetRackableUnitResponseData ¶
type OneOfGetRackableUnitResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetRackableUnitResponseData ¶
func NewOneOfGetRackableUnitResponseData() *OneOfGetRackableUnitResponseData
func (*OneOfGetRackableUnitResponseData) GetValue ¶
func (p *OneOfGetRackableUnitResponseData) GetValue() interface{}
func (*OneOfGetRackableUnitResponseData) MarshalJSON ¶
func (p *OneOfGetRackableUnitResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetRackableUnitResponseData) SetValue ¶
func (p *OneOfGetRackableUnitResponseData) SetValue(v interface{}) error
func (*OneOfGetRackableUnitResponseData) UnmarshalJSON ¶
func (p *OneOfGetRackableUnitResponseData) UnmarshalJSON(b []byte) error
type OneOfGetRackableUnitsResponseData ¶
type OneOfGetRackableUnitsResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetRackableUnitsResponseData ¶
func NewOneOfGetRackableUnitsResponseData() *OneOfGetRackableUnitsResponseData
func (*OneOfGetRackableUnitsResponseData) GetValue ¶
func (p *OneOfGetRackableUnitsResponseData) GetValue() interface{}
func (*OneOfGetRackableUnitsResponseData) MarshalJSON ¶
func (p *OneOfGetRackableUnitsResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetRackableUnitsResponseData) SetValue ¶
func (p *OneOfGetRackableUnitsResponseData) SetValue(v interface{}) error
func (*OneOfGetRackableUnitsResponseData) UnmarshalJSON ¶
func (p *OneOfGetRackableUnitsResponseData) UnmarshalJSON(b []byte) error
type OneOfGetRsyslogServersResponseData ¶
type OneOfGetRsyslogServersResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetRsyslogServersResponseData ¶
func NewOneOfGetRsyslogServersResponseData() *OneOfGetRsyslogServersResponseData
func (*OneOfGetRsyslogServersResponseData) GetValue ¶
func (p *OneOfGetRsyslogServersResponseData) GetValue() interface{}
func (*OneOfGetRsyslogServersResponseData) MarshalJSON ¶
func (p *OneOfGetRsyslogServersResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetRsyslogServersResponseData) SetValue ¶
func (p *OneOfGetRsyslogServersResponseData) SetValue(v interface{}) error
func (*OneOfGetRsyslogServersResponseData) UnmarshalJSON ¶
func (p *OneOfGetRsyslogServersResponseData) UnmarshalJSON(b []byte) error
type OneOfGetSnmpResponseData ¶
type OneOfGetSnmpResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetSnmpResponseData ¶
func NewOneOfGetSnmpResponseData() *OneOfGetSnmpResponseData
func (*OneOfGetSnmpResponseData) GetValue ¶
func (p *OneOfGetSnmpResponseData) GetValue() interface{}
func (*OneOfGetSnmpResponseData) MarshalJSON ¶
func (p *OneOfGetSnmpResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetSnmpResponseData) SetValue ¶
func (p *OneOfGetSnmpResponseData) SetValue(v interface{}) error
func (*OneOfGetSnmpResponseData) UnmarshalJSON ¶
func (p *OneOfGetSnmpResponseData) UnmarshalJSON(b []byte) error
type OperationMode ¶
type OperationMode int
* Cluster operation mode
const ( OPERATIONMODE_UNKNOWN OperationMode = 0 OPERATIONMODE_REDACTED OperationMode = 1 OPERATIONMODE_NORMAL OperationMode = 2 OPERATIONMODE_READ_ONLY OperationMode = 3 OPERATIONMODE_STAND_ALONE OperationMode = 4 OPERATIONMODE_SWITCH_TO_TWO_NODE OperationMode = 5 OPERATIONMODE_OVERRIDE OperationMode = 6 )
func (*OperationMode) MarshalJSON ¶
func (e *OperationMode) MarshalJSON() ([]byte, error)
func (OperationMode) Ref ¶
func (e OperationMode) Ref() *OperationMode
func (*OperationMode) UnmarshalJSON ¶
func (e *OperationMode) UnmarshalJSON(b []byte) error
type PublicKey ¶
type PublicKey struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Ssh key value */ Key *string `json:"key,omitempty"` /** Ssh key name */ Name *string `json:"name,omitempty"` }
* Public ssh key details
func NewPublicKey ¶
func NewPublicKey() *PublicKey
type RackReference ¶
type RackReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Cluster entity with its attributes */ Id *int64 `json:"id,omitempty"` /** Cluster entity with its attributes */ Uuid *string `json:"uuid,omitempty"` }
* Rack reference for the block
func NewRackReference ¶
func NewRackReference() *RackReference
type RackableUnit ¶
type RackableUnit struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** A globally unique identifier of an instance that is suitable for external consumption. */ ExtId *string `json:"extId,omitempty"` /** Rackable unit Id */ Id *int64 `json:"id,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"` Model *RackableUnitModel `json:"model,omitempty"` /** Rackable unit model name */ ModelName *string `json:"modelName,omitempty"` /** List of node information registered to the block */ Nodes []RackableUnitNode `json:"nodes,omitempty"` Rack *RackReference `json:"rack,omitempty"` /** Rackable unit serial name */ Serial *string `json:"serial,omitempty"` /** A globally unique identifier that represents the tenant that owns this entity. It is automatically assigned by the system 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"` }
* Rackable Unit configuration
func NewRackableUnit ¶
func NewRackableUnit() *RackableUnit
type RackableUnitModel ¶
type RackableUnitModel int
* Rackable unit model type
const ( RACKABLEUNITMODEL_UNKNOWN RackableUnitModel = 0 RACKABLEUNITMODEL_REDACTED RackableUnitModel = 1 RACKABLEUNITMODEL_DESKTOP RackableUnitModel = 2 RACKABLEUNITMODEL_NX2000 RackableUnitModel = 3 RACKABLEUNITMODEL_NX3000 RackableUnitModel = 4 RACKABLEUNITMODEL_NX3050 RackableUnitModel = 5 RACKABLEUNITMODEL_NX6050 RackableUnitModel = 6 RACKABLEUNITMODEL_NX6070 RackableUnitModel = 7 RACKABLEUNITMODEL_NX1050 RackableUnitModel = 8 RACKABLEUNITMODEL_NX3060 RackableUnitModel = 9 RACKABLEUNITMODEL_NX6060 RackableUnitModel = 10 RACKABLEUNITMODEL_NX6080 RackableUnitModel = 11 RACKABLEUNITMODEL_NX6020 RackableUnitModel = 12 RACKABLEUNITMODEL_NX7110 RackableUnitModel = 13 RACKABLEUNITMODEL_NX1020 RackableUnitModel = 14 RACKABLEUNITMODEL_NX9040 RackableUnitModel = 15 RACKABLEUNITMODEL_USELAYOUT RackableUnitModel = 16 RACKABLEUNITMODEL_NULLVALUE RackableUnitModel = 17 )
func (*RackableUnitModel) MarshalJSON ¶
func (e *RackableUnitModel) MarshalJSON() ([]byte, error)
func (RackableUnitModel) Ref ¶
func (e RackableUnitModel) Ref() *RackableUnitModel
func (*RackableUnitModel) UnmarshalJSON ¶
func (e *RackableUnitModel) UnmarshalJSON(b []byte) error
type RackableUnitNode ¶
type RackableUnitNode struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Position of a node in a rackable unit */ Position *int `json:"position,omitempty"` /** Controller VM Id */ SvmId *int64 `json:"svmId,omitempty"` /** UUID of a node */ Uuid *string `json:"uuid,omitempty"` }
* Node information registered to this rackable unit
func NewRackableUnitNode ¶
func NewRackableUnitNode() *RackableUnitNode
type RsyslogModuleItem ¶
type RsyslogModuleItem struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` LogSeverityLevel *RsyslogModuleLogSeverityLevel `json:"logSeverityLevel,omitempty"` /** Option to log monitor files for a module */ Monitor *bool `json:"monitor,omitempty"` Name *RsyslogModuleName `json:"name,omitempty"` }
* RSYSLOG Module information
func NewRsyslogModuleItem ¶
func NewRsyslogModuleItem() *RsyslogModuleItem
type RsyslogModuleLogSeverityLevel ¶
type RsyslogModuleLogSeverityLevel int
* RSYSLOG module log severity level
const ( RSYSLOGMODULELOGSEVERITYLEVEL_UNKNOWN RsyslogModuleLogSeverityLevel = 0 RSYSLOGMODULELOGSEVERITYLEVEL_REDACTED RsyslogModuleLogSeverityLevel = 1 RSYSLOGMODULELOGSEVERITYLEVEL_EMERGENCY RsyslogModuleLogSeverityLevel = 2 RSYSLOGMODULELOGSEVERITYLEVEL_ALERT RsyslogModuleLogSeverityLevel = 3 RSYSLOGMODULELOGSEVERITYLEVEL_CRITICAL RsyslogModuleLogSeverityLevel = 4 RSYSLOGMODULELOGSEVERITYLEVEL_ERROR RsyslogModuleLogSeverityLevel = 5 RSYSLOGMODULELOGSEVERITYLEVEL_WARNING RsyslogModuleLogSeverityLevel = 6 RSYSLOGMODULELOGSEVERITYLEVEL_NOTICE RsyslogModuleLogSeverityLevel = 7 RSYSLOGMODULELOGSEVERITYLEVEL_INFO RsyslogModuleLogSeverityLevel = 8 RSYSLOGMODULELOGSEVERITYLEVEL_DEBUG RsyslogModuleLogSeverityLevel = 9 )
func (*RsyslogModuleLogSeverityLevel) MarshalJSON ¶
func (e *RsyslogModuleLogSeverityLevel) MarshalJSON() ([]byte, error)
func (RsyslogModuleLogSeverityLevel) Ref ¶
func (e RsyslogModuleLogSeverityLevel) Ref() *RsyslogModuleLogSeverityLevel
func (*RsyslogModuleLogSeverityLevel) UnmarshalJSON ¶
func (e *RsyslogModuleLogSeverityLevel) UnmarshalJSON(b []byte) error
type RsyslogModuleName ¶
type RsyslogModuleName int
* RSYSLOG module name
const ( RSYSLOGMODULENAME_UNKNOWN RsyslogModuleName = 0 RSYSLOGMODULENAME_REDACTED RsyslogModuleName = 1 RSYSLOGMODULENAME_CASSANDRA RsyslogModuleName = 2 RSYSLOGMODULENAME_CEREBRO RsyslogModuleName = 3 RSYSLOGMODULENAME_CURATOR RsyslogModuleName = 4 RSYSLOGMODULENAME_GENESIS RsyslogModuleName = 5 RSYSLOGMODULENAME_PRISM RsyslogModuleName = 6 RSYSLOGMODULENAME_STARGATE RsyslogModuleName = 7 RSYSLOGMODULENAME_SYSLOG_MODULE RsyslogModuleName = 8 RSYSLOGMODULENAME_ZOOKEEPER RsyslogModuleName = 9 RSYSLOGMODULENAME_UHARA RsyslogModuleName = 10 RSYSLOGMODULENAME_LAZAN RsyslogModuleName = 11 RSYSLOGMODULENAME_API_AUDIT RsyslogModuleName = 12 RSYSLOGMODULENAME_AUDIT RsyslogModuleName = 13 RSYSLOGMODULENAME_CALM RsyslogModuleName = 14 RSYSLOGMODULENAME_EPSILON RsyslogModuleName = 15 RSYSLOGMODULENAME_ACROPOLIS RsyslogModuleName = 16 RSYSLOGMODULENAME_MINERVA_CVM RsyslogModuleName = 17 RSYSLOGMODULENAME_FLOW RsyslogModuleName = 18 RSYSLOGMODULENAME_FLOW_SERVICE_LOGS RsyslogModuleName = 19 RSYSLOGMODULENAME_LCM RsyslogModuleName = 20 RSYSLOGMODULENAME_APLOS RsyslogModuleName = 21 )
func (*RsyslogModuleName) MarshalJSON ¶
func (e *RsyslogModuleName) MarshalJSON() ([]byte, error)
func (RsyslogModuleName) Ref ¶
func (e RsyslogModuleName) Ref() *RsyslogModuleName
func (*RsyslogModuleName) UnmarshalJSON ¶
func (e *RsyslogModuleName) UnmarshalJSON(b []byte) error
type RsyslogNetworkProtocol ¶
type RsyslogNetworkProtocol int
* RSYSLOG server protocol type
const ( RSYSLOGNETWORKPROTOCOL_UNKNOWN RsyslogNetworkProtocol = 0 RSYSLOGNETWORKPROTOCOL_REDACTED RsyslogNetworkProtocol = 1 RSYSLOGNETWORKPROTOCOL_UDP RsyslogNetworkProtocol = 2 RSYSLOGNETWORKPROTOCOL_TCP RsyslogNetworkProtocol = 3 RSYSLOGNETWORKPROTOCOL_RELP RsyslogNetworkProtocol = 4 )
func (*RsyslogNetworkProtocol) MarshalJSON ¶
func (e *RsyslogNetworkProtocol) MarshalJSON() ([]byte, error)
func (RsyslogNetworkProtocol) Ref ¶
func (e RsyslogNetworkProtocol) Ref() *RsyslogNetworkProtocol
func (*RsyslogNetworkProtocol) UnmarshalJSON ¶
func (e *RsyslogNetworkProtocol) UnmarshalJSON(b []byte) error
type RsyslogServer ¶
type RsyslogServer struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** RSYSLOG server IP address */ IpAddress *string `json:"ipAddress,omitempty"` /** List of modules registered to RSYSLOG server */ Modules []RsyslogModuleItem `json:"modules,omitempty"` NetworkProtocol *RsyslogNetworkProtocol `json:"networkProtocol,omitempty"` /** RSYSLOG server port */ Port *int `json:"port,omitempty"` /** RSYSLOG server name */ ServerName *string `json:"serverName,omitempty"` }
* RSYSLOG Server
func NewRsyslogServer ¶
func NewRsyslogServer() *RsyslogServer
type SmtpNetwork ¶
type SmtpNetwork struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` IpAddress *IpAddresses `json:"ipAddress,omitempty"` /** SMTP server password */ Password *string `json:"password,omitempty"` /** SMTP port */ Port *int `json:"port,omitempty"` /** SMTP server user name */ Username *string `json:"username,omitempty"` }
* SMTP network details
func NewSmtpNetwork ¶
func NewSmtpNetwork() *SmtpNetwork
type SmtpServerRef ¶
type SmtpServerRef struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** SMTP Email address */ EmailAddress *string `json:"emailAddress,omitempty"` Server *SmtpNetwork `json:"server,omitempty"` Type *SmtpType `json:"type,omitempty"` }
* SMTP servers on a cluster
func NewSmtpServerRef ¶
func NewSmtpServerRef() *SmtpServerRef
type SmtpType ¶
type SmtpType int
* Type of SMTP server
func (*SmtpType) MarshalJSON ¶
func (*SmtpType) UnmarshalJSON ¶
type SnmpAuthType ¶
type SnmpAuthType int
* SNMP user authentication type
const ( SNMPAUTHTYPE_UNKNOWN SnmpAuthType = 0 SNMPAUTHTYPE_REDACTED SnmpAuthType = 1 SNMPAUTHTYPE_MD5 SnmpAuthType = 2 SNMPAUTHTYPE_SHA SnmpAuthType = 3 )
func (*SnmpAuthType) MarshalJSON ¶
func (e *SnmpAuthType) MarshalJSON() ([]byte, error)
func (SnmpAuthType) Ref ¶
func (e SnmpAuthType) Ref() *SnmpAuthType
func (*SnmpAuthType) UnmarshalJSON ¶
func (e *SnmpAuthType) UnmarshalJSON(b []byte) error
type SnmpConfig ¶
type SnmpConfig struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** SNMP status */ Status *bool `json:"status,omitempty"` /** SNMP transport details */ Transports []SnmpTransport `json:"transports,omitempty"` /** SNMP trap details */ Traps []SnmpTrap `json:"traps,omitempty"` /** SNMP user information */ Users []SnmpUser `json:"users,omitempty"` }
* SNMP information
func NewSnmpConfig ¶
func NewSnmpConfig() *SnmpConfig
type SnmpPrivType ¶
type SnmpPrivType int
* SNMP user encryption type
const ( SNMPPRIVTYPE_UNKNOWN SnmpPrivType = 0 SNMPPRIVTYPE_REDACTED SnmpPrivType = 1 SNMPPRIVTYPE_DES SnmpPrivType = 2 SNMPPRIVTYPE_AES SnmpPrivType = 3 )
func (*SnmpPrivType) MarshalJSON ¶
func (e *SnmpPrivType) MarshalJSON() ([]byte, error)
func (SnmpPrivType) Ref ¶
func (e SnmpPrivType) Ref() *SnmpPrivType
func (*SnmpPrivType) UnmarshalJSON ¶
func (e *SnmpPrivType) UnmarshalJSON(b []byte) error
type SnmpProtocol ¶
type SnmpProtocol int
* SNMP protocol type
const ( SNMPPROTOCOL_UNKNOWN SnmpProtocol = 0 SNMPPROTOCOL_REDACTED SnmpProtocol = 1 SNMPPROTOCOL_UDP SnmpProtocol = 2 SNMPPROTOCOL_UDP6 SnmpProtocol = 3 SNMPPROTOCOL_TCP SnmpProtocol = 4 SNMPPROTOCOL_TCP6 SnmpProtocol = 5 )
func (*SnmpProtocol) MarshalJSON ¶
func (e *SnmpProtocol) MarshalJSON() ([]byte, error)
func (SnmpProtocol) Ref ¶
func (e SnmpProtocol) Ref() *SnmpProtocol
func (*SnmpProtocol) UnmarshalJSON ¶
func (e *SnmpProtocol) UnmarshalJSON(b []byte) error
type SnmpTransport ¶
type SnmpTransport struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** SNMP port */ Port *int `json:"port,omitempty"` Protocol *SnmpProtocol `json:"protocol,omitempty"` }
* SNMP transport details
func NewSnmpTransport ¶
func NewSnmpTransport() *SnmpTransport
type SnmpTrap ¶
type SnmpTrap struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** SNMP trap address */ Address *string `json:"address,omitempty"` /** Plaintext community string for SNMP version 2.0 */ CommunityString *string `json:"communityString,omitempty"` /** SNMP engine Id */ EngineId *string `json:"engineId,omitempty"` /** SNMP information status */ Inform *bool `json:"inform,omitempty"` /** SNMP port */ Port *int `json:"port,omitempty"` Protocol *SnmpProtocol `json:"protocol,omitempty"` /** SNMP receiver name */ RecieverName *string `json:"recieverName,omitempty"` /** SNMP user name */ Username *string `json:"username,omitempty"` Version *SnmpTrapVersion `json:"version,omitempty"` }
* SNMP trap details
func NewSnmpTrap ¶
func NewSnmpTrap() *SnmpTrap
type SnmpTrapVersion ¶
type SnmpTrapVersion int
* SNMP version
const ( SNMPTRAPVERSION_UNKNOWN SnmpTrapVersion = 0 SNMPTRAPVERSION_REDACTED SnmpTrapVersion = 1 SNMPTRAPVERSION_V2 SnmpTrapVersion = 2 SNMPTRAPVERSION_V3 SnmpTrapVersion = 3 )
func (*SnmpTrapVersion) MarshalJSON ¶
func (e *SnmpTrapVersion) MarshalJSON() ([]byte, error)
func (SnmpTrapVersion) Ref ¶
func (e SnmpTrapVersion) Ref() *SnmpTrapVersion
func (*SnmpTrapVersion) UnmarshalJSON ¶
func (e *SnmpTrapVersion) UnmarshalJSON(b []byte) error
type SnmpUser ¶
type SnmpUser struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** SNMP user authentication key */ AuthKey *string `json:"authKey,omitempty"` AuthType *SnmpAuthType `json:"authType,omitempty"` /** SNMP user encryption key */ PrivKey *string `json:"privKey,omitempty"` PrivType *SnmpPrivType `json:"privType,omitempty"` /** SNMP user name */ Username *string `json:"username,omitempty"` }
* SNMP user information
func NewSnmpUser ¶
func NewSnmpUser() *SnmpUser
type SoftwareMapReference ¶
type SoftwareMapReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` SoftwareType *SoftwareTypeRef `json:"softwareType,omitempty"` /** Software version */ Version *string `json:"version,omitempty"` }
* Cluster software version details
func NewSoftwareMapReference ¶
func NewSoftwareMapReference() *SoftwareMapReference
type SoftwareTypeRef ¶
type SoftwareTypeRef int
* Software type
const ( SOFTWARETYPEREF_UNKNOWN SoftwareTypeRef = 0 SOFTWARETYPEREF_REDACTED SoftwareTypeRef = 1 SOFTWARETYPEREF_NOS SoftwareTypeRef = 2 SOFTWARETYPEREF_NCC SoftwareTypeRef = 3 SOFTWARETYPEREF_PRISM_CENTRAL SoftwareTypeRef = 4 )
func (*SoftwareTypeRef) MarshalJSON ¶
func (e *SoftwareTypeRef) MarshalJSON() ([]byte, error)
func (SoftwareTypeRef) Ref ¶
func (e SoftwareTypeRef) Ref() *SoftwareTypeRef
func (*SoftwareTypeRef) UnmarshalJSON ¶
func (e *SoftwareTypeRef) UnmarshalJSON(b []byte) error
type StorageTierReference ¶
type StorageTierReference int
* Disk storage Tier type
const ( STORAGETIERREFERENCE_UNKNOWN StorageTierReference = 0 STORAGETIERREFERENCE_REDACTED StorageTierReference = 1 STORAGETIERREFERENCE_PCIE_SSD StorageTierReference = 2 STORAGETIERREFERENCE_SATA_SSD StorageTierReference = 3 STORAGETIERREFERENCE_HDD StorageTierReference = 4 )
func (*StorageTierReference) MarshalJSON ¶
func (e *StorageTierReference) MarshalJSON() ([]byte, error)
func (StorageTierReference) Ref ¶
func (e StorageTierReference) Ref() *StorageTierReference
func (*StorageTierReference) UnmarshalJSON ¶
func (e *StorageTierReference) UnmarshalJSON(b []byte) error
type ToleranceMessage ¶
type ToleranceMessage struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** List of tolerance message attributes */ AttributeList []AttributeItem `json:"attributeList,omitempty"` /** Message Id */ Id *string `json:"id,omitempty"` }
* Message contains the component domain fault tolerance text details
func NewToleranceMessage ¶
func NewToleranceMessage() *ToleranceMessage