Documentation
¶
Overview ¶
Configure Hosts, Clusters and other Infrastructure
Index ¶
- type AcropolisConnectionState
- type AddSnmpTransportsApiResponse
- type AddressType
- type AttributeItem
- type BackplaneNetworkParams
- type BlockItem
- type BuildReference
- type BundleInfo
- type BundleParam
- type CacheDeduplication
- type CheckHypervisorRequirementsApiResponse
- type Cluster
- type ClusterArchReference
- type ClusterConfigReference
- type ClusterFunctionRef
- type ClusterNetworkReference
- type ClusterReference
- type ComponentFaultTolerance
- type ComponentType
- type ComputeNodeItem
- type ConfigParams
- type ControllerVmReference
- type CreateClusterApiResponse
- type CreateRsyslogServerApiResponse
- type CreateSnmpTrapApiResponse
- type CreateSnmpUserApiResponse
- type CreateStorageContainerApiResponse
- type DataStore
- type DataStoreMount
- type DataStoreUnmount
- type DeleteClusterApiResponse
- type DeleteRsyslogServerApiResponse
- type DeleteSnmpTrapApiResponse
- type DeleteSnmpUserApiResponse
- type DeleteStorageContainerApiResponse
- type DigitalCertificateMapReference
- type DiscoverUnconfiguredNodesApiResponse
- type Disk
- type DiskAdvanceConfig
- type DiskReference
- type DiskStatus
- type DomainAwarenessLevel
- type DomainFaultTolerance
- type DomainType
- type EncryptionOptionInfo
- type EncryptionScopeInfo
- type EncryptionStatus
- type ErasureCodeStatus
- type ExpandClusterApiResponse
- type ExpandClusterParams
- type FaultToleranceState
- type FetchNodeNetworkingDetailsApiResponse
- type FetchTaskApiResponse
- type FileDetail
- type GetClusterApiResponse
- type GetDiskApiResponse
- type GetFaultToleranceStatusByClusterIdApiResponse
- type GetHostApiResponse
- type GetHostNicApiResponse
- type GetRackableUnitApiResponse
- type GetRsyslogServerApiResponse
- type GetSnmpConfigByClusterIdApiResponse
- type GetSnmpTrapApiResponse
- type GetSnmpUserApiResponse
- type GetStorageContainerApiResponse
- type GetVcenterExtensionApiResponse
- type GetVirtualNicApiResponse
- type GpuConfig
- type GpuMode
- type GpuProfile
- type GpuType
- type Host
- type HostGpu
- type HostNameParam
- type HostNic
- type HostTypeEnum
- type HypervCredentials
- type HypervisorIsoMap
- type HypervisorReference
- type HypervisorState
- type HypervisorType
- type HypervisorUploadInfo
- type HypervisorUploadNodeListItem
- type HypervisorUploadParam
- type IpmiReference
- type KeyManagementDeviceToCertStatusInfo
- type KeyManagementServerType
- type ListClustersApiResponse
- type ListDataStoresByClusterIdApiResponse
- type ListDisksApiResponse
- type ListHostNicsByHostIdApiResponse
- type ListHostsApiResponse
- type ListHostsByClusterIdApiResponse
- type ListRackableUnitsByClusterIdApiResponse
- type ListRsyslogServersByClusterIdApiResponse
- type ListStorageContainersApiResponse
- type ListVcenterExtensionsApiResponse
- type ListVirtualNicsByHostIdApiResponse
- type ManagementServerRef
- type ManagementServerType
- type MountStorageContainerApiResponse
- 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 OnDiskDedup
- type OneOfAddSnmpTransportsApiResponseData
- func (p *OneOfAddSnmpTransportsApiResponseData) GetValue() interface{}
- func (p *OneOfAddSnmpTransportsApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfAddSnmpTransportsApiResponseData) SetValue(v interface{}) error
- func (p *OneOfAddSnmpTransportsApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfCheckHypervisorRequirementsApiResponseData
- func (p *OneOfCheckHypervisorRequirementsApiResponseData) GetValue() interface{}
- func (p *OneOfCheckHypervisorRequirementsApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfCheckHypervisorRequirementsApiResponseData) SetValue(v interface{}) error
- func (p *OneOfCheckHypervisorRequirementsApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfCreateClusterApiResponseData
- type OneOfCreateRsyslogServerApiResponseData
- func (p *OneOfCreateRsyslogServerApiResponseData) GetValue() interface{}
- func (p *OneOfCreateRsyslogServerApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfCreateRsyslogServerApiResponseData) SetValue(v interface{}) error
- func (p *OneOfCreateRsyslogServerApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfCreateSnmpTrapApiResponseData
- type OneOfCreateSnmpUserApiResponseData
- type OneOfCreateStorageContainerApiResponseData
- func (p *OneOfCreateStorageContainerApiResponseData) GetValue() interface{}
- func (p *OneOfCreateStorageContainerApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfCreateStorageContainerApiResponseData) SetValue(v interface{}) error
- func (p *OneOfCreateStorageContainerApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfDeleteClusterApiResponseData
- type OneOfDeleteRsyslogServerApiResponseData
- func (p *OneOfDeleteRsyslogServerApiResponseData) GetValue() interface{}
- func (p *OneOfDeleteRsyslogServerApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfDeleteRsyslogServerApiResponseData) SetValue(v interface{}) error
- func (p *OneOfDeleteRsyslogServerApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfDeleteSnmpTrapApiResponseData
- type OneOfDeleteSnmpUserApiResponseData
- type OneOfDeleteStorageContainerApiResponseData
- func (p *OneOfDeleteStorageContainerApiResponseData) GetValue() interface{}
- func (p *OneOfDeleteStorageContainerApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfDeleteStorageContainerApiResponseData) SetValue(v interface{}) error
- func (p *OneOfDeleteStorageContainerApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfDiscoverUnconfiguredNodesApiResponseData
- func (p *OneOfDiscoverUnconfiguredNodesApiResponseData) GetValue() interface{}
- func (p *OneOfDiscoverUnconfiguredNodesApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfDiscoverUnconfiguredNodesApiResponseData) SetValue(v interface{}) error
- func (p *OneOfDiscoverUnconfiguredNodesApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfExpandClusterApiResponseData
- type OneOfFetchNodeNetworkingDetailsApiResponseData
- func (p *OneOfFetchNodeNetworkingDetailsApiResponseData) GetValue() interface{}
- func (p *OneOfFetchNodeNetworkingDetailsApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfFetchNodeNetworkingDetailsApiResponseData) SetValue(v interface{}) error
- func (p *OneOfFetchNodeNetworkingDetailsApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfFetchTaskApiResponseData
- type OneOfGetClusterApiResponseData
- type OneOfGetDiskApiResponseData
- type OneOfGetFaultToleranceStatusByClusterIdApiResponseData
- func (p *OneOfGetFaultToleranceStatusByClusterIdApiResponseData) GetValue() interface{}
- func (p *OneOfGetFaultToleranceStatusByClusterIdApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfGetFaultToleranceStatusByClusterIdApiResponseData) SetValue(v interface{}) error
- func (p *OneOfGetFaultToleranceStatusByClusterIdApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfGetHostApiResponseData
- type OneOfGetHostNicApiResponseData
- type OneOfGetRackableUnitApiResponseData
- type OneOfGetRsyslogServerApiResponseData
- func (p *OneOfGetRsyslogServerApiResponseData) GetValue() interface{}
- func (p *OneOfGetRsyslogServerApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfGetRsyslogServerApiResponseData) SetValue(v interface{}) error
- func (p *OneOfGetRsyslogServerApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfGetSnmpConfigByClusterIdApiResponseData
- func (p *OneOfGetSnmpConfigByClusterIdApiResponseData) GetValue() interface{}
- func (p *OneOfGetSnmpConfigByClusterIdApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfGetSnmpConfigByClusterIdApiResponseData) SetValue(v interface{}) error
- func (p *OneOfGetSnmpConfigByClusterIdApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfGetSnmpTrapApiResponseData
- type OneOfGetSnmpUserApiResponseData
- type OneOfGetStorageContainerApiResponseData
- func (p *OneOfGetStorageContainerApiResponseData) GetValue() interface{}
- func (p *OneOfGetStorageContainerApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfGetStorageContainerApiResponseData) SetValue(v interface{}) error
- func (p *OneOfGetStorageContainerApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfGetVcenterExtensionApiResponseData
- func (p *OneOfGetVcenterExtensionApiResponseData) GetValue() interface{}
- func (p *OneOfGetVcenterExtensionApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfGetVcenterExtensionApiResponseData) SetValue(v interface{}) error
- func (p *OneOfGetVcenterExtensionApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfGetVirtualNicApiResponseData
- type OneOfListClustersApiResponseData
- type OneOfListDataStoresByClusterIdApiResponseData
- func (p *OneOfListDataStoresByClusterIdApiResponseData) GetValue() interface{}
- func (p *OneOfListDataStoresByClusterIdApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfListDataStoresByClusterIdApiResponseData) SetValue(v interface{}) error
- func (p *OneOfListDataStoresByClusterIdApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfListDisksApiResponseData
- type OneOfListHostNicsByHostIdApiResponseData
- func (p *OneOfListHostNicsByHostIdApiResponseData) GetValue() interface{}
- func (p *OneOfListHostNicsByHostIdApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfListHostNicsByHostIdApiResponseData) SetValue(v interface{}) error
- func (p *OneOfListHostNicsByHostIdApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfListHostsApiResponseData
- type OneOfListHostsByClusterIdApiResponseData
- func (p *OneOfListHostsByClusterIdApiResponseData) GetValue() interface{}
- func (p *OneOfListHostsByClusterIdApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfListHostsByClusterIdApiResponseData) SetValue(v interface{}) error
- func (p *OneOfListHostsByClusterIdApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfListRackableUnitsByClusterIdApiResponseData
- func (p *OneOfListRackableUnitsByClusterIdApiResponseData) GetValue() interface{}
- func (p *OneOfListRackableUnitsByClusterIdApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfListRackableUnitsByClusterIdApiResponseData) SetValue(v interface{}) error
- func (p *OneOfListRackableUnitsByClusterIdApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfListRsyslogServersByClusterIdApiResponseData
- func (p *OneOfListRsyslogServersByClusterIdApiResponseData) GetValue() interface{}
- func (p *OneOfListRsyslogServersByClusterIdApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfListRsyslogServersByClusterIdApiResponseData) SetValue(v interface{}) error
- func (p *OneOfListRsyslogServersByClusterIdApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfListStorageContainersApiResponseData
- func (p *OneOfListStorageContainersApiResponseData) GetValue() interface{}
- func (p *OneOfListStorageContainersApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfListStorageContainersApiResponseData) SetValue(v interface{}) error
- func (p *OneOfListStorageContainersApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfListVcenterExtensionsApiResponseData
- func (p *OneOfListVcenterExtensionsApiResponseData) GetValue() interface{}
- func (p *OneOfListVcenterExtensionsApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfListVcenterExtensionsApiResponseData) SetValue(v interface{}) error
- func (p *OneOfListVcenterExtensionsApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfListVirtualNicsByHostIdApiResponseData
- func (p *OneOfListVirtualNicsByHostIdApiResponseData) GetValue() interface{}
- func (p *OneOfListVirtualNicsByHostIdApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfListVirtualNicsByHostIdApiResponseData) SetValue(v interface{}) error
- func (p *OneOfListVirtualNicsByHostIdApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfMountStorageContainerApiResponseData
- func (p *OneOfMountStorageContainerApiResponseData) GetValue() interface{}
- func (p *OneOfMountStorageContainerApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfMountStorageContainerApiResponseData) SetValue(v interface{}) error
- func (p *OneOfMountStorageContainerApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfRegisterVcenterExtensionApiResponseData
- func (p *OneOfRegisterVcenterExtensionApiResponseData) GetValue() interface{}
- func (p *OneOfRegisterVcenterExtensionApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfRegisterVcenterExtensionApiResponseData) SetValue(v interface{}) error
- func (p *OneOfRegisterVcenterExtensionApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfRemoveNodeApiResponseData
- type OneOfRemoveSnmpTransportsApiResponseData
- func (p *OneOfRemoveSnmpTransportsApiResponseData) GetValue() interface{}
- func (p *OneOfRemoveSnmpTransportsApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfRemoveSnmpTransportsApiResponseData) SetValue(v interface{}) error
- func (p *OneOfRemoveSnmpTransportsApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfRenameHostApiResponseData
- type OneOfSearchResponseResponse
- type OneOfUnmountStorageContainerApiResponseData
- func (p *OneOfUnmountStorageContainerApiResponseData) GetValue() interface{}
- func (p *OneOfUnmountStorageContainerApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfUnmountStorageContainerApiResponseData) SetValue(v interface{}) error
- func (p *OneOfUnmountStorageContainerApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfUnregisterVcenterExtensionApiResponseData
- func (p *OneOfUnregisterVcenterExtensionApiResponseData) GetValue() interface{}
- func (p *OneOfUnregisterVcenterExtensionApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfUnregisterVcenterExtensionApiResponseData) SetValue(v interface{}) error
- func (p *OneOfUnregisterVcenterExtensionApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfUpdateClusterApiResponseData
- type OneOfUpdateRsyslogServerApiResponseData
- func (p *OneOfUpdateRsyslogServerApiResponseData) GetValue() interface{}
- func (p *OneOfUpdateRsyslogServerApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfUpdateRsyslogServerApiResponseData) SetValue(v interface{}) error
- func (p *OneOfUpdateRsyslogServerApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfUpdateSnmpStatusApiResponseData
- func (p *OneOfUpdateSnmpStatusApiResponseData) GetValue() interface{}
- func (p *OneOfUpdateSnmpStatusApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfUpdateSnmpStatusApiResponseData) SetValue(v interface{}) error
- func (p *OneOfUpdateSnmpStatusApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfUpdateSnmpTrapApiResponseData
- type OneOfUpdateSnmpUserApiResponseData
- type OneOfUpdateStorageContainerApiResponseData
- func (p *OneOfUpdateStorageContainerApiResponseData) GetValue() interface{}
- func (p *OneOfUpdateStorageContainerApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfUpdateStorageContainerApiResponseData) SetValue(v interface{}) error
- func (p *OneOfUpdateStorageContainerApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfValidateNodeApiResponseData
- type OneOfValidateNodeParamSpec
- type OperationMode
- type PublicKey
- type RackReference
- type RackableUnit
- type RackableUnitModel
- type RackableUnitNode
- type RegisterVcenterExtensionApiResponse
- type RemoveNodeApiResponse
- type RemoveSnmpTransportsApiResponse
- type RenameHostApiResponse
- 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 StorageContainer
- type StorageTier
- type StorageTierReference
- type ToleranceMessage
- type UnconfigureNodeDetails
- type UnconfiguredNodeAttributeMap
- type UnconfiguredNodeListItem
- type UnmountStorageContainerApiResponse
- type UnregisterVcenterExtensionApiResponse
- type UpdateClusterApiResponse
- type UpdateRsyslogServerApiResponse
- type UpdateSnmpStatusApiResponse
- type UpdateSnmpTrapApiResponse
- type UpdateSnmpUserApiResponse
- type UpdateStorageContainerApiResponse
- type UpgradeStatus
- type UplinkInfo
- type UplinkNetworkItem
- type UplinkNode
- type Uplinks
- type UplinksField
- type UploadInfoNodeItem
- type UserInfo
- type ValidateBundleInfo
- type ValidateNodeApiResponse
- type ValidateNodeParam
- type VcenterCredentials
- type VcenterExtension
- 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 AddSnmpTransportsApiResponse ¶
type AddSnmpTransportsApiResponse 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 *OneOfAddSnmpTransportsApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{extId}/snmp/$actions/add-transports Post operation
func NewAddSnmpTransportsApiResponse ¶
func NewAddSnmpTransportsApiResponse() *AddSnmpTransportsApiResponse
func (*AddSnmpTransportsApiResponse) GetData ¶
func (p *AddSnmpTransportsApiResponse) GetData() interface{}
func (*AddSnmpTransportsApiResponse) SetData ¶
func (p *AddSnmpTransportsApiResponse) 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 CacheDeduplication ¶
type CacheDeduplication int
Indicates the current status of Cache Deduplication for the Container.
const ( CACHEDEDUPLICATION_UNKNOWN CacheDeduplication = 0 CACHEDEDUPLICATION_REDACTED CacheDeduplication = 1 CACHEDEDUPLICATION_NONE CacheDeduplication = 2 CACHEDEDUPLICATION_OFF CacheDeduplication = 3 CACHEDEDUPLICATION_ON CacheDeduplication = 4 )
func (CacheDeduplication) GetName ¶
func (e CacheDeduplication) GetName() string
Returns the name of the enum
func (*CacheDeduplication) MarshalJSON ¶
func (e *CacheDeduplication) MarshalJSON() ([]byte, error)
func (CacheDeduplication) Ref ¶
func (e CacheDeduplication) Ref() *CacheDeduplication
func (*CacheDeduplication) UnmarshalJSON ¶
func (e *CacheDeduplication) UnmarshalJSON(b []byte) error
type CheckHypervisorRequirementsApiResponse ¶
type CheckHypervisorRequirementsApiResponse 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 *OneOfCheckHypervisorRequirementsApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{extId}/$actions/check-hypervisor-requirements Post operation
func NewCheckHypervisorRequirementsApiResponse ¶
func NewCheckHypervisorRequirementsApiResponse() *CheckHypervisorRequirementsApiResponse
func (*CheckHypervisorRequirementsApiResponse) GetData ¶
func (p *CheckHypervisorRequirementsApiResponse) GetData() interface{}
func (*CheckHypervisorRequirementsApiResponse) SetData ¶
func (p *CheckHypervisorRequirementsApiResponse) SetData(v interface{}) 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"` /* Flag determines whether only prechecks must be run and create cluster operation be skipped.This is an optional param for cluster create operation only. */ RunPrechecksOnly *bool `json:"runPrechecksOnly,omitempty"` /* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` 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 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 CreateClusterApiResponse ¶
type CreateClusterApiResponse 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 *OneOfCreateClusterApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters Post operation
func NewCreateClusterApiResponse ¶
func NewCreateClusterApiResponse() *CreateClusterApiResponse
func (*CreateClusterApiResponse) GetData ¶
func (p *CreateClusterApiResponse) GetData() interface{}
func (*CreateClusterApiResponse) SetData ¶
func (p *CreateClusterApiResponse) SetData(v interface{}) error
type CreateRsyslogServerApiResponse ¶
type CreateRsyslogServerApiResponse 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 *OneOfCreateRsyslogServerApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{extId}/rsyslog-servers Post operation
func NewCreateRsyslogServerApiResponse ¶
func NewCreateRsyslogServerApiResponse() *CreateRsyslogServerApiResponse
func (*CreateRsyslogServerApiResponse) GetData ¶
func (p *CreateRsyslogServerApiResponse) GetData() interface{}
func (*CreateRsyslogServerApiResponse) SetData ¶
func (p *CreateRsyslogServerApiResponse) SetData(v interface{}) error
type CreateSnmpTrapApiResponse ¶
type CreateSnmpTrapApiResponse 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 *OneOfCreateSnmpTrapApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{extId}/snmp/traps Post operation
func NewCreateSnmpTrapApiResponse ¶
func NewCreateSnmpTrapApiResponse() *CreateSnmpTrapApiResponse
func (*CreateSnmpTrapApiResponse) GetData ¶
func (p *CreateSnmpTrapApiResponse) GetData() interface{}
func (*CreateSnmpTrapApiResponse) SetData ¶
func (p *CreateSnmpTrapApiResponse) SetData(v interface{}) error
type CreateSnmpUserApiResponse ¶
type CreateSnmpUserApiResponse 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 *OneOfCreateSnmpUserApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{extId}/snmp/users Post operation
func NewCreateSnmpUserApiResponse ¶
func NewCreateSnmpUserApiResponse() *CreateSnmpUserApiResponse
func (*CreateSnmpUserApiResponse) GetData ¶
func (p *CreateSnmpUserApiResponse) GetData() interface{}
func (*CreateSnmpUserApiResponse) SetData ¶
func (p *CreateSnmpUserApiResponse) SetData(v interface{}) error
type CreateStorageContainerApiResponse ¶
type CreateStorageContainerApiResponse 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 *OneOfCreateStorageContainerApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/storage-containers Post operation
func NewCreateStorageContainerApiResponse ¶
func NewCreateStorageContainerApiResponse() *CreateStorageContainerApiResponse
func (*CreateStorageContainerApiResponse) GetData ¶
func (p *CreateStorageContainerApiResponse) GetData() interface{}
func (*CreateStorageContainerApiResponse) SetData ¶
func (p *CreateStorageContainerApiResponse) SetData(v interface{}) error
type DataStore ¶
type DataStore struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Maximum physical capacity of the Storage Container in bytes. */ CapacityBytes *int64 `json:"capacityBytes,omitempty"` /* extId of the Storage Container. */ ContainerExtId *string `json:"containerExtId,omitempty"` /* Name of the Storage Container. Note that the name of Storage Container should be unique per cluster. */ ContainerName *string `json:"containerName,omitempty"` /* Name of the Data Store. */ DatastoreName *string `json:"datastoreName,omitempty"` /* A globally unique identifier of an instance that is suitable for external consumption. */ ExtId *string `json:"extId,omitempty"` /* The free space in the Data Store. */ FreeSpaceBytes *int64 `json:"freeSpaceBytes,omitempty"` /* ExtId of the host for Data Store. */ HostExtId *string `json:"hostExtId,omitempty"` /* Host IP for Data Store. */ HostIpAddress *string `json:"hostIpAddress,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"` /* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` /* List of VM names in the Data Store. */ VmNames []string `json:"vmNames,omitempty"` }
func NewDataStore ¶
func NewDataStore() *DataStore
type DataStoreMount ¶
type DataStoreMount struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Name of the Storage Container. Note that the name of Storage Container should be unique per cluster. */ ContainerName *string `json:"containerName"` /* Name of the Data Store. */ DatastoreName *string `json:"datastoreName,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"` /* The UUIDs of the nodes where the NFS Data Store has to be created. */ NodeExtIds []string `json:"nodeExtIds,omitempty"` /* Indicates if the host system has only read-only access to the NFS share. */ ReadOnly *bool `json:"readOnly,omitempty"` /* The target path on which to mount the NFS Data Store. */ TargetPath *string `json:"targetPath,omitempty"` /* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` }
func NewDataStoreMount ¶
func NewDataStoreMount() *DataStoreMount
func (*DataStoreMount) MarshalJSON ¶
func (p *DataStoreMount) MarshalJSON() ([]byte, error)
type DataStoreUnmount ¶
type DataStoreUnmount struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Name of the Data Store. */ DatastoreName *string `json:"datastoreName"` /* 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"` /* The UUIDs of the nodes where the NFS Data Store has to be created. */ NodeExtIds []string `json:"nodeExtIds,omitempty"` /* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` }
func NewDataStoreUnmount ¶
func NewDataStoreUnmount() *DataStoreUnmount
func (*DataStoreUnmount) MarshalJSON ¶
func (p *DataStoreUnmount) MarshalJSON() ([]byte, error)
type DeleteClusterApiResponse ¶
type DeleteClusterApiResponse 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 *OneOfDeleteClusterApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{extId} Delete operation
func NewDeleteClusterApiResponse ¶
func NewDeleteClusterApiResponse() *DeleteClusterApiResponse
func (*DeleteClusterApiResponse) GetData ¶
func (p *DeleteClusterApiResponse) GetData() interface{}
func (*DeleteClusterApiResponse) SetData ¶
func (p *DeleteClusterApiResponse) SetData(v interface{}) error
type DeleteRsyslogServerApiResponse ¶
type DeleteRsyslogServerApiResponse 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 *OneOfDeleteRsyslogServerApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{clusterExtId}/rsyslog-servers/{extId} Delete operation
func NewDeleteRsyslogServerApiResponse ¶
func NewDeleteRsyslogServerApiResponse() *DeleteRsyslogServerApiResponse
func (*DeleteRsyslogServerApiResponse) GetData ¶
func (p *DeleteRsyslogServerApiResponse) GetData() interface{}
func (*DeleteRsyslogServerApiResponse) SetData ¶
func (p *DeleteRsyslogServerApiResponse) SetData(v interface{}) error
type DeleteSnmpTrapApiResponse ¶
type DeleteSnmpTrapApiResponse 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 *OneOfDeleteSnmpTrapApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{clusterExtId}/snmp/traps/{extId} Delete operation
func NewDeleteSnmpTrapApiResponse ¶
func NewDeleteSnmpTrapApiResponse() *DeleteSnmpTrapApiResponse
func (*DeleteSnmpTrapApiResponse) GetData ¶
func (p *DeleteSnmpTrapApiResponse) GetData() interface{}
func (*DeleteSnmpTrapApiResponse) SetData ¶
func (p *DeleteSnmpTrapApiResponse) SetData(v interface{}) error
type DeleteSnmpUserApiResponse ¶
type DeleteSnmpUserApiResponse 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 *OneOfDeleteSnmpUserApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{clusterExtId}/snmp/users/{extId} Delete operation
func NewDeleteSnmpUserApiResponse ¶
func NewDeleteSnmpUserApiResponse() *DeleteSnmpUserApiResponse
func (*DeleteSnmpUserApiResponse) GetData ¶
func (p *DeleteSnmpUserApiResponse) GetData() interface{}
func (*DeleteSnmpUserApiResponse) SetData ¶
func (p *DeleteSnmpUserApiResponse) SetData(v interface{}) error
type DeleteStorageContainerApiResponse ¶
type DeleteStorageContainerApiResponse 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 *OneOfDeleteStorageContainerApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/storage-containers/{extId} Delete operation
func NewDeleteStorageContainerApiResponse ¶
func NewDeleteStorageContainerApiResponse() *DeleteStorageContainerApiResponse
func (*DeleteStorageContainerApiResponse) GetData ¶
func (p *DeleteStorageContainerApiResponse) GetData() interface{}
func (*DeleteStorageContainerApiResponse) SetData ¶
func (p *DeleteStorageContainerApiResponse) 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 DiscoverUnconfiguredNodesApiResponse ¶
type DiscoverUnconfiguredNodesApiResponse 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 *OneOfDiscoverUnconfiguredNodesApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{extId}/$actions/discover-unconfigured-nodes Post operation
func NewDiscoverUnconfiguredNodesApiResponse ¶
func NewDiscoverUnconfiguredNodesApiResponse() *DiscoverUnconfiguredNodesApiResponse
func (*DiscoverUnconfiguredNodesApiResponse) GetData ¶
func (p *DiscoverUnconfiguredNodesApiResponse) GetData() interface{}
func (*DiscoverUnconfiguredNodesApiResponse) SetData ¶
func (p *DiscoverUnconfiguredNodesApiResponse) SetData(v interface{}) error
type Disk ¶
type Disk struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* The external identifier of the Disk Cluster. */ ClusterExtId *string `json:"clusterExtId,omitempty"` /* Cluster name of the Disk it belongs to. */ ClusterName *string `json:"clusterName,omitempty"` CvmIpAddress *import4.IPAddress `json:"cvmIpAddress,omitempty"` DiskAdvanceConfig *DiskAdvanceConfig `json:"diskAdvanceConfig,omitempty"` /* Size of the Disk in bytes. */ DiskSizeBytes *int64 `json:"diskSizeBytes,omitempty"` /* A globally unique identifier of an instance that is suitable for external consumption. */ ExtId *string `json:"extId,omitempty"` /* Represents the current firmware version. */ FirmwareVersion *string `json:"firmwareVersion,omitempty"` /* Host name of the Disk it belongs to. */ HostName *string `json:"hostName,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"` /* Indicates the location of Disk in a node. */ Location *int64 `json:"location,omitempty"` /* Represents the Disk model. */ Model *string `json:"model,omitempty"` /* Represents the mount path of the Disk. */ MountPath *string `json:"mountPath,omitempty"` /* The external identifier of the node. */ NodeExtId *string `json:"nodeExtId,omitempty"` NodeIpAddress *import4.IPAddress `json:"nodeIpAddress,omitempty"` /* Indicates the PCIe path of NVMe devices. */ NvmePciePath *string `json:"nvmePciePath,omitempty"` /* Physical capacity of the Disk in bytes. */ PhysicalCapacityBytes *int64 `json:"physicalCapacityBytes,omitempty"` /* Represents the Disk serial number. */ SerialNumber *string `json:"serialNumber,omitempty"` /* ServiceVMId of the node. */ ServiceVMId *string `json:"serviceVMId,omitempty"` Status *DiskStatus `json:"status,omitempty"` /* The external identifier of storage pool. */ StoragePoolExtId *string `json:"storagePoolExtId,omitempty"` StorageTier *StorageTier `json:"storageTier,omitempty"` /* Represents the target firmware version. */ TargetFirmwareVersion *string `json:"targetFirmwareVersion,omitempty"` /* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` /* Represents the Disk vendor. */ Vendor *string `json:"vendor,omitempty"` }
A model that represents Disk resources.
type DiskAdvanceConfig ¶
type DiskAdvanceConfig 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"` /* Indicates if the Disk is boot only and no Disk operation to be run on it. */ HasBootPartitionsOnly *bool `json:"hasBootPartitionsOnly,omitempty"` /* Indicates if Disk is a boot Disk. */ IsBootDisk *bool `json:"isBootDisk,omitempty"` /* Indicates if data migration is completed for the Disk. */ IsDataMigrated *bool `json:"isDataMigrated,omitempty"` /* Indicates the Disk diagnostic info along with device related statics is present. */ IsDiagnosticInfoAvailable *bool `json:"isDiagnosticInfoAvailable,omitempty"` /* Indicates Disk error is seen on the Disk in kernel logs or not. */ IsErrorFoundInLog *bool `json:"isErrorFoundInLog,omitempty"` /* Indicates if the Disk is marked for removal. */ IsMarkedForRemoval *bool `json:"isMarkedForRemoval,omitempty"` /* Indicates if the Disk is mounted. */ IsMounted *bool `json:"isMounted,omitempty"` /* Indicates whether Disk is online or offline. */ IsOnline *bool `json:"isOnline,omitempty"` /* Indicates if the Disk is password protected. */ IsPasswordProtected *bool `json:"isPasswordProtected,omitempty"` /* Indicates if diagnostics are running on the Disk. */ IsPlannedOutage *bool `json:"isPlannedOutage,omitempty"` /* Indicates whether the Disk has self encryption enabled. */ IsSelfEncryptingDrive *bool `json:"isSelfEncryptingDrive,omitempty"` /* Indicates if the NVMe Disk is self managed and no host/CVM reboot is required. */ IsSelfManagedNvme *bool `json:"isSelfManagedNvme,omitempty"` /* Indicates if NVMe device is managed by storage performance development kit(SPDK). */ IsSpdkManaged *bool `json:"isSpdkManaged,omitempty"` /* Indicates if the Disk is suspected to be unhealthy. */ IsSuspectedUnhealthy *bool `json:"isSuspectedUnhealthy,omitempty"` /* Indicates if the Disk is under diagnosis. */ IsUnderDiagnosis *bool `json:"isUnderDiagnosis,omitempty"` /* Indicates if the Disk is unhealthy. */ IsUnhealthy *bool `json:"isUnhealthy,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"` /* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` }
A model that represents Disk advance config properties.
func NewDiskAdvanceConfig ¶
func NewDiskAdvanceConfig() *DiskAdvanceConfig
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 DiskStatus ¶
type DiskStatus int
Indicates the status of the Disk.
const ( DISKSTATUS_UNKNOWN DiskStatus = 0 DISKSTATUS_REDACTED DiskStatus = 1 DISKSTATUS_NORMAL DiskStatus = 2 DISKSTATUS_MARKED_FOR_REMOVAL_BUT_NOT_DETACHABLE DiskStatus = 3 DISKSTATUS_DETACHABLE DiskStatus = 4 DISKSTATUS_DATA_MIGRATION_INITIATED DiskStatus = 5 )
func (*DiskStatus) MarshalJSON ¶
func (e *DiskStatus) MarshalJSON() ([]byte, error)
func (DiskStatus) Ref ¶
func (e DiskStatus) Ref() *DiskStatus
func (*DiskStatus) UnmarshalJSON ¶
func (e *DiskStatus) UnmarshalJSON(b []byte) error
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 ErasureCodeStatus ¶
type ErasureCodeStatus int
Indicates the current status value for Erasure Coding for the Container.
const ( ERASURECODESTATUS_UNKNOWN ErasureCodeStatus = 0 ERASURECODESTATUS_REDACTED ErasureCodeStatus = 1 ERASURECODESTATUS_NONE ErasureCodeStatus = 2 ERASURECODESTATUS_OFF ErasureCodeStatus = 3 ERASURECODESTATUS_ON ErasureCodeStatus = 4 )
func (ErasureCodeStatus) GetName ¶
func (e ErasureCodeStatus) GetName() string
Returns the name of the enum
func (*ErasureCodeStatus) MarshalJSON ¶
func (e *ErasureCodeStatus) MarshalJSON() ([]byte, error)
func (ErasureCodeStatus) Ref ¶
func (e ErasureCodeStatus) Ref() *ErasureCodeStatus
func (*ErasureCodeStatus) UnmarshalJSON ¶
func (e *ErasureCodeStatus) UnmarshalJSON(b []byte) error
type ExpandClusterApiResponse ¶
type ExpandClusterApiResponse 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 *OneOfExpandClusterApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{extId}/$actions/expand-cluster Post operation
func NewExpandClusterApiResponse ¶
func NewExpandClusterApiResponse() *ExpandClusterApiResponse
func (*ExpandClusterApiResponse) GetData ¶
func (p *ExpandClusterApiResponse) GetData() interface{}
func (*ExpandClusterApiResponse) SetData ¶
func (p *ExpandClusterApiResponse) SetData(v interface{}) 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 FetchNodeNetworkingDetailsApiResponse ¶
type FetchNodeNetworkingDetailsApiResponse 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 *OneOfFetchNodeNetworkingDetailsApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{extId}/$actions/fetch-node-networking-details Post operation
func NewFetchNodeNetworkingDetailsApiResponse ¶
func NewFetchNodeNetworkingDetailsApiResponse() *FetchNodeNetworkingDetailsApiResponse
func (*FetchNodeNetworkingDetailsApiResponse) GetData ¶
func (p *FetchNodeNetworkingDetailsApiResponse) GetData() interface{}
func (*FetchNodeNetworkingDetailsApiResponse) SetData ¶
func (p *FetchNodeNetworkingDetailsApiResponse) SetData(v interface{}) error
type FetchTaskApiResponse ¶
type FetchTaskApiResponse 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 *OneOfFetchTaskApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/tasks/{extId}/$actions/fetch-task-response Post operation
func NewFetchTaskApiResponse ¶
func NewFetchTaskApiResponse() *FetchTaskApiResponse
func (*FetchTaskApiResponse) GetData ¶
func (p *FetchTaskApiResponse) GetData() interface{}
func (*FetchTaskApiResponse) SetData ¶
func (p *FetchTaskApiResponse) SetData(v interface{}) error
type FileDetail ¶
func NewFileDetail ¶
func NewFileDetail() *FileDetail
type GetClusterApiResponse ¶
type GetClusterApiResponse 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 *OneOfGetClusterApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{extId} Get operation
func NewGetClusterApiResponse ¶
func NewGetClusterApiResponse() *GetClusterApiResponse
func (*GetClusterApiResponse) GetData ¶
func (p *GetClusterApiResponse) GetData() interface{}
func (*GetClusterApiResponse) SetData ¶
func (p *GetClusterApiResponse) SetData(v interface{}) error
type GetDiskApiResponse ¶
type GetDiskApiResponse 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 *OneOfGetDiskApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/disks/{extId} Get operation
func NewGetDiskApiResponse ¶
func NewGetDiskApiResponse() *GetDiskApiResponse
func (*GetDiskApiResponse) GetData ¶
func (p *GetDiskApiResponse) GetData() interface{}
func (*GetDiskApiResponse) SetData ¶
func (p *GetDiskApiResponse) SetData(v interface{}) error
type GetFaultToleranceStatusByClusterIdApiResponse ¶
type GetFaultToleranceStatusByClusterIdApiResponse 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 *OneOfGetFaultToleranceStatusByClusterIdApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{extId}/fault-tolerance-status Get operation
func NewGetFaultToleranceStatusByClusterIdApiResponse ¶
func NewGetFaultToleranceStatusByClusterIdApiResponse() *GetFaultToleranceStatusByClusterIdApiResponse
func (*GetFaultToleranceStatusByClusterIdApiResponse) GetData ¶
func (p *GetFaultToleranceStatusByClusterIdApiResponse) GetData() interface{}
func (*GetFaultToleranceStatusByClusterIdApiResponse) SetData ¶
func (p *GetFaultToleranceStatusByClusterIdApiResponse) SetData(v interface{}) error
type GetHostApiResponse ¶
type GetHostApiResponse 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 *OneOfGetHostApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{clusterExtId}/hosts/{extId} Get operation
func NewGetHostApiResponse ¶
func NewGetHostApiResponse() *GetHostApiResponse
func (*GetHostApiResponse) GetData ¶
func (p *GetHostApiResponse) GetData() interface{}
func (*GetHostApiResponse) SetData ¶
func (p *GetHostApiResponse) SetData(v interface{}) error
type GetHostNicApiResponse ¶
type GetHostNicApiResponse 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 *OneOfGetHostNicApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{clusterExtId}/hosts/{hostExtId}/host-nics/{extId} Get operation
func NewGetHostNicApiResponse ¶
func NewGetHostNicApiResponse() *GetHostNicApiResponse
func (*GetHostNicApiResponse) GetData ¶
func (p *GetHostNicApiResponse) GetData() interface{}
func (*GetHostNicApiResponse) SetData ¶
func (p *GetHostNicApiResponse) SetData(v interface{}) error
type GetRackableUnitApiResponse ¶
type GetRackableUnitApiResponse 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 *OneOfGetRackableUnitApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{clusterExtId}/rackable-units/{extId} Get operation
func NewGetRackableUnitApiResponse ¶
func NewGetRackableUnitApiResponse() *GetRackableUnitApiResponse
func (*GetRackableUnitApiResponse) GetData ¶
func (p *GetRackableUnitApiResponse) GetData() interface{}
func (*GetRackableUnitApiResponse) SetData ¶
func (p *GetRackableUnitApiResponse) SetData(v interface{}) error
type GetRsyslogServerApiResponse ¶
type GetRsyslogServerApiResponse 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 *OneOfGetRsyslogServerApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{clusterExtId}/rsyslog-servers/{extId} Get operation
func NewGetRsyslogServerApiResponse ¶
func NewGetRsyslogServerApiResponse() *GetRsyslogServerApiResponse
func (*GetRsyslogServerApiResponse) GetData ¶
func (p *GetRsyslogServerApiResponse) GetData() interface{}
func (*GetRsyslogServerApiResponse) SetData ¶
func (p *GetRsyslogServerApiResponse) SetData(v interface{}) error
type GetSnmpConfigByClusterIdApiResponse ¶
type GetSnmpConfigByClusterIdApiResponse 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 *OneOfGetSnmpConfigByClusterIdApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{extId}/snmp Get operation
func NewGetSnmpConfigByClusterIdApiResponse ¶
func NewGetSnmpConfigByClusterIdApiResponse() *GetSnmpConfigByClusterIdApiResponse
func (*GetSnmpConfigByClusterIdApiResponse) GetData ¶
func (p *GetSnmpConfigByClusterIdApiResponse) GetData() interface{}
func (*GetSnmpConfigByClusterIdApiResponse) SetData ¶
func (p *GetSnmpConfigByClusterIdApiResponse) SetData(v interface{}) error
type GetSnmpTrapApiResponse ¶
type GetSnmpTrapApiResponse 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 *OneOfGetSnmpTrapApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{clusterExtId}/snmp/traps/{extId} Get operation
func NewGetSnmpTrapApiResponse ¶
func NewGetSnmpTrapApiResponse() *GetSnmpTrapApiResponse
func (*GetSnmpTrapApiResponse) GetData ¶
func (p *GetSnmpTrapApiResponse) GetData() interface{}
func (*GetSnmpTrapApiResponse) SetData ¶
func (p *GetSnmpTrapApiResponse) SetData(v interface{}) error
type GetSnmpUserApiResponse ¶
type GetSnmpUserApiResponse 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 *OneOfGetSnmpUserApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{clusterExtId}/snmp/users/{extId} Get operation
func NewGetSnmpUserApiResponse ¶
func NewGetSnmpUserApiResponse() *GetSnmpUserApiResponse
func (*GetSnmpUserApiResponse) GetData ¶
func (p *GetSnmpUserApiResponse) GetData() interface{}
func (*GetSnmpUserApiResponse) SetData ¶
func (p *GetSnmpUserApiResponse) SetData(v interface{}) error
type GetStorageContainerApiResponse ¶
type GetStorageContainerApiResponse 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 *OneOfGetStorageContainerApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/storage-containers/{extId} Get operation
func NewGetStorageContainerApiResponse ¶
func NewGetStorageContainerApiResponse() *GetStorageContainerApiResponse
func (*GetStorageContainerApiResponse) GetData ¶
func (p *GetStorageContainerApiResponse) GetData() interface{}
func (*GetStorageContainerApiResponse) SetData ¶
func (p *GetStorageContainerApiResponse) SetData(v interface{}) error
type GetVcenterExtensionApiResponse ¶
type GetVcenterExtensionApiResponse 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 *OneOfGetVcenterExtensionApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/vcenter-extensions/{extId} Get operation
func NewGetVcenterExtensionApiResponse ¶
func NewGetVcenterExtensionApiResponse() *GetVcenterExtensionApiResponse
func (*GetVcenterExtensionApiResponse) GetData ¶
func (p *GetVcenterExtensionApiResponse) GetData() interface{}
func (*GetVcenterExtensionApiResponse) SetData ¶
func (p *GetVcenterExtensionApiResponse) SetData(v interface{}) error
type GetVirtualNicApiResponse ¶
type GetVirtualNicApiResponse 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 *OneOfGetVirtualNicApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{clusterExtId}/hosts/{hostExtId}/virtual-nics/{extId} Get operation
func NewGetVirtualNicApiResponse ¶
func NewGetVirtualNicApiResponse() *GetVirtualNicApiResponse
func (*GetVirtualNicApiResponse) GetData ¶
func (p *GetVirtualNicApiResponse) GetData() interface{}
func (*GetVirtualNicApiResponse) SetData ¶
func (p *GetVirtualNicApiResponse) 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. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` }
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. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` }
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. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` /* 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 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 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 ListClustersApiResponse ¶
type ListClustersApiResponse 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 *OneOfListClustersApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters Get operation
func NewListClustersApiResponse ¶
func NewListClustersApiResponse() *ListClustersApiResponse
func (*ListClustersApiResponse) GetData ¶
func (p *ListClustersApiResponse) GetData() interface{}
func (*ListClustersApiResponse) SetData ¶
func (p *ListClustersApiResponse) SetData(v interface{}) error
type ListDataStoresByClusterIdApiResponse ¶
type ListDataStoresByClusterIdApiResponse 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 *OneOfListDataStoresByClusterIdApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{clusterExtId}/storage-containers/datastores Get operation
func NewListDataStoresByClusterIdApiResponse ¶
func NewListDataStoresByClusterIdApiResponse() *ListDataStoresByClusterIdApiResponse
func (*ListDataStoresByClusterIdApiResponse) GetData ¶
func (p *ListDataStoresByClusterIdApiResponse) GetData() interface{}
func (*ListDataStoresByClusterIdApiResponse) SetData ¶
func (p *ListDataStoresByClusterIdApiResponse) SetData(v interface{}) error
type ListDisksApiResponse ¶
type ListDisksApiResponse 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 *OneOfListDisksApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/disks Get operation
func NewListDisksApiResponse ¶
func NewListDisksApiResponse() *ListDisksApiResponse
func (*ListDisksApiResponse) GetData ¶
func (p *ListDisksApiResponse) GetData() interface{}
func (*ListDisksApiResponse) SetData ¶
func (p *ListDisksApiResponse) SetData(v interface{}) error
type ListHostNicsByHostIdApiResponse ¶
type ListHostNicsByHostIdApiResponse 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 *OneOfListHostNicsByHostIdApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{clusterExtId}/hosts/{extId}/host-nics Get operation
func NewListHostNicsByHostIdApiResponse ¶
func NewListHostNicsByHostIdApiResponse() *ListHostNicsByHostIdApiResponse
func (*ListHostNicsByHostIdApiResponse) GetData ¶
func (p *ListHostNicsByHostIdApiResponse) GetData() interface{}
func (*ListHostNicsByHostIdApiResponse) SetData ¶
func (p *ListHostNicsByHostIdApiResponse) SetData(v interface{}) error
type ListHostsApiResponse ¶
type ListHostsApiResponse 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 *OneOfListHostsApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/hosts Get operation
func NewListHostsApiResponse ¶
func NewListHostsApiResponse() *ListHostsApiResponse
func (*ListHostsApiResponse) GetData ¶
func (p *ListHostsApiResponse) GetData() interface{}
func (*ListHostsApiResponse) SetData ¶
func (p *ListHostsApiResponse) SetData(v interface{}) error
type ListHostsByClusterIdApiResponse ¶
type ListHostsByClusterIdApiResponse 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 *OneOfListHostsByClusterIdApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{extId}/hosts Get operation
func NewListHostsByClusterIdApiResponse ¶
func NewListHostsByClusterIdApiResponse() *ListHostsByClusterIdApiResponse
func (*ListHostsByClusterIdApiResponse) GetData ¶
func (p *ListHostsByClusterIdApiResponse) GetData() interface{}
func (*ListHostsByClusterIdApiResponse) SetData ¶
func (p *ListHostsByClusterIdApiResponse) SetData(v interface{}) error
type ListRackableUnitsByClusterIdApiResponse ¶
type ListRackableUnitsByClusterIdApiResponse 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 *OneOfListRackableUnitsByClusterIdApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{extId}/rackable-units Get operation
func NewListRackableUnitsByClusterIdApiResponse ¶
func NewListRackableUnitsByClusterIdApiResponse() *ListRackableUnitsByClusterIdApiResponse
func (*ListRackableUnitsByClusterIdApiResponse) GetData ¶
func (p *ListRackableUnitsByClusterIdApiResponse) GetData() interface{}
func (*ListRackableUnitsByClusterIdApiResponse) SetData ¶
func (p *ListRackableUnitsByClusterIdApiResponse) SetData(v interface{}) error
type ListRsyslogServersByClusterIdApiResponse ¶
type ListRsyslogServersByClusterIdApiResponse 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 *OneOfListRsyslogServersByClusterIdApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{extId}/rsyslog-servers Get operation
func NewListRsyslogServersByClusterIdApiResponse ¶
func NewListRsyslogServersByClusterIdApiResponse() *ListRsyslogServersByClusterIdApiResponse
func (*ListRsyslogServersByClusterIdApiResponse) GetData ¶
func (p *ListRsyslogServersByClusterIdApiResponse) GetData() interface{}
func (*ListRsyslogServersByClusterIdApiResponse) SetData ¶
func (p *ListRsyslogServersByClusterIdApiResponse) SetData(v interface{}) error
type ListStorageContainersApiResponse ¶
type ListStorageContainersApiResponse 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 *OneOfListStorageContainersApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/storage-containers Get operation
func NewListStorageContainersApiResponse ¶
func NewListStorageContainersApiResponse() *ListStorageContainersApiResponse
func (*ListStorageContainersApiResponse) GetData ¶
func (p *ListStorageContainersApiResponse) GetData() interface{}
func (*ListStorageContainersApiResponse) SetData ¶
func (p *ListStorageContainersApiResponse) SetData(v interface{}) error
type ListVcenterExtensionsApiResponse ¶
type ListVcenterExtensionsApiResponse 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 *OneOfListVcenterExtensionsApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/vcenter-extensions Get operation
func NewListVcenterExtensionsApiResponse ¶
func NewListVcenterExtensionsApiResponse() *ListVcenterExtensionsApiResponse
func (*ListVcenterExtensionsApiResponse) GetData ¶
func (p *ListVcenterExtensionsApiResponse) GetData() interface{}
func (*ListVcenterExtensionsApiResponse) SetData ¶
func (p *ListVcenterExtensionsApiResponse) SetData(v interface{}) error
type ListVirtualNicsByHostIdApiResponse ¶
type ListVirtualNicsByHostIdApiResponse 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 *OneOfListVirtualNicsByHostIdApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{clusterExtId}/hosts/{extId}/virtual-nics Get operation
func NewListVirtualNicsByHostIdApiResponse ¶
func NewListVirtualNicsByHostIdApiResponse() *ListVirtualNicsByHostIdApiResponse
func (*ListVirtualNicsByHostIdApiResponse) GetData ¶
func (p *ListVirtualNicsByHostIdApiResponse) GetData() interface{}
func (*ListVirtualNicsByHostIdApiResponse) SetData ¶
func (p *ListVirtualNicsByHostIdApiResponse) SetData(v interface{}) 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 MountStorageContainerApiResponse ¶
type MountStorageContainerApiResponse 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 *OneOfMountStorageContainerApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/storage-containers/{extId}/$actions/mount Post operation
func NewMountStorageContainerApiResponse ¶
func NewMountStorageContainerApiResponse() *MountStorageContainerApiResponse
func (*MountStorageContainerApiResponse) GetData ¶
func (p *MountStorageContainerApiResponse) GetData() interface{}
func (*MountStorageContainerApiResponse) SetData ¶
func (p *MountStorageContainerApiResponse) SetData(v interface{}) 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. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` }
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 OnDiskDedup ¶
type OnDiskDedup int
Indicates the current status of Disk Deduplication for the Container.
const ( ONDISKDEDUP_UNKNOWN OnDiskDedup = 0 ONDISKDEDUP_REDACTED OnDiskDedup = 1 ONDISKDEDUP_NONE OnDiskDedup = 2 ONDISKDEDUP_OFF OnDiskDedup = 3 ONDISKDEDUP_POST_PROCESS OnDiskDedup = 4 )
func (*OnDiskDedup) MarshalJSON ¶
func (e *OnDiskDedup) MarshalJSON() ([]byte, error)
func (OnDiskDedup) Ref ¶
func (e OnDiskDedup) Ref() *OnDiskDedup
func (*OnDiskDedup) UnmarshalJSON ¶
func (e *OnDiskDedup) UnmarshalJSON(b []byte) error
type OneOfAddSnmpTransportsApiResponseData ¶
type OneOfAddSnmpTransportsApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfAddSnmpTransportsApiResponseData ¶
func NewOneOfAddSnmpTransportsApiResponseData() *OneOfAddSnmpTransportsApiResponseData
func (*OneOfAddSnmpTransportsApiResponseData) GetValue ¶
func (p *OneOfAddSnmpTransportsApiResponseData) GetValue() interface{}
func (*OneOfAddSnmpTransportsApiResponseData) MarshalJSON ¶
func (p *OneOfAddSnmpTransportsApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfAddSnmpTransportsApiResponseData) SetValue ¶
func (p *OneOfAddSnmpTransportsApiResponseData) SetValue(v interface{}) error
func (*OneOfAddSnmpTransportsApiResponseData) UnmarshalJSON ¶
func (p *OneOfAddSnmpTransportsApiResponseData) UnmarshalJSON(b []byte) error
type OneOfCheckHypervisorRequirementsApiResponseData ¶
type OneOfCheckHypervisorRequirementsApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfCheckHypervisorRequirementsApiResponseData ¶
func NewOneOfCheckHypervisorRequirementsApiResponseData() *OneOfCheckHypervisorRequirementsApiResponseData
func (*OneOfCheckHypervisorRequirementsApiResponseData) GetValue ¶
func (p *OneOfCheckHypervisorRequirementsApiResponseData) GetValue() interface{}
func (*OneOfCheckHypervisorRequirementsApiResponseData) MarshalJSON ¶
func (p *OneOfCheckHypervisorRequirementsApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfCheckHypervisorRequirementsApiResponseData) SetValue ¶
func (p *OneOfCheckHypervisorRequirementsApiResponseData) SetValue(v interface{}) error
func (*OneOfCheckHypervisorRequirementsApiResponseData) UnmarshalJSON ¶
func (p *OneOfCheckHypervisorRequirementsApiResponseData) UnmarshalJSON(b []byte) error
type OneOfCreateClusterApiResponseData ¶
type OneOfCreateClusterApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfCreateClusterApiResponseData ¶
func NewOneOfCreateClusterApiResponseData() *OneOfCreateClusterApiResponseData
func (*OneOfCreateClusterApiResponseData) GetValue ¶
func (p *OneOfCreateClusterApiResponseData) GetValue() interface{}
func (*OneOfCreateClusterApiResponseData) MarshalJSON ¶
func (p *OneOfCreateClusterApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfCreateClusterApiResponseData) SetValue ¶
func (p *OneOfCreateClusterApiResponseData) SetValue(v interface{}) error
func (*OneOfCreateClusterApiResponseData) UnmarshalJSON ¶
func (p *OneOfCreateClusterApiResponseData) UnmarshalJSON(b []byte) error
type OneOfCreateRsyslogServerApiResponseData ¶
type OneOfCreateRsyslogServerApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfCreateRsyslogServerApiResponseData ¶
func NewOneOfCreateRsyslogServerApiResponseData() *OneOfCreateRsyslogServerApiResponseData
func (*OneOfCreateRsyslogServerApiResponseData) GetValue ¶
func (p *OneOfCreateRsyslogServerApiResponseData) GetValue() interface{}
func (*OneOfCreateRsyslogServerApiResponseData) MarshalJSON ¶
func (p *OneOfCreateRsyslogServerApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfCreateRsyslogServerApiResponseData) SetValue ¶
func (p *OneOfCreateRsyslogServerApiResponseData) SetValue(v interface{}) error
func (*OneOfCreateRsyslogServerApiResponseData) UnmarshalJSON ¶
func (p *OneOfCreateRsyslogServerApiResponseData) UnmarshalJSON(b []byte) error
type OneOfCreateSnmpTrapApiResponseData ¶
type OneOfCreateSnmpTrapApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfCreateSnmpTrapApiResponseData ¶
func NewOneOfCreateSnmpTrapApiResponseData() *OneOfCreateSnmpTrapApiResponseData
func (*OneOfCreateSnmpTrapApiResponseData) GetValue ¶
func (p *OneOfCreateSnmpTrapApiResponseData) GetValue() interface{}
func (*OneOfCreateSnmpTrapApiResponseData) MarshalJSON ¶
func (p *OneOfCreateSnmpTrapApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfCreateSnmpTrapApiResponseData) SetValue ¶
func (p *OneOfCreateSnmpTrapApiResponseData) SetValue(v interface{}) error
func (*OneOfCreateSnmpTrapApiResponseData) UnmarshalJSON ¶
func (p *OneOfCreateSnmpTrapApiResponseData) UnmarshalJSON(b []byte) error
type OneOfCreateSnmpUserApiResponseData ¶
type OneOfCreateSnmpUserApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfCreateSnmpUserApiResponseData ¶
func NewOneOfCreateSnmpUserApiResponseData() *OneOfCreateSnmpUserApiResponseData
func (*OneOfCreateSnmpUserApiResponseData) GetValue ¶
func (p *OneOfCreateSnmpUserApiResponseData) GetValue() interface{}
func (*OneOfCreateSnmpUserApiResponseData) MarshalJSON ¶
func (p *OneOfCreateSnmpUserApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfCreateSnmpUserApiResponseData) SetValue ¶
func (p *OneOfCreateSnmpUserApiResponseData) SetValue(v interface{}) error
func (*OneOfCreateSnmpUserApiResponseData) UnmarshalJSON ¶
func (p *OneOfCreateSnmpUserApiResponseData) UnmarshalJSON(b []byte) error
type OneOfCreateStorageContainerApiResponseData ¶
type OneOfCreateStorageContainerApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfCreateStorageContainerApiResponseData ¶
func NewOneOfCreateStorageContainerApiResponseData() *OneOfCreateStorageContainerApiResponseData
func (*OneOfCreateStorageContainerApiResponseData) GetValue ¶
func (p *OneOfCreateStorageContainerApiResponseData) GetValue() interface{}
func (*OneOfCreateStorageContainerApiResponseData) MarshalJSON ¶
func (p *OneOfCreateStorageContainerApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfCreateStorageContainerApiResponseData) SetValue ¶
func (p *OneOfCreateStorageContainerApiResponseData) SetValue(v interface{}) error
func (*OneOfCreateStorageContainerApiResponseData) UnmarshalJSON ¶
func (p *OneOfCreateStorageContainerApiResponseData) UnmarshalJSON(b []byte) error
type OneOfDeleteClusterApiResponseData ¶
type OneOfDeleteClusterApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfDeleteClusterApiResponseData ¶
func NewOneOfDeleteClusterApiResponseData() *OneOfDeleteClusterApiResponseData
func (*OneOfDeleteClusterApiResponseData) GetValue ¶
func (p *OneOfDeleteClusterApiResponseData) GetValue() interface{}
func (*OneOfDeleteClusterApiResponseData) MarshalJSON ¶
func (p *OneOfDeleteClusterApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfDeleteClusterApiResponseData) SetValue ¶
func (p *OneOfDeleteClusterApiResponseData) SetValue(v interface{}) error
func (*OneOfDeleteClusterApiResponseData) UnmarshalJSON ¶
func (p *OneOfDeleteClusterApiResponseData) UnmarshalJSON(b []byte) error
type OneOfDeleteRsyslogServerApiResponseData ¶
type OneOfDeleteRsyslogServerApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfDeleteRsyslogServerApiResponseData ¶
func NewOneOfDeleteRsyslogServerApiResponseData() *OneOfDeleteRsyslogServerApiResponseData
func (*OneOfDeleteRsyslogServerApiResponseData) GetValue ¶
func (p *OneOfDeleteRsyslogServerApiResponseData) GetValue() interface{}
func (*OneOfDeleteRsyslogServerApiResponseData) MarshalJSON ¶
func (p *OneOfDeleteRsyslogServerApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfDeleteRsyslogServerApiResponseData) SetValue ¶
func (p *OneOfDeleteRsyslogServerApiResponseData) SetValue(v interface{}) error
func (*OneOfDeleteRsyslogServerApiResponseData) UnmarshalJSON ¶
func (p *OneOfDeleteRsyslogServerApiResponseData) UnmarshalJSON(b []byte) error
type OneOfDeleteSnmpTrapApiResponseData ¶
type OneOfDeleteSnmpTrapApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfDeleteSnmpTrapApiResponseData ¶
func NewOneOfDeleteSnmpTrapApiResponseData() *OneOfDeleteSnmpTrapApiResponseData
func (*OneOfDeleteSnmpTrapApiResponseData) GetValue ¶
func (p *OneOfDeleteSnmpTrapApiResponseData) GetValue() interface{}
func (*OneOfDeleteSnmpTrapApiResponseData) MarshalJSON ¶
func (p *OneOfDeleteSnmpTrapApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfDeleteSnmpTrapApiResponseData) SetValue ¶
func (p *OneOfDeleteSnmpTrapApiResponseData) SetValue(v interface{}) error
func (*OneOfDeleteSnmpTrapApiResponseData) UnmarshalJSON ¶
func (p *OneOfDeleteSnmpTrapApiResponseData) UnmarshalJSON(b []byte) error
type OneOfDeleteSnmpUserApiResponseData ¶
type OneOfDeleteSnmpUserApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfDeleteSnmpUserApiResponseData ¶
func NewOneOfDeleteSnmpUserApiResponseData() *OneOfDeleteSnmpUserApiResponseData
func (*OneOfDeleteSnmpUserApiResponseData) GetValue ¶
func (p *OneOfDeleteSnmpUserApiResponseData) GetValue() interface{}
func (*OneOfDeleteSnmpUserApiResponseData) MarshalJSON ¶
func (p *OneOfDeleteSnmpUserApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfDeleteSnmpUserApiResponseData) SetValue ¶
func (p *OneOfDeleteSnmpUserApiResponseData) SetValue(v interface{}) error
func (*OneOfDeleteSnmpUserApiResponseData) UnmarshalJSON ¶
func (p *OneOfDeleteSnmpUserApiResponseData) UnmarshalJSON(b []byte) error
type OneOfDeleteStorageContainerApiResponseData ¶
type OneOfDeleteStorageContainerApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfDeleteStorageContainerApiResponseData ¶
func NewOneOfDeleteStorageContainerApiResponseData() *OneOfDeleteStorageContainerApiResponseData
func (*OneOfDeleteStorageContainerApiResponseData) GetValue ¶
func (p *OneOfDeleteStorageContainerApiResponseData) GetValue() interface{}
func (*OneOfDeleteStorageContainerApiResponseData) MarshalJSON ¶
func (p *OneOfDeleteStorageContainerApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfDeleteStorageContainerApiResponseData) SetValue ¶
func (p *OneOfDeleteStorageContainerApiResponseData) SetValue(v interface{}) error
func (*OneOfDeleteStorageContainerApiResponseData) UnmarshalJSON ¶
func (p *OneOfDeleteStorageContainerApiResponseData) UnmarshalJSON(b []byte) error
type OneOfDiscoverUnconfiguredNodesApiResponseData ¶
type OneOfDiscoverUnconfiguredNodesApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfDiscoverUnconfiguredNodesApiResponseData ¶
func NewOneOfDiscoverUnconfiguredNodesApiResponseData() *OneOfDiscoverUnconfiguredNodesApiResponseData
func (*OneOfDiscoverUnconfiguredNodesApiResponseData) GetValue ¶
func (p *OneOfDiscoverUnconfiguredNodesApiResponseData) GetValue() interface{}
func (*OneOfDiscoverUnconfiguredNodesApiResponseData) MarshalJSON ¶
func (p *OneOfDiscoverUnconfiguredNodesApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfDiscoverUnconfiguredNodesApiResponseData) SetValue ¶
func (p *OneOfDiscoverUnconfiguredNodesApiResponseData) SetValue(v interface{}) error
func (*OneOfDiscoverUnconfiguredNodesApiResponseData) UnmarshalJSON ¶
func (p *OneOfDiscoverUnconfiguredNodesApiResponseData) UnmarshalJSON(b []byte) error
type OneOfExpandClusterApiResponseData ¶
type OneOfExpandClusterApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfExpandClusterApiResponseData ¶
func NewOneOfExpandClusterApiResponseData() *OneOfExpandClusterApiResponseData
func (*OneOfExpandClusterApiResponseData) GetValue ¶
func (p *OneOfExpandClusterApiResponseData) GetValue() interface{}
func (*OneOfExpandClusterApiResponseData) MarshalJSON ¶
func (p *OneOfExpandClusterApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfExpandClusterApiResponseData) SetValue ¶
func (p *OneOfExpandClusterApiResponseData) SetValue(v interface{}) error
func (*OneOfExpandClusterApiResponseData) UnmarshalJSON ¶
func (p *OneOfExpandClusterApiResponseData) UnmarshalJSON(b []byte) error
type OneOfFetchNodeNetworkingDetailsApiResponseData ¶
type OneOfFetchNodeNetworkingDetailsApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfFetchNodeNetworkingDetailsApiResponseData ¶
func NewOneOfFetchNodeNetworkingDetailsApiResponseData() *OneOfFetchNodeNetworkingDetailsApiResponseData
func (*OneOfFetchNodeNetworkingDetailsApiResponseData) GetValue ¶
func (p *OneOfFetchNodeNetworkingDetailsApiResponseData) GetValue() interface{}
func (*OneOfFetchNodeNetworkingDetailsApiResponseData) MarshalJSON ¶
func (p *OneOfFetchNodeNetworkingDetailsApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfFetchNodeNetworkingDetailsApiResponseData) SetValue ¶
func (p *OneOfFetchNodeNetworkingDetailsApiResponseData) SetValue(v interface{}) error
func (*OneOfFetchNodeNetworkingDetailsApiResponseData) UnmarshalJSON ¶
func (p *OneOfFetchNodeNetworkingDetailsApiResponseData) UnmarshalJSON(b []byte) error
type OneOfFetchTaskApiResponseData ¶
type OneOfFetchTaskApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfFetchTaskApiResponseData ¶
func NewOneOfFetchTaskApiResponseData() *OneOfFetchTaskApiResponseData
func (*OneOfFetchTaskApiResponseData) GetValue ¶
func (p *OneOfFetchTaskApiResponseData) GetValue() interface{}
func (*OneOfFetchTaskApiResponseData) MarshalJSON ¶
func (p *OneOfFetchTaskApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfFetchTaskApiResponseData) SetValue ¶
func (p *OneOfFetchTaskApiResponseData) SetValue(v interface{}) error
func (*OneOfFetchTaskApiResponseData) UnmarshalJSON ¶
func (p *OneOfFetchTaskApiResponseData) UnmarshalJSON(b []byte) error
type OneOfGetClusterApiResponseData ¶
type OneOfGetClusterApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetClusterApiResponseData ¶
func NewOneOfGetClusterApiResponseData() *OneOfGetClusterApiResponseData
func (*OneOfGetClusterApiResponseData) GetValue ¶
func (p *OneOfGetClusterApiResponseData) GetValue() interface{}
func (*OneOfGetClusterApiResponseData) MarshalJSON ¶
func (p *OneOfGetClusterApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetClusterApiResponseData) SetValue ¶
func (p *OneOfGetClusterApiResponseData) SetValue(v interface{}) error
func (*OneOfGetClusterApiResponseData) UnmarshalJSON ¶
func (p *OneOfGetClusterApiResponseData) UnmarshalJSON(b []byte) error
type OneOfGetDiskApiResponseData ¶
type OneOfGetDiskApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetDiskApiResponseData ¶
func NewOneOfGetDiskApiResponseData() *OneOfGetDiskApiResponseData
func (*OneOfGetDiskApiResponseData) GetValue ¶
func (p *OneOfGetDiskApiResponseData) GetValue() interface{}
func (*OneOfGetDiskApiResponseData) MarshalJSON ¶
func (p *OneOfGetDiskApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetDiskApiResponseData) SetValue ¶
func (p *OneOfGetDiskApiResponseData) SetValue(v interface{}) error
func (*OneOfGetDiskApiResponseData) UnmarshalJSON ¶
func (p *OneOfGetDiskApiResponseData) UnmarshalJSON(b []byte) error
type OneOfGetFaultToleranceStatusByClusterIdApiResponseData ¶
type OneOfGetFaultToleranceStatusByClusterIdApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetFaultToleranceStatusByClusterIdApiResponseData ¶
func NewOneOfGetFaultToleranceStatusByClusterIdApiResponseData() *OneOfGetFaultToleranceStatusByClusterIdApiResponseData
func (*OneOfGetFaultToleranceStatusByClusterIdApiResponseData) GetValue ¶
func (p *OneOfGetFaultToleranceStatusByClusterIdApiResponseData) GetValue() interface{}
func (*OneOfGetFaultToleranceStatusByClusterIdApiResponseData) MarshalJSON ¶
func (p *OneOfGetFaultToleranceStatusByClusterIdApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetFaultToleranceStatusByClusterIdApiResponseData) SetValue ¶
func (p *OneOfGetFaultToleranceStatusByClusterIdApiResponseData) SetValue(v interface{}) error
func (*OneOfGetFaultToleranceStatusByClusterIdApiResponseData) UnmarshalJSON ¶
func (p *OneOfGetFaultToleranceStatusByClusterIdApiResponseData) UnmarshalJSON(b []byte) error
type OneOfGetHostApiResponseData ¶
type OneOfGetHostApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetHostApiResponseData ¶
func NewOneOfGetHostApiResponseData() *OneOfGetHostApiResponseData
func (*OneOfGetHostApiResponseData) GetValue ¶
func (p *OneOfGetHostApiResponseData) GetValue() interface{}
func (*OneOfGetHostApiResponseData) MarshalJSON ¶
func (p *OneOfGetHostApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetHostApiResponseData) SetValue ¶
func (p *OneOfGetHostApiResponseData) SetValue(v interface{}) error
func (*OneOfGetHostApiResponseData) UnmarshalJSON ¶
func (p *OneOfGetHostApiResponseData) UnmarshalJSON(b []byte) error
type OneOfGetHostNicApiResponseData ¶
type OneOfGetHostNicApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetHostNicApiResponseData ¶
func NewOneOfGetHostNicApiResponseData() *OneOfGetHostNicApiResponseData
func (*OneOfGetHostNicApiResponseData) GetValue ¶
func (p *OneOfGetHostNicApiResponseData) GetValue() interface{}
func (*OneOfGetHostNicApiResponseData) MarshalJSON ¶
func (p *OneOfGetHostNicApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetHostNicApiResponseData) SetValue ¶
func (p *OneOfGetHostNicApiResponseData) SetValue(v interface{}) error
func (*OneOfGetHostNicApiResponseData) UnmarshalJSON ¶
func (p *OneOfGetHostNicApiResponseData) UnmarshalJSON(b []byte) error
type OneOfGetRackableUnitApiResponseData ¶
type OneOfGetRackableUnitApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetRackableUnitApiResponseData ¶
func NewOneOfGetRackableUnitApiResponseData() *OneOfGetRackableUnitApiResponseData
func (*OneOfGetRackableUnitApiResponseData) GetValue ¶
func (p *OneOfGetRackableUnitApiResponseData) GetValue() interface{}
func (*OneOfGetRackableUnitApiResponseData) MarshalJSON ¶
func (p *OneOfGetRackableUnitApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetRackableUnitApiResponseData) SetValue ¶
func (p *OneOfGetRackableUnitApiResponseData) SetValue(v interface{}) error
func (*OneOfGetRackableUnitApiResponseData) UnmarshalJSON ¶
func (p *OneOfGetRackableUnitApiResponseData) UnmarshalJSON(b []byte) error
type OneOfGetRsyslogServerApiResponseData ¶
type OneOfGetRsyslogServerApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetRsyslogServerApiResponseData ¶
func NewOneOfGetRsyslogServerApiResponseData() *OneOfGetRsyslogServerApiResponseData
func (*OneOfGetRsyslogServerApiResponseData) GetValue ¶
func (p *OneOfGetRsyslogServerApiResponseData) GetValue() interface{}
func (*OneOfGetRsyslogServerApiResponseData) MarshalJSON ¶
func (p *OneOfGetRsyslogServerApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetRsyslogServerApiResponseData) SetValue ¶
func (p *OneOfGetRsyslogServerApiResponseData) SetValue(v interface{}) error
func (*OneOfGetRsyslogServerApiResponseData) UnmarshalJSON ¶
func (p *OneOfGetRsyslogServerApiResponseData) UnmarshalJSON(b []byte) error
type OneOfGetSnmpConfigByClusterIdApiResponseData ¶
type OneOfGetSnmpConfigByClusterIdApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetSnmpConfigByClusterIdApiResponseData ¶
func NewOneOfGetSnmpConfigByClusterIdApiResponseData() *OneOfGetSnmpConfigByClusterIdApiResponseData
func (*OneOfGetSnmpConfigByClusterIdApiResponseData) GetValue ¶
func (p *OneOfGetSnmpConfigByClusterIdApiResponseData) GetValue() interface{}
func (*OneOfGetSnmpConfigByClusterIdApiResponseData) MarshalJSON ¶
func (p *OneOfGetSnmpConfigByClusterIdApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetSnmpConfigByClusterIdApiResponseData) SetValue ¶
func (p *OneOfGetSnmpConfigByClusterIdApiResponseData) SetValue(v interface{}) error
func (*OneOfGetSnmpConfigByClusterIdApiResponseData) UnmarshalJSON ¶
func (p *OneOfGetSnmpConfigByClusterIdApiResponseData) UnmarshalJSON(b []byte) error
type OneOfGetSnmpTrapApiResponseData ¶
type OneOfGetSnmpTrapApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetSnmpTrapApiResponseData ¶
func NewOneOfGetSnmpTrapApiResponseData() *OneOfGetSnmpTrapApiResponseData
func (*OneOfGetSnmpTrapApiResponseData) GetValue ¶
func (p *OneOfGetSnmpTrapApiResponseData) GetValue() interface{}
func (*OneOfGetSnmpTrapApiResponseData) MarshalJSON ¶
func (p *OneOfGetSnmpTrapApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetSnmpTrapApiResponseData) SetValue ¶
func (p *OneOfGetSnmpTrapApiResponseData) SetValue(v interface{}) error
func (*OneOfGetSnmpTrapApiResponseData) UnmarshalJSON ¶
func (p *OneOfGetSnmpTrapApiResponseData) UnmarshalJSON(b []byte) error
type OneOfGetSnmpUserApiResponseData ¶
type OneOfGetSnmpUserApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetSnmpUserApiResponseData ¶
func NewOneOfGetSnmpUserApiResponseData() *OneOfGetSnmpUserApiResponseData
func (*OneOfGetSnmpUserApiResponseData) GetValue ¶
func (p *OneOfGetSnmpUserApiResponseData) GetValue() interface{}
func (*OneOfGetSnmpUserApiResponseData) MarshalJSON ¶
func (p *OneOfGetSnmpUserApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetSnmpUserApiResponseData) SetValue ¶
func (p *OneOfGetSnmpUserApiResponseData) SetValue(v interface{}) error
func (*OneOfGetSnmpUserApiResponseData) UnmarshalJSON ¶
func (p *OneOfGetSnmpUserApiResponseData) UnmarshalJSON(b []byte) error
type OneOfGetStorageContainerApiResponseData ¶
type OneOfGetStorageContainerApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetStorageContainerApiResponseData ¶
func NewOneOfGetStorageContainerApiResponseData() *OneOfGetStorageContainerApiResponseData
func (*OneOfGetStorageContainerApiResponseData) GetValue ¶
func (p *OneOfGetStorageContainerApiResponseData) GetValue() interface{}
func (*OneOfGetStorageContainerApiResponseData) MarshalJSON ¶
func (p *OneOfGetStorageContainerApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetStorageContainerApiResponseData) SetValue ¶
func (p *OneOfGetStorageContainerApiResponseData) SetValue(v interface{}) error
func (*OneOfGetStorageContainerApiResponseData) UnmarshalJSON ¶
func (p *OneOfGetStorageContainerApiResponseData) UnmarshalJSON(b []byte) error
type OneOfGetVcenterExtensionApiResponseData ¶
type OneOfGetVcenterExtensionApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetVcenterExtensionApiResponseData ¶
func NewOneOfGetVcenterExtensionApiResponseData() *OneOfGetVcenterExtensionApiResponseData
func (*OneOfGetVcenterExtensionApiResponseData) GetValue ¶
func (p *OneOfGetVcenterExtensionApiResponseData) GetValue() interface{}
func (*OneOfGetVcenterExtensionApiResponseData) MarshalJSON ¶
func (p *OneOfGetVcenterExtensionApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetVcenterExtensionApiResponseData) SetValue ¶
func (p *OneOfGetVcenterExtensionApiResponseData) SetValue(v interface{}) error
func (*OneOfGetVcenterExtensionApiResponseData) UnmarshalJSON ¶
func (p *OneOfGetVcenterExtensionApiResponseData) UnmarshalJSON(b []byte) error
type OneOfGetVirtualNicApiResponseData ¶
type OneOfGetVirtualNicApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetVirtualNicApiResponseData ¶
func NewOneOfGetVirtualNicApiResponseData() *OneOfGetVirtualNicApiResponseData
func (*OneOfGetVirtualNicApiResponseData) GetValue ¶
func (p *OneOfGetVirtualNicApiResponseData) GetValue() interface{}
func (*OneOfGetVirtualNicApiResponseData) MarshalJSON ¶
func (p *OneOfGetVirtualNicApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetVirtualNicApiResponseData) SetValue ¶
func (p *OneOfGetVirtualNicApiResponseData) SetValue(v interface{}) error
func (*OneOfGetVirtualNicApiResponseData) UnmarshalJSON ¶
func (p *OneOfGetVirtualNicApiResponseData) UnmarshalJSON(b []byte) error
type OneOfListClustersApiResponseData ¶
type OneOfListClustersApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfListClustersApiResponseData ¶
func NewOneOfListClustersApiResponseData() *OneOfListClustersApiResponseData
func (*OneOfListClustersApiResponseData) GetValue ¶
func (p *OneOfListClustersApiResponseData) GetValue() interface{}
func (*OneOfListClustersApiResponseData) MarshalJSON ¶
func (p *OneOfListClustersApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfListClustersApiResponseData) SetValue ¶
func (p *OneOfListClustersApiResponseData) SetValue(v interface{}) error
func (*OneOfListClustersApiResponseData) UnmarshalJSON ¶
func (p *OneOfListClustersApiResponseData) UnmarshalJSON(b []byte) error
type OneOfListDataStoresByClusterIdApiResponseData ¶
type OneOfListDataStoresByClusterIdApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfListDataStoresByClusterIdApiResponseData ¶
func NewOneOfListDataStoresByClusterIdApiResponseData() *OneOfListDataStoresByClusterIdApiResponseData
func (*OneOfListDataStoresByClusterIdApiResponseData) GetValue ¶
func (p *OneOfListDataStoresByClusterIdApiResponseData) GetValue() interface{}
func (*OneOfListDataStoresByClusterIdApiResponseData) MarshalJSON ¶
func (p *OneOfListDataStoresByClusterIdApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfListDataStoresByClusterIdApiResponseData) SetValue ¶
func (p *OneOfListDataStoresByClusterIdApiResponseData) SetValue(v interface{}) error
func (*OneOfListDataStoresByClusterIdApiResponseData) UnmarshalJSON ¶
func (p *OneOfListDataStoresByClusterIdApiResponseData) UnmarshalJSON(b []byte) error
type OneOfListDisksApiResponseData ¶
type OneOfListDisksApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfListDisksApiResponseData ¶
func NewOneOfListDisksApiResponseData() *OneOfListDisksApiResponseData
func (*OneOfListDisksApiResponseData) GetValue ¶
func (p *OneOfListDisksApiResponseData) GetValue() interface{}
func (*OneOfListDisksApiResponseData) MarshalJSON ¶
func (p *OneOfListDisksApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfListDisksApiResponseData) SetValue ¶
func (p *OneOfListDisksApiResponseData) SetValue(v interface{}) error
func (*OneOfListDisksApiResponseData) UnmarshalJSON ¶
func (p *OneOfListDisksApiResponseData) UnmarshalJSON(b []byte) error
type OneOfListHostNicsByHostIdApiResponseData ¶
type OneOfListHostNicsByHostIdApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfListHostNicsByHostIdApiResponseData ¶
func NewOneOfListHostNicsByHostIdApiResponseData() *OneOfListHostNicsByHostIdApiResponseData
func (*OneOfListHostNicsByHostIdApiResponseData) GetValue ¶
func (p *OneOfListHostNicsByHostIdApiResponseData) GetValue() interface{}
func (*OneOfListHostNicsByHostIdApiResponseData) MarshalJSON ¶
func (p *OneOfListHostNicsByHostIdApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfListHostNicsByHostIdApiResponseData) SetValue ¶
func (p *OneOfListHostNicsByHostIdApiResponseData) SetValue(v interface{}) error
func (*OneOfListHostNicsByHostIdApiResponseData) UnmarshalJSON ¶
func (p *OneOfListHostNicsByHostIdApiResponseData) UnmarshalJSON(b []byte) error
type OneOfListHostsApiResponseData ¶
type OneOfListHostsApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfListHostsApiResponseData ¶
func NewOneOfListHostsApiResponseData() *OneOfListHostsApiResponseData
func (*OneOfListHostsApiResponseData) GetValue ¶
func (p *OneOfListHostsApiResponseData) GetValue() interface{}
func (*OneOfListHostsApiResponseData) MarshalJSON ¶
func (p *OneOfListHostsApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfListHostsApiResponseData) SetValue ¶
func (p *OneOfListHostsApiResponseData) SetValue(v interface{}) error
func (*OneOfListHostsApiResponseData) UnmarshalJSON ¶
func (p *OneOfListHostsApiResponseData) UnmarshalJSON(b []byte) error
type OneOfListHostsByClusterIdApiResponseData ¶
type OneOfListHostsByClusterIdApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfListHostsByClusterIdApiResponseData ¶
func NewOneOfListHostsByClusterIdApiResponseData() *OneOfListHostsByClusterIdApiResponseData
func (*OneOfListHostsByClusterIdApiResponseData) GetValue ¶
func (p *OneOfListHostsByClusterIdApiResponseData) GetValue() interface{}
func (*OneOfListHostsByClusterIdApiResponseData) MarshalJSON ¶
func (p *OneOfListHostsByClusterIdApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfListHostsByClusterIdApiResponseData) SetValue ¶
func (p *OneOfListHostsByClusterIdApiResponseData) SetValue(v interface{}) error
func (*OneOfListHostsByClusterIdApiResponseData) UnmarshalJSON ¶
func (p *OneOfListHostsByClusterIdApiResponseData) UnmarshalJSON(b []byte) error
type OneOfListRackableUnitsByClusterIdApiResponseData ¶
type OneOfListRackableUnitsByClusterIdApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfListRackableUnitsByClusterIdApiResponseData ¶
func NewOneOfListRackableUnitsByClusterIdApiResponseData() *OneOfListRackableUnitsByClusterIdApiResponseData
func (*OneOfListRackableUnitsByClusterIdApiResponseData) GetValue ¶
func (p *OneOfListRackableUnitsByClusterIdApiResponseData) GetValue() interface{}
func (*OneOfListRackableUnitsByClusterIdApiResponseData) MarshalJSON ¶
func (p *OneOfListRackableUnitsByClusterIdApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfListRackableUnitsByClusterIdApiResponseData) SetValue ¶
func (p *OneOfListRackableUnitsByClusterIdApiResponseData) SetValue(v interface{}) error
func (*OneOfListRackableUnitsByClusterIdApiResponseData) UnmarshalJSON ¶
func (p *OneOfListRackableUnitsByClusterIdApiResponseData) UnmarshalJSON(b []byte) error
type OneOfListRsyslogServersByClusterIdApiResponseData ¶
type OneOfListRsyslogServersByClusterIdApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfListRsyslogServersByClusterIdApiResponseData ¶
func NewOneOfListRsyslogServersByClusterIdApiResponseData() *OneOfListRsyslogServersByClusterIdApiResponseData
func (*OneOfListRsyslogServersByClusterIdApiResponseData) GetValue ¶
func (p *OneOfListRsyslogServersByClusterIdApiResponseData) GetValue() interface{}
func (*OneOfListRsyslogServersByClusterIdApiResponseData) MarshalJSON ¶
func (p *OneOfListRsyslogServersByClusterIdApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfListRsyslogServersByClusterIdApiResponseData) SetValue ¶
func (p *OneOfListRsyslogServersByClusterIdApiResponseData) SetValue(v interface{}) error
func (*OneOfListRsyslogServersByClusterIdApiResponseData) UnmarshalJSON ¶
func (p *OneOfListRsyslogServersByClusterIdApiResponseData) UnmarshalJSON(b []byte) error
type OneOfListStorageContainersApiResponseData ¶
type OneOfListStorageContainersApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfListStorageContainersApiResponseData ¶
func NewOneOfListStorageContainersApiResponseData() *OneOfListStorageContainersApiResponseData
func (*OneOfListStorageContainersApiResponseData) GetValue ¶
func (p *OneOfListStorageContainersApiResponseData) GetValue() interface{}
func (*OneOfListStorageContainersApiResponseData) MarshalJSON ¶
func (p *OneOfListStorageContainersApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfListStorageContainersApiResponseData) SetValue ¶
func (p *OneOfListStorageContainersApiResponseData) SetValue(v interface{}) error
func (*OneOfListStorageContainersApiResponseData) UnmarshalJSON ¶
func (p *OneOfListStorageContainersApiResponseData) UnmarshalJSON(b []byte) error
type OneOfListVcenterExtensionsApiResponseData ¶
type OneOfListVcenterExtensionsApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfListVcenterExtensionsApiResponseData ¶
func NewOneOfListVcenterExtensionsApiResponseData() *OneOfListVcenterExtensionsApiResponseData
func (*OneOfListVcenterExtensionsApiResponseData) GetValue ¶
func (p *OneOfListVcenterExtensionsApiResponseData) GetValue() interface{}
func (*OneOfListVcenterExtensionsApiResponseData) MarshalJSON ¶
func (p *OneOfListVcenterExtensionsApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfListVcenterExtensionsApiResponseData) SetValue ¶
func (p *OneOfListVcenterExtensionsApiResponseData) SetValue(v interface{}) error
func (*OneOfListVcenterExtensionsApiResponseData) UnmarshalJSON ¶
func (p *OneOfListVcenterExtensionsApiResponseData) UnmarshalJSON(b []byte) error
type OneOfListVirtualNicsByHostIdApiResponseData ¶
type OneOfListVirtualNicsByHostIdApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfListVirtualNicsByHostIdApiResponseData ¶
func NewOneOfListVirtualNicsByHostIdApiResponseData() *OneOfListVirtualNicsByHostIdApiResponseData
func (*OneOfListVirtualNicsByHostIdApiResponseData) GetValue ¶
func (p *OneOfListVirtualNicsByHostIdApiResponseData) GetValue() interface{}
func (*OneOfListVirtualNicsByHostIdApiResponseData) MarshalJSON ¶
func (p *OneOfListVirtualNicsByHostIdApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfListVirtualNicsByHostIdApiResponseData) SetValue ¶
func (p *OneOfListVirtualNicsByHostIdApiResponseData) SetValue(v interface{}) error
func (*OneOfListVirtualNicsByHostIdApiResponseData) UnmarshalJSON ¶
func (p *OneOfListVirtualNicsByHostIdApiResponseData) UnmarshalJSON(b []byte) error
type OneOfMountStorageContainerApiResponseData ¶
type OneOfMountStorageContainerApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfMountStorageContainerApiResponseData ¶
func NewOneOfMountStorageContainerApiResponseData() *OneOfMountStorageContainerApiResponseData
func (*OneOfMountStorageContainerApiResponseData) GetValue ¶
func (p *OneOfMountStorageContainerApiResponseData) GetValue() interface{}
func (*OneOfMountStorageContainerApiResponseData) MarshalJSON ¶
func (p *OneOfMountStorageContainerApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfMountStorageContainerApiResponseData) SetValue ¶
func (p *OneOfMountStorageContainerApiResponseData) SetValue(v interface{}) error
func (*OneOfMountStorageContainerApiResponseData) UnmarshalJSON ¶
func (p *OneOfMountStorageContainerApiResponseData) UnmarshalJSON(b []byte) error
type OneOfRegisterVcenterExtensionApiResponseData ¶
type OneOfRegisterVcenterExtensionApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfRegisterVcenterExtensionApiResponseData ¶
func NewOneOfRegisterVcenterExtensionApiResponseData() *OneOfRegisterVcenterExtensionApiResponseData
func (*OneOfRegisterVcenterExtensionApiResponseData) GetValue ¶
func (p *OneOfRegisterVcenterExtensionApiResponseData) GetValue() interface{}
func (*OneOfRegisterVcenterExtensionApiResponseData) MarshalJSON ¶
func (p *OneOfRegisterVcenterExtensionApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfRegisterVcenterExtensionApiResponseData) SetValue ¶
func (p *OneOfRegisterVcenterExtensionApiResponseData) SetValue(v interface{}) error
func (*OneOfRegisterVcenterExtensionApiResponseData) UnmarshalJSON ¶
func (p *OneOfRegisterVcenterExtensionApiResponseData) UnmarshalJSON(b []byte) error
type OneOfRemoveNodeApiResponseData ¶
type OneOfRemoveNodeApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfRemoveNodeApiResponseData ¶
func NewOneOfRemoveNodeApiResponseData() *OneOfRemoveNodeApiResponseData
func (*OneOfRemoveNodeApiResponseData) GetValue ¶
func (p *OneOfRemoveNodeApiResponseData) GetValue() interface{}
func (*OneOfRemoveNodeApiResponseData) MarshalJSON ¶
func (p *OneOfRemoveNodeApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfRemoveNodeApiResponseData) SetValue ¶
func (p *OneOfRemoveNodeApiResponseData) SetValue(v interface{}) error
func (*OneOfRemoveNodeApiResponseData) UnmarshalJSON ¶
func (p *OneOfRemoveNodeApiResponseData) UnmarshalJSON(b []byte) error
type OneOfRemoveSnmpTransportsApiResponseData ¶
type OneOfRemoveSnmpTransportsApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfRemoveSnmpTransportsApiResponseData ¶
func NewOneOfRemoveSnmpTransportsApiResponseData() *OneOfRemoveSnmpTransportsApiResponseData
func (*OneOfRemoveSnmpTransportsApiResponseData) GetValue ¶
func (p *OneOfRemoveSnmpTransportsApiResponseData) GetValue() interface{}
func (*OneOfRemoveSnmpTransportsApiResponseData) MarshalJSON ¶
func (p *OneOfRemoveSnmpTransportsApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfRemoveSnmpTransportsApiResponseData) SetValue ¶
func (p *OneOfRemoveSnmpTransportsApiResponseData) SetValue(v interface{}) error
func (*OneOfRemoveSnmpTransportsApiResponseData) UnmarshalJSON ¶
func (p *OneOfRemoveSnmpTransportsApiResponseData) UnmarshalJSON(b []byte) error
type OneOfRenameHostApiResponseData ¶
type OneOfRenameHostApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfRenameHostApiResponseData ¶
func NewOneOfRenameHostApiResponseData() *OneOfRenameHostApiResponseData
func (*OneOfRenameHostApiResponseData) GetValue ¶
func (p *OneOfRenameHostApiResponseData) GetValue() interface{}
func (*OneOfRenameHostApiResponseData) MarshalJSON ¶
func (p *OneOfRenameHostApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfRenameHostApiResponseData) SetValue ¶
func (p *OneOfRenameHostApiResponseData) SetValue(v interface{}) error
func (*OneOfRenameHostApiResponseData) UnmarshalJSON ¶
func (p *OneOfRenameHostApiResponseData) 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 OneOfUnmountStorageContainerApiResponseData ¶
type OneOfUnmountStorageContainerApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUnmountStorageContainerApiResponseData ¶
func NewOneOfUnmountStorageContainerApiResponseData() *OneOfUnmountStorageContainerApiResponseData
func (*OneOfUnmountStorageContainerApiResponseData) GetValue ¶
func (p *OneOfUnmountStorageContainerApiResponseData) GetValue() interface{}
func (*OneOfUnmountStorageContainerApiResponseData) MarshalJSON ¶
func (p *OneOfUnmountStorageContainerApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUnmountStorageContainerApiResponseData) SetValue ¶
func (p *OneOfUnmountStorageContainerApiResponseData) SetValue(v interface{}) error
func (*OneOfUnmountStorageContainerApiResponseData) UnmarshalJSON ¶
func (p *OneOfUnmountStorageContainerApiResponseData) UnmarshalJSON(b []byte) error
type OneOfUnregisterVcenterExtensionApiResponseData ¶
type OneOfUnregisterVcenterExtensionApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUnregisterVcenterExtensionApiResponseData ¶
func NewOneOfUnregisterVcenterExtensionApiResponseData() *OneOfUnregisterVcenterExtensionApiResponseData
func (*OneOfUnregisterVcenterExtensionApiResponseData) GetValue ¶
func (p *OneOfUnregisterVcenterExtensionApiResponseData) GetValue() interface{}
func (*OneOfUnregisterVcenterExtensionApiResponseData) MarshalJSON ¶
func (p *OneOfUnregisterVcenterExtensionApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUnregisterVcenterExtensionApiResponseData) SetValue ¶
func (p *OneOfUnregisterVcenterExtensionApiResponseData) SetValue(v interface{}) error
func (*OneOfUnregisterVcenterExtensionApiResponseData) UnmarshalJSON ¶
func (p *OneOfUnregisterVcenterExtensionApiResponseData) UnmarshalJSON(b []byte) error
type OneOfUpdateClusterApiResponseData ¶
type OneOfUpdateClusterApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUpdateClusterApiResponseData ¶
func NewOneOfUpdateClusterApiResponseData() *OneOfUpdateClusterApiResponseData
func (*OneOfUpdateClusterApiResponseData) GetValue ¶
func (p *OneOfUpdateClusterApiResponseData) GetValue() interface{}
func (*OneOfUpdateClusterApiResponseData) MarshalJSON ¶
func (p *OneOfUpdateClusterApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUpdateClusterApiResponseData) SetValue ¶
func (p *OneOfUpdateClusterApiResponseData) SetValue(v interface{}) error
func (*OneOfUpdateClusterApiResponseData) UnmarshalJSON ¶
func (p *OneOfUpdateClusterApiResponseData) UnmarshalJSON(b []byte) error
type OneOfUpdateRsyslogServerApiResponseData ¶
type OneOfUpdateRsyslogServerApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUpdateRsyslogServerApiResponseData ¶
func NewOneOfUpdateRsyslogServerApiResponseData() *OneOfUpdateRsyslogServerApiResponseData
func (*OneOfUpdateRsyslogServerApiResponseData) GetValue ¶
func (p *OneOfUpdateRsyslogServerApiResponseData) GetValue() interface{}
func (*OneOfUpdateRsyslogServerApiResponseData) MarshalJSON ¶
func (p *OneOfUpdateRsyslogServerApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUpdateRsyslogServerApiResponseData) SetValue ¶
func (p *OneOfUpdateRsyslogServerApiResponseData) SetValue(v interface{}) error
func (*OneOfUpdateRsyslogServerApiResponseData) UnmarshalJSON ¶
func (p *OneOfUpdateRsyslogServerApiResponseData) UnmarshalJSON(b []byte) error
type OneOfUpdateSnmpStatusApiResponseData ¶
type OneOfUpdateSnmpStatusApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUpdateSnmpStatusApiResponseData ¶
func NewOneOfUpdateSnmpStatusApiResponseData() *OneOfUpdateSnmpStatusApiResponseData
func (*OneOfUpdateSnmpStatusApiResponseData) GetValue ¶
func (p *OneOfUpdateSnmpStatusApiResponseData) GetValue() interface{}
func (*OneOfUpdateSnmpStatusApiResponseData) MarshalJSON ¶
func (p *OneOfUpdateSnmpStatusApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUpdateSnmpStatusApiResponseData) SetValue ¶
func (p *OneOfUpdateSnmpStatusApiResponseData) SetValue(v interface{}) error
func (*OneOfUpdateSnmpStatusApiResponseData) UnmarshalJSON ¶
func (p *OneOfUpdateSnmpStatusApiResponseData) UnmarshalJSON(b []byte) error
type OneOfUpdateSnmpTrapApiResponseData ¶
type OneOfUpdateSnmpTrapApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUpdateSnmpTrapApiResponseData ¶
func NewOneOfUpdateSnmpTrapApiResponseData() *OneOfUpdateSnmpTrapApiResponseData
func (*OneOfUpdateSnmpTrapApiResponseData) GetValue ¶
func (p *OneOfUpdateSnmpTrapApiResponseData) GetValue() interface{}
func (*OneOfUpdateSnmpTrapApiResponseData) MarshalJSON ¶
func (p *OneOfUpdateSnmpTrapApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUpdateSnmpTrapApiResponseData) SetValue ¶
func (p *OneOfUpdateSnmpTrapApiResponseData) SetValue(v interface{}) error
func (*OneOfUpdateSnmpTrapApiResponseData) UnmarshalJSON ¶
func (p *OneOfUpdateSnmpTrapApiResponseData) UnmarshalJSON(b []byte) error
type OneOfUpdateSnmpUserApiResponseData ¶
type OneOfUpdateSnmpUserApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUpdateSnmpUserApiResponseData ¶
func NewOneOfUpdateSnmpUserApiResponseData() *OneOfUpdateSnmpUserApiResponseData
func (*OneOfUpdateSnmpUserApiResponseData) GetValue ¶
func (p *OneOfUpdateSnmpUserApiResponseData) GetValue() interface{}
func (*OneOfUpdateSnmpUserApiResponseData) MarshalJSON ¶
func (p *OneOfUpdateSnmpUserApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUpdateSnmpUserApiResponseData) SetValue ¶
func (p *OneOfUpdateSnmpUserApiResponseData) SetValue(v interface{}) error
func (*OneOfUpdateSnmpUserApiResponseData) UnmarshalJSON ¶
func (p *OneOfUpdateSnmpUserApiResponseData) UnmarshalJSON(b []byte) error
type OneOfUpdateStorageContainerApiResponseData ¶
type OneOfUpdateStorageContainerApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUpdateStorageContainerApiResponseData ¶
func NewOneOfUpdateStorageContainerApiResponseData() *OneOfUpdateStorageContainerApiResponseData
func (*OneOfUpdateStorageContainerApiResponseData) GetValue ¶
func (p *OneOfUpdateStorageContainerApiResponseData) GetValue() interface{}
func (*OneOfUpdateStorageContainerApiResponseData) MarshalJSON ¶
func (p *OneOfUpdateStorageContainerApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUpdateStorageContainerApiResponseData) SetValue ¶
func (p *OneOfUpdateStorageContainerApiResponseData) SetValue(v interface{}) error
func (*OneOfUpdateStorageContainerApiResponseData) UnmarshalJSON ¶
func (p *OneOfUpdateStorageContainerApiResponseData) UnmarshalJSON(b []byte) error
type OneOfValidateNodeApiResponseData ¶
type OneOfValidateNodeApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfValidateNodeApiResponseData ¶
func NewOneOfValidateNodeApiResponseData() *OneOfValidateNodeApiResponseData
func (*OneOfValidateNodeApiResponseData) GetValue ¶
func (p *OneOfValidateNodeApiResponseData) GetValue() interface{}
func (*OneOfValidateNodeApiResponseData) MarshalJSON ¶
func (p *OneOfValidateNodeApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfValidateNodeApiResponseData) SetValue ¶
func (p *OneOfValidateNodeApiResponseData) SetValue(v interface{}) error
func (*OneOfValidateNodeApiResponseData) UnmarshalJSON ¶
func (p *OneOfValidateNodeApiResponseData) 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 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. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` }
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 RegisterVcenterExtensionApiResponse ¶
type RegisterVcenterExtensionApiResponse 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 *OneOfRegisterVcenterExtensionApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/vcenter-extensions/{extId}/$actions/register Post operation
func NewRegisterVcenterExtensionApiResponse ¶
func NewRegisterVcenterExtensionApiResponse() *RegisterVcenterExtensionApiResponse
func (*RegisterVcenterExtensionApiResponse) GetData ¶
func (p *RegisterVcenterExtensionApiResponse) GetData() interface{}
func (*RegisterVcenterExtensionApiResponse) SetData ¶
func (p *RegisterVcenterExtensionApiResponse) SetData(v interface{}) error
type RemoveNodeApiResponse ¶
type RemoveNodeApiResponse 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 *OneOfRemoveNodeApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{extId}/$actions/remove-node Post operation
func NewRemoveNodeApiResponse ¶
func NewRemoveNodeApiResponse() *RemoveNodeApiResponse
func (*RemoveNodeApiResponse) GetData ¶
func (p *RemoveNodeApiResponse) GetData() interface{}
func (*RemoveNodeApiResponse) SetData ¶
func (p *RemoveNodeApiResponse) SetData(v interface{}) error
type RemoveSnmpTransportsApiResponse ¶
type RemoveSnmpTransportsApiResponse 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 *OneOfRemoveSnmpTransportsApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{extId}/snmp/$actions/remove-transports Post operation
func NewRemoveSnmpTransportsApiResponse ¶
func NewRemoveSnmpTransportsApiResponse() *RemoveSnmpTransportsApiResponse
func (*RemoveSnmpTransportsApiResponse) GetData ¶
func (p *RemoveSnmpTransportsApiResponse) GetData() interface{}
func (*RemoveSnmpTransportsApiResponse) SetData ¶
func (p *RemoveSnmpTransportsApiResponse) SetData(v interface{}) error
type RenameHostApiResponse ¶
type RenameHostApiResponse 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 *OneOfRenameHostApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{clusterExtId}/hosts/{extId}/$actions/rename-host Post operation
func NewRenameHostApiResponse ¶
func NewRenameHostApiResponse() *RenameHostApiResponse
func (*RenameHostApiResponse) GetData ¶
func (p *RenameHostApiResponse) GetData() interface{}
func (*RenameHostApiResponse) SetData ¶
func (p *RenameHostApiResponse) 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. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` }
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. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` /* SNMP username. For SNMP trap v3 version, SNMP username is required parameter. */ 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. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` /* SNMP username. For SNMP trap v3 version, SNMP username is required parameter. */ 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 StorageContainer ¶
type StorageContainer struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Affinity host extId for RF 1 Storage Container. */ AffinityHostExtId *string `json:"affinityHostExtId,omitempty"` CacheDeduplication *CacheDeduplication `json:"cacheDeduplication,omitempty"` /* extId of the Cluster owning the Storage Container. */ ClusterExtId *string `json:"clusterExtId,omitempty"` /* Corresponding name of the Cluster owning the Storage Container instance. */ ClusterName *string `json:"clusterName,omitempty"` /* The compression delay in seconds. */ CompressionDelaySecs *int `json:"compressionDelaySecs,omitempty"` /* extId of the Storage Container. */ ContainerExtId *string `json:"containerExtId,omitempty"` ErasureCode *ErasureCodeStatus `json:"erasureCode,omitempty"` /* Delay in performing ErasureCode for the current Container instance. */ ErasureCodeDelaySecs *int `json:"erasureCodeDelaySecs,omitempty"` /* A globally unique identifier of an instance that is suitable for external consumption. */ ExtId *string `json:"extId,omitempty"` /* Indicates whether to prefer a higher Erasure Code fault domain. */ HasHigherEcFaultDomainPreference *bool `json:"hasHigherEcFaultDomainPreference,omitempty"` /* Indicates whether the compression is enabled for the Container. */ IsCompressionEnabled *bool `json:"isCompressionEnabled,omitempty"` /* Indicates whether the Container is encrypted or not. */ IsEncrypted *bool `json:"isEncrypted,omitempty"` /* Indicates whether data written to this container should be inline erasure coded or not. This field is only considered when ErasureCoding is enabled. */ IsInlineEcEnabled *bool `json:"isInlineEcEnabled,omitempty"` /* Indicates whether the Container is internal and is managed by Nutanix. */ IsInternal *bool `json:"isInternal,omitempty"` /* Indicates if the Storage Container is marked for removal. This field is set when the Storage Container is about to be destroyed. */ IsMarkedForRemoval *bool `json:"isMarkedForRemoval,omitempty"` /* Indicates whether the NFS whitelist is inherited from global config. */ IsNfsWhitelistInherited *bool `json:"isNfsWhitelistInherited,omitempty"` /* Indicates whether the Container instance has software encryption enabled. */ IsSoftwareEncryptionEnabled *bool `json:"isSoftwareEncryptionEnabled,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"` /* Max capacity of the Container as defined by the user. */ LogicalAdvertisedCapacityBytes *int64 `json:"logicalAdvertisedCapacityBytes,omitempty"` /* Total reserved size (in bytes) of the container (set by Admin). This also accounts for the container's replication factor. The actual reserved capacity of the container will be the maximum of explicitReservedCapacity and implicitReservedCapacity. */ LogicalExplicitReservedCapacityBytes *int64 `json:"logicalExplicitReservedCapacityBytes,omitempty"` /* This is the summation of reservations provisioned on all vdisks in the container. The actual reserved capacity of the container will be the maximum of explicitReservedCapacity and implicitReservedCapacity. */ LogicalImplicitReservedCapacityBytes *int64 `json:"logicalImplicitReservedCapacityBytes,omitempty"` /* Maximum physical capacity of the Storage Container in bytes. */ MaxCapacityBytes *int64 `json:"maxCapacityBytes,omitempty"` /* Name of the Storage Container. Note that the name of Storage Container should be unique per cluster. */ Name *string `json:"name"` /* List of NFS addresses which need to be whitelisted. */ NfsWhitelistAddress []import4.IPAddressOrFQDN `json:"nfsWhitelistAddress,omitempty"` OnDiskDedup *OnDiskDedup `json:"onDiskDedup,omitempty"` /* extId of the owner. */ OwnerExtId *string `json:"ownerExtId,omitempty"` /* Replication factor of the Storage Container. */ ReplicationFactor *int `json:"replicationFactor,omitempty"` /* extId of the Storage Pool owning the Storage Container instance. */ StoragePoolExtId *string `json:"storagePoolExtId,omitempty"` /* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` }
func NewStorageContainer ¶
func NewStorageContainer() *StorageContainer
func (*StorageContainer) MarshalJSON ¶
func (p *StorageContainer) MarshalJSON() ([]byte, error)
type StorageTier ¶
type StorageTier int
Represents the Disk storage tier.
const ( STORAGETIER_UNKNOWN StorageTier = 0 STORAGETIER_REDACTED StorageTier = 1 STORAGETIER_SSD_PCIE StorageTier = 2 STORAGETIER_SSD_SATA StorageTier = 3 STORAGETIER_DAS_SATA StorageTier = 4 STORAGETIER_CLOUD StorageTier = 5 STORAGETIER_SSD_MEM_NVME StorageTier = 6 )
func (*StorageTier) MarshalJSON ¶
func (e *StorageTier) MarshalJSON() ([]byte, error)
func (StorageTier) Ref ¶
func (e StorageTier) Ref() *StorageTier
func (*StorageTier) UnmarshalJSON ¶
func (e *StorageTier) 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"` }
Map providing additional node attributes for the unconfigured node.
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"` HostType *HostTypeEnum `json:"hostType,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 UnmountStorageContainerApiResponse ¶
type UnmountStorageContainerApiResponse 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 *OneOfUnmountStorageContainerApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/storage-containers/{extId}/$actions/unmount Post operation
func NewUnmountStorageContainerApiResponse ¶
func NewUnmountStorageContainerApiResponse() *UnmountStorageContainerApiResponse
func (*UnmountStorageContainerApiResponse) GetData ¶
func (p *UnmountStorageContainerApiResponse) GetData() interface{}
func (*UnmountStorageContainerApiResponse) SetData ¶
func (p *UnmountStorageContainerApiResponse) SetData(v interface{}) error
type UnregisterVcenterExtensionApiResponse ¶
type UnregisterVcenterExtensionApiResponse 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 *OneOfUnregisterVcenterExtensionApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/vcenter-extensions/{extId}/$actions/unregister Post operation
func NewUnregisterVcenterExtensionApiResponse ¶
func NewUnregisterVcenterExtensionApiResponse() *UnregisterVcenterExtensionApiResponse
func (*UnregisterVcenterExtensionApiResponse) GetData ¶
func (p *UnregisterVcenterExtensionApiResponse) GetData() interface{}
func (*UnregisterVcenterExtensionApiResponse) SetData ¶
func (p *UnregisterVcenterExtensionApiResponse) SetData(v interface{}) error
type UpdateClusterApiResponse ¶
type UpdateClusterApiResponse 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 *OneOfUpdateClusterApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{extId} Put operation
func NewUpdateClusterApiResponse ¶
func NewUpdateClusterApiResponse() *UpdateClusterApiResponse
func (*UpdateClusterApiResponse) GetData ¶
func (p *UpdateClusterApiResponse) GetData() interface{}
func (*UpdateClusterApiResponse) SetData ¶
func (p *UpdateClusterApiResponse) SetData(v interface{}) error
type UpdateRsyslogServerApiResponse ¶
type UpdateRsyslogServerApiResponse 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 *OneOfUpdateRsyslogServerApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{clusterExtId}/rsyslog-servers/{extId} Put operation
func NewUpdateRsyslogServerApiResponse ¶
func NewUpdateRsyslogServerApiResponse() *UpdateRsyslogServerApiResponse
func (*UpdateRsyslogServerApiResponse) GetData ¶
func (p *UpdateRsyslogServerApiResponse) GetData() interface{}
func (*UpdateRsyslogServerApiResponse) SetData ¶
func (p *UpdateRsyslogServerApiResponse) SetData(v interface{}) error
type UpdateSnmpStatusApiResponse ¶
type UpdateSnmpStatusApiResponse 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 *OneOfUpdateSnmpStatusApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{extId}/snmp/$actions/update-status Post operation
func NewUpdateSnmpStatusApiResponse ¶
func NewUpdateSnmpStatusApiResponse() *UpdateSnmpStatusApiResponse
func (*UpdateSnmpStatusApiResponse) GetData ¶
func (p *UpdateSnmpStatusApiResponse) GetData() interface{}
func (*UpdateSnmpStatusApiResponse) SetData ¶
func (p *UpdateSnmpStatusApiResponse) SetData(v interface{}) error
type UpdateSnmpTrapApiResponse ¶
type UpdateSnmpTrapApiResponse 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 *OneOfUpdateSnmpTrapApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{clusterExtId}/snmp/traps/{extId} Put operation
func NewUpdateSnmpTrapApiResponse ¶
func NewUpdateSnmpTrapApiResponse() *UpdateSnmpTrapApiResponse
func (*UpdateSnmpTrapApiResponse) GetData ¶
func (p *UpdateSnmpTrapApiResponse) GetData() interface{}
func (*UpdateSnmpTrapApiResponse) SetData ¶
func (p *UpdateSnmpTrapApiResponse) SetData(v interface{}) error
type UpdateSnmpUserApiResponse ¶
type UpdateSnmpUserApiResponse 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 *OneOfUpdateSnmpUserApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{clusterExtId}/snmp/users/{extId} Put operation
func NewUpdateSnmpUserApiResponse ¶
func NewUpdateSnmpUserApiResponse() *UpdateSnmpUserApiResponse
func (*UpdateSnmpUserApiResponse) GetData ¶
func (p *UpdateSnmpUserApiResponse) GetData() interface{}
func (*UpdateSnmpUserApiResponse) SetData ¶
func (p *UpdateSnmpUserApiResponse) SetData(v interface{}) error
type UpdateStorageContainerApiResponse ¶
type UpdateStorageContainerApiResponse 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 *OneOfUpdateStorageContainerApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/storage-containers/{extId} Put operation
func NewUpdateStorageContainerApiResponse ¶
func NewUpdateStorageContainerApiResponse() *UpdateStorageContainerApiResponse
func (*UpdateStorageContainerApiResponse) GetData ¶
func (p *UpdateStorageContainerApiResponse) GetData() interface{}
func (*UpdateStorageContainerApiResponse) SetData ¶
func (p *UpdateStorageContainerApiResponse) 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 ValidateNodeApiResponse ¶
type ValidateNodeApiResponse 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 *OneOfValidateNodeApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /clustermgmt/v4.0.b2/config/clusters/{extId}/$actions/validate-node Post operation
func NewValidateNodeApiResponse ¶
func NewValidateNodeApiResponse() *ValidateNodeApiResponse
func (*ValidateNodeApiResponse) GetData ¶
func (p *ValidateNodeApiResponse) GetData() interface{}
func (*ValidateNodeApiResponse) SetData ¶
func (p *ValidateNodeApiResponse) SetData(v interface{}) error
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 VcenterCredentials ¶
type VcenterCredentials struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Password for vCenter Server extension registration/unregistration. */ Password *string `json:"password"` /* vCenter port to connect for registering/unregistering extension. */ Port *int `json:"port,omitempty"` /* Username for vCenter Server extension registration/unregistration. */ Username *string `json:"username"` }
Credentials for registering/unregistering vCenter Server extension for Nutanix to manage VMs of the cluster.
func NewVcenterCredentials ¶
func NewVcenterCredentials() *VcenterCredentials
func (*VcenterCredentials) MarshalJSON ¶
func (p *VcenterCredentials) MarshalJSON() ([]byte, error)
type VcenterExtension ¶
type VcenterExtension struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* The globally unique identifier of cluster instance. It should be of type UUID. */ ClusterExtId *string `json:"clusterExtId,omitempty"` /* A globally unique identifier of an instance that is suitable for external consumption. */ ExtId *string `json:"extId,omitempty"` /* IP Address of vCenter. */ IpAddress *string `json:"ipAddress,omitempty"` /* Indicates whether the vCenter Server extension is registered for the cluster. */ IsRegistered *bool `json:"isRegistered,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"` /* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` }
vCenter Server extension information of the cluster. Nutanix Prism requires registering vCenter Server extension keys to be able to perform VM Management and other operations.
func NewVcenterExtension ¶
func NewVcenterExtension() *VcenterExtension
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. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` /* VLAN Id. */ VlanId *int64 `json:"vlanId,omitempty"` }
Virtual NIC details.
func NewVirtualNic ¶
func NewVirtualNic() *VirtualNic