/// <summary> /// List all mounted storages. **API Key Scope**: mounts / index /// </summary> /// <exception cref="Io.Nodeum.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <returns>Task of MountCollection</returns> public async System.Threading.Tasks.Task <MountCollection> IndexMountsAsync() { Io.Nodeum.Sdk.Client.ApiResponse <MountCollection> localVarResponse = await IndexMountsAsyncWithHttpInfo(); return(localVarResponse.Data); }
/// <summary> /// Trigger a download traces request. **API Key Scope**: systems / download_traces /// </summary> /// <exception cref="Io.Nodeum.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="type">Type of traces to download</param> /// <returns>Task of ActiveJobStatus</returns> public async System.Threading.Tasks.Task <ActiveJobStatus> TriggerDownloadTracesAsync(string type) { Io.Nodeum.Sdk.Client.ApiResponse <ActiveJobStatus> localVarResponse = await TriggerDownloadTracesAsyncWithHttpInfo(type); return(localVarResponse.Data); }
/// <summary> /// List all mounted storages. **API Key Scope**: mounts / index /// </summary> /// <exception cref="Io.Nodeum.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <returns>MountCollection</returns> public MountCollection IndexMounts() { Io.Nodeum.Sdk.Client.ApiResponse <MountCollection> localVarResponse = IndexMountsWithHttpInfo(); return(localVarResponse.Data); }
/// <summary> /// Trigger a download traces request. **API Key Scope**: systems / download_traces /// </summary> /// <exception cref="Io.Nodeum.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="type">Type of traces to download</param> /// <returns>ActiveJobStatus</returns> public ActiveJobStatus TriggerDownloadTraces(string type) { Io.Nodeum.Sdk.Client.ApiResponse <ActiveJobStatus> localVarResponse = TriggerDownloadTracesWithHttpInfo(type); return(localVarResponse.Data); }