Documentation
¶
Overview ¶
Api classes for clustermgmt's golang SDK
Index ¶
- type BmcApi
- type ClusterProfilesApi
- func (api *ClusterProfilesApi) ApplyClusterProfile(extId *string, body *import1.ClusterReferenceListSpec, dryrun_ *bool, ...) (*import1.ApplyClusterProfileApiResponse, error)
- func (api *ClusterProfilesApi) CreateClusterProfile(body *import1.ClusterProfile, args ...map[string]interface{}) (*import1.CreateClusterProfileApiResponse, error)
- func (api *ClusterProfilesApi) DeleteClusterProfileById(extId *string, args ...map[string]interface{}) (*import1.DeleteClusterProfileApiResponse, error)
- func (api *ClusterProfilesApi) DisassociateClusterFromClusterProfile(extId *string, body *import1.ClusterReferenceListSpec, ...) (*import1.DisassociateClusterFromClusterProfileApiResponse, error)
- func (api *ClusterProfilesApi) GetClusterProfileById(extId *string, args ...map[string]interface{}) (*import1.GetClusterProfileApiResponse, error)
- func (api *ClusterProfilesApi) ListClusterProfiles(page_ *int, limit_ *int, filter_ *string, orderby_ *string, select_ *string, ...) (*import1.ListClusterProfilesApiResponse, error)
- func (api *ClusterProfilesApi) UpdateClusterProfileById(extId *string, body *import1.ClusterProfile, dryrun_ *bool, ...) (*import1.UpdateClusterProfileApiResponse, error)
- type ClustersApi
- func (api *ClustersApi) AddSnmpTransport(clusterExtId *string, body *import1.SnmpTransport, ...) (*import1.AddSnmpTransportsApiResponse, error)
- func (api *ClustersApi) AssociateCategoriesToCluster(clusterExtId *string, body *import1.CategoryEntityReferences, ...) (*import1.AssociateCategoriesToClusterApiResponse, error)
- func (api *ClustersApi) CheckHypervisorRequirements(clusterExtId *string, body *import1.HypervisorUploadParam, ...) (*import1.CheckHypervisorRequirementsApiResponse, error)
- func (api *ClustersApi) CreateCluster(body *import1.Cluster, dryrun_ *bool, args ...map[string]interface{}) (*import1.CreateClusterApiResponse, error)
- func (api *ClustersApi) CreateRsyslogServer(clusterExtId *string, body *import1.RsyslogServer, ...) (*import1.CreateRsyslogServerApiResponse, error)
- func (api *ClustersApi) CreateSnmpTrap(clusterExtId *string, body *import1.SnmpTrap, args ...map[string]interface{}) (*import1.CreateSnmpTrapApiResponse, error)
- func (api *ClustersApi) CreateSnmpUser(clusterExtId *string, body *import1.SnmpUser, args ...map[string]interface{}) (*import1.CreateSnmpUserApiResponse, error)
- func (api *ClustersApi) DeleteClusterById(extId *string, dryrun_ *bool, args ...map[string]interface{}) (*import1.DeleteClusterApiResponse, error)
- func (api *ClustersApi) DeleteRsyslogServerById(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.DeleteRsyslogServerApiResponse, error)
- func (api *ClustersApi) DeleteSnmpTrapById(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.DeleteSnmpTrapApiResponse, error)
- func (api *ClustersApi) DeleteSnmpUserById(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.DeleteSnmpUserApiResponse, error)
- func (api *ClustersApi) DisassociateCategoriesFromCluster(clusterExtId *string, body *import1.CategoryEntityReferences, ...) (*import1.DisassociateCategoriesFromClusterApiResponse, error)
- func (api *ClustersApi) DiscoverUnconfiguredNodes(clusterExtId *string, body *import1.NodeDiscoveryParams, ...) (*import1.DiscoverUnconfiguredNodesApiResponse, error)
- func (api *ClustersApi) EnterHostMaintenance(clusterExtId *string, extId *string, body *import2.EnterHostMaintenanceSpec, ...) (*import2.EnterHostMaintenanceApiResponse, error)
- func (api *ClustersApi) ExitHostMaintenance(clusterExtId *string, extId *string, body *import2.HostMaintenanceCommonSpec, ...) (*import2.ExitHostMaintenanceApiResponse, error)
- func (api *ClustersApi) ExpandCluster(clusterExtId *string, body *import1.ExpandClusterParams, ...) (*import1.ExpandClusterApiResponse, error)
- func (api *ClustersApi) FetchNodeNetworkingDetails(clusterExtId *string, body *import1.NodeDetails, ...) (*import1.FetchNodeNetworkingDetailsApiResponse, error)
- func (api *ClustersApi) FetchTaskResponse(extId *string, taskResponseType *import1.TaskResponseType, ...) (*import1.FetchTaskApiResponse, error)
- func (api *ClustersApi) GetClusterById(extId *string, expand_ *string, args ...map[string]interface{}) (*import1.GetClusterApiResponse, error)
- func (api *ClustersApi) GetClusterStats(extId *string, startTime_ *time.Time, endTime_ *time.Time, ...) (*import3.ClusterStatsApiResponse, error)
- func (api *ClustersApi) GetHostById(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.GetHostApiResponse, error)
- func (api *ClustersApi) GetHostNicById(clusterExtId *string, hostExtId *string, extId *string, ...) (*import1.GetHostNicApiResponse, error)
- func (api *ClustersApi) GetHostStats(clusterExtId *string, extId *string, startTime_ *time.Time, ...) (*import3.HostStatsApiResponse, error)
- func (api *ClustersApi) GetRackableUnitById(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.GetRackableUnitApiResponse, error)
- func (api *ClustersApi) GetRsyslogServerById(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.GetRsyslogServerApiResponse, error)
- func (api *ClustersApi) GetSnmpConfigByClusterId(clusterExtId *string, args ...map[string]interface{}) (*import1.GetSnmpConfigByClusterIdApiResponse, error)
- func (api *ClustersApi) GetSnmpTrapById(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.GetSnmpTrapApiResponse, error)
- func (api *ClustersApi) GetSnmpUserById(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.GetSnmpUserApiResponse, error)
- func (api *ClustersApi) GetVirtualNicById(clusterExtId *string, hostExtId *string, extId *string, ...) (*import1.GetVirtualNicApiResponse, error)
- func (api *ClustersApi) ListClusters(page_ *int, limit_ *int, filter_ *string, orderby_ *string, apply_ *string, ...) (*import1.ListClustersApiResponse, error)
- func (api *ClustersApi) ListHostNicsByHostId(clusterExtId *string, hostExtId *string, page_ *int, limit_ *int, ...) (*import1.ListHostNicsByHostIdApiResponse, error)
- func (api *ClustersApi) ListHosts(page_ *int, limit_ *int, filter_ *string, orderby_ *string, apply_ *string, ...) (*import1.ListHostsApiResponse, error)
- func (api *ClustersApi) ListHostsByClusterId(clusterExtId *string, page_ *int, limit_ *int, filter_ *string, ...) (*import1.ListHostsByClusterIdApiResponse, error)
- func (api *ClustersApi) ListPhysicalGpuProfiles(clusterExtId *string, page_ *int, limit_ *int, filter_ *string, ...) (*import1.ListPhysicalGpuProfilesApiResponse, error)
- func (api *ClustersApi) ListRackableUnitsByClusterId(clusterExtId *string, args ...map[string]interface{}) (*import1.ListRackableUnitsByClusterIdApiResponse, error)
- func (api *ClustersApi) ListRsyslogServersByClusterId(clusterExtId *string, args ...map[string]interface{}) (*import1.ListRsyslogServersByClusterIdApiResponse, error)
- func (api *ClustersApi) ListVirtualGpuProfiles(clusterExtId *string, page_ *int, limit_ *int, filter_ *string, ...) (*import1.ListVirtualGpuProfilesApiResponse, error)
- func (api *ClustersApi) ListVirtualNicsByHostId(clusterExtId *string, hostExtId *string, page_ *int, limit_ *int, ...) (*import1.ListVirtualNicsByHostIdApiResponse, error)
- func (api *ClustersApi) RemoveNode(clusterExtId *string, body *import1.NodeRemovalParams, ...) (*import1.RemoveNodeApiResponse, error)
- func (api *ClustersApi) RemoveSnmpTransport(clusterExtId *string, body *import1.SnmpTransport, ...) (*import1.RemoveSnmpTransportsApiResponse, error)
- func (api *ClustersApi) UpdateClusterById(extId *string, body *import1.Cluster, args ...map[string]interface{}) (*import1.UpdateClusterApiResponse, error)
- func (api *ClustersApi) UpdateRsyslogServerById(clusterExtId *string, extId *string, body *import1.RsyslogServer, ...) (*import1.UpdateRsyslogServerApiResponse, error)
- func (api *ClustersApi) UpdateSnmpStatus(clusterExtId *string, body *import1.SnmpStatusParam, ...) (*import1.UpdateSnmpStatusApiResponse, error)
- func (api *ClustersApi) UpdateSnmpTrapById(clusterExtId *string, extId *string, body *import1.SnmpTrap, ...) (*import1.UpdateSnmpTrapApiResponse, error)
- func (api *ClustersApi) UpdateSnmpUserById(clusterExtId *string, extId *string, body *import1.SnmpUser, ...) (*import1.UpdateSnmpUserApiResponse, error)
- func (api *ClustersApi) ValidateNode(clusterExtId *string, body *import1.ValidateNodeParam, ...) (*import1.ValidateNodeApiResponse, error)
- type DisksApi
- func (api *DisksApi) AddDisk(extId *string, body *import1.DiskAdditionSpec, args ...map[string]interface{}) (*import1.AddDiskApiResponse, error)
- func (api *DisksApi) DeleteDiskById(extId *string, args ...map[string]interface{}) (*import1.DeleteDiskApiResponse, error)
- func (api *DisksApi) GetDiskById(extId *string, args ...map[string]interface{}) (*import1.GetDiskApiResponse, error)
- func (api *DisksApi) GetDiskStats(extId *string, startTime_ *time.Time, endTime_ *time.Time, ...) (*import3.GetDiskStatsApiResponse, error)
- func (api *DisksApi) ListDisks(page_ *int, limit_ *int, filter_ *string, orderby_ *string, apply_ *string, ...) (*import1.ListDisksApiResponse, error)
- type PcieDevicesApi
- type StorageContainersApi
- func (api *StorageContainersApi) CreateStorageContainer(body *import1.StorageContainer, xClusterId *string, ...) (*import1.CreateStorageContainerApiResponse, error)
- func (api *StorageContainersApi) DeleteStorageContainerById(extId *string, ignoreSmallFiles *bool, args ...map[string]interface{}) (*import1.DeleteStorageContainerApiResponse, error)
- func (api *StorageContainersApi) GetStorageContainerById(extId *string, args ...map[string]interface{}) (*import1.GetStorageContainerApiResponse, error)
- func (api *StorageContainersApi) GetStorageContainerStats(extId *string, startTime_ *time.Time, endTime_ *time.Time, ...) (*import3.GetStorageContainerStatsApiResponse, error)
- func (api *StorageContainersApi) ListDataStoresByClusterId(clusterExtId *string, page_ *int, limit_ *int, filter_ *string, ...) (*import1.ListDataStoresByClusterIdApiResponse, error)
- func (api *StorageContainersApi) ListStorageContainers(page_ *int, limit_ *int, filter_ *string, orderby_ *string, select_ *string, ...) (*import1.ListStorageContainersApiResponse, error)
- func (api *StorageContainersApi) MountStorageContainer(extId *string, body *import1.DataStoreMount, args ...map[string]interface{}) (*import1.MountStorageContainerApiResponse, error)
- func (api *StorageContainersApi) UnmountStorageContainer(extId *string, body *import1.DataStoreUnmount, args ...map[string]interface{}) (*import1.UnmountStorageContainerApiResponse, error)
- func (api *StorageContainersApi) UpdateStorageContainerById(extId *string, body *import1.StorageContainer, args ...map[string]interface{}) (*import1.UpdateStorageContainerApiResponse, error)
- type VcenterExtensionsApi
- func (api *VcenterExtensionsApi) GetVcenterExtensionById(extId *string, args ...map[string]interface{}) (*import1.GetVcenterExtensionApiResponse, error)
- func (api *VcenterExtensionsApi) ListVcenterExtensions(page_ *int, limit_ *int, filter_ *string, select_ *string, ...) (*import1.ListVcenterExtensionsApiResponse, error)
- func (api *VcenterExtensionsApi) RegisterVcenterExtension(extId *string, body *import1.VcenterCredentials, ...) (*import1.RegisterVcenterExtensionApiResponse, error)
- func (api *VcenterExtensionsApi) UnregisterVcenterExtension(extId *string, body *import1.VcenterCredentials, ...) (*import1.UnregisterVcenterExtensionApiResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BmcApi ¶ added in v4.0.2
func (*BmcApi) GetBmcInfo ¶ added in v4.0.2
func (api *BmcApi) GetBmcInfo(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.GetBmcInfoResponse, error)
Get BMC details of a host
type ClusterProfilesApi ¶
type ClusterProfilesApi struct { ApiClient *client.ApiClient // contains filtered or unexported fields }
func NewClusterProfilesApi ¶
func NewClusterProfilesApi(apiClient *client.ApiClient) *ClusterProfilesApi
func (*ClusterProfilesApi) ApplyClusterProfile ¶
func (api *ClusterProfilesApi) ApplyClusterProfile(extId *string, body *import1.ClusterReferenceListSpec, dryrun_ *bool, args ...map[string]interface{}) (*import1.ApplyClusterProfileApiResponse, error)
Apply profile to all the attached clusters
func (*ClusterProfilesApi) CreateClusterProfile ¶
func (api *ClusterProfilesApi) CreateClusterProfile(body *import1.ClusterProfile, args ...map[string]interface{}) (*import1.CreateClusterProfileApiResponse, error)
Create cluster profile with the required settings
func (*ClusterProfilesApi) DeleteClusterProfileById ¶
func (api *ClusterProfilesApi) DeleteClusterProfileById(extId *string, args ...map[string]interface{}) (*import1.DeleteClusterProfileApiResponse, error)
Delete cluster profile. Profile consist of different cluster settings like NTP, DNS etc.
func (*ClusterProfilesApi) DisassociateClusterFromClusterProfile ¶
func (api *ClusterProfilesApi) DisassociateClusterFromClusterProfile(extId *string, body *import1.ClusterReferenceListSpec, args ...map[string]interface{}) (*import1.DisassociateClusterFromClusterProfileApiResponse, error)
Disassociate cluster from a profile
func (*ClusterProfilesApi) GetClusterProfileById ¶
func (api *ClusterProfilesApi) GetClusterProfileById(extId *string, args ...map[string]interface{}) (*import1.GetClusterProfileApiResponse, error)
Get cluster profile. Profile consist of different cluster settings like NTP, DNS etc.
func (*ClusterProfilesApi) ListClusterProfiles ¶
func (api *ClusterProfilesApi) ListClusterProfiles(page_ *int, limit_ *int, filter_ *string, orderby_ *string, select_ *string, args ...map[string]interface{}) (*import1.ListClusterProfilesApiResponse, error)
Fetches a list of cluster profile entities. A profile consists of different cluster settings like Network Time Protocol(NTP), Domain Name System(DNS), and so on.
func (*ClusterProfilesApi) UpdateClusterProfileById ¶
func (api *ClusterProfilesApi) UpdateClusterProfileById(extId *string, body *import1.ClusterProfile, dryrun_ *bool, args ...map[string]interface{}) (*import1.UpdateClusterProfileApiResponse, error)
Update cluster profile. Profile consist of different cluster settings like NTP, DNS etc.
type ClustersApi ¶
func NewClustersApi ¶
func NewClustersApi(apiClient *client.ApiClient) *ClustersApi
func (*ClustersApi) AddSnmpTransport ¶
func (api *ClustersApi) AddSnmpTransport(clusterExtId *string, body *import1.SnmpTransport, args ...map[string]interface{}) (*import1.AddSnmpTransportsApiResponse, error)
Adds transport ports and protocol details to the SNMP configuration associated with the cluster identified by {clusterExtId}.
func (*ClustersApi) AssociateCategoriesToCluster ¶
func (api *ClustersApi) AssociateCategoriesToCluster(clusterExtId *string, body *import1.CategoryEntityReferences, args ...map[string]interface{}) (*import1.AssociateCategoriesToClusterApiResponse, error)
Attach categories to the cluster identified by {clusterExtId}.
func (*ClustersApi) CheckHypervisorRequirements ¶
func (api *ClustersApi) CheckHypervisorRequirements(clusterExtId *string, body *import1.HypervisorUploadParam, args ...map[string]interface{}) (*import1.CheckHypervisorRequirementsApiResponse, error)
Provides information on whether hypervisor ISO upload is required or not. This API is not supported for XEN hypervisor type.
func (*ClustersApi) CreateCluster ¶
func (api *ClustersApi) CreateCluster(body *import1.Cluster, dryrun_ *bool, args ...map[string]interface{}) (*import1.CreateClusterApiResponse, error)
Cluster create operation.
func (*ClustersApi) CreateRsyslogServer ¶
func (api *ClustersApi) CreateRsyslogServer(clusterExtId *string, body *import1.RsyslogServer, args ...map[string]interface{}) (*import1.CreateRsyslogServerApiResponse, error)
Adds RSYSLOG server configuration to the cluster identified by {clusterExtId}.
func (*ClustersApi) CreateSnmpTrap ¶
func (api *ClustersApi) CreateSnmpTrap(clusterExtId *string, body *import1.SnmpTrap, args ...map[string]interface{}) (*import1.CreateSnmpTrapApiResponse, error)
Add SNMP trap configuration associated with the cluster identified by {clusterExtId}.
func (*ClustersApi) CreateSnmpUser ¶
func (api *ClustersApi) CreateSnmpUser(clusterExtId *string, body *import1.SnmpUser, args ...map[string]interface{}) (*import1.CreateSnmpUserApiResponse, error)
Adds SNMP user configuration to the cluster identified by {clusterExtId}.
func (*ClustersApi) DeleteClusterById ¶
func (api *ClustersApi) DeleteClusterById(extId *string, dryrun_ *bool, args ...map[string]interface{}) (*import1.DeleteClusterApiResponse, error)
Deletes the cluster identified by {extId}.
func (*ClustersApi) DeleteRsyslogServerById ¶
func (api *ClustersApi) DeleteRsyslogServerById(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.DeleteRsyslogServerApiResponse, error)
Deletes RSYSLOG server configuration identified by {extId} associated with the cluster identified by {clusterExtId}.
func (*ClustersApi) DeleteSnmpTrapById ¶
func (api *ClustersApi) DeleteSnmpTrapById(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.DeleteSnmpTrapApiResponse, error)
Deletes SNMP trap configuration identified by {extId} associated with the cluster identified by {clusterExtId}.
func (*ClustersApi) DeleteSnmpUserById ¶
func (api *ClustersApi) DeleteSnmpUserById(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.DeleteSnmpUserApiResponse, error)
Deletes SNMP user configuration identified by {extId} associated with the cluster identified by {clusterExtId}.
func (*ClustersApi) DisassociateCategoriesFromCluster ¶
func (api *ClustersApi) DisassociateCategoriesFromCluster(clusterExtId *string, body *import1.CategoryEntityReferences, args ...map[string]interface{}) (*import1.DisassociateCategoriesFromClusterApiResponse, error)
Detach categories from the cluster identified by {clusterExtId}.
func (*ClustersApi) DiscoverUnconfiguredNodes ¶
func (api *ClustersApi) DiscoverUnconfiguredNodes(clusterExtId *string, body *import1.NodeDiscoveryParams, args ...map[string]interface{}) (*import1.DiscoverUnconfiguredNodesApiResponse, error)
Get the unconfigured node details such as node UUID, node position, node IP, foundation version and more.
func (*ClustersApi) EnterHostMaintenance ¶
func (api *ClustersApi) EnterHostMaintenance(clusterExtId *string, extId *string, body *import2.EnterHostMaintenanceSpec, args ...map[string]interface{}) (*import2.EnterHostMaintenanceApiResponse, error)
Enter host identified by {extId} into maintenance mode belonging to the cluster identified by {clusterExtId}.
func (*ClustersApi) ExitHostMaintenance ¶
func (api *ClustersApi) ExitHostMaintenance(clusterExtId *string, extId *string, body *import2.HostMaintenanceCommonSpec, args ...map[string]interface{}) (*import2.ExitHostMaintenanceApiResponse, error)
Exit host identified by {extId} from maintenance mode belonging to the cluster identified by {clusterExtId}.
func (*ClustersApi) ExpandCluster ¶
func (api *ClustersApi) ExpandCluster(clusterExtId *string, body *import1.ExpandClusterParams, args ...map[string]interface{}) (*import1.ExpandClusterApiResponse, error)
Add node on a cluster. This API is not supported for XEN hypervisor type.
func (*ClustersApi) FetchNodeNetworkingDetails ¶
func (api *ClustersApi) FetchNodeNetworkingDetails(clusterExtId *string, body *import1.NodeDetails, args ...map[string]interface{}) (*import1.FetchNodeNetworkingDetailsApiResponse, error)
Get a dictionary of cluster networks and available uplinks on the given nodes. This API is not supported for XEN hypervisor type.
func (*ClustersApi) FetchTaskResponse ¶
func (api *ClustersApi) FetchTaskResponse(extId *string, taskResponseType *import1.TaskResponseType, args ...map[string]interface{}) (*import1.FetchTaskApiResponse, error)
Get task response based on the type of request.
func (*ClustersApi) GetClusterById ¶
func (api *ClustersApi) GetClusterById(extId *string, expand_ *string, args ...map[string]interface{}) (*import1.GetClusterApiResponse, error)
Fetches the cluster entity details identified by {extId}.
func (*ClustersApi) GetClusterStats ¶
func (api *ClustersApi) GetClusterStats(extId *string, startTime_ *time.Time, endTime_ *time.Time, samplingInterval_ *int, statType_ *import4.DownSamplingOperator, select_ *string, args ...map[string]interface{}) (*import3.ClusterStatsApiResponse, error)
Get the statistics data of the cluster identified by {clusterExtId}.
func (*ClustersApi) GetHostById ¶
func (api *ClustersApi) GetHostById(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.GetHostApiResponse, error)
Fetches the details of the host identified by {extId} associated with the cluster identified by {clusterExtId}.
func (*ClustersApi) GetHostNicById ¶
func (api *ClustersApi) GetHostNicById(clusterExtId *string, hostExtId *string, extId *string, args ...map[string]interface{}) (*import1.GetHostNicApiResponse, error)
Get the host NIC entity of the host identified by {hostExtId} belonging to the cluster identified by {clusterExtId}.
func (*ClustersApi) GetHostStats ¶
func (api *ClustersApi) GetHostStats(clusterExtId *string, extId *string, startTime_ *time.Time, endTime_ *time.Time, samplingInterval_ *int, statType_ *import4.DownSamplingOperator, select_ *string, args ...map[string]interface{}) (*import3.HostStatsApiResponse, error)
Get the statistics data of the host identified by {hostExtId} belonging to the cluster identified by {clusterExtId}.
func (*ClustersApi) GetRackableUnitById ¶
func (api *ClustersApi) GetRackableUnitById(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.GetRackableUnitApiResponse, error)
Fetches the rackable unit entity details identified by {extId} of the cluster identified by {clusterExtId}.
func (*ClustersApi) GetRsyslogServerById ¶
func (api *ClustersApi) GetRsyslogServerById(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.GetRsyslogServerApiResponse, error)
Fetches the RSYSLOG server configuration identified by {extId} associated with the cluster identified by {clusterExtId}.
func (*ClustersApi) GetSnmpConfigByClusterId ¶
func (api *ClustersApi) GetSnmpConfigByClusterId(clusterExtId *string, args ...map[string]interface{}) (*import1.GetSnmpConfigByClusterIdApiResponse, error)
Fetches SNMP config details of the cluster identified by {clusterExtId}.
func (*ClustersApi) GetSnmpTrapById ¶
func (api *ClustersApi) GetSnmpTrapById(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.GetSnmpTrapApiResponse, error)
Fetches SNMP trap configuration details identified by {extId} associated with the cluster identified by {clusterExtId}.
func (*ClustersApi) GetSnmpUserById ¶
func (api *ClustersApi) GetSnmpUserById(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.GetSnmpUserApiResponse, error)
Fetches SNMP user configuration details identified by {extId} associated with the cluster identified by {clusterExtId}.
func (*ClustersApi) GetVirtualNicById ¶
func (api *ClustersApi) GetVirtualNicById(clusterExtId *string, hostExtId *string, extId *string, args ...map[string]interface{}) (*import1.GetVirtualNicApiResponse, error)
Get the virtual NIC entity of the host identified by {hostExtId} belonging to the cluster identified by {clusterExtId}.
func (*ClustersApi) ListClusters ¶
func (api *ClustersApi) ListClusters(page_ *int, limit_ *int, filter_ *string, orderby_ *string, apply_ *string, expand_ *string, select_ *string, args ...map[string]interface{}) (*import1.ListClustersApiResponse, error)
Lists all cluster entities registered to Prism Central.
func (*ClustersApi) ListHostNicsByHostId ¶
func (api *ClustersApi) ListHostNicsByHostId(clusterExtId *string, hostExtId *string, page_ *int, limit_ *int, filter_ *string, orderby_ *string, select_ *string, args ...map[string]interface{}) (*import1.ListHostNicsByHostIdApiResponse, error)
Lists all host NICs for the host identified by {hostExtId} belonging to the cluster identified by {clusterExtId}.
func (*ClustersApi) ListHosts ¶
func (api *ClustersApi) ListHosts(page_ *int, limit_ *int, filter_ *string, orderby_ *string, apply_ *string, select_ *string, args ...map[string]interface{}) (*import1.ListHostsApiResponse, error)
Lists all host entities across clusters registered to Prism Central.
func (*ClustersApi) ListHostsByClusterId ¶
func (api *ClustersApi) ListHostsByClusterId(clusterExtId *string, page_ *int, limit_ *int, filter_ *string, orderby_ *string, apply_ *string, select_ *string, args ...map[string]interface{}) (*import1.ListHostsByClusterIdApiResponse, error)
Lists all the hosts associated with the cluster identified by {clusterExtId}.
func (*ClustersApi) ListPhysicalGpuProfiles ¶
func (api *ClustersApi) ListPhysicalGpuProfiles(clusterExtId *string, page_ *int, limit_ *int, filter_ *string, orderby_ *string, args ...map[string]interface{}) (*import1.ListPhysicalGpuProfilesApiResponse, error)
List Physical GPU profiles.
func (*ClustersApi) ListRackableUnitsByClusterId ¶
func (api *ClustersApi) ListRackableUnitsByClusterId(clusterExtId *string, args ...map[string]interface{}) (*import1.ListRackableUnitsByClusterIdApiResponse, error)
Lists the rackable units of the cluster identified by {clusterExtId}.
func (*ClustersApi) ListRsyslogServersByClusterId ¶
func (api *ClustersApi) ListRsyslogServersByClusterId(clusterExtId *string, args ...map[string]interface{}) (*import1.ListRsyslogServersByClusterIdApiResponse, error)
Lists the RSYSLOG server configurations associated with the cluster identified by {clusterExtId}.
func (*ClustersApi) ListVirtualGpuProfiles ¶
func (api *ClustersApi) ListVirtualGpuProfiles(clusterExtId *string, page_ *int, limit_ *int, filter_ *string, orderby_ *string, args ...map[string]interface{}) (*import1.ListVirtualGpuProfilesApiResponse, error)
List Virtual GPU profiles.
func (*ClustersApi) ListVirtualNicsByHostId ¶
func (api *ClustersApi) ListVirtualNicsByHostId(clusterExtId *string, hostExtId *string, page_ *int, limit_ *int, filter_ *string, orderby_ *string, select_ *string, args ...map[string]interface{}) (*import1.ListVirtualNicsByHostIdApiResponse, error)
Lists all virtual NICs for the host identified by {extId} belonging to the cluster identified by {clusterExtId}.
func (*ClustersApi) RemoveNode ¶
func (api *ClustersApi) RemoveNode(clusterExtId *string, body *import1.NodeRemovalParams, args ...map[string]interface{}) (*import1.RemoveNodeApiResponse, error)
Removes nodes from cluster identified by {extId}.
func (*ClustersApi) RemoveSnmpTransport ¶
func (api *ClustersApi) RemoveSnmpTransport(clusterExtId *string, body *import1.SnmpTransport, args ...map[string]interface{}) (*import1.RemoveSnmpTransportsApiResponse, error)
Removes transport ports and protocol detail from the SNMP configuration associated with the cluster identified by {clusterExtId}.
func (*ClustersApi) UpdateClusterById ¶
func (api *ClustersApi) UpdateClusterById(extId *string, body *import1.Cluster, args ...map[string]interface{}) (*import1.UpdateClusterApiResponse, error)
Update cluster operation.
func (*ClustersApi) UpdateRsyslogServerById ¶
func (api *ClustersApi) UpdateRsyslogServerById(clusterExtId *string, extId *string, body *import1.RsyslogServer, args ...map[string]interface{}) (*import1.UpdateRsyslogServerApiResponse, error)
Update RSYSLOG server configuration except RSYSLOG server name as it is a primary key of the entity.
func (*ClustersApi) UpdateSnmpStatus ¶
func (api *ClustersApi) UpdateSnmpStatus(clusterExtId *string, body *import1.SnmpStatusParam, args ...map[string]interface{}) (*import1.UpdateSnmpStatusApiResponse, error)
Updates the status of SNMP configuration associated with the cluster identified by {clusterExtId}.
func (*ClustersApi) UpdateSnmpTrapById ¶
func (api *ClustersApi) UpdateSnmpTrapById(clusterExtId *string, extId *string, body *import1.SnmpTrap, args ...map[string]interface{}) (*import1.UpdateSnmpTrapApiResponse, error)
Update SNMP trap configuration identified by {extId} associated with the cluster identified by {clusterExtId}.
func (*ClustersApi) UpdateSnmpUserById ¶
func (api *ClustersApi) UpdateSnmpUserById(clusterExtId *string, extId *string, body *import1.SnmpUser, args ...map[string]interface{}) (*import1.UpdateSnmpUserApiResponse, error)
Updates SNMP user configuration identified by {extId} associated with the cluster identified by {clusterExtId}.
func (*ClustersApi) ValidateNode ¶
func (api *ClustersApi) ValidateNode(clusterExtId *string, body *import1.ValidateNodeParam, args ...map[string]interface{}) (*import1.ValidateNodeApiResponse, error)
Validates hypervisor bundle and node uplinks of the node. This API is not supported for XEN hypervisor type.
type DisksApi ¶
func NewDisksApi ¶
func (*DisksApi) AddDisk ¶
func (api *DisksApi) AddDisk(extId *string, body *import1.DiskAdditionSpec, args ...map[string]interface{}) (*import1.AddDiskApiResponse, error)
Repartitions and adds the Disk to a cluster, or adds an old Disk again to a cluster that is marked for removal.
func (*DisksApi) DeleteDiskById ¶
func (api *DisksApi) DeleteDiskById(extId *string, args ...map[string]interface{}) (*import1.DeleteDiskApiResponse, error)
Marks Disk identified by external identifier for removal.
func (*DisksApi) GetDiskById ¶
func (api *DisksApi) GetDiskById(extId *string, args ...map[string]interface{}) (*import1.GetDiskApiResponse, error)
Fetch the details of the Disk identified by external identifier.
func (*DisksApi) GetDiskStats ¶
func (api *DisksApi) GetDiskStats(extId *string, startTime_ *time.Time, endTime_ *time.Time, samplingInterval_ *int, statType_ *import4.DownSamplingOperator, args ...map[string]interface{}) (*import3.GetDiskStatsApiResponse, error)
Fetch the stats information of the Disk identified by external identifier.
type PcieDevicesApi ¶
type PcieDevicesApi struct { ApiClient *client.ApiClient // contains filtered or unexported fields }
func NewPcieDevicesApi ¶
func NewPcieDevicesApi(apiClient *client.ApiClient) *PcieDevicesApi
func (*PcieDevicesApi) ListPcieDevices ¶
func (api *PcieDevicesApi) ListPcieDevices(page_ *int, limit_ *int, filter_ *string, select_ *string, args ...map[string]interface{}) (*import5.ListPcieDevicesApiResponse, error)
Fetch the PCIe devices
type StorageContainersApi ¶
type StorageContainersApi struct { ApiClient *client.ApiClient // contains filtered or unexported fields }
func NewStorageContainersApi ¶
func NewStorageContainersApi(apiClient *client.ApiClient) *StorageContainersApi
func (*StorageContainersApi) CreateStorageContainer ¶
func (api *StorageContainersApi) CreateStorageContainer(body *import1.StorageContainer, xClusterId *string, args ...map[string]interface{}) (*import1.CreateStorageContainerApiResponse, error)
Creates a new Storage Container with the specified configuration on the cluster identified by cluster’s external identifier. The location header received in the API response contains the URL of the task object, which can be used to further track the status of the request.
func (*StorageContainersApi) DeleteStorageContainerById ¶
func (api *StorageContainersApi) DeleteStorageContainerById(extId *string, ignoreSmallFiles *bool, args ...map[string]interface{}) (*import1.DeleteStorageContainerApiResponse, error)
Deletes an existing Storage Container identified by external identifier. The location header received in the API response contains the URL of the task object, which can be used to further track the status of the request.
func (*StorageContainersApi) GetStorageContainerById ¶
func (api *StorageContainersApi) GetStorageContainerById(extId *string, args ...map[string]interface{}) (*import1.GetStorageContainerApiResponse, error)
Fetches the configuration details of an existing storage container identified by the external identifier. Note: The Storage Containers of PEs with versions prior to AOS 6.5 might have missing attribute data, and the PEs under the self-owned RBAC category might not be visible to non-admin users.
func (*StorageContainersApi) GetStorageContainerStats ¶
func (api *StorageContainersApi) GetStorageContainerStats(extId *string, startTime_ *time.Time, endTime_ *time.Time, samplingInterval_ *int, statType_ *import4.DownSamplingOperator, args ...map[string]interface{}) (*import3.GetStorageContainerStatsApiResponse, error)
Fetches the statistical information for the Storage Container identified by external identifier..
func (*StorageContainersApi) ListDataStoresByClusterId ¶
func (api *StorageContainersApi) ListDataStoresByClusterId(clusterExtId *string, page_ *int, limit_ *int, filter_ *string, args ...map[string]interface{}) (*import1.ListDataStoresByClusterIdApiResponse, error)
Lists all the datastores associated with Storage Containers from a cluster.
func (*StorageContainersApi) ListStorageContainers ¶
func (api *StorageContainersApi) ListStorageContainers(page_ *int, limit_ *int, filter_ *string, orderby_ *string, select_ *string, args ...map[string]interface{}) (*import1.ListStorageContainersApiResponse, error)
Lists the Storage Containers available in the cluster. Note: The Storage Containers of PEs with versions prior to AOS 6.5 might have missing attribute data, and the PEs under the self-owned RBAC category might not be visible to non-admin users.
func (*StorageContainersApi) MountStorageContainer ¶
func (api *StorageContainersApi) MountStorageContainer(extId *string, body *import1.DataStoreMount, args ...map[string]interface{}) (*import1.MountStorageContainerApiResponse, error)
Mounts the Storage Container identified by external identifier on an ESX datastore. The location header received in the API response contains the URL of the task object, which can be used to further track the status of the request.
func (*StorageContainersApi) UnmountStorageContainer ¶
func (api *StorageContainersApi) UnmountStorageContainer(extId *string, body *import1.DataStoreUnmount, args ...map[string]interface{}) (*import1.UnmountStorageContainerApiResponse, error)
Unmounts the Storage Container identified by external identifier from the ESX datastore. The location header received in the API response contains the URL of the task object, which can be used to further track the status of the request.
func (*StorageContainersApi) UpdateStorageContainerById ¶
func (api *StorageContainersApi) UpdateStorageContainerById(extId *string, body *import1.StorageContainer, args ...map[string]interface{}) (*import1.UpdateStorageContainerApiResponse, error)
Updates the configuration of an existing Storage Container identified by external identifier. The location header received in the API response contains the URL of the task object, which can be used to further track the status of the request.
type VcenterExtensionsApi ¶
type VcenterExtensionsApi struct { ApiClient *client.ApiClient // contains filtered or unexported fields }
func NewVcenterExtensionsApi ¶
func NewVcenterExtensionsApi(apiClient *client.ApiClient) *VcenterExtensionsApi
func (*VcenterExtensionsApi) GetVcenterExtensionById ¶
func (api *VcenterExtensionsApi) GetVcenterExtensionById(extId *string, args ...map[string]interface{}) (*import1.GetVcenterExtensionApiResponse, error)
Fetches vCenter server extension information for the given VcenterExtensionExtId.
func (*VcenterExtensionsApi) ListVcenterExtensions ¶
func (api *VcenterExtensionsApi) ListVcenterExtensions(page_ *int, limit_ *int, filter_ *string, select_ *string, args ...map[string]interface{}) (*import1.ListVcenterExtensionsApiResponse, error)
List of vCenter server extensions for the clusters registered under a Prism Central server.
func (*VcenterExtensionsApi) RegisterVcenterExtension ¶
func (api *VcenterExtensionsApi) RegisterVcenterExtension(extId *string, body *import1.VcenterCredentials, args ...map[string]interface{}) (*import1.RegisterVcenterExtensionApiResponse, error)
Registers Nutanix cluster as a vCenter server extension.
func (*VcenterExtensionsApi) UnregisterVcenterExtension ¶
func (api *VcenterExtensionsApi) UnregisterVcenterExtension(extId *string, body *import1.VcenterCredentials, args ...map[string]interface{}) (*import1.UnregisterVcenterExtensionApiResponse, error)
Unregisters Nutanix cluster as a vCenter server extension.