本产品推出了新版本。
简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。
GetAPI
贡献者
建议更改
您可以使用 GetAPI
方法获取可在系统中使用的所有 API 方法和受支持的 API 端点的列表。
Parameters
此方法没有输入参数。
返回值
此方法具有以下返回值:
Name | Description | Type |
---|---|---|
version |
此软件版本支持的所有 API 方法的列表,其中 <version> 是此系统正在运行的当前软件版本。 |
string array |
当前版本 |
存储集群软件的当前版本。 |
string |
支持的版本 |
系统支持的所有 API 端点的列表。 |
string array |
请求示例
此方法的请求类似于以下示例:
{ "method": "GetAPI", "params": {}, "id" : 1 }
响应示例
此方法返回类似于以下示例的响应:
{ "id": 1, "result": { "12.0": [ "AbortSnapMirrorRelationship", "AddAccount", "AddClusterAdmin", "AddDrives", "AddIdpClusterAdmin", "AddInitiatorsToVolumeAccessGroup", "AddKeyServerToProviderKmip", "AddLdapClusterAdmin", "AddNodes", "AddVirtualNetwork", "AddVolumesToVolumeAccessGroup", "BreakSnapMirrorRelationship", "BreakSnapMirrorVolume", "CancelClone", "CancelGroupClone", "CheckPingOnVlan", "CheckProposedCluster", "CheckProposedNodeAdditions", "ClearClusterFaults", "CloneMultipleVolumes", "CloneVolume", "CompleteClusterPairing", "CompleteVolumePairing", "CopyVolume", "CreateBackupTarget", "CreateClusterInterfacePreference", "CreateClusterSupportBundle", "CreateGroupSnapshot", "CreateIdpConfiguration", "CreateInitiators", "CreateKeyProviderKmip", "CreateKeyServerKmip", "CreatePublicPrivateKeyPair", "CreateQoSPolicy", "CreateSchedule", "CreateSnapMirrorEndpoint", "CreateSnapMirrorEndpointUnmanaged", "CreateSnapMirrorRelationship", "CreateSnapMirrorVolume", "CreateSnapshot", "CreateStorageContainer", "CreateSupportBundle", "CreateVolume", "CreateVolumeAccessGroup", "DeleteAllSupportBundles", "DeleteAuthSession", "DeleteAuthSessionsByClusterAdmin", "DeleteAuthSessionsByUsername", "DeleteClusterInterfacePreference", "DeleteGroupSnapshot", "DeleteIdpConfiguration", "DeleteInitiators", "DeleteKeyProviderKmip", "DeleteKeyServerKmip", "DeleteQoSPolicy", "DeleteSnapMirrorEndpoints", "DeleteSnapMirrorRelationships", "DeleteSnapshot", "DeleteStorageContainers", "DeleteVolume", "DeleteVolumeAccessGroup", "DeleteVolumes", "DisableAutoip", "DisableBmcColdReset", "DisableClusterSsh", "DisableEncryptionAtRest", "DisableIdpAuthentication", "DisableLdapAuthentication", "DisableSnmp", "EnableAutoip", "EnableBmcColdReset", "EnableClusterSsh", "EnableEncryptionAtRest", "EnableFeature", "EnableIdpAuthentication", "EnableLdapAuthentication", "EnableSnmp", "GetAccountByID", "GetAccountByName", "GetAccountEfficiency", "GetActiveTlsCiphers", "GetAsyncResult", "GetBackupTarget", "GetBinAssignmentProperties", "GetClientCertificateSignRequest", "GetClusterCapacity", "GetClusterConfig", "GetClusterFullThreshold", "GetClusterHardwareInfo", "GetClusterInfo", "GetClusterInterfacePreference", "GetClusterMasterNodeID", "GetClusterSshInfo", "GetClusterState", "GetClusterStats", "GetClusterStructure", "GetClusterVersionInfo", "GetCompleteStats", "GetConfig", "GetCurrentClusterAdmin", "GetDefaultQoS", "GetDriveHardwareInfo", "GetDriveStats", "GetFeatureStatus", "GetFipsReport", "GetHardwareConfig", "GetHardwareInfo", "GetIdpAuthenticationState", "GetIpmiConfig", "GetIpmiInfo", "GetKeyProviderKmip", "GetKeyServerKmip", "GetLdapConfiguration", "GetLimits", "GetLldpInfo", "GetLoginBanner", "GetLoginSessionInfo", "GetNetworkConfig", "GetNetworkInterface", "GetNodeFipsDrivesReport", "GetNodeHardwareInfo", "GetNodeStats", "GetNtpInfo", "GetNvramInfo", "GetOntapVersionInfo", "GetOrigin", "GetPendingOperation", "GetProtectionDomainLayout", "GetQoSPolicy", "GetRawStats", "GetRemoteLoggingHosts", "GetSSLCertificate", "GetSchedule", "GetSnapMirrorClusterIdentity", "GetSnmpACL", "GetSnmpInfo", "GetSnmpState", "GetSnmpTrapInfo", "GetStorageContainerEfficiency", "GetSupportedTlsCiphers", "GetSystemStatus", "GetVirtualVolumeCount", "GetVolumeAccessGroupEfficiency", "GetVolumeAccessGroupLunAssignments", "GetVolumeCount", "GetVolumeEfficiency", "GetVolumeStats", "InitializeSnapMirrorRelationship", "ListAccounts", "ListActiveAuthSessions", "ListActiveNodes", "ListActivePairedVolumes", "ListActiveVolumes", "ListAllNodes", "ListAsyncResults", "ListAuthSessionsByClusterAdmin", "ListAuthSessionsByUsername", "ListBackupTargets", "ListBulkVolumeJobs", "ListClusterAdmins", "ListClusterFaults", "ListClusterInterfacePreferences", "ListClusterPairs", "ListDeletedVolumes", "ListDriveHardware", "ListDriveStats", "ListDrives", "ListEvents", "ListFibreChannelPortInfo", "ListFibreChannelSessions", "ListGroupSnapshots", "ListISCSISessions", "ListIdpConfigurations", "ListInitiators", "ListKeyProvidersKmip", "ListKeyServersKmip", "ListNetworkInterfaces", "ListNodeFibreChannelPortInfo", "ListNodeStats", "ListPendingActiveNodes", "ListPendingNodes", "ListProtectionDomainLevels", "ListProtocolEndpoints", "ListQoSPolicies", "ListSchedules", "ListServices", "ListSnapMirrorAggregates", "ListSnapMirrorEndpoints", "ListSnapMirrorLuns", "ListSnapMirrorNetworkInterfaces", "ListSnapMirrorNodes", "ListSnapMirrorPolicies", "ListSnapMirrorRelationships", "ListSnapMirrorSchedules", "ListSnapMirrorVolumes", "ListSnapMirrorVservers", "ListSnapshots", "ListStorageContainers", "ListSyncJobs", "ListTests", "ListUtilities", "ListVirtualNetworks", "ListVirtualVolumeBindings", "ListVirtualVolumeHosts", "ListVirtualVolumeTasks", "ListVirtualVolumes", "ListVolumeAccessGroups", "ListVolumeStats", "ListVolumeStatsByAccount", "ListVolumeStatsByVirtualVolume", "ListVolumeStatsByVolume", "ListVolumeStatsByVolumeAccessGroup", "ListVolumes", "ListVolumesForAccount", "ModifyAccount", "ModifyBackupTarget", "ModifyClusterAdmin", "ModifyClusterFullThreshold", "ModifyClusterInterfacePreference", "ModifyGroupSnapshot", "ModifyInitiators", "ModifyKeyServerKmip", "ModifyQoSPolicy", "ModifySchedule", "ModifySnapMirrorEndpoint", "ModifySnapMirrorEndpointUnmanaged", "ModifySnapMirrorRelationship", "ModifySnapshot", "ModifyStorageContainer", "ModifyVirtualNetwork", "ModifyVolume", "ModifyVolumeAccessGroup", "ModifyVolumeAccessGroupLunAssignments", "ModifyVolumePair", "ModifyVolumes", "PurgeDeletedVolume", "PurgeDeletedVolumes", "QuiesceSnapMirrorRelationship", "RemoveAccount", "RemoveBackupTarget", "RemoveClusterAdmin", "RemoveClusterPair", "RemoveDrives", "RemoveInitiatorsFromVolumeAccessGroup", "RemoveKeyServerFromProviderKmip", "RemoveNodes", "RemoveSSLCertificate", "RemoveVirtualNetwork", "RemoveVolumePair", "RemoveVolumesFromVolumeAccessGroup", "ResetDrives", "ResetNetworkConfig", "ResetNode", "ResetSupplementalTlsCiphers", "RestartNetworking", "RestartServices", "RestoreDeletedVolume", "ResumeSnapMirrorRelationship", "ResyncSnapMirrorRelationship", "RollbackToGroupSnapshot", "RollbackToSnapshot", "SecureEraseDrives", "SetClusterConfig", "SetClusterStructure", "SetConfig", "SetDefaultQoS", "SetLoginBanner", "SetLoginSessionInfo", "SetNetworkConfig", "SetNtpInfo", "SetProtectionDomainLayout", "SetRemoteLoggingHosts", "SetSSLCertificate", "SetSnmpACL", "SetSnmpInfo", "SetSnmpTrapInfo", "SetSupplementalTlsCiphers", "Shutdown", "SnmpSendTestTraps", "StartBulkVolumeRead", "StartBulkVolumeWrite", "StartClusterPairing", "StartVolumePairing", "TestAddressAvailability", "TestConnectEnsemble", "TestConnectMvip", "TestConnectSvip", "TestDrives", "TestHardwareConfig", "TestKeyProviderKmip", "TestKeyServerKmip", "TestLdapAuthentication", "TestLocalConnectivity", "TestLocateCluster", "TestNetworkConfig", "TestPing", "TestRemoteConnectivity", "UpdateBulkVolumeStatus", "UpdateIdpConfiguration", "UpdateSnapMirrorRelationship" ], "currentVersion": "12.0", "supportedVersions": [ "1.0", "2.0", "3.0", "4.0", "5.0", "5.1", "6.0", "7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3", "8.4", "8.5", "8.6", "8.7", "9.0", "9.1", "9.2", "9.3", "9.4", "9.5", "9.6", "10.0", "10.1", "10.2", "10.3", "10.4", "10.5", "10.6", "10.7", "11.0", "11.1", "11.3", "11.5", "11.7", "11.8", "12.0" ] } }