api

package
v4.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Api classes for clustermgmt's golang SDK

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BmcApi added in v4.0.2

type BmcApi struct {
	ApiClient *client.ApiClient
	// contains filtered or unexported fields
}

func NewBmcApi added in v4.0.2

func NewBmcApi(apiClient *client.ApiClient) *BmcApi

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

func (*BmcApi) UpdateBmcInfo added in v4.0.2

func (api *BmcApi) UpdateBmcInfo(clusterExtId *string, extId *string, body *import1.BmcInfo, args ...map[string]interface{}) (*import1.UpdateBmcInfoResponse, error)

Update BMC info

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

type ClustersApi struct {
	ApiClient *client.ApiClient
	// contains filtered or unexported fields
}

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

type DisksApi struct {
	ApiClient *client.ApiClient
	// contains filtered or unexported fields
}

func NewDisksApi

func NewDisksApi(apiClient *client.ApiClient) *DisksApi

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.

func (*DisksApi) ListDisks

func (api *DisksApi) ListDisks(page_ *int, limit_ *int, filter_ *string, orderby_ *string, apply_ *string, select_ *string, args ...map[string]interface{}) (*import1.ListDisksApiResponse, error)

Fetches Disk details from all clusters registered with Prism Central.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL