Documentation
¶
Overview ¶
Configure Hosts, Clusters and other Infrastructure
Index ¶
- type AcropolisConnectionState
- type AddNodeTaskResponse
- type AddRsyslogServerTaskApiResponse
- type AddSnmpTransportsTaskApiResponse
- type AddSnmpTrapTaskApiResponse
- type AddSnmpUserTaskApiResponse
- type AddressType
- type AttributeItem
- type BackplaneNetworkParams
- type BlockItem
- type BuildReference
- type BundleInfo
- type BundleParam
- type Cluster
- type ClusterArchReference
- type ClusterConfigReference
- type ClusterCreateTaskResponse
- type ClusterDestroyTaskResponse
- type ClusterFunctionRef
- type ClusterNetworkReference
- type ClusterReference
- type ComponentFaultTolerance
- type ComponentType
- type ComputeNodeItem
- type ConfigParams
- type ControllerVmReference
- type DeleteRsyslogServerTaskApiResponse
- type DeleteSnmpTrapTaskApiResponse
- type DeleteSnmpUserTaskApiResponse
- type DigitalCertificateMapReference
- type DiscoverNodeTaskApiResponse
- type DiskReference
- type DomainAwarenessLevel
- type DomainFaultTolerance
- type DomainType
- type EncryptionOptionInfo
- type EncryptionScopeInfo
- type EncryptionStatus
- type ExpandClusterParams
- type FaultToleranceState
- type GetAllHostGpusResponse
- type GetAllHostsResponse
- type GetClusterHostGpusResponse
- type GetClusterResponse
- type GetClustersResponse
- type GetDomainFaultToleranceResponse
- type GetGpuProfilesResponse
- type GetHostGpuResponse
- type GetHostGpusResponse
- type GetHostNicResponse
- type GetHostNicsResponse
- type GetHostResponse
- type GetHostsResponse
- type GetNodeNetworkingTaskApiResponse
- type GetRackableUnitResponse
- type GetRackableUnitsResponse
- type GetRsyslogServerResponse
- type GetRsyslogServersResponse
- type GetSearchResponse
- type GetSnmpResponse
- type GetSnmpTrapResponse
- type GetSnmpUserResponse
- type GetVirtualNicResponse
- type GetVirtualNicsResponse
- type GpuConfig
- type GpuMode
- type GpuProfile
- type GpuType
- type Host
- type HostGpu
- type HostNameParam
- type HostNic
- type HostRenameResponse
- type HostTypeEnum
- type HypervCredentials
- type HypervisorIsoMap
- type HypervisorReference
- type HypervisorState
- type HypervisorType
- type HypervisorUploadInfo
- type HypervisorUploadNodeListItem
- type HypervisorUploadParam
- type HypervisorUplpadRequiredTaskResponse
- type IpmiReference
- type KeyManagementDeviceToCertStatusInfo
- type KeyManagementServerType
- type ManagementServerRef
- type ManagementServerType
- type NameMacRef
- type NameNetworkRef
- type NetworkInfo
- type NetworkSwitchInterface
- type NodeDetails
- type NodeDiscoveryParams
- type NodeInfo
- type NodeItem
- type NodeListItemReference
- type NodeListNetworkingDetails
- type NodeNetworkingDetails
- type NodeParam
- type NodeReference
- type NodeRemovalExtraParam
- type NodeRemovalParams
- type NodeStatus
- type OneOfAddNodeTaskResponseData
- type OneOfAddRsyslogServerTaskApiResponseData
- func (p *OneOfAddRsyslogServerTaskApiResponseData) GetValue() interface{}
- func (p *OneOfAddRsyslogServerTaskApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfAddRsyslogServerTaskApiResponseData) SetValue(v interface{}) error
- func (p *OneOfAddRsyslogServerTaskApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfAddSnmpTransportsTaskApiResponseData
- func (p *OneOfAddSnmpTransportsTaskApiResponseData) GetValue() interface{}
- func (p *OneOfAddSnmpTransportsTaskApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfAddSnmpTransportsTaskApiResponseData) SetValue(v interface{}) error
- func (p *OneOfAddSnmpTransportsTaskApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfAddSnmpTrapTaskApiResponseData
- type OneOfAddSnmpUserTaskApiResponseData
- type OneOfClusterCreateTaskResponseData
- type OneOfClusterDestroyTaskResponseData
- type OneOfDeleteRsyslogServerTaskApiResponseData
- func (p *OneOfDeleteRsyslogServerTaskApiResponseData) GetValue() interface{}
- func (p *OneOfDeleteRsyslogServerTaskApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfDeleteRsyslogServerTaskApiResponseData) SetValue(v interface{}) error
- func (p *OneOfDeleteRsyslogServerTaskApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfDeleteSnmpTrapTaskApiResponseData
- func (p *OneOfDeleteSnmpTrapTaskApiResponseData) GetValue() interface{}
- func (p *OneOfDeleteSnmpTrapTaskApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfDeleteSnmpTrapTaskApiResponseData) SetValue(v interface{}) error
- func (p *OneOfDeleteSnmpTrapTaskApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfDeleteSnmpUserTaskApiResponseData
- func (p *OneOfDeleteSnmpUserTaskApiResponseData) GetValue() interface{}
- func (p *OneOfDeleteSnmpUserTaskApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfDeleteSnmpUserTaskApiResponseData) SetValue(v interface{}) error
- func (p *OneOfDeleteSnmpUserTaskApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfDiscoverNodeTaskApiResponseData
- func (p *OneOfDiscoverNodeTaskApiResponseData) GetValue() interface{}
- func (p *OneOfDiscoverNodeTaskApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfDiscoverNodeTaskApiResponseData) SetValue(v interface{}) error
- func (p *OneOfDiscoverNodeTaskApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfGetAllHostGpusResponseData
- type OneOfGetAllHostsResponseData
- 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 OneOfGetHostNicResponseData
- type OneOfGetHostNicsResponseData
- type OneOfGetHostResponseData
- type OneOfGetHostsResponseData
- type OneOfGetNodeNetworkingTaskApiResponseData
- func (p *OneOfGetNodeNetworkingTaskApiResponseData) GetValue() interface{}
- func (p *OneOfGetNodeNetworkingTaskApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfGetNodeNetworkingTaskApiResponseData) SetValue(v interface{}) error
- func (p *OneOfGetNodeNetworkingTaskApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfGetRackableUnitResponseData
- type OneOfGetRackableUnitsResponseData
- type OneOfGetRsyslogServerResponseData
- type OneOfGetRsyslogServersResponseData
- type OneOfGetSearchResponseData
- type OneOfGetSnmpResponseData
- type OneOfGetSnmpTrapResponseData
- type OneOfGetSnmpUserResponseData
- type OneOfGetVirtualNicResponseData
- type OneOfGetVirtualNicsResponseData
- type OneOfHostRenameResponseData
- type OneOfHypervisorUplpadRequiredTaskResponseData
- func (p *OneOfHypervisorUplpadRequiredTaskResponseData) GetValue() interface{}
- func (p *OneOfHypervisorUplpadRequiredTaskResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfHypervisorUplpadRequiredTaskResponseData) SetValue(v interface{}) error
- func (p *OneOfHypervisorUplpadRequiredTaskResponseData) UnmarshalJSON(b []byte) error
- type OneOfRemoveNodeTaskResponseData
- type OneOfRemoveSnmpTransportsTaskApiResponseData
- func (p *OneOfRemoveSnmpTransportsTaskApiResponseData) GetValue() interface{}
- func (p *OneOfRemoveSnmpTransportsTaskApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfRemoveSnmpTransportsTaskApiResponseData) SetValue(v interface{}) error
- func (p *OneOfRemoveSnmpTransportsTaskApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfSearchResponseResponse
- type OneOfUpdateClusterTaskApiResponseData
- func (p *OneOfUpdateClusterTaskApiResponseData) GetValue() interface{}
- func (p *OneOfUpdateClusterTaskApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfUpdateClusterTaskApiResponseData) SetValue(v interface{}) error
- func (p *OneOfUpdateClusterTaskApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfUpdateRsyslogServerTaskApiResponseData
- func (p *OneOfUpdateRsyslogServerTaskApiResponseData) GetValue() interface{}
- func (p *OneOfUpdateRsyslogServerTaskApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfUpdateRsyslogServerTaskApiResponseData) SetValue(v interface{}) error
- func (p *OneOfUpdateRsyslogServerTaskApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfUpdateSnmpStatusTaskApiResponseData
- func (p *OneOfUpdateSnmpStatusTaskApiResponseData) GetValue() interface{}
- func (p *OneOfUpdateSnmpStatusTaskApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfUpdateSnmpStatusTaskApiResponseData) SetValue(v interface{}) error
- func (p *OneOfUpdateSnmpStatusTaskApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfUpdateSnmpTrapTaskApiResponseData
- func (p *OneOfUpdateSnmpTrapTaskApiResponseData) GetValue() interface{}
- func (p *OneOfUpdateSnmpTrapTaskApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfUpdateSnmpTrapTaskApiResponseData) SetValue(v interface{}) error
- func (p *OneOfUpdateSnmpTrapTaskApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfUpdateSnmpUserTaskApiResponseData
- func (p *OneOfUpdateSnmpUserTaskApiResponseData) GetValue() interface{}
- func (p *OneOfUpdateSnmpUserTaskApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfUpdateSnmpUserTaskApiResponseData) SetValue(v interface{}) error
- func (p *OneOfUpdateSnmpUserTaskApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfValidateNodeParamSpec
- type OneOfValidateNodeTaskResponseData
- type OperationMode
- type PublicKey
- type RackReference
- type RackableUnit
- type RackableUnitModel
- type RackableUnitNode
- type RemoveNodeTaskResponse
- type RemoveSnmpTransportsTaskApiResponse
- type RsyslogModuleItem
- type RsyslogModuleLogSeverityLevel
- type RsyslogModuleName
- type RsyslogNetworkProtocol
- type RsyslogServer
- type SearchParams
- type SearchResponse
- type SearchType
- type SmtpNetwork
- type SmtpServerRef
- type SmtpType
- type SnmpAuthType
- type SnmpConfig
- type SnmpPrivType
- type SnmpProtocol
- type SnmpStatusParam
- type SnmpTransport
- type SnmpTrap
- type SnmpTrapVersion
- type SnmpUser
- type SoftwareMapReference
- type SoftwareTypeRef
- type StorageTierReference
- type ToleranceMessage
- type UnconfigureNodeDetails
- type UnconfiguredNodeAttributeMap
- type UnconfiguredNodeListItem
- type UpdateClusterTaskApiResponse
- type UpdateRsyslogServerTaskApiResponse
- type UpdateSnmpStatusTaskApiResponse
- type UpdateSnmpTrapTaskApiResponse
- type UpdateSnmpUserTaskApiResponse
- type UpgradeStatus
- type UplinkInfo
- type UplinkNetworkItem
- type UplinkNode
- type Uplinks
- type UplinksField
- type UploadInfoNodeItem
- type UserInfo
- type ValidateBundleInfo
- type ValidateNodeParam
- type ValidateNodeTaskResponse
- type VirtualNic
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) GetName ¶
func (e AcropolisConnectionState) GetName() string
Returns the name of the enum
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 AddNodeTaskResponse ¶
type AddNodeTaskResponse 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 *OneOfAddNodeTaskResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{extId}/$actions/expand-cluster Post operation
func NewAddNodeTaskResponse ¶
func NewAddNodeTaskResponse() *AddNodeTaskResponse
func (*AddNodeTaskResponse) GetData ¶
func (p *AddNodeTaskResponse) GetData() interface{}
func (*AddNodeTaskResponse) SetData ¶
func (p *AddNodeTaskResponse) SetData(v interface{}) error
type AddRsyslogServerTaskApiResponse ¶
type AddRsyslogServerTaskApiResponse 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 *OneOfAddRsyslogServerTaskApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{extId}/rsyslog-servers Post operation
func NewAddRsyslogServerTaskApiResponse ¶
func NewAddRsyslogServerTaskApiResponse() *AddRsyslogServerTaskApiResponse
func (*AddRsyslogServerTaskApiResponse) GetData ¶
func (p *AddRsyslogServerTaskApiResponse) GetData() interface{}
func (*AddRsyslogServerTaskApiResponse) SetData ¶
func (p *AddRsyslogServerTaskApiResponse) SetData(v interface{}) error
type AddSnmpTransportsTaskApiResponse ¶
type AddSnmpTransportsTaskApiResponse 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 *OneOfAddSnmpTransportsTaskApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{extId}/snmp/$actions/add-transports Post operation
func NewAddSnmpTransportsTaskApiResponse ¶
func NewAddSnmpTransportsTaskApiResponse() *AddSnmpTransportsTaskApiResponse
func (*AddSnmpTransportsTaskApiResponse) GetData ¶
func (p *AddSnmpTransportsTaskApiResponse) GetData() interface{}
func (*AddSnmpTransportsTaskApiResponse) SetData ¶
func (p *AddSnmpTransportsTaskApiResponse) SetData(v interface{}) error
type AddSnmpTrapTaskApiResponse ¶
type AddSnmpTrapTaskApiResponse 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 *OneOfAddSnmpTrapTaskApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{extId}/snmp/traps Post operation
func NewAddSnmpTrapTaskApiResponse ¶
func NewAddSnmpTrapTaskApiResponse() *AddSnmpTrapTaskApiResponse
func (*AddSnmpTrapTaskApiResponse) GetData ¶
func (p *AddSnmpTrapTaskApiResponse) GetData() interface{}
func (*AddSnmpTrapTaskApiResponse) SetData ¶
func (p *AddSnmpTrapTaskApiResponse) SetData(v interface{}) error
type AddSnmpUserTaskApiResponse ¶
type AddSnmpUserTaskApiResponse 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 *OneOfAddSnmpUserTaskApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{extId}/snmp/users Post operation
func NewAddSnmpUserTaskApiResponse ¶
func NewAddSnmpUserTaskApiResponse() *AddSnmpUserTaskApiResponse
func (*AddSnmpUserTaskApiResponse) GetData ¶
func (p *AddSnmpUserTaskApiResponse) GetData() interface{}
func (*AddSnmpUserTaskApiResponse) SetData ¶
func (p *AddSnmpUserTaskApiResponse) SetData(v interface{}) error
type AddressType ¶
type AddressType int
Indicates whether the address type is IPV4/IPV6
const ( ADDRESSTYPE_UNKNOWN AddressType = 0 ADDRESSTYPE_REDACTED AddressType = 1 ADDRESSTYPE_IPV4 AddressType = 2 ADDRESSTYPE_IPV6 AddressType = 3 )
func (*AddressType) MarshalJSON ¶
func (e *AddressType) MarshalJSON() ([]byte, error)
func (AddressType) Ref ¶
func (e AddressType) Ref() *AddressType
func (*AddressType) UnmarshalJSON ¶
func (e *AddressType) 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 BackplaneNetworkParams ¶
type BackplaneNetworkParams struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Flag to indicate if the backplane segmentation needs to be enabled or not */ IsSegmentationEnabled *bool `json:"isSegmentationEnabled,omitempty"` Netmask *import4.IPv4Address `json:"netmask,omitempty"` Subnet *import4.IPv4Address `json:"subnet,omitempty"` /* VLAN Id tagged to the backplane network on the cluster. This is part of cluster create payload. */ VlanTag *int64 `json:"vlanTag,omitempty"` }
Params associated to the backplane network segmentation. This is part of payload for cluster create operation only.
func NewBackplaneNetworkParams ¶
func NewBackplaneNetworkParams() *BackplaneNetworkParams
type BlockItem ¶
type BlockItem struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Rackable unit serial name */ BlockId *string `json:"blockId,omitempty"` /* Rack name */ RackName *string `json:"rackName,omitempty"` }
Block item containing block serial and rack name
func NewBlockItem ¶
func NewBlockItem() *BlockItem
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 BundleInfo ¶
type BundleInfo struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Name of the hypervisor bundle */ Name *string `json:"name,omitempty"` }
Hypervisor bundle information
func NewBundleInfo ¶
func NewBundleInfo() *BundleInfo
type BundleParam ¶
type BundleParam struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` BundleInfo *BundleInfo `json:"bundleInfo"` /* List of node attributes for validating bundle compatibility */ NodeList []NodeInfo `json:"nodeList"` }
ISO attributes to validate compatibility
func NewBundleParam ¶
func NewBundleParam() *BundleParam
func (*BundleParam) MarshalJSON ¶
func (p *BundleParam) MarshalJSON() ([]byte, error)
type Cluster ¶
type Cluster 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"` /* The name of the default container created as part of cluster creation. This is part of payload for cluster create operation only */ ContainerName *string `json:"containerName,omitempty"` /* A globally unique identifier of an instance that is suitable for external consumption. */ ExtId *string `json:"extId,omitempty"` /* Number of inefficient VMs */ InefficientVmCount *int64 `json:"inefficientVmCount,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 []import3.ApiLink `json:"links,omitempty"` /* Cluster name. This is part of payload for both cluster create & update operations. */ 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"` UpgradeStatus *UpgradeStatus `json:"upgradeStatus,omitempty"` /* Number of VMs */ VmCount *int64 `json:"vmCount,omitempty"` }
func NewCluster ¶
func NewCluster() *Cluster
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) GetName ¶
func (e ClusterArchReference) GetName() string
Returns the name of the enum
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. This is part of payload for cluster update operation only. */ AuthorizedPublicKeyList []PublicKey `json:"authorizedPublicKeyList,omitempty"` BuildInfo *BuildReference `json:"buildInfo,omitempty"` ClusterArch *ClusterArchReference `json:"clusterArch,omitempty"` /* Cluster function. This is part of payload for cluster create operation only (allowed enum values for creation are AOS, ONE_NODE & TWO_NODE only). */ ClusterFunction []ClusterFunctionRef `json:"clusterFunction,omitempty"` /* Cluster software version details */ ClusterSoftwareMap []SoftwareMapReference `json:"clusterSoftwareMap,omitempty"` EncryptionInTransitStatus *EncryptionStatus `json:"encryptionInTransitStatus,omitempty"` /* Encryption option */ EncryptionOption []EncryptionOptionInfo `json:"encryptionOption,omitempty"` /* Encryption scope */ EncryptionScope []EncryptionScopeInfo `json:"encryptionScope,omitempty"` FaultToleranceState *FaultToleranceState `json:"faultToleranceState,omitempty"` /* Hypervisor type */ HypervisorTypes []HypervisorType `json:"hypervisorTypes,omitempty"` /* Cluster incarnation Id. This is part of payload for cluster update operation only. */ 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"` /* Indicates whether the password ssh into the cluster is enabled or not */ PasswordRemoteLoginEnabled *bool `json:"passwordRemoteLoginEnabled,omitempty"` /* Redundancy factor of a cluster. This is part of payload for both cluster create & update operations. */ 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 ClusterCreateTaskResponse ¶
type ClusterCreateTaskResponse 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 *OneOfClusterCreateTaskResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters Post operation
func NewClusterCreateTaskResponse ¶
func NewClusterCreateTaskResponse() *ClusterCreateTaskResponse
func (*ClusterCreateTaskResponse) GetData ¶
func (p *ClusterCreateTaskResponse) GetData() interface{}
func (*ClusterCreateTaskResponse) SetData ¶
func (p *ClusterCreateTaskResponse) SetData(v interface{}) error
type ClusterDestroyTaskResponse ¶
type ClusterDestroyTaskResponse 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 *OneOfClusterDestroyTaskResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{extId} Delete operation
func NewClusterDestroyTaskResponse ¶
func NewClusterDestroyTaskResponse() *ClusterDestroyTaskResponse
func (*ClusterDestroyTaskResponse) GetData ¶
func (p *ClusterDestroyTaskResponse) GetData() interface{}
func (*ClusterDestroyTaskResponse) SetData ¶
func (p *ClusterDestroyTaskResponse) SetData(v interface{}) error
type ClusterFunctionRef ¶
type ClusterFunctionRef int
Cluster function. This is part of payload for cluster create operation only (allowed enum values for creation are AOS, ONE_NODE & TWO_NODE only).
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_ONE_NODE ClusterFunctionRef = 6 CLUSTERFUNCTIONREF_TWO_NODE ClusterFunctionRef = 7 CLUSTERFUNCTIONREF_ANALYTICS_PLATFORM ClusterFunctionRef = 8 )
func (ClusterFunctionRef) GetName ¶
func (e ClusterFunctionRef) GetName() string
Returns the name of the enum
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"` Backplane *BackplaneNetworkParams `json:"backplane,omitempty"` ExternalAddress *import4.IPAddress `json:"externalAddress,omitempty"` ExternalDataServiceIp *import4.IPAddress `json:"externalDataServiceIp,omitempty"` /* Cluster external subnet address */ ExternalSubnet *string `json:"externalSubnet,omitempty"` /* Cluster fully qualified domain name. This is part of payload for cluster update operation only. */ Fqdn *string `json:"fqdn,omitempty"` /* Cluster internal subnet address */ InternalSubnet *string `json:"internalSubnet,omitempty"` KeyManagementServerType *KeyManagementServerType `json:"keyManagementServerType,omitempty"` ManagementServer *ManagementServerRef `json:"managementServer,omitempty"` MasqueradingIp *import4.IPAddress `json:"masqueradingIp,omitempty"` /* The port to connect to the cluster when using masquerading IP */ MasqueradingPort *int `json:"masqueradingPort,omitempty"` /* List of name servers on a cluster. This is part of payload for both cluster create & update operations. For create operation, only ipv4 address / fqdn values are supported currently. */ NameServerIpList []import4.IPAddressOrFQDN `json:"nameServerIpList,omitempty"` /* NFS subnet whitelist addresses. This is part of payload for cluster update operation only. */ NfsSubnetWhitelist []string `json:"nfsSubnetWhitelist,omitempty"` /* List of NTP servers on a cluster. This is part of payload for both cluster create & update operations. For create operation, only ipv4 address / fqdn values are supported currently. */ NtpServerIpList []import4.IPAddressOrFQDN `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. This is part of payload for both cluster create & update operations. */ Name *string `json:"name,omitempty"` /* Cluster UUID */ Uuid *string `json:"uuid,omitempty"` }
Cluster reference for an entity
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 *time.Time `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 ComputeNodeItem ¶
type ComputeNodeItem struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Rackable unit Id in which node resides */ BlockId *string `json:"blockId,omitempty"` /* List of objects containing digital_certificate_base64 and key_management_server_uuid fields for key management server */ DigitalCertificateMapList []DigitalCertificateMapReference `json:"digitalCertificateMapList,omitempty"` /* Name of the host */ HypervisorHostname *string `json:"hypervisorHostname,omitempty"` HypervisorIp *import4.IPAddress `json:"hypervisorIp,omitempty"` IpmiIp *import4.IPAddress `json:"ipmiIp,omitempty"` /* Rackable unit model type */ Model *string `json:"model,omitempty"` /* Position of a node in a rackable unit */ NodePosition *string `json:"nodePosition,omitempty"` /* UUID of the host */ NodeUuid *string `json:"nodeUuid,omitempty"` }
Compute node details
func NewComputeNodeItem ¶
func NewComputeNodeItem() *ComputeNodeItem
type ConfigParams ¶
type ConfigParams struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` Hyperv *HypervCredentials `json:"hyperv,omitempty"` /* Indicates whether the node is compute only or not */ IsComputeOnly *bool `json:"isComputeOnly,omitempty"` /* Indicates if node is compatible or not */ IsNosCompatible *bool `json:"isNosCompatible,omitempty"` /* Indicates whether the node is marked to be never schedulable or not. */ NeverScheduleable *bool `json:"neverScheduleable,omitempty"` /* Indicates if node discovery need to be skipped or not */ SkipDiscovery *bool `json:"skipDiscovery,omitempty"` /* Indicates if node imaging needs to be skipped or not */ SkipImaging *bool `json:"skipImaging,omitempty"` /* Target hypervisor */ TargetHypervisor *string `json:"targetHypervisor,omitempty"` /* Indicates if rack awareness needs to be validated or not */ ValidateRackAwareness *bool `json:"validateRackAwareness,omitempty"` }
Config parameters
func NewConfigParams ¶
func NewConfigParams() *ConfigParams
type ControllerVmReference ¶
type ControllerVmReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` BackplaneAddress *import4.IPAddress `json:"backplaneAddress,omitempty"` ExternalAddress *import4.IPAddress `json:"externalAddress,omitempty"` /* Controller VM Id */ Id *int64 `json:"id,omitempty"` Ipmi *IpmiReference `json:"ipmi,omitempty"` /* Maintenance mode status */ MaintenanceMode *bool `json:"maintenanceMode,omitempty"` NatIp *import4.IPAddress `json:"natIp,omitempty"` /* NAT port */ NatPort *int `json:"natPort,omitempty"` /* Rackable unit UUID */ RackableUnitUuid *string `json:"rackableUnitUuid,omitempty"` /* RDMA backplane address */ RdmaBackplaneAddress []import4.IPAddress `json:"rdmaBackplaneAddress,omitempty"` }
Host entity with its attributes
func NewControllerVmReference ¶
func NewControllerVmReference() *ControllerVmReference
type DeleteRsyslogServerTaskApiResponse ¶
type DeleteRsyslogServerTaskApiResponse 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 *OneOfDeleteRsyslogServerTaskApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{clusterExtId}/rsyslog-servers/{extId} Delete operation
func NewDeleteRsyslogServerTaskApiResponse ¶
func NewDeleteRsyslogServerTaskApiResponse() *DeleteRsyslogServerTaskApiResponse
func (*DeleteRsyslogServerTaskApiResponse) GetData ¶
func (p *DeleteRsyslogServerTaskApiResponse) GetData() interface{}
func (*DeleteRsyslogServerTaskApiResponse) SetData ¶
func (p *DeleteRsyslogServerTaskApiResponse) SetData(v interface{}) error
type DeleteSnmpTrapTaskApiResponse ¶
type DeleteSnmpTrapTaskApiResponse 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 *OneOfDeleteSnmpTrapTaskApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{clusterExtId}/snmp/traps/{extId} Delete operation
func NewDeleteSnmpTrapTaskApiResponse ¶
func NewDeleteSnmpTrapTaskApiResponse() *DeleteSnmpTrapTaskApiResponse
func (*DeleteSnmpTrapTaskApiResponse) GetData ¶
func (p *DeleteSnmpTrapTaskApiResponse) GetData() interface{}
func (*DeleteSnmpTrapTaskApiResponse) SetData ¶
func (p *DeleteSnmpTrapTaskApiResponse) SetData(v interface{}) error
type DeleteSnmpUserTaskApiResponse ¶
type DeleteSnmpUserTaskApiResponse 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 *OneOfDeleteSnmpUserTaskApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{clusterExtId}/snmp/users/{extId} Delete operation
func NewDeleteSnmpUserTaskApiResponse ¶
func NewDeleteSnmpUserTaskApiResponse() *DeleteSnmpUserTaskApiResponse
func (*DeleteSnmpUserTaskApiResponse) GetData ¶
func (p *DeleteSnmpUserTaskApiResponse) GetData() interface{}
func (*DeleteSnmpUserTaskApiResponse) SetData ¶
func (p *DeleteSnmpUserTaskApiResponse) SetData(v interface{}) error
type DigitalCertificateMapReference ¶
type DigitalCertificateMapReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Field containing digital_certificate_base64 and key_management_server_uuid for key management server */ Key *string `json:"key,omitempty"` /* Value for the fields digital_certificate_base64 and key_management_server_uuid for key management server */ Value *string `json:"value,omitempty"` }
Object containing digital_certificate_base64 and key_management_server_uuid fields for key management server
func NewDigitalCertificateMapReference ¶
func NewDigitalCertificateMapReference() *DigitalCertificateMapReference
type DiscoverNodeTaskApiResponse ¶
type DiscoverNodeTaskApiResponse 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 *OneOfDiscoverNodeTaskApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{extId}/$actions/discover-unconfigured-nodes Post operation
func NewDiscoverNodeTaskApiResponse ¶
func NewDiscoverNodeTaskApiResponse() *DiscoverNodeTaskApiResponse
func (*DiscoverNodeTaskApiResponse) GetData ¶
func (p *DiscoverNodeTaskApiResponse) GetData() interface{}
func (*DiscoverNodeTaskApiResponse) SetData ¶
func (p *DiscoverNodeTaskApiResponse) SetData(v interface{}) error
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 mount path */ MountPath *string `json:"mountPath,omitempty"` /* Disk serial Id */ SerialId *string `json:"serialId,omitempty"` /* Disk size */ SizeInBytes *int64 `json:"sizeInBytes,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 corresponds to unit of cluster group. This is part of payload for both cluster create & update operations.
const ( DOMAINAWARENESSLEVEL_UNKNOWN DomainAwarenessLevel = 0 DOMAINAWARENESSLEVEL_REDACTED DomainAwarenessLevel = 1 DOMAINAWARENESSLEVEL_NODE DomainAwarenessLevel = 2 DOMAINAWARENESSLEVEL_BLOCK DomainAwarenessLevel = 3 DOMAINAWARENESSLEVEL_RACK DomainAwarenessLevel = 4 DOMAINAWARENESSLEVEL_DISK DomainAwarenessLevel = 5 )
func (DomainAwarenessLevel) GetName ¶
func (e DomainAwarenessLevel) GetName() string
Returns the name of the enum
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_CUSTOM DomainType = 2 DOMAINTYPE_DISK DomainType = 3 DOMAINTYPE_NODE DomainType = 4 DOMAINTYPE_RACKABLE_UNIT DomainType = 5 DOMAINTYPE_RACK DomainType = 6 DOMAINTYPE_CLUSTER DomainType = 7 )
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 EncryptionOptionInfo ¶
type EncryptionOptionInfo int
Encryption option
const ( ENCRYPTIONOPTIONINFO_UNKNOWN EncryptionOptionInfo = 0 ENCRYPTIONOPTIONINFO_REDACTED EncryptionOptionInfo = 1 ENCRYPTIONOPTIONINFO_SOFTWARE EncryptionOptionInfo = 2 ENCRYPTIONOPTIONINFO_HARDWARE EncryptionOptionInfo = 3 ENCRYPTIONOPTIONINFO_SOFTWARE_AND_HARDWARE EncryptionOptionInfo = 4 )
func (EncryptionOptionInfo) GetName ¶
func (e EncryptionOptionInfo) GetName() string
Returns the name of the enum
func (*EncryptionOptionInfo) MarshalJSON ¶
func (e *EncryptionOptionInfo) MarshalJSON() ([]byte, error)
func (EncryptionOptionInfo) Ref ¶
func (e EncryptionOptionInfo) Ref() *EncryptionOptionInfo
func (*EncryptionOptionInfo) UnmarshalJSON ¶
func (e *EncryptionOptionInfo) UnmarshalJSON(b []byte) error
type EncryptionScopeInfo ¶
type EncryptionScopeInfo int
Encryption scope
const ( ENCRYPTIONSCOPEINFO_UNKNOWN EncryptionScopeInfo = 0 ENCRYPTIONSCOPEINFO_REDACTED EncryptionScopeInfo = 1 ENCRYPTIONSCOPEINFO_CLUSTER EncryptionScopeInfo = 2 ENCRYPTIONSCOPEINFO_CONTAINER EncryptionScopeInfo = 3 )
func (EncryptionScopeInfo) GetName ¶
func (e EncryptionScopeInfo) GetName() string
Returns the name of the enum
func (*EncryptionScopeInfo) MarshalJSON ¶
func (e *EncryptionScopeInfo) MarshalJSON() ([]byte, error)
func (EncryptionScopeInfo) Ref ¶
func (e EncryptionScopeInfo) Ref() *EncryptionScopeInfo
func (*EncryptionScopeInfo) UnmarshalJSON ¶
func (e *EncryptionScopeInfo) UnmarshalJSON(b []byte) error
type EncryptionStatus ¶
type EncryptionStatus int
Encryption in transit Status
const ( ENCRYPTIONSTATUS_UNKNOWN EncryptionStatus = 0 ENCRYPTIONSTATUS_REDACTED EncryptionStatus = 1 ENCRYPTIONSTATUS_ENABLED EncryptionStatus = 2 ENCRYPTIONSTATUS_DISABLED EncryptionStatus = 3 )
func (EncryptionStatus) GetName ¶
func (e EncryptionStatus) GetName() string
Returns the name of the enum
func (*EncryptionStatus) MarshalJSON ¶
func (e *EncryptionStatus) MarshalJSON() ([]byte, error)
func (EncryptionStatus) Ref ¶
func (e EncryptionStatus) Ref() *EncryptionStatus
func (*EncryptionStatus) UnmarshalJSON ¶
func (e *EncryptionStatus) UnmarshalJSON(b []byte) error
type ExpandClusterParams ¶
type ExpandClusterParams struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` ConfigParams *ConfigParams `json:"configParams,omitempty"` NodeParams *NodeParam `json:"nodeParams"` /* Indicates if node addition can be skipped */ SkipAddNode *bool `json:"skipAddNode,omitempty"` /* Indicates if pre-expand checks can be skipped for node addition */ SkipPreExpandChecks *bool `json:"skipPreExpandChecks,omitempty"` }
Property of the node to be added
func NewExpandClusterParams ¶
func NewExpandClusterParams() *ExpandClusterParams
func (*ExpandClusterParams) MarshalJSON ¶
func (p *ExpandClusterParams) MarshalJSON() ([]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"` /* Maximum fault tolerance desired. */ DesiredMaxFaultTolerance *int `json:"desiredMaxFaultTolerance,omitempty"` DomainAwarenessLevel *DomainAwarenessLevel `json:"domainAwarenessLevel,omitempty"` }
Fault tolerant state of cluster
func NewFaultToleranceState ¶
func NewFaultToleranceState() *FaultToleranceState
type GetAllHostGpusResponse ¶
type GetAllHostGpusResponse 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 *OneOfGetAllHostGpusResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/host-gpus Get operation
func NewGetAllHostGpusResponse ¶
func NewGetAllHostGpusResponse() *GetAllHostGpusResponse
func (*GetAllHostGpusResponse) GetData ¶
func (p *GetAllHostGpusResponse) GetData() interface{}
func (*GetAllHostGpusResponse) SetData ¶
func (p *GetAllHostGpusResponse) SetData(v interface{}) error
type GetAllHostsResponse ¶
type GetAllHostsResponse 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 *OneOfGetAllHostsResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/hosts Get operation
func NewGetAllHostsResponse ¶
func NewGetAllHostsResponse() *GetAllHostsResponse
func (*GetAllHostsResponse) GetData ¶
func (p *GetAllHostsResponse) GetData() interface{}
func (*GetAllHostsResponse) SetData ¶
func (p *GetAllHostsResponse) SetData(v interface{}) error
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 *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{extId}/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 *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{extId} 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 *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/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 *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{extId}/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 *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{extId}/host-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 *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{clusterExtId}/hosts/{hostExtId}/host-gpus/{extId} 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 *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{clusterExtId}/hosts/{extId}/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 GetHostNicResponse ¶
type GetHostNicResponse 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 *OneOfGetHostNicResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{clusterExtId}/hosts/{hostExtId}/host-nics/{extId} Get operation
func NewGetHostNicResponse ¶
func NewGetHostNicResponse() *GetHostNicResponse
func (*GetHostNicResponse) GetData ¶
func (p *GetHostNicResponse) GetData() interface{}
func (*GetHostNicResponse) SetData ¶
func (p *GetHostNicResponse) SetData(v interface{}) error
type GetHostNicsResponse ¶
type GetHostNicsResponse 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 *OneOfGetHostNicsResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{clusterExtId}/hosts/{extId}/host-nics Get operation
func NewGetHostNicsResponse ¶
func NewGetHostNicsResponse() *GetHostNicsResponse
func (*GetHostNicsResponse) GetData ¶
func (p *GetHostNicsResponse) GetData() interface{}
func (*GetHostNicsResponse) SetData ¶
func (p *GetHostNicsResponse) 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 *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{clusterExtId}/hosts/{extId} 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 *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{extId}/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 GetNodeNetworkingTaskApiResponse ¶
type GetNodeNetworkingTaskApiResponse 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 *OneOfGetNodeNetworkingTaskApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{extId}/$actions/fetch-node-networking-details Post operation
func NewGetNodeNetworkingTaskApiResponse ¶
func NewGetNodeNetworkingTaskApiResponse() *GetNodeNetworkingTaskApiResponse
func (*GetNodeNetworkingTaskApiResponse) GetData ¶
func (p *GetNodeNetworkingTaskApiResponse) GetData() interface{}
func (*GetNodeNetworkingTaskApiResponse) SetData ¶
func (p *GetNodeNetworkingTaskApiResponse) 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 *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{clusterExtId}/rackable-units/{extId} 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 *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{extId}/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 GetRsyslogServerResponse ¶
type GetRsyslogServerResponse 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 *OneOfGetRsyslogServerResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{clusterExtId}/rsyslog-servers/{extId} Get operation
func NewGetRsyslogServerResponse ¶
func NewGetRsyslogServerResponse() *GetRsyslogServerResponse
func (*GetRsyslogServerResponse) GetData ¶
func (p *GetRsyslogServerResponse) GetData() interface{}
func (*GetRsyslogServerResponse) SetData ¶
func (p *GetRsyslogServerResponse) 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 *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{extId}/rsyslog-servers 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 GetSearchResponse ¶
type GetSearchResponse 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 *OneOfGetSearchResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/tasks/{extId}/$actions/fetch-task-response Post operation
func NewGetSearchResponse ¶
func NewGetSearchResponse() *GetSearchResponse
func (*GetSearchResponse) GetData ¶
func (p *GetSearchResponse) GetData() interface{}
func (*GetSearchResponse) SetData ¶
func (p *GetSearchResponse) 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 *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{extId}/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 GetSnmpTrapResponse ¶
type GetSnmpTrapResponse 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 *OneOfGetSnmpTrapResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{clusterExtId}/snmp/traps/{extId} Get operation
func NewGetSnmpTrapResponse ¶
func NewGetSnmpTrapResponse() *GetSnmpTrapResponse
func (*GetSnmpTrapResponse) GetData ¶
func (p *GetSnmpTrapResponse) GetData() interface{}
func (*GetSnmpTrapResponse) SetData ¶
func (p *GetSnmpTrapResponse) SetData(v interface{}) error
type GetSnmpUserResponse ¶
type GetSnmpUserResponse 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 *OneOfGetSnmpUserResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{clusterExtId}/snmp/users/{extId} Get operation
func NewGetSnmpUserResponse ¶
func NewGetSnmpUserResponse() *GetSnmpUserResponse
func (*GetSnmpUserResponse) GetData ¶
func (p *GetSnmpUserResponse) GetData() interface{}
func (*GetSnmpUserResponse) SetData ¶
func (p *GetSnmpUserResponse) SetData(v interface{}) error
type GetVirtualNicResponse ¶
type GetVirtualNicResponse 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 *OneOfGetVirtualNicResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{clusterExtId}/hosts/{hostExtId}/virtual-nics/{extId} Get operation
func NewGetVirtualNicResponse ¶
func NewGetVirtualNicResponse() *GetVirtualNicResponse
func (*GetVirtualNicResponse) GetData ¶
func (p *GetVirtualNicResponse) GetData() interface{}
func (*GetVirtualNicResponse) SetData ¶
func (p *GetVirtualNicResponse) SetData(v interface{}) error
type GetVirtualNicsResponse ¶
type GetVirtualNicsResponse 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 *OneOfGetVirtualNicsResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{clusterExtId}/hosts/{extId}/virtual-nics Get operation
func NewGetVirtualNicsResponse ¶
func NewGetVirtualNicsResponse() *GetVirtualNicsResponse
func (*GetVirtualNicsResponse) GetData ¶
func (p *GetVirtualNicsResponse) GetData() interface{}
func (*GetVirtualNicsResponse) SetData ¶
func (p *GetVirtualNicsResponse) 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 per display heads */ 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 Host ¶
type Host struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Rackable unit model name */ BlockModel *string `json:"blockModel,omitempty"` /* Rackable unit serial name */ BlockSerial *string `json:"blockSerial,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 UUID */ DefaultVhdContainerUuid *string `json:"defaultVhdContainerUuid,omitempty"` /* Default VHD location */ DefaultVhdLocation *string `json:"defaultVhdLocation,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"` 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 []KeyManagementDeviceToCertStatusInfo `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 []import3.ApiLink `json:"links,omitempty"` /* Host Maintenance State */ MaintenanceState *string `json:"maintenanceState,omitempty"` /* Memory size in bytes */ MemorySizeBytes *int64 `json:"memorySizeBytes,omitempty"` NodeStatus *NodeStatus `json:"nodeStatus,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
type HostGpu ¶
type HostGpu struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` Cluster *ClusterReference `json:"cluster,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 []import3.ApiLink `json:"links,omitempty"` /* Controller VM Id */ NodeId *string `json:"nodeId,omitempty"` /* UUID of the host */ 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 NewHostGpu ¶
func NewHostGpu() *HostGpu
type HostNameParam ¶
type HostNameParam struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Name of the host */ Name *string `json:"name"` }
Host rename parameters
func NewHostNameParam ¶
func NewHostNameParam() *HostNameParam
func (*HostNameParam) MarshalJSON ¶
func (p *HostNameParam) MarshalJSON() ([]byte, error)
type HostNic ¶
type HostNic struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* List of network switch interfaces attached to the host NIC */ AttachedSwitchInterfaceList []NetworkSwitchInterface `json:"attachedSwitchInterfaceList,omitempty"` /* Status of DHCP protocol */ DhcpEnabled *bool `json:"dhcpEnabled,omitempty"` /* Network discovery protocol (either LLDP or None) */ DiscoveryProtocol *string `json:"discoveryProtocol,omitempty"` /* A globally unique identifier of an instance that is suitable for external consumption. */ ExtId *string `json:"extId,omitempty"` /* Host description */ HostDescription *string `json:"hostDescription,omitempty"` /* Operational status of the interface to the port associated with the NIC entity. */ InterfaceStatus *string `json:"interfaceStatus,omitempty"` /* List of IPv4 addresses associated with the NIC entity for the network connection */ Ipv4Addresses []import4.IPAddress `json:"ipv4Addresses,omitempty"` /* List of IPv6 addresses associated with the NIC entity for the network connection */ Ipv6Addresses []import4.IPAddress `json:"ipv6Addresses,omitempty"` /* Link speed in Kbps */ LinkSpeedInKbps *int64 `json:"linkSpeedInKbps,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 []import3.ApiLink `json:"links,omitempty"` /* Host Mac address */ MacAddress *string `json:"macAddress,omitempty"` /* Maximum transmission unit in bytes */ MtuInBytes *int64 `json:"mtuInBytes,omitempty"` /* Name of the host NIC */ Name *string `json:"name,omitempty"` /* UUID of the host */ NodeUuid *string `json:"nodeUuid,omitempty"` /* Size of configured buffer (in bytes) to the port associated with NIC, storing the network packets received through the port */ RxRingSizeInBytes *int64 `json:"rxRingSizeInBytes,omitempty"` /* Switch device Id learned through the discovery protocol */ SwitchDeviceId *string `json:"switchDeviceId,omitempty"` /* Switch Mac address */ SwitchMacAddress *string `json:"switchMacAddress,omitempty"` SwitchManagementIp *import4.IPAddress `json:"switchManagementIp,omitempty"` /* Switch port Id learned through the discovery protocol */ SwitchPortId *string `json:"switchPortId,omitempty"` /* Switch vendor information learned through the discovery protocol */ SwitchVendorInfo *string `json:"switchVendorInfo,omitempty"` /* Switch VLAN Id learned through the discovery protocol */ SwitchVlanId *string `json:"switchVlanId,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"` /* Size of configured buffer (in bytes) to the port associated with NIC, storing the network packets that would be transmitted through the port */ TxRingSizeInBytes *int64 `json:"txRingSizeInBytes,omitempty"` }
Host NIC details
func NewHostNic ¶
func NewHostNic() *HostNic
type HostRenameResponse ¶
type HostRenameResponse 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 *OneOfHostRenameResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{clusterExtId}/hosts/{extId}/$actions/rename-host Post operation
func NewHostRenameResponse ¶
func NewHostRenameResponse() *HostRenameResponse
func (*HostRenameResponse) GetData ¶
func (p *HostRenameResponse) GetData() interface{}
func (*HostRenameResponse) SetData ¶
func (p *HostRenameResponse) SetData(v interface{}) error
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 HOSTTYPEENUM_STORAGE_ONLY HostTypeEnum = 4 )
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 HypervCredentials ¶
type HypervCredentials struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` DomainDetails *UserInfo `json:"domainDetails,omitempty"` FailoverClusterDetails *UserInfo `json:"failoverClusterDetails,omitempty"` }
HyperV Credentials
func NewHypervCredentials ¶
func NewHypervCredentials() *HypervCredentials
type HypervisorIsoMap ¶
type HypervisorIsoMap struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Md5sum of ISO */ Md5Sum *string `json:"md5Sum,omitempty"` Type *HypervisorType `json:"type,omitempty"` }
Map containing key as hypervisor type and value as md5sum of ISO
func NewHypervisorIsoMap ¶
func NewHypervisorIsoMap() *HypervisorIsoMap
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 *import4.IPAddress `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 details
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) GetName ¶
func (e HypervisorState) GetName() string
Returns the name of the enum
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 )
func (HypervisorType) GetName ¶
func (e HypervisorType) GetName() string
Returns the name of the enum
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 HypervisorUploadInfo ¶
type HypervisorUploadInfo struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Error message */ ErrorMessage *string `json:"errorMessage,omitempty"` /* Node list containing upload information */ UploadInfoNodeList []UploadInfoNodeItem `json:"uploadInfoNodeList,omitempty"` }
Hypervisor upload required information
func NewHypervisorUploadInfo ¶
func NewHypervisorUploadInfo() *HypervisorUploadInfo
type HypervisorUploadNodeListItem ¶
type HypervisorUploadNodeListItem struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Rackable unit Id in which node resides */ BlockId *string `json:"blockId,omitempty"` HypervisorType *HypervisorType `json:"hypervisorType,omitempty"` /* Host version of the node */ HypervisorVersion *string `json:"hypervisorVersion,omitempty"` /* Indicates whether the node is light compute or not */ IsLightCompute *bool `json:"isLightCompute,omitempty"` /* Indicates if node is minimum compute or not */ MinimumComputeNode *bool `json:"minimumComputeNode,omitempty"` /* Rackable unit model type */ Model *string `json:"model,omitempty"` /* UUID of the host */ NodeUuid *string `json:"nodeUuid,omitempty"` /* NOS software version of a node */ NosVersion *string `json:"nosVersion,omitempty"` /* Indicates whether the hypervisor is robo mixed or not */ RoboMixedHypervisor *bool `json:"roboMixedHypervisor,omitempty"` }
Individual node item details for checking whether hypervisor ISO upload is required or not
func NewHypervisorUploadNodeListItem ¶
func NewHypervisorUploadNodeListItem() *HypervisorUploadNodeListItem
type HypervisorUploadParam ¶
type HypervisorUploadParam struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* List of node details for checking whether hypervisor ISO upload is required or not */ NodeList []HypervisorUploadNodeListItem `json:"nodeList"` }
Parameters to get information on whether hypervisor ISO upload is required or not
func NewHypervisorUploadParam ¶
func NewHypervisorUploadParam() *HypervisorUploadParam
func (*HypervisorUploadParam) MarshalJSON ¶
func (p *HypervisorUploadParam) MarshalJSON() ([]byte, error)
type HypervisorUplpadRequiredTaskResponse ¶
type HypervisorUplpadRequiredTaskResponse 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 *OneOfHypervisorUplpadRequiredTaskResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{extId}/$actions/check-hypervisor-requirements Post operation
func NewHypervisorUplpadRequiredTaskResponse ¶
func NewHypervisorUplpadRequiredTaskResponse() *HypervisorUplpadRequiredTaskResponse
func (*HypervisorUplpadRequiredTaskResponse) GetData ¶
func (p *HypervisorUplpadRequiredTaskResponse) GetData() interface{}
func (*HypervisorUplpadRequiredTaskResponse) SetData ¶
func (p *HypervisorUplpadRequiredTaskResponse) SetData(v interface{}) error
type IpmiReference ¶
type IpmiReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` Ip *import4.IPAddress `json:"ip,omitempty"` /* IPMI username */ Username *string `json:"username,omitempty"` }
IPMI reference
func NewIpmiReference ¶
func NewIpmiReference() *IpmiReference
type KeyManagementDeviceToCertStatusInfo ¶
type KeyManagementDeviceToCertStatusInfo 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 NewKeyManagementDeviceToCertStatusInfo ¶
func NewKeyManagementDeviceToCertStatusInfo() *KeyManagementDeviceToCertStatusInfo
type KeyManagementServerType ¶
type KeyManagementServerType int
Management server type
const ( KEYMANAGEMENTSERVERTYPE_UNKNOWN KeyManagementServerType = 0 KEYMANAGEMENTSERVERTYPE_REDACTED KeyManagementServerType = 1 KEYMANAGEMENTSERVERTYPE_LOCAL KeyManagementServerType = 2 KEYMANAGEMENTSERVERTYPE_PRISM_CENTRAL KeyManagementServerType = 3 KEYMANAGEMENTSERVERTYPE_EXTERNAL KeyManagementServerType = 4 )
func (KeyManagementServerType) GetName ¶
func (e KeyManagementServerType) GetName() string
Returns the name of the enum
func (*KeyManagementServerType) MarshalJSON ¶
func (e *KeyManagementServerType) MarshalJSON() ([]byte, error)
func (KeyManagementServerType) Ref ¶
func (e KeyManagementServerType) Ref() *KeyManagementServerType
func (*KeyManagementServerType) UnmarshalJSON ¶
func (e *KeyManagementServerType) UnmarshalJSON(b []byte) error
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"` Ip *import4.IPAddress `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) GetName ¶
func (e ManagementServerType) GetName() string
Returns the name of the enum
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 NameMacRef ¶
type NameMacRef struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Mac address */ Mac *string `json:"mac,omitempty"` /* Interface name */ Name *string `json:"name,omitempty"` }
Interface name and mac address
func NewNameMacRef ¶
func NewNameMacRef() *NameMacRef
type NameNetworkRef ¶
type NameNetworkRef struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` HypervisorType *HypervisorType `json:"hypervisorType,omitempty"` /* Interface name */ Name *string `json:"name,omitempty"` /* List of networks for interface */ Networks []string `json:"networks,omitempty"` }
Name and network information
func NewNameNetworkRef ¶
func NewNameNetworkRef() *NameNetworkRef
type NetworkInfo ¶
type NetworkInfo struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Network information of HCI nodes */ Hci []NameNetworkRef `json:"hci,omitempty"` /* Network information of SO nodes */ So []NameNetworkRef `json:"so,omitempty"` }
Network information of HCI and SO nodes
func NewNetworkInfo ¶
func NewNetworkInfo() *NetworkInfo
type NetworkSwitchInterface ¶
type NetworkSwitchInterface struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* List of host NIC UUIDs connected to this interface */ AttachedHostNicUuids []string `json:"attachedHostNicUuids,omitempty"` /* UUID of the host connected to the interface */ AttachedHostUuid *string `json:"attachedHostUuid,omitempty"` /* A globally unique identifier of an instance that is suitable for external consumption. */ ExtId *string `json:"extId,omitempty"` /* Network switch interface index */ Index *int64 `json:"index,omitempty"` /* Timestamp when the interface state was last changed or modified */ LastChangeTime *time.Time `json:"lastChangeTime,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 []import3.ApiLink `json:"links,omitempty"` /* Host Mac address */ MacAddress *string `json:"macAddress,omitempty"` /* Maximum transmission unit in bytes */ MtuInBytes *int64 `json:"mtuInBytes,omitempty"` /* Network switch interface port number */ Port *int64 `json:"port,omitempty"` /* Network switch interface link speed in Kbps */ SpeedInKbps *int64 `json:"speedInKbps,omitempty"` /* Network switch interface description */ SwitchInterfaceDescription *string `json:"switchInterfaceDescription,omitempty"` /* Network switch interface name */ SwitchInterfaceName *string `json:"switchInterfaceName,omitempty"` /* Network switch interface type */ SwitchInterfaceType *string `json:"switchInterfaceType,omitempty"` SwitchManagementAddress *import4.IPAddress `json:"switchManagementAddress,omitempty"` /* UUID of the switch */ SwitchUuid *string `json:"switchUuid,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"` }
Network switch interface details
func NewNetworkSwitchInterface ¶
func NewNetworkSwitchInterface() *NetworkSwitchInterface
type NodeDetails ¶
type NodeDetails struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Node specific details required to fetch node networking information */ NodeList []NodeListNetworkingDetails `json:"nodeList"` /* Type of request, either it can be expand_cluster or npe */ RequestType *string `json:"requestType,omitempty"` }
Request type and networking details for nodes
func NewNodeDetails ¶
func NewNodeDetails() *NodeDetails
func (*NodeDetails) MarshalJSON ¶
func (p *NodeDetails) MarshalJSON() ([]byte, error)
type NodeDiscoveryParams ¶
type NodeDiscoveryParams struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` AddressType *AddressType `json:"addressType,omitempty"` /* Interface name that is used for packet broadcasting */ InterfaceFilterList []string `json:"interfaceFilterList,omitempty"` /* IP addresses of the unconfigured nodes */ IpFilterList []import4.IPAddress `json:"ipFilterList,omitempty"` /* Indicates if the discovery is manual or not */ IsManualDiscovery *bool `json:"isManualDiscovery,omitempty"` /* Timeout for discovering nodes in seconds */ Timeout *int64 `json:"timeout,omitempty"` /* Unconfigured node UUIDs */ UuidFilterList []string `json:"uuidFilterList,omitempty"` }
Discover unconfigured node details
func NewNodeDiscoveryParams ¶
func NewNodeDiscoveryParams() *NodeDiscoveryParams
type NodeInfo ¶
type NodeInfo struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Rackable unit serial name */ BlockId *string `json:"blockId,omitempty"` /* Current network interface of a node */ CurrentNetworkInterface *string `json:"currentNetworkInterface,omitempty"` CvmIp *import4.IPAddress `json:"cvmIp,omitempty"` /* List of objects containing digital_certificate_base64 and key_management_server_uuid fields for key management server */ DigitalCertificateMapList []DigitalCertificateMapReference `json:"digitalCertificateMapList,omitempty"` /* Name of the host */ HypervisorHostname *string `json:"hypervisorHostname,omitempty"` HypervisorIp *import4.IPAddress `json:"hypervisorIp,omitempty"` HypervisorType *HypervisorType `json:"hypervisorType,omitempty"` /* Host version of the node */ HypervisorVersion *string `json:"hypervisorVersion,omitempty"` IpmiIp *import4.IPAddress `json:"ipmiIp,omitempty"` /* Indicates whether the node is light compute or not */ IsLightCompute *bool `json:"isLightCompute,omitempty"` /* Rackable unit model name */ Model *string `json:"model,omitempty"` /* Position of a node in a rackable unit */ NodePosition *string `json:"nodePosition,omitempty"` /* UUID of the host */ NodeUuid *string `json:"nodeUuid,omitempty"` /* NOS software version of a node */ NosVersion *string `json:"nosVersion,omitempty"` /* Indicates whether the hypervisor is robo mixed or not */ RoboMixedHypervisor *bool `json:"roboMixedHypervisor,omitempty"` }
Node item containing attributes of node
func NewNodeInfo ¶
func NewNodeInfo() *NodeInfo
type NodeItem ¶
type NodeItem struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Rackable unit serial name */ BlockId *string `json:"blockId,omitempty"` /* Current network interface of a node */ CurrentNetworkInterface *string `json:"currentNetworkInterface,omitempty"` CvmIp *import4.IPAddress `json:"cvmIp,omitempty"` /* List of objects containing digital_certificate_base64 and key_management_server_uuid fields for key management server */ DigitalCertificateMapList []DigitalCertificateMapReference `json:"digitalCertificateMapList,omitempty"` /* Name of the host */ HypervisorHostname *string `json:"hypervisorHostname,omitempty"` HypervisorIp *import4.IPAddress `json:"hypervisorIp,omitempty"` HypervisorType *HypervisorType `json:"hypervisorType,omitempty"` /* Host version of the node */ HypervisorVersion *string `json:"hypervisorVersion,omitempty"` IpmiIp *import4.IPAddress `json:"ipmiIp,omitempty"` /* Indicates whether the node is light compute or not */ IsLightCompute *bool `json:"isLightCompute,omitempty"` /* Rackable unit model name */ Model *string `json:"model,omitempty"` /* Active and standby uplink information of the target nodes */ Networks []UplinkNetworkItem `json:"networks,omitempty"` /* Position of a node in a rackable unit */ NodePosition *string `json:"nodePosition,omitempty"` /* UUID of the host */ NodeUuid *string `json:"nodeUuid,omitempty"` /* NOS software version of a node */ NosVersion *string `json:"nosVersion,omitempty"` /* Indicates whether the hypervisor is robo mixed or not */ RoboMixedHypervisor *bool `json:"roboMixedHypervisor,omitempty"` }
Node item containing attributes of node
func NewNodeItem ¶
func NewNodeItem() *NodeItem
type NodeListItemReference ¶
type NodeListItemReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` ControllerVmIp *import4.IPAddress `json:"controllerVmIp,omitempty"` HostIp *import4.IPAddress `json:"hostIp,omitempty"` /* UUID of the host */ NodeUuid *string `json:"nodeUuid,omitempty"` }
List of nodes in a cluster
func NewNodeListItemReference ¶
func NewNodeListItemReference() *NodeListItemReference
type NodeListNetworkingDetails ¶
type NodeListNetworkingDetails struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Rackable unit Id in which node resides */ BlockId *string `json:"blockId,omitempty"` /* Current network interface of a node */ CurrentNetworkInterface *string `json:"currentNetworkInterface,omitempty"` CvmIp *import4.IPAddress `json:"cvmIp,omitempty"` /* List of objects containing digital_certificate_base64 and key_management_server_uuid fields for key management server */ DigitalCertificateMapList []DigitalCertificateMapReference `json:"digitalCertificateMapList,omitempty"` HypervisorIp *import4.IPAddress `json:"hypervisorIp,omitempty"` HypervisorType *HypervisorType `json:"hypervisorType,omitempty"` /* Host version of the node */ HypervisorVersion *string `json:"hypervisorVersion,omitempty"` IpmiIp *import4.IPAddress `json:"ipmiIp,omitempty"` /* Indicates whether the node is compute only or not */ IsComputeOnly *bool `json:"isComputeOnly,omitempty"` /* Indicates whether the node is light compute or not */ IsLightCompute *bool `json:"isLightCompute,omitempty"` /* Rackable unit model name */ Model *string `json:"model,omitempty"` /* Position of a node in a rackable unit */ NodePosition *string `json:"nodePosition,omitempty"` /* UUID of the host */ NodeUuid *string `json:"nodeUuid,omitempty"` /* NOS software version of a node */ NosVersion *string `json:"nosVersion,omitempty"` /* Indicates whether the hypervisor is robo mixed or not */ RoboMixedHypervisor *bool `json:"roboMixedHypervisor,omitempty"` }
Node specific details required to fetch node networking information
func NewNodeListNetworkingDetails ¶
func NewNodeListNetworkingDetails() *NodeListNetworkingDetails
type NodeNetworkingDetails ¶
type NodeNetworkingDetails struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` NetworkInfo *NetworkInfo `json:"networkInfo,omitempty"` /* List of uplinks information for each CVM IP */ Uplinks []UplinkInfo `json:"uplinks,omitempty"` /* List of warning messages */ Warnings []string `json:"warnings,omitempty"` }
Network details of nodes
func NewNodeNetworkingDetails ¶
func NewNodeNetworkingDetails() *NodeNetworkingDetails
type NodeParam ¶
type NodeParam struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Block list of a cluster */ BlockList []BlockItem `json:"blockList,omitempty"` BundleInfo *BundleInfo `json:"bundleInfo,omitempty"` /* List of compute only nodes */ ComputeNodeList []ComputeNodeItem `json:"computeNodeList,omitempty"` /* Hyperv SKU */ HypervSku *string `json:"hypervSku,omitempty"` /* Hypervisor type to md5sum map */ HypervisorIsos []HypervisorIsoMap `json:"hypervisorIsos,omitempty"` /* List of nodes in a cluster */ NodeList []NodeItem `json:"nodeList,omitempty"` /* Indicates if the host networking needs to be skipped or not */ SkipHostNetworking *bool `json:"skipHostNetworking,omitempty"` }
Parameters of the node to be added
func NewNodeParam ¶
func NewNodeParam() *NodeParam
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 NodeRemovalExtraParam ¶
type NodeRemovalExtraParam struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Indicates if add node check need to be skip or not */ SkipAddCheck *bool `json:"skipAddCheck,omitempty"` /* Indicates if space check needs to be skip or not */ SkipSpaceCheck *bool `json:"skipSpaceCheck,omitempty"` /* Indicates if upgrade check needs to be skip or not */ SkipUpgradeCheck *bool `json:"skipUpgradeCheck,omitempty"` }
Extra parameters for node addition
func NewNodeRemovalExtraParam ¶
func NewNodeRemovalExtraParam() *NodeRemovalExtraParam
type NodeRemovalParams ¶
type NodeRemovalParams struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` ExtraParams *NodeRemovalExtraParam `json:"extraParams,omitempty"` /* List of node UUIDs to remove */ NodeUuids []string `json:"nodeUuids"` /* Indicates if prechecks can be skipped for node removal */ SkipPrechecks *bool `json:"skipPrechecks,omitempty"` /* Indicates if node removal can be skipped */ SkipRemove *bool `json:"skipRemove,omitempty"` }
Parameters to remove nodes from cluster
func NewNodeRemovalParams ¶
func NewNodeRemovalParams() *NodeRemovalParams
func (*NodeRemovalParams) MarshalJSON ¶
func (p *NodeRemovalParams) MarshalJSON() ([]byte, error)
type NodeStatus ¶
type NodeStatus int
Node status
const ( NODESTATUS_UNKNOWN NodeStatus = 0 NODESTATUS_REDACTED NodeStatus = 1 NODESTATUS_NORMAL NodeStatus = 2 NODESTATUS_TO_BE_REMOVED NodeStatus = 3 NODESTATUS_OK_TO_BE_REMOVED NodeStatus = 4 NODESTATUS_NEW_NODE NodeStatus = 5 NODESTATUS_TO_BE_PREPROTECTED NodeStatus = 6 NODESTATUS_PREPROTECTED NodeStatus = 7 )
func (*NodeStatus) MarshalJSON ¶
func (e *NodeStatus) MarshalJSON() ([]byte, error)
func (NodeStatus) Ref ¶
func (e NodeStatus) Ref() *NodeStatus
func (*NodeStatus) UnmarshalJSON ¶
func (e *NodeStatus) UnmarshalJSON(b []byte) error
type OneOfAddNodeTaskResponseData ¶
type OneOfAddNodeTaskResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfAddNodeTaskResponseData ¶
func NewOneOfAddNodeTaskResponseData() *OneOfAddNodeTaskResponseData
func (*OneOfAddNodeTaskResponseData) GetValue ¶
func (p *OneOfAddNodeTaskResponseData) GetValue() interface{}
func (*OneOfAddNodeTaskResponseData) MarshalJSON ¶
func (p *OneOfAddNodeTaskResponseData) MarshalJSON() ([]byte, error)
func (*OneOfAddNodeTaskResponseData) SetValue ¶
func (p *OneOfAddNodeTaskResponseData) SetValue(v interface{}) error
func (*OneOfAddNodeTaskResponseData) UnmarshalJSON ¶
func (p *OneOfAddNodeTaskResponseData) UnmarshalJSON(b []byte) error
type OneOfAddRsyslogServerTaskApiResponseData ¶
type OneOfAddRsyslogServerTaskApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfAddRsyslogServerTaskApiResponseData ¶
func NewOneOfAddRsyslogServerTaskApiResponseData() *OneOfAddRsyslogServerTaskApiResponseData
func (*OneOfAddRsyslogServerTaskApiResponseData) GetValue ¶
func (p *OneOfAddRsyslogServerTaskApiResponseData) GetValue() interface{}
func (*OneOfAddRsyslogServerTaskApiResponseData) MarshalJSON ¶
func (p *OneOfAddRsyslogServerTaskApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfAddRsyslogServerTaskApiResponseData) SetValue ¶
func (p *OneOfAddRsyslogServerTaskApiResponseData) SetValue(v interface{}) error
func (*OneOfAddRsyslogServerTaskApiResponseData) UnmarshalJSON ¶
func (p *OneOfAddRsyslogServerTaskApiResponseData) UnmarshalJSON(b []byte) error
type OneOfAddSnmpTransportsTaskApiResponseData ¶
type OneOfAddSnmpTransportsTaskApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfAddSnmpTransportsTaskApiResponseData ¶
func NewOneOfAddSnmpTransportsTaskApiResponseData() *OneOfAddSnmpTransportsTaskApiResponseData
func (*OneOfAddSnmpTransportsTaskApiResponseData) GetValue ¶
func (p *OneOfAddSnmpTransportsTaskApiResponseData) GetValue() interface{}
func (*OneOfAddSnmpTransportsTaskApiResponseData) MarshalJSON ¶
func (p *OneOfAddSnmpTransportsTaskApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfAddSnmpTransportsTaskApiResponseData) SetValue ¶
func (p *OneOfAddSnmpTransportsTaskApiResponseData) SetValue(v interface{}) error
func (*OneOfAddSnmpTransportsTaskApiResponseData) UnmarshalJSON ¶
func (p *OneOfAddSnmpTransportsTaskApiResponseData) UnmarshalJSON(b []byte) error
type OneOfAddSnmpTrapTaskApiResponseData ¶
type OneOfAddSnmpTrapTaskApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfAddSnmpTrapTaskApiResponseData ¶
func NewOneOfAddSnmpTrapTaskApiResponseData() *OneOfAddSnmpTrapTaskApiResponseData
func (*OneOfAddSnmpTrapTaskApiResponseData) GetValue ¶
func (p *OneOfAddSnmpTrapTaskApiResponseData) GetValue() interface{}
func (*OneOfAddSnmpTrapTaskApiResponseData) MarshalJSON ¶
func (p *OneOfAddSnmpTrapTaskApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfAddSnmpTrapTaskApiResponseData) SetValue ¶
func (p *OneOfAddSnmpTrapTaskApiResponseData) SetValue(v interface{}) error
func (*OneOfAddSnmpTrapTaskApiResponseData) UnmarshalJSON ¶
func (p *OneOfAddSnmpTrapTaskApiResponseData) UnmarshalJSON(b []byte) error
type OneOfAddSnmpUserTaskApiResponseData ¶
type OneOfAddSnmpUserTaskApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfAddSnmpUserTaskApiResponseData ¶
func NewOneOfAddSnmpUserTaskApiResponseData() *OneOfAddSnmpUserTaskApiResponseData
func (*OneOfAddSnmpUserTaskApiResponseData) GetValue ¶
func (p *OneOfAddSnmpUserTaskApiResponseData) GetValue() interface{}
func (*OneOfAddSnmpUserTaskApiResponseData) MarshalJSON ¶
func (p *OneOfAddSnmpUserTaskApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfAddSnmpUserTaskApiResponseData) SetValue ¶
func (p *OneOfAddSnmpUserTaskApiResponseData) SetValue(v interface{}) error
func (*OneOfAddSnmpUserTaskApiResponseData) UnmarshalJSON ¶
func (p *OneOfAddSnmpUserTaskApiResponseData) UnmarshalJSON(b []byte) error
type OneOfClusterCreateTaskResponseData ¶
type OneOfClusterCreateTaskResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfClusterCreateTaskResponseData ¶
func NewOneOfClusterCreateTaskResponseData() *OneOfClusterCreateTaskResponseData
func (*OneOfClusterCreateTaskResponseData) GetValue ¶
func (p *OneOfClusterCreateTaskResponseData) GetValue() interface{}
func (*OneOfClusterCreateTaskResponseData) MarshalJSON ¶
func (p *OneOfClusterCreateTaskResponseData) MarshalJSON() ([]byte, error)
func (*OneOfClusterCreateTaskResponseData) SetValue ¶
func (p *OneOfClusterCreateTaskResponseData) SetValue(v interface{}) error
func (*OneOfClusterCreateTaskResponseData) UnmarshalJSON ¶
func (p *OneOfClusterCreateTaskResponseData) UnmarshalJSON(b []byte) error
type OneOfClusterDestroyTaskResponseData ¶
type OneOfClusterDestroyTaskResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfClusterDestroyTaskResponseData ¶
func NewOneOfClusterDestroyTaskResponseData() *OneOfClusterDestroyTaskResponseData
func (*OneOfClusterDestroyTaskResponseData) GetValue ¶
func (p *OneOfClusterDestroyTaskResponseData) GetValue() interface{}
func (*OneOfClusterDestroyTaskResponseData) MarshalJSON ¶
func (p *OneOfClusterDestroyTaskResponseData) MarshalJSON() ([]byte, error)
func (*OneOfClusterDestroyTaskResponseData) SetValue ¶
func (p *OneOfClusterDestroyTaskResponseData) SetValue(v interface{}) error
func (*OneOfClusterDestroyTaskResponseData) UnmarshalJSON ¶
func (p *OneOfClusterDestroyTaskResponseData) UnmarshalJSON(b []byte) error
type OneOfDeleteRsyslogServerTaskApiResponseData ¶
type OneOfDeleteRsyslogServerTaskApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfDeleteRsyslogServerTaskApiResponseData ¶
func NewOneOfDeleteRsyslogServerTaskApiResponseData() *OneOfDeleteRsyslogServerTaskApiResponseData
func (*OneOfDeleteRsyslogServerTaskApiResponseData) GetValue ¶
func (p *OneOfDeleteRsyslogServerTaskApiResponseData) GetValue() interface{}
func (*OneOfDeleteRsyslogServerTaskApiResponseData) MarshalJSON ¶
func (p *OneOfDeleteRsyslogServerTaskApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfDeleteRsyslogServerTaskApiResponseData) SetValue ¶
func (p *OneOfDeleteRsyslogServerTaskApiResponseData) SetValue(v interface{}) error
func (*OneOfDeleteRsyslogServerTaskApiResponseData) UnmarshalJSON ¶
func (p *OneOfDeleteRsyslogServerTaskApiResponseData) UnmarshalJSON(b []byte) error
type OneOfDeleteSnmpTrapTaskApiResponseData ¶
type OneOfDeleteSnmpTrapTaskApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfDeleteSnmpTrapTaskApiResponseData ¶
func NewOneOfDeleteSnmpTrapTaskApiResponseData() *OneOfDeleteSnmpTrapTaskApiResponseData
func (*OneOfDeleteSnmpTrapTaskApiResponseData) GetValue ¶
func (p *OneOfDeleteSnmpTrapTaskApiResponseData) GetValue() interface{}
func (*OneOfDeleteSnmpTrapTaskApiResponseData) MarshalJSON ¶
func (p *OneOfDeleteSnmpTrapTaskApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfDeleteSnmpTrapTaskApiResponseData) SetValue ¶
func (p *OneOfDeleteSnmpTrapTaskApiResponseData) SetValue(v interface{}) error
func (*OneOfDeleteSnmpTrapTaskApiResponseData) UnmarshalJSON ¶
func (p *OneOfDeleteSnmpTrapTaskApiResponseData) UnmarshalJSON(b []byte) error
type OneOfDeleteSnmpUserTaskApiResponseData ¶
type OneOfDeleteSnmpUserTaskApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfDeleteSnmpUserTaskApiResponseData ¶
func NewOneOfDeleteSnmpUserTaskApiResponseData() *OneOfDeleteSnmpUserTaskApiResponseData
func (*OneOfDeleteSnmpUserTaskApiResponseData) GetValue ¶
func (p *OneOfDeleteSnmpUserTaskApiResponseData) GetValue() interface{}
func (*OneOfDeleteSnmpUserTaskApiResponseData) MarshalJSON ¶
func (p *OneOfDeleteSnmpUserTaskApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfDeleteSnmpUserTaskApiResponseData) SetValue ¶
func (p *OneOfDeleteSnmpUserTaskApiResponseData) SetValue(v interface{}) error
func (*OneOfDeleteSnmpUserTaskApiResponseData) UnmarshalJSON ¶
func (p *OneOfDeleteSnmpUserTaskApiResponseData) UnmarshalJSON(b []byte) error
type OneOfDiscoverNodeTaskApiResponseData ¶
type OneOfDiscoverNodeTaskApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfDiscoverNodeTaskApiResponseData ¶
func NewOneOfDiscoverNodeTaskApiResponseData() *OneOfDiscoverNodeTaskApiResponseData
func (*OneOfDiscoverNodeTaskApiResponseData) GetValue ¶
func (p *OneOfDiscoverNodeTaskApiResponseData) GetValue() interface{}
func (*OneOfDiscoverNodeTaskApiResponseData) MarshalJSON ¶
func (p *OneOfDiscoverNodeTaskApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfDiscoverNodeTaskApiResponseData) SetValue ¶
func (p *OneOfDiscoverNodeTaskApiResponseData) SetValue(v interface{}) error
func (*OneOfDiscoverNodeTaskApiResponseData) UnmarshalJSON ¶
func (p *OneOfDiscoverNodeTaskApiResponseData) UnmarshalJSON(b []byte) error
type OneOfGetAllHostGpusResponseData ¶
type OneOfGetAllHostGpusResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetAllHostGpusResponseData ¶
func NewOneOfGetAllHostGpusResponseData() *OneOfGetAllHostGpusResponseData
func (*OneOfGetAllHostGpusResponseData) GetValue ¶
func (p *OneOfGetAllHostGpusResponseData) GetValue() interface{}
func (*OneOfGetAllHostGpusResponseData) MarshalJSON ¶
func (p *OneOfGetAllHostGpusResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetAllHostGpusResponseData) SetValue ¶
func (p *OneOfGetAllHostGpusResponseData) SetValue(v interface{}) error
func (*OneOfGetAllHostGpusResponseData) UnmarshalJSON ¶
func (p *OneOfGetAllHostGpusResponseData) UnmarshalJSON(b []byte) error
type OneOfGetAllHostsResponseData ¶
type OneOfGetAllHostsResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetAllHostsResponseData ¶
func NewOneOfGetAllHostsResponseData() *OneOfGetAllHostsResponseData
func (*OneOfGetAllHostsResponseData) GetValue ¶
func (p *OneOfGetAllHostsResponseData) GetValue() interface{}
func (*OneOfGetAllHostsResponseData) MarshalJSON ¶
func (p *OneOfGetAllHostsResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetAllHostsResponseData) SetValue ¶
func (p *OneOfGetAllHostsResponseData) SetValue(v interface{}) error
func (*OneOfGetAllHostsResponseData) UnmarshalJSON ¶
func (p *OneOfGetAllHostsResponseData) UnmarshalJSON(b []byte) error
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 OneOfGetHostNicResponseData ¶
type OneOfGetHostNicResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetHostNicResponseData ¶
func NewOneOfGetHostNicResponseData() *OneOfGetHostNicResponseData
func (*OneOfGetHostNicResponseData) GetValue ¶
func (p *OneOfGetHostNicResponseData) GetValue() interface{}
func (*OneOfGetHostNicResponseData) MarshalJSON ¶
func (p *OneOfGetHostNicResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetHostNicResponseData) SetValue ¶
func (p *OneOfGetHostNicResponseData) SetValue(v interface{}) error
func (*OneOfGetHostNicResponseData) UnmarshalJSON ¶
func (p *OneOfGetHostNicResponseData) UnmarshalJSON(b []byte) error
type OneOfGetHostNicsResponseData ¶
type OneOfGetHostNicsResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetHostNicsResponseData ¶
func NewOneOfGetHostNicsResponseData() *OneOfGetHostNicsResponseData
func (*OneOfGetHostNicsResponseData) GetValue ¶
func (p *OneOfGetHostNicsResponseData) GetValue() interface{}
func (*OneOfGetHostNicsResponseData) MarshalJSON ¶
func (p *OneOfGetHostNicsResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetHostNicsResponseData) SetValue ¶
func (p *OneOfGetHostNicsResponseData) SetValue(v interface{}) error
func (*OneOfGetHostNicsResponseData) UnmarshalJSON ¶
func (p *OneOfGetHostNicsResponseData) 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 OneOfGetNodeNetworkingTaskApiResponseData ¶
type OneOfGetNodeNetworkingTaskApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetNodeNetworkingTaskApiResponseData ¶
func NewOneOfGetNodeNetworkingTaskApiResponseData() *OneOfGetNodeNetworkingTaskApiResponseData
func (*OneOfGetNodeNetworkingTaskApiResponseData) GetValue ¶
func (p *OneOfGetNodeNetworkingTaskApiResponseData) GetValue() interface{}
func (*OneOfGetNodeNetworkingTaskApiResponseData) MarshalJSON ¶
func (p *OneOfGetNodeNetworkingTaskApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetNodeNetworkingTaskApiResponseData) SetValue ¶
func (p *OneOfGetNodeNetworkingTaskApiResponseData) SetValue(v interface{}) error
func (*OneOfGetNodeNetworkingTaskApiResponseData) UnmarshalJSON ¶
func (p *OneOfGetNodeNetworkingTaskApiResponseData) 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 OneOfGetRsyslogServerResponseData ¶
type OneOfGetRsyslogServerResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetRsyslogServerResponseData ¶
func NewOneOfGetRsyslogServerResponseData() *OneOfGetRsyslogServerResponseData
func (*OneOfGetRsyslogServerResponseData) GetValue ¶
func (p *OneOfGetRsyslogServerResponseData) GetValue() interface{}
func (*OneOfGetRsyslogServerResponseData) MarshalJSON ¶
func (p *OneOfGetRsyslogServerResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetRsyslogServerResponseData) SetValue ¶
func (p *OneOfGetRsyslogServerResponseData) SetValue(v interface{}) error
func (*OneOfGetRsyslogServerResponseData) UnmarshalJSON ¶
func (p *OneOfGetRsyslogServerResponseData) 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 OneOfGetSearchResponseData ¶
type OneOfGetSearchResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetSearchResponseData ¶
func NewOneOfGetSearchResponseData() *OneOfGetSearchResponseData
func (*OneOfGetSearchResponseData) GetValue ¶
func (p *OneOfGetSearchResponseData) GetValue() interface{}
func (*OneOfGetSearchResponseData) MarshalJSON ¶
func (p *OneOfGetSearchResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetSearchResponseData) SetValue ¶
func (p *OneOfGetSearchResponseData) SetValue(v interface{}) error
func (*OneOfGetSearchResponseData) UnmarshalJSON ¶
func (p *OneOfGetSearchResponseData) 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 OneOfGetSnmpTrapResponseData ¶
type OneOfGetSnmpTrapResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetSnmpTrapResponseData ¶
func NewOneOfGetSnmpTrapResponseData() *OneOfGetSnmpTrapResponseData
func (*OneOfGetSnmpTrapResponseData) GetValue ¶
func (p *OneOfGetSnmpTrapResponseData) GetValue() interface{}
func (*OneOfGetSnmpTrapResponseData) MarshalJSON ¶
func (p *OneOfGetSnmpTrapResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetSnmpTrapResponseData) SetValue ¶
func (p *OneOfGetSnmpTrapResponseData) SetValue(v interface{}) error
func (*OneOfGetSnmpTrapResponseData) UnmarshalJSON ¶
func (p *OneOfGetSnmpTrapResponseData) UnmarshalJSON(b []byte) error
type OneOfGetSnmpUserResponseData ¶
type OneOfGetSnmpUserResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetSnmpUserResponseData ¶
func NewOneOfGetSnmpUserResponseData() *OneOfGetSnmpUserResponseData
func (*OneOfGetSnmpUserResponseData) GetValue ¶
func (p *OneOfGetSnmpUserResponseData) GetValue() interface{}
func (*OneOfGetSnmpUserResponseData) MarshalJSON ¶
func (p *OneOfGetSnmpUserResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetSnmpUserResponseData) SetValue ¶
func (p *OneOfGetSnmpUserResponseData) SetValue(v interface{}) error
func (*OneOfGetSnmpUserResponseData) UnmarshalJSON ¶
func (p *OneOfGetSnmpUserResponseData) UnmarshalJSON(b []byte) error
type OneOfGetVirtualNicResponseData ¶
type OneOfGetVirtualNicResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetVirtualNicResponseData ¶
func NewOneOfGetVirtualNicResponseData() *OneOfGetVirtualNicResponseData
func (*OneOfGetVirtualNicResponseData) GetValue ¶
func (p *OneOfGetVirtualNicResponseData) GetValue() interface{}
func (*OneOfGetVirtualNicResponseData) MarshalJSON ¶
func (p *OneOfGetVirtualNicResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetVirtualNicResponseData) SetValue ¶
func (p *OneOfGetVirtualNicResponseData) SetValue(v interface{}) error
func (*OneOfGetVirtualNicResponseData) UnmarshalJSON ¶
func (p *OneOfGetVirtualNicResponseData) UnmarshalJSON(b []byte) error
type OneOfGetVirtualNicsResponseData ¶
type OneOfGetVirtualNicsResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetVirtualNicsResponseData ¶
func NewOneOfGetVirtualNicsResponseData() *OneOfGetVirtualNicsResponseData
func (*OneOfGetVirtualNicsResponseData) GetValue ¶
func (p *OneOfGetVirtualNicsResponseData) GetValue() interface{}
func (*OneOfGetVirtualNicsResponseData) MarshalJSON ¶
func (p *OneOfGetVirtualNicsResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetVirtualNicsResponseData) SetValue ¶
func (p *OneOfGetVirtualNicsResponseData) SetValue(v interface{}) error
func (*OneOfGetVirtualNicsResponseData) UnmarshalJSON ¶
func (p *OneOfGetVirtualNicsResponseData) UnmarshalJSON(b []byte) error
type OneOfHostRenameResponseData ¶
type OneOfHostRenameResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfHostRenameResponseData ¶
func NewOneOfHostRenameResponseData() *OneOfHostRenameResponseData
func (*OneOfHostRenameResponseData) GetValue ¶
func (p *OneOfHostRenameResponseData) GetValue() interface{}
func (*OneOfHostRenameResponseData) MarshalJSON ¶
func (p *OneOfHostRenameResponseData) MarshalJSON() ([]byte, error)
func (*OneOfHostRenameResponseData) SetValue ¶
func (p *OneOfHostRenameResponseData) SetValue(v interface{}) error
func (*OneOfHostRenameResponseData) UnmarshalJSON ¶
func (p *OneOfHostRenameResponseData) UnmarshalJSON(b []byte) error
type OneOfHypervisorUplpadRequiredTaskResponseData ¶
type OneOfHypervisorUplpadRequiredTaskResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfHypervisorUplpadRequiredTaskResponseData ¶
func NewOneOfHypervisorUplpadRequiredTaskResponseData() *OneOfHypervisorUplpadRequiredTaskResponseData
func (*OneOfHypervisorUplpadRequiredTaskResponseData) GetValue ¶
func (p *OneOfHypervisorUplpadRequiredTaskResponseData) GetValue() interface{}
func (*OneOfHypervisorUplpadRequiredTaskResponseData) MarshalJSON ¶
func (p *OneOfHypervisorUplpadRequiredTaskResponseData) MarshalJSON() ([]byte, error)
func (*OneOfHypervisorUplpadRequiredTaskResponseData) SetValue ¶
func (p *OneOfHypervisorUplpadRequiredTaskResponseData) SetValue(v interface{}) error
func (*OneOfHypervisorUplpadRequiredTaskResponseData) UnmarshalJSON ¶
func (p *OneOfHypervisorUplpadRequiredTaskResponseData) UnmarshalJSON(b []byte) error
type OneOfRemoveNodeTaskResponseData ¶
type OneOfRemoveNodeTaskResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfRemoveNodeTaskResponseData ¶
func NewOneOfRemoveNodeTaskResponseData() *OneOfRemoveNodeTaskResponseData
func (*OneOfRemoveNodeTaskResponseData) GetValue ¶
func (p *OneOfRemoveNodeTaskResponseData) GetValue() interface{}
func (*OneOfRemoveNodeTaskResponseData) MarshalJSON ¶
func (p *OneOfRemoveNodeTaskResponseData) MarshalJSON() ([]byte, error)
func (*OneOfRemoveNodeTaskResponseData) SetValue ¶
func (p *OneOfRemoveNodeTaskResponseData) SetValue(v interface{}) error
func (*OneOfRemoveNodeTaskResponseData) UnmarshalJSON ¶
func (p *OneOfRemoveNodeTaskResponseData) UnmarshalJSON(b []byte) error
type OneOfRemoveSnmpTransportsTaskApiResponseData ¶
type OneOfRemoveSnmpTransportsTaskApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfRemoveSnmpTransportsTaskApiResponseData ¶
func NewOneOfRemoveSnmpTransportsTaskApiResponseData() *OneOfRemoveSnmpTransportsTaskApiResponseData
func (*OneOfRemoveSnmpTransportsTaskApiResponseData) GetValue ¶
func (p *OneOfRemoveSnmpTransportsTaskApiResponseData) GetValue() interface{}
func (*OneOfRemoveSnmpTransportsTaskApiResponseData) MarshalJSON ¶
func (p *OneOfRemoveSnmpTransportsTaskApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfRemoveSnmpTransportsTaskApiResponseData) SetValue ¶
func (p *OneOfRemoveSnmpTransportsTaskApiResponseData) SetValue(v interface{}) error
func (*OneOfRemoveSnmpTransportsTaskApiResponseData) UnmarshalJSON ¶
func (p *OneOfRemoveSnmpTransportsTaskApiResponseData) UnmarshalJSON(b []byte) error
type OneOfSearchResponseResponse ¶
type OneOfSearchResponseResponse struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfSearchResponseResponse ¶
func NewOneOfSearchResponseResponse() *OneOfSearchResponseResponse
func (*OneOfSearchResponseResponse) GetValue ¶
func (p *OneOfSearchResponseResponse) GetValue() interface{}
func (*OneOfSearchResponseResponse) MarshalJSON ¶
func (p *OneOfSearchResponseResponse) MarshalJSON() ([]byte, error)
func (*OneOfSearchResponseResponse) SetValue ¶
func (p *OneOfSearchResponseResponse) SetValue(v interface{}) error
func (*OneOfSearchResponseResponse) UnmarshalJSON ¶
func (p *OneOfSearchResponseResponse) UnmarshalJSON(b []byte) error
type OneOfUpdateClusterTaskApiResponseData ¶
type OneOfUpdateClusterTaskApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUpdateClusterTaskApiResponseData ¶
func NewOneOfUpdateClusterTaskApiResponseData() *OneOfUpdateClusterTaskApiResponseData
func (*OneOfUpdateClusterTaskApiResponseData) GetValue ¶
func (p *OneOfUpdateClusterTaskApiResponseData) GetValue() interface{}
func (*OneOfUpdateClusterTaskApiResponseData) MarshalJSON ¶
func (p *OneOfUpdateClusterTaskApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUpdateClusterTaskApiResponseData) SetValue ¶
func (p *OneOfUpdateClusterTaskApiResponseData) SetValue(v interface{}) error
func (*OneOfUpdateClusterTaskApiResponseData) UnmarshalJSON ¶
func (p *OneOfUpdateClusterTaskApiResponseData) UnmarshalJSON(b []byte) error
type OneOfUpdateRsyslogServerTaskApiResponseData ¶
type OneOfUpdateRsyslogServerTaskApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUpdateRsyslogServerTaskApiResponseData ¶
func NewOneOfUpdateRsyslogServerTaskApiResponseData() *OneOfUpdateRsyslogServerTaskApiResponseData
func (*OneOfUpdateRsyslogServerTaskApiResponseData) GetValue ¶
func (p *OneOfUpdateRsyslogServerTaskApiResponseData) GetValue() interface{}
func (*OneOfUpdateRsyslogServerTaskApiResponseData) MarshalJSON ¶
func (p *OneOfUpdateRsyslogServerTaskApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUpdateRsyslogServerTaskApiResponseData) SetValue ¶
func (p *OneOfUpdateRsyslogServerTaskApiResponseData) SetValue(v interface{}) error
func (*OneOfUpdateRsyslogServerTaskApiResponseData) UnmarshalJSON ¶
func (p *OneOfUpdateRsyslogServerTaskApiResponseData) UnmarshalJSON(b []byte) error
type OneOfUpdateSnmpStatusTaskApiResponseData ¶
type OneOfUpdateSnmpStatusTaskApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUpdateSnmpStatusTaskApiResponseData ¶
func NewOneOfUpdateSnmpStatusTaskApiResponseData() *OneOfUpdateSnmpStatusTaskApiResponseData
func (*OneOfUpdateSnmpStatusTaskApiResponseData) GetValue ¶
func (p *OneOfUpdateSnmpStatusTaskApiResponseData) GetValue() interface{}
func (*OneOfUpdateSnmpStatusTaskApiResponseData) MarshalJSON ¶
func (p *OneOfUpdateSnmpStatusTaskApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUpdateSnmpStatusTaskApiResponseData) SetValue ¶
func (p *OneOfUpdateSnmpStatusTaskApiResponseData) SetValue(v interface{}) error
func (*OneOfUpdateSnmpStatusTaskApiResponseData) UnmarshalJSON ¶
func (p *OneOfUpdateSnmpStatusTaskApiResponseData) UnmarshalJSON(b []byte) error
type OneOfUpdateSnmpTrapTaskApiResponseData ¶
type OneOfUpdateSnmpTrapTaskApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUpdateSnmpTrapTaskApiResponseData ¶
func NewOneOfUpdateSnmpTrapTaskApiResponseData() *OneOfUpdateSnmpTrapTaskApiResponseData
func (*OneOfUpdateSnmpTrapTaskApiResponseData) GetValue ¶
func (p *OneOfUpdateSnmpTrapTaskApiResponseData) GetValue() interface{}
func (*OneOfUpdateSnmpTrapTaskApiResponseData) MarshalJSON ¶
func (p *OneOfUpdateSnmpTrapTaskApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUpdateSnmpTrapTaskApiResponseData) SetValue ¶
func (p *OneOfUpdateSnmpTrapTaskApiResponseData) SetValue(v interface{}) error
func (*OneOfUpdateSnmpTrapTaskApiResponseData) UnmarshalJSON ¶
func (p *OneOfUpdateSnmpTrapTaskApiResponseData) UnmarshalJSON(b []byte) error
type OneOfUpdateSnmpUserTaskApiResponseData ¶
type OneOfUpdateSnmpUserTaskApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUpdateSnmpUserTaskApiResponseData ¶
func NewOneOfUpdateSnmpUserTaskApiResponseData() *OneOfUpdateSnmpUserTaskApiResponseData
func (*OneOfUpdateSnmpUserTaskApiResponseData) GetValue ¶
func (p *OneOfUpdateSnmpUserTaskApiResponseData) GetValue() interface{}
func (*OneOfUpdateSnmpUserTaskApiResponseData) MarshalJSON ¶
func (p *OneOfUpdateSnmpUserTaskApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUpdateSnmpUserTaskApiResponseData) SetValue ¶
func (p *OneOfUpdateSnmpUserTaskApiResponseData) SetValue(v interface{}) error
func (*OneOfUpdateSnmpUserTaskApiResponseData) UnmarshalJSON ¶
func (p *OneOfUpdateSnmpUserTaskApiResponseData) UnmarshalJSON(b []byte) error
type OneOfValidateNodeParamSpec ¶
type OneOfValidateNodeParamSpec struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfValidateNodeParamSpec ¶
func NewOneOfValidateNodeParamSpec() *OneOfValidateNodeParamSpec
func (*OneOfValidateNodeParamSpec) GetValue ¶
func (p *OneOfValidateNodeParamSpec) GetValue() interface{}
func (*OneOfValidateNodeParamSpec) MarshalJSON ¶
func (p *OneOfValidateNodeParamSpec) MarshalJSON() ([]byte, error)
func (*OneOfValidateNodeParamSpec) SetValue ¶
func (p *OneOfValidateNodeParamSpec) SetValue(v interface{}) error
func (*OneOfValidateNodeParamSpec) UnmarshalJSON ¶
func (p *OneOfValidateNodeParamSpec) UnmarshalJSON(b []byte) error
type OneOfValidateNodeTaskResponseData ¶
type OneOfValidateNodeTaskResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfValidateNodeTaskResponseData ¶
func NewOneOfValidateNodeTaskResponseData() *OneOfValidateNodeTaskResponseData
func (*OneOfValidateNodeTaskResponseData) GetValue ¶
func (p *OneOfValidateNodeTaskResponseData) GetValue() interface{}
func (*OneOfValidateNodeTaskResponseData) MarshalJSON ¶
func (p *OneOfValidateNodeTaskResponseData) MarshalJSON() ([]byte, error)
func (*OneOfValidateNodeTaskResponseData) SetValue ¶
func (p *OneOfValidateNodeTaskResponseData) SetValue(v interface{}) error
func (*OneOfValidateNodeTaskResponseData) UnmarshalJSON ¶
func (p *OneOfValidateNodeTaskResponseData) UnmarshalJSON(b []byte) error
type OperationMode ¶
type OperationMode int
Cluster operation mode. This is part of payload for cluster update operation only.
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"` /* Ssh key name */ Name *string `json:"name"` }
Public ssh key details. This is part of payload for cluster update operation only.
func NewPublicKey ¶
func NewPublicKey() *PublicKey
func (*PublicKey) MarshalJSON ¶
type RackReference ¶
type RackReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Rack Id */ Id *int64 `json:"id,omitempty"` /* Rack UUID */ 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 []import3.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) GetName ¶
func (e RackableUnitModel) GetName() string
Returns the name of the enum
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 the host */ Uuid *string `json:"uuid,omitempty"` }
Node information registered to this rackable unit
func NewRackableUnitNode ¶
func NewRackableUnitNode() *RackableUnitNode
type RemoveNodeTaskResponse ¶
type RemoveNodeTaskResponse 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 *OneOfRemoveNodeTaskResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{extId}/$actions/remove-node Post operation
func NewRemoveNodeTaskResponse ¶
func NewRemoveNodeTaskResponse() *RemoveNodeTaskResponse
func (*RemoveNodeTaskResponse) GetData ¶
func (p *RemoveNodeTaskResponse) GetData() interface{}
func (*RemoveNodeTaskResponse) SetData ¶
func (p *RemoveNodeTaskResponse) SetData(v interface{}) error
type RemoveSnmpTransportsTaskApiResponse ¶
type RemoveSnmpTransportsTaskApiResponse 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 *OneOfRemoveSnmpTransportsTaskApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{extId}/snmp/$actions/remove-transports Post operation
func NewRemoveSnmpTransportsTaskApiResponse ¶
func NewRemoveSnmpTransportsTaskApiResponse() *RemoveSnmpTransportsTaskApiResponse
func (*RemoveSnmpTransportsTaskApiResponse) GetData ¶
func (p *RemoveSnmpTransportsTaskApiResponse) GetData() interface{}
func (*RemoveSnmpTransportsTaskApiResponse) SetData ¶
func (p *RemoveSnmpTransportsTaskApiResponse) SetData(v interface{}) error
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"` /* Option to log, monitor/output files of a module */ Monitor *bool `json:"monitor"` Name *RsyslogModuleName `json:"name"` }
RSYSLOG Module information
func NewRsyslogModuleItem ¶
func NewRsyslogModuleItem() *RsyslogModuleItem
func (*RsyslogModuleItem) MarshalJSON ¶
func (p *RsyslogModuleItem) MarshalJSON() ([]byte, error)
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) GetName ¶
func (e RsyslogModuleLogSeverityLevel) GetName() string
Returns the name of the enum
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) GetName ¶
func (e RsyslogModuleName) GetName() string
Returns the name of the enum
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) GetName ¶
func (e RsyslogNetworkProtocol) GetName() string
Returns the name of the enum
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"` /* A globally unique identifier of an instance that is suitable for external consumption. */ ExtId *string `json:"extId,omitempty"` IpAddress *import4.IPAddress `json:"ipAddress"` /* 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 []import3.ApiLink `json:"links,omitempty"` /* List of modules registered to RSYSLOG server */ Modules []RsyslogModuleItem `json:"modules,omitempty"` NetworkProtocol *RsyslogNetworkProtocol `json:"networkProtocol"` /* RSYSLOG server port */ Port *int `json:"port"` /* RSYSLOG server name */ ServerName *string `json:"serverName"` /* 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 NewRsyslogServer ¶
func NewRsyslogServer() *RsyslogServer
func (*RsyslogServer) MarshalJSON ¶
func (p *RsyslogServer) MarshalJSON() ([]byte, error)
type SearchParams ¶
type SearchParams struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` SearchType *SearchType `json:"searchType"` }
Search parameters
func NewSearchParams ¶
func NewSearchParams() *SearchParams
func (*SearchParams) MarshalJSON ¶
func (p *SearchParams) MarshalJSON() ([]byte, error)
type SearchResponse ¶
type SearchResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* */ ResponseItemDiscriminator_ *string `json:"$responseItemDiscriminator,omitempty"` Response *OneOfSearchResponseResponse `json:"response,omitempty"` SearchType *SearchType `json:"searchType,omitempty"` }
Task Response which is one of node-discovery, networking-details, hypervisor-upload information
func NewSearchResponse ¶
func NewSearchResponse() *SearchResponse
func (*SearchResponse) GetResponse ¶
func (p *SearchResponse) GetResponse() interface{}
func (*SearchResponse) SetResponse ¶
func (p *SearchResponse) SetResponse(v interface{}) error
type SearchType ¶
type SearchType int
Task Response search type
const ( SEARCHTYPE_UNKNOWN SearchType = 0 SEARCHTYPE_REDACTED SearchType = 1 SEARCHTYPE_UNCONFIGURED_NODES SearchType = 2 SEARCHTYPE_NETWORKING_DETAILS SearchType = 3 SEARCHTYPE_HYPERVISOR_UPLOAD_INFO SearchType = 4 SEARCHTYPE_VALIDATE_BUNDLE_INFO SearchType = 5 )
func (*SearchType) MarshalJSON ¶
func (e *SearchType) MarshalJSON() ([]byte, error)
func (SearchType) Ref ¶
func (e SearchType) Ref() *SearchType
func (*SearchType) UnmarshalJSON ¶
func (e *SearchType) UnmarshalJSON(b []byte) error
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 *import4.IPAddress `json:"ipAddress"` /* 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
func (*SmtpNetwork) MarshalJSON ¶
func (p *SmtpNetwork) MarshalJSON() ([]byte, error)
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"` Server *SmtpNetwork `json:"server"` Type *SmtpType `json:"type,omitempty"` }
SMTP servers on a cluster. This is part of payload for cluster update operation only.
func NewSmtpServerRef ¶
func NewSmtpServerRef() *SmtpServerRef
func (*SmtpServerRef) MarshalJSON ¶
func (p *SmtpServerRef) MarshalJSON() ([]byte, error)
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 SnmpStatusParam ¶
type SnmpStatusParam struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* SNMP user information */ Status *bool `json:"status"` }
SNMP status
func NewSnmpStatusParam ¶
func NewSnmpStatusParam() *SnmpStatusParam
func (*SnmpStatusParam) MarshalJSON ¶
func (p *SnmpStatusParam) MarshalJSON() ([]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"` Protocol *SnmpProtocol `json:"protocol"` }
SNMP transport details
func NewSnmpTransport ¶
func NewSnmpTransport() *SnmpTransport
func (*SnmpTransport) MarshalJSON ¶
func (p *SnmpTransport) MarshalJSON() ([]byte, error)
type SnmpTrap ¶
type SnmpTrap struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` Address *import4.IPAddress `json:"address"` /* Community string(plaintext) for SNMP version 2.0 */ CommunityString *string `json:"communityString,omitempty"` /* SNMP engine Id */ EngineId *string `json:"engineId,omitempty"` /* A globally unique identifier of an instance that is suitable for external consumption. */ ExtId *string `json:"extId,omitempty"` /* SNMP information status */ Inform *bool `json:"inform,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 []import3.ApiLink `json:"links,omitempty"` /* SNMP port */ Port *int `json:"port,omitempty"` Protocol *SnmpProtocol `json:"protocol,omitempty"` /* SNMP receiver name */ RecieverName *string `json:"recieverName,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"` /* SNMP user name */ Username *string `json:"username,omitempty"` Version *SnmpTrapVersion `json:"version"` }
func NewSnmpTrap ¶
func NewSnmpTrap() *SnmpTrap
func (*SnmpTrap) MarshalJSON ¶
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) GetName ¶
func (e SnmpTrapVersion) GetName() string
Returns the name of the enum
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"` AuthType *SnmpAuthType `json:"authType"` /* 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 []import3.ApiLink `json:"links,omitempty"` /* SNMP user encryption key */ PrivKey *string `json:"privKey,omitempty"` PrivType *SnmpPrivType `json:"privType,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"` /* SNMP user name */ Username *string `json:"username"` }
SNMP user information
func NewSnmpUser ¶
func NewSnmpUser() *SnmpUser
func (*SnmpUser) MarshalJSON ¶
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) GetName ¶
func (e SoftwareTypeRef) GetName() string
Returns the name of the enum
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) GetName ¶
func (e StorageTierReference) GetName() string
Returns the name of the enum
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
type UnconfigureNodeDetails ¶
type UnconfigureNodeDetails struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* List of unconfigured nodes */ NodeList []UnconfiguredNodeListItem `json:"nodeList,omitempty"` }
List of unconfigured nodes
func NewUnconfigureNodeDetails ¶
func NewUnconfigureNodeDetails() *UnconfigureNodeDetails
type UnconfiguredNodeAttributeMap ¶
type UnconfiguredNodeAttributeMap struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Indicates if cvm interface can work with 1 GIG NIC or not */ CanWorkWith1GNic *bool `json:"canWorkWith1GNic,omitempty"` /* Default workload */ DefaultWorkload *string `json:"defaultWorkload,omitempty"` /* Indicates whether the model is supported or not */ IsModelSupported *bool `json:"isModelSupported,omitempty"` /* LCM family name */ LcmFamily *string `json:"lcmFamily,omitempty"` /* Indicates whether the hypervisor is robo mixed or not */ RoboMixedHypervisor *bool `json:"roboMixedHypervisor,omitempty"` }
func NewUnconfiguredNodeAttributeMap ¶
func NewUnconfiguredNodeAttributeMap() *UnconfiguredNodeAttributeMap
type UnconfiguredNodeListItem ¶
type UnconfiguredNodeListItem struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Cluster arch */ Arch *string `json:"arch,omitempty"` Attributes *UnconfiguredNodeAttributeMap `json:"attributes,omitempty"` /* Cluster ID */ ClusterId *string `json:"clusterId,omitempty"` /* CPU type */ CpuType []string `json:"cpuType,omitempty"` /* Current CVM VLAN tag */ CurrentCvmVlanTag *string `json:"currentCvmVlanTag,omitempty"` /* Current network interface of a node */ CurrentNetworkInterface *string `json:"currentNetworkInterface,omitempty"` CvmIp *import4.IPAddress `json:"cvmIp,omitempty"` /* Foundation version */ FoundationVersion *string `json:"foundationVersion,omitempty"` HypervisorIp *import4.IPAddress `json:"hypervisorIp,omitempty"` HypervisorType *HypervisorType `json:"hypervisorType,omitempty"` /* Host version of the node */ HypervisorVersion *string `json:"hypervisorVersion,omitempty"` /* Interface IPV6 address */ InterfaceIpv6 *string `json:"interfaceIpv6,omitempty"` IpmiIp *import4.IPAddress `json:"ipmiIp,omitempty"` /* Secure boot status */ IsSecureBooted *bool `json:"isSecureBooted,omitempty"` /* Position of a node in a rackable unit */ NodePosition *string `json:"nodePosition,omitempty"` /* UUID of the host */ NodeUuid *string `json:"nodeUuid,omitempty"` /* NOS software version of a node */ NosVersion *string `json:"nosVersion,omitempty"` /* Maximum number of nodes in rackable-unit */ RackableUnitMaxNodes *int64 `json:"rackableUnitMaxNodes,omitempty"` /* Rackable unit model type */ RackableUnitModel *string `json:"rackableUnitModel,omitempty"` /* Rackable unit serial name */ RackableUnitSerial *string `json:"rackableUnitSerial,omitempty"` }
Unconfigured node details
func NewUnconfiguredNodeListItem ¶
func NewUnconfiguredNodeListItem() *UnconfiguredNodeListItem
type UpdateClusterTaskApiResponse ¶
type UpdateClusterTaskApiResponse 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 *OneOfUpdateClusterTaskApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{extId} Put operation
func NewUpdateClusterTaskApiResponse ¶
func NewUpdateClusterTaskApiResponse() *UpdateClusterTaskApiResponse
func (*UpdateClusterTaskApiResponse) GetData ¶
func (p *UpdateClusterTaskApiResponse) GetData() interface{}
func (*UpdateClusterTaskApiResponse) SetData ¶
func (p *UpdateClusterTaskApiResponse) SetData(v interface{}) error
type UpdateRsyslogServerTaskApiResponse ¶
type UpdateRsyslogServerTaskApiResponse 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 *OneOfUpdateRsyslogServerTaskApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{clusterExtId}/rsyslog-servers/{extId} Put operation
func NewUpdateRsyslogServerTaskApiResponse ¶
func NewUpdateRsyslogServerTaskApiResponse() *UpdateRsyslogServerTaskApiResponse
func (*UpdateRsyslogServerTaskApiResponse) GetData ¶
func (p *UpdateRsyslogServerTaskApiResponse) GetData() interface{}
func (*UpdateRsyslogServerTaskApiResponse) SetData ¶
func (p *UpdateRsyslogServerTaskApiResponse) SetData(v interface{}) error
type UpdateSnmpStatusTaskApiResponse ¶
type UpdateSnmpStatusTaskApiResponse 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 *OneOfUpdateSnmpStatusTaskApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{extId}/snmp/$actions/update-status Post operation
func NewUpdateSnmpStatusTaskApiResponse ¶
func NewUpdateSnmpStatusTaskApiResponse() *UpdateSnmpStatusTaskApiResponse
func (*UpdateSnmpStatusTaskApiResponse) GetData ¶
func (p *UpdateSnmpStatusTaskApiResponse) GetData() interface{}
func (*UpdateSnmpStatusTaskApiResponse) SetData ¶
func (p *UpdateSnmpStatusTaskApiResponse) SetData(v interface{}) error
type UpdateSnmpTrapTaskApiResponse ¶
type UpdateSnmpTrapTaskApiResponse 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 *OneOfUpdateSnmpTrapTaskApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{clusterExtId}/snmp/traps/{extId} Put operation
func NewUpdateSnmpTrapTaskApiResponse ¶
func NewUpdateSnmpTrapTaskApiResponse() *UpdateSnmpTrapTaskApiResponse
func (*UpdateSnmpTrapTaskApiResponse) GetData ¶
func (p *UpdateSnmpTrapTaskApiResponse) GetData() interface{}
func (*UpdateSnmpTrapTaskApiResponse) SetData ¶
func (p *UpdateSnmpTrapTaskApiResponse) SetData(v interface{}) error
type UpdateSnmpUserTaskApiResponse ¶
type UpdateSnmpUserTaskApiResponse 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 *OneOfUpdateSnmpUserTaskApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{clusterExtId}/snmp/users/{extId} Put operation
func NewUpdateSnmpUserTaskApiResponse ¶
func NewUpdateSnmpUserTaskApiResponse() *UpdateSnmpUserTaskApiResponse
func (*UpdateSnmpUserTaskApiResponse) GetData ¶
func (p *UpdateSnmpUserTaskApiResponse) GetData() interface{}
func (*UpdateSnmpUserTaskApiResponse) SetData ¶
func (p *UpdateSnmpUserTaskApiResponse) SetData(v interface{}) error
type UpgradeStatus ¶
type UpgradeStatus int
Upgrade status of a cluster
const ( UPGRADESTATUS_UNKNOWN UpgradeStatus = 0 UPGRADESTATUS_REDACTED UpgradeStatus = 1 UPGRADESTATUS_PENDING UpgradeStatus = 2 UPGRADESTATUS_DOWNLOADING UpgradeStatus = 3 UPGRADESTATUS_QUEUED UpgradeStatus = 4 UPGRADESTATUS_PREUPGRADE UpgradeStatus = 5 UPGRADESTATUS_UPGRADING UpgradeStatus = 6 UPGRADESTATUS_SUCCEEDED UpgradeStatus = 7 UPGRADESTATUS_FAILED UpgradeStatus = 8 UPGRADESTATUS_CANCELLED UpgradeStatus = 9 UPGRADESTATUS_SCHEDULED UpgradeStatus = 10 )
func (*UpgradeStatus) MarshalJSON ¶
func (e *UpgradeStatus) MarshalJSON() ([]byte, error)
func (UpgradeStatus) Ref ¶
func (e UpgradeStatus) Ref() *UpgradeStatus
func (*UpgradeStatus) UnmarshalJSON ¶
func (e *UpgradeStatus) UnmarshalJSON(b []byte) error
type UplinkInfo ¶
type UplinkInfo struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` CvmIp *import4.IPAddress `json:"cvmIp,omitempty"` /* Uplink details for a controller VM */ UplinkList []NameMacRef `json:"uplinkList,omitempty"` }
Uplink information for controller VM
func NewUplinkInfo ¶
func NewUplinkInfo() *UplinkInfo
type UplinkNetworkItem ¶
type UplinkNetworkItem struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Name of the uplink */ Name *string `json:"name,omitempty"` /* List of network types */ Networks []string `json:"networks,omitempty"` Uplinks *Uplinks `json:"uplinks,omitempty"` }
Active and standby uplink information of the target nodes
func NewUplinkNetworkItem ¶
func NewUplinkNetworkItem() *UplinkNetworkItem
type UplinkNode ¶
type UplinkNode struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` CvmIp *import4.IPAddress `json:"cvmIp"` HypervisorIp *import4.IPAddress `json:"hypervisorIp,omitempty"` /* Active and standby uplink information of the target nodes */ Networks []UplinkNetworkItem `json:"networks"` }
Uplink information of the target nodes
func NewUplinkNode ¶
func NewUplinkNode() *UplinkNode
func (*UplinkNode) MarshalJSON ¶
func (p *UplinkNode) MarshalJSON() ([]byte, error)
type Uplinks ¶
type Uplinks struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Active uplink information */ Active []UplinksField `json:"active,omitempty"` /* Standby uplink information */ Standby []UplinksField `json:"standby,omitempty"` }
Active and standby uplink information of the target nodes
func NewUplinks ¶
func NewUplinks() *Uplinks
type UplinksField ¶
type UplinksField struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Mac address */ Mac *string `json:"mac,omitempty"` /* Interface name */ Name *string `json:"name,omitempty"` /* Interface value */ Value *string `json:"value,omitempty"` }
Properties of active and standby uplink
func NewUplinksField ¶
func NewUplinksField() *UplinksField
type UploadInfoNodeItem ¶
type UploadInfoNodeItem struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Error message if any, for available hypervisor ISO */ AvailableHypervisorIsoError *string `json:"availableHypervisorIsoError,omitempty"` /* Name of the hypervisor bundle */ BundleName *string `json:"bundleName,omitempty"` /* Provides information on whether hypervisor ISO upload is required or not. This API is not supported for XEN hypervisor type. */ HypervisorUploadRequired *bool `json:"hypervisorUploadRequired,omitempty"` /* Indicates if imaging is required or not */ IsImagingMandatory *bool `json:"isImagingMandatory,omitempty"` /* Indicates if node is compatible or not */ IsNodeCompatible *bool `json:"isNodeCompatible,omitempty"` /* Md5sum of ISO */ Md5Sum *string `json:"md5Sum,omitempty"` /* UUID of the host */ NodeUuid *string `json:"nodeUuid,omitempty"` RequiredHypervisorType *HypervisorType `json:"requiredHypervisorType,omitempty"` }
Upload information for a node
func NewUploadInfoNodeItem ¶
func NewUploadInfoNodeItem() *UploadInfoNodeItem
type UserInfo ¶
type UserInfo struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Cluster name. This is part of payload for both cluster create & update operations. */ ClusterName *string `json:"clusterName,omitempty"` /* Password */ Password *string `json:"password,omitempty"` /* Username */ UserName *string `json:"userName,omitempty"` }
UserName and Password model
func NewUserInfo ¶
func NewUserInfo() *UserInfo
type ValidateBundleInfo ¶
type ValidateBundleInfo struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Md5sum of ISO */ Md5Sum *string `json:"md5Sum,omitempty"` }
Information of the bundle to verify
func NewValidateBundleInfo ¶
func NewValidateBundleInfo() *ValidateBundleInfo
type ValidateNodeParam ¶
type ValidateNodeParam struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* */ SpecItemDiscriminator_ *string `json:"$specItemDiscriminator,omitempty"` Spec *OneOfValidateNodeParamSpec `json:"spec"` }
Request body for node validation. It can be OneOf between hypervisor bundle and node uplinks
func NewValidateNodeParam ¶
func NewValidateNodeParam() *ValidateNodeParam
func (*ValidateNodeParam) GetSpec ¶
func (p *ValidateNodeParam) GetSpec() interface{}
func (*ValidateNodeParam) MarshalJSON ¶
func (p *ValidateNodeParam) MarshalJSON() ([]byte, error)
func (*ValidateNodeParam) SetSpec ¶
func (p *ValidateNodeParam) SetSpec(v interface{}) error
type ValidateNodeTaskResponse ¶
type ValidateNodeTaskResponse 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 *OneOfValidateNodeTaskResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b1/config/clusters/{extId}/$actions/validate-node Post operation
func NewValidateNodeTaskResponse ¶
func NewValidateNodeTaskResponse() *ValidateNodeTaskResponse
func (*ValidateNodeTaskResponse) GetData ¶
func (p *ValidateNodeTaskResponse) GetData() interface{}
func (*ValidateNodeTaskResponse) SetData ¶
func (p *ValidateNodeTaskResponse) SetData(v interface{}) error
type VirtualNic ¶
type VirtualNic struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Status of DHCP protocol */ DhcpEnabled *bool `json:"dhcpEnabled,omitempty"` /* A globally unique identifier of an instance that is suitable for external consumption. */ ExtId *string `json:"extId,omitempty"` /* Host description */ HostDescription *string `json:"hostDescription,omitempty"` /* List of host NIC UUID associated with the host virtual NIC */ HostNicsUuids []string `json:"hostNicsUuids,omitempty"` /* Operational status of the interface to the port associated with the NIC entity. */ InterfaceStatus *string `json:"interfaceStatus,omitempty"` /* List of IPv4 addresses associated with the NIC entity for the network connection */ Ipv4Addresses []import4.IPAddress `json:"ipv4Addresses,omitempty"` /* List of IPv6 addresses associated with the NIC entity for the network connection */ Ipv6Addresses []import4.IPAddress `json:"ipv6Addresses,omitempty"` /* Link speed in Kbps */ LinkSpeedInKbps *int64 `json:"linkSpeedInKbps,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 []import3.ApiLink `json:"links,omitempty"` /* Host Mac address */ MacAddress *string `json:"macAddress,omitempty"` /* Maximum transmission unit in bytes */ MtuInBytes *int64 `json:"mtuInBytes,omitempty"` /* Virtual NIC name */ Name *string `json:"name,omitempty"` /* UUID of the host */ NodeUuid *string `json:"nodeUuid,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"` /* VLAN Id */ VlanId *int64 `json:"vlanId,omitempty"` }
Virtual NIC details
func NewVirtualNic ¶
func NewVirtualNic() *VirtualNic